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

Beyond Arduino: Using a raw AVR chip (workshop)

  • Mar 9, 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.

    i'd be interested in another meetup on AVR programming.

    October 2, 2013

  • perronj2

    Hi, I'm in the process of breading an Arduino project out. Are you going to have this meetup again? Also do you program the Chips with Aruino IDE or AVR C?

    October 2, 2013

  • Natasha

    Hi, I'm in an arduino/processing class and I want to try build a robot for fun. I was initially looking for a robotics club, and since I couldn't find one, I figured there might be some enthusiasts here. Does anyone want to help get me started? Does anyone have a DIY robot they could show me? I have all the tools necessary to start building, just need to know the basic parts like how to get multiple motors and servos working with the arduino and how to use my xbee wireless shield. Thanks!

    March 21, 2013

    • Natasha

      I've refrained from buying anything yet because I don't know much but the arduino is 5v output and I would like variable speed motors that are two directional for the wheels and a turret/platform that rotates probably with a servo. Do you think I should go with a two wheeled bot first? I keep reading things that say to make something simple first and try not to implement the complicated ideas until later which makes sense. I want to use it as an experimental platform to try out different sensors and practice programming different behaviors so I can learn from it.

      March 26, 2013

    • g.andrew.stone

      yes, start with something like this http://www.ladyada.ne...­ or even better a kit that has all the gearing, etc required to build a small bot. Then you can start hacking the parts of the platform that most interest you.

      March 26, 2013

  • John A.

    Hi,
    I just joined. I'm trying to get the Sparkfun GPS shield to write to an SDcard. I'm not getting any errors but I'm also not getting any useable data.
    I'm new to a lot of this and looking for any help.
    Cheers

    February 16, 2013

    • Natasha

      on youtube there is a video tutorial by jeremy blum, it's his last one so number 14 or 15 I think. He does exactly what you're asking!

      March 21, 2013

  • A former member
    A former member

    March 15, 2012

  • g.andrew.stone

    Please post it to the newsgroup I created. Ill see if I can pull it into the tithing repository. Thx!

    March 14, 2012

  • A former member
    A former member

    I can post the modified Makefile somewhere. Where's the best place to do that, Andy?

    March 14, 2012

  • g.andrew.stone

    I didn't walk away with any files from anyone who had a Mac, so someone who does have a Mac & got it working is going to have to post

    March 14, 2012

  • Affan

    Hi Andy, Thanks for arranging this great event. I was wondering if you had posted the file for Mac that you had built on Jessica's Mac.

    March 14, 2012

  • David L.

    @Andy I tried doing this,setting the fuzes, with the crystal and 2 caps on the oscillator pins. I keep getting stk500 errors/timeouts ( programmer not responding) though it seems to get information from the 328p. Curious, can the blue and yellow leds give any diagnostics/ or what do they represent on the ThumbISP?

    March 12, 2012

  • Dennis C.

    March 11, 2012

  • g.andrew.stone

    @David: Its the same fuse setting regardless of the Mhz -- the fuses just tell the chip to use an external crystal. The chip will go at whatever speed your crystal is set to...

    March 10, 2012

  • g.andrew.stone

    This forum is not really great for extended discussions, so I've created a google group here: https://groups.google.com/forum/#!forum/toasted-thumb-programmer. This group should be used to discuss the programmers I provided you, or general topics about programming AVRs directly! I've posted 2 messages one detailing how to use the programmer within the Arduino IDE, and another on how to get avrdude (and the Arduino IDE) to recognize the ATMEGA328 chips I provided. Please join! Thanks!

    March 10, 2012

  • David L.

    Thanks Andy

    I have a crystal. Are those settings for 16 MHz ?

    March 10, 2012

  • g.andrew.stone

    Hi all, Thanks for coming! David, to change the 328 to use an external crystal, run avrdude with the following: "-U lfuse:w:0xff:m -U hfuse:w:0xD2:m -U efuse:w:0x05:m" (This will also change preserve the EEPROM across a full-chip erase). Of course, once you do this your chip will suddenly stop working on the breadboard since it will need an external crystal. It won't even respond to the programmer...

    March 10, 2012

  • David L.

    Very informative

    March 10, 2012

  • David L.

    Thanks Andy! It was fun. I need to find a way to use an external crystal for the 328p so I can replace the 168's In my other boards.

    March 10, 2012

  • Brian D

    Andy, this was cool! Thanks again for putting it together.

    March 10, 2012

  • g.andrew.stone

    Windows AVRdude: mode COM11:dtr=on && c:\arduino-1.0\hardware\tools\avr\bin\avrdude -C c:\arduino-1.0\hardware\tools\avr\etc\avrdude.conf -c stk500v1 -P COM11 -p m48 -v -U flash:w:hello_atmega48.hex

    March 9, 2012

  • g.andrew.stone

    Here's my blog post with a pinout of the chips we are using. And it covers similar topics to this workshop. You may want to print it out: http://effluviaofascatteredmind.blogspot.com/2012/01/transdescending-arduino-going-cheap-and.html

    Also, I've prepared some starter code located here: https://github.com/gandrewstone/avrez

    Please download that code if you get a chance to save doing it at the meetup!

    March 9, 2012

  • g.andrew.stone

    I just noticed that the Uno has issues with becoming a chip programmer!! (I have the older board) So I've make up a bunch of programmers Anyone who has an Uno and no chip programmer can use one tomorrow and buy if you want for $15 (which I think is $5 less then what you can do online).

    March 8, 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.

    March 8, 2012

  • Brian D

    Hi, what do we need to bring? All components and a breadboard?

    March 8, 2012

  • Nate P.

    Interested but can not do Friday 3/9. I can do a Wednesday night though.

    March 5, 2012

  • g.andrew.stone

    I was a bit unhappy about having it on a friday as well. Unfortunately that was the only time slot available next week. Let's see how many people can make this time before we consider moving it further out (but on a wednesday).

    March 4, 2012

  • A former member
    A former member

    Darn. As a proper geek, I'll be at the Jonathan Coulton and They Might Be Giants show that evening.

    March 4, 2012

16 went

Your organizer's refund policy for 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