addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

POSTPONED!!! Beyond Arduino: Using a raw AVR chip (workshop)

  • Feb 29, 2012 · 7:00 PM

The Arduino is great, but after 5 projects you realize that at $30 pop its costing you $150. In this workshop we'll learn how to replace your Arduino with a raw AVR microcontroller (which costs $1 to $3 bucks) in your finished project. Its actually really easy to do so, but its always easier to learn hands-on then through web tutorials! Please RSVP even though no date is set so I can figure out how much interest there is.

I image we'll get everyone's chips hooked up in a half hour to 1 hour and then move on to software issues.

Reset (resistor to +), serial Rx, serial Tx, ..., + power, ground, clock (2 pins).

Done!

Join or login to comment.

  • David L.

    When will the rain/snow date be?

    March 1, 2012

  • Kevin G. O.

    If anyone is interested, the breadboard arduino example doesn't work on 1.0 if you put the boards.txt changes in your sketch folder. If you edit it into the main boards.txt, it works ok.
    http://arduino.cc/forum/index.php/topic,94498.0.html

    March 1, 2012

  • deadwinter

    Understood, Andrew.

    Just in case, if anyone is considering doing this on an Intel Mac, I cannot recommend this enough. It takes a LOT of the pain out of setting up a toolchain:

    http://www.obdev.at/products/crosspack/index.html

    February 29, 2012

  • Alexander

    I agree with you Andrew, better safe than sorry. We can all meet at another time. Be safe !!

    February 29, 2012

  • Kevin G. O.

    Or just compile under Arduino 0.22
    Personally I think it's a lot of work to avoid spending $22 for an ISP programmer. I use mine a lot and I don't have to either dedicate an arduino, or tear some other project apart to do it.
    http://www.adafruit.com/products/46

    February 29, 2012

  • John W.

    If you use the ArduinoISP sketch be warned that in 1.0 the serial buffer has been reduced to the point that buffer overflows cause almost every attempt to fail. Increase the buffer size (HardwareSerial.cpp) or decrease the baud rate (ArduinoISP.ino and programmers.txt).

    February 29, 2012

  • g.andrew.stone

    Hi, everyone! Based on the forecast of 6-10 inches of snow in Boston and the fact that its snowing right now where I work I feel that we should postpone the meetup. There's no reason to subject everyone to the extra travel times, and the electronics to the forecasted wet mess! I'm very sorry to change your plans at the last minute, but I think that many people (including myself) might end up on the side of the road instead of at Sprouts! Thanks for your understanding. Andrew

    February 29, 2012

  • g.andrew.stone

    Actually, people who know some it are the people I need! :-) Chips arrived today (whew!)

    February 28, 2012

  • deadwinter

    Andrew, I'm really excited but I already know some of this stuff. If you're full up and it would help if I bowed out I certainly can.

    February 28, 2012

  • g.andrew.stone

    What to bring:
    1. $5 for Sprouts (the location). And extra $ (or the means to paypal) if you need things like chips, programmers, breadboards, wires. I will have extra.
    2. Your Arduino and a computer.
    3. (Solderless) breadboards, jumper wires, chips, programmers.
    4. Datasheet for any chips you bring along.
    5. A few LEDs and resistors
    6. Capacitors (for power supply decoupling)
    7. Tools: Wire stripper/cutters, soldering iron.

    Hopefully the weather will cooperate! :-)

    February 28, 2012

  • g.andrew.stone

    We now have 43 attendees which is going to be pretty crazy! I don't want to turn anyone away because a vibrant, chaotic community is better then none at all :-). But let's try to get an accurate count. If you are NOT going please change your RSVP. I think if you get this as an email, it means you are signed up to go!

    February 28, 2012

  • g.andrew.stone

    Ok everyone, I've bought the chips! I forgot to add any oscillators though so if you want to play with external oscillators then bring your own!

    February 24, 2012

  • deadwinter

    Andrew, I don't want to get fancy. In fact I thought that was the sort of idea of the workshop. I use 16MHz oscillators or clocks (like the one you have pictured) because that's what a lot of the cheap Arduino clone projects use. I've never used an external clock on the tinys.

    February 22, 2012

  • g.andrew.stone

    deadwinter: whatever you want! Its just a fuse setting. Why don't you suggest an oscillator or crystal we can use... make it 20mhz so that our duino clones really will "go to 11".

    February 22, 2012

  • deadwinter

    Here's a question: are we going to be needing to use an external clock or are we planning to use the internal oscillators? I just want to know what I should order in addition to the chips.

    February 21, 2012

  • g.andrew.stone

    Check out my RSVP comment for an example...

    February 21, 2012

  • g.andrew.stone

    Ok, to buy stuff, please update your RSVP comment with what you want, the quantity and total price. Expect the prices to be at digikey qty 1 but of course we'll decrease that if we make the volume. Go ahead and choose chips I do not suggest, but I may limit the buy if it gets too crazy. Here are my suggestions:
    ATTINY13: $1.13 Smallest cheapest chip. 6 IOs and analog input.
    ATTINY24: $2.52 This is midrange with 12 IOs...
    ATMEGA328p: $5.15: This is the Arduino chip.
    Ive used the above

    February 21, 2012

  • Kevin G. O.

    BTW, if you are looking for ATTINY85's they are out of stock at both Mouser and Digikey. Mouser has some on order and it says March 30

    February 21, 2012

  • Kevin G. O.

    I have a bunch of attiny4313 (twice the memory of 2313) I can bring, but I would be interested in purchasing some 328p's (I bought the non-p version if any one is interested...) I would buy up to 4 if they are under $4. Mouser has the best price right now. I'd be willing also to make the order if We think they would be all (or mostly claimed). I think it makes the most sense to purchase 25 (price break)

    February 21, 2012

  • deadwinter

    I have a couple of tinys, 328s and the like, but if you're getting a bunch anyway, I would be interested into either Tiny85s or 328s. I would imagine you'd really want to order the 16MHz oscillators as well...

    February 20, 2012

  • Avni K.

    yes, I'm interested in a group purchase as well. Thank you!

    February 20, 2012

  • A former member
    A former member

    I would also be interested in a group purchase of AVR chips. Thanks!

    February 20, 2012

  • A former member
    A former member

    I would be interested in a group purchase of AVR chips, if you're getting that under way. Is there anything else we may need to bring along with us?

    February 20, 2012

  • g.andrew.stone

    Hi everyone! I've gotten a time and place for this meetup: Feb 29th at 7pm at Sprouts. Please bring 5 bucks to pay for our use of the Sprouts facilitles. Please remove your RSVP if you can't make that date! Also, is there interest in a group purchase of a few AVR chips? If so, I'll set something up.

    February 20, 2012

  • g.andrew.stone

    Update: It takes 5 days to reserve room at NERD so I suggested Feb 29. This should give me enough time to order chips for those who need them (once the venue is confirmed)...

    February 14, 2012

  • g.andrew.stone

    Update: I'm looking for a venue for the week of Feb 20-24. I was thinking Sprout & co but with a group this big I'm now thinking MS NERD and we stick to breadboarding.

    1 · February 11, 2012

  • g.andrew.stone

    A bit later, we'll organize the purchase of some chips for people who don't have hardware...

    February 9, 2012

  • g.andrew.stone

    This won't focus on Arduino IDE bare chip programming, because that forces people into chips that have Arduino "cores" (or you need to do a port). So raw C development. I'm thinking we'll probably get everybody up and running (on their chosen chip) within a half hour, and we can then talk about the programming differences. However a full investigation of that may need another meetup.

    February 9, 2012

  • Kevin G. O.

    Question: Will this focus on using Arduino IDE to program bare chip, or raw AVR development (e.g. WinAVR, etc.) in C?

    Also, With enough notice, we could also order a few target boards from Evil Mad Scientist. They are $3 each (not including the processor. or dev kits with the processor for around $11.
    Here are the attiny boards:
    http://evilmadscience.com/productsmenu/tinykitlist/112-tiny2313

    February 9, 2012

  • Kevin G. O.

    We can burn your 328s with USBTiny. It's true that arduinoISP is probably too big for a 168.
    It's probably clear, but ArduinoISP lets you use an arduino as an ISP programmer. You don't get to re-program the Arduino with itself. It's for programming another target such as the bare chips suggested here.

    February 9, 2012

  • David L.

    I also have some 328's that I want to use to upgrade my diecimila and duemilanove boards. From what I have read, using a board with a 168 and ArduinoISP won't work.

    February 9, 2012

  • scottjanousek

    It was on the MIT Hi Low site : http://hlt.media.mit.edu/?cat=20

    February 8, 2012

  • g.andrew.stone

    Link?

    February 8, 2012

  • scottjanousek

    I've got some 85s left as well. Also a USB Tiny ISP. The MIT article on programming the Tinys was very cool. :)

    February 8, 2012

  • Kevin G. O.

    I have some attinys and atmega 328's I could bring. I also have a USB Tiny ISP, though it would probably be informative for folks to use an arduino as ISP

    February 8, 2012

  • g.andrew.stone

    David, bring an attiny85 mounted on a solderless breadboard & I'm sure we'll be hacking it by the end of the session!

    February 8, 2012

29 went

Your organizer's refund policy for POSTPONED!!! Beyond Arduino: Using a raw AVR chip (workshop)

Refunds are not offered for this Meetup.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy