Ideas and ISP programmer problems

A few nights ago I was having trouble connecting my Pocket AVR programmer to a fresh ATMEGA328p that I was going to burn.  I realized that my Bus Pirate can also double as a programmer, so I updated the firmware, and told avrdude:

avrdude -p m328p -c buspirate -U flash:w:Wireless_Bootloader_ATmega328.hex -U lfuse:w:0xE2:m -U hfuse:w:0xDA:m -U efuse:w:0x05:m

and it burned!  I eventually got it working by getting the fuse settings correct, so all is well.

While shopping for parts from digikey, I found that the ATMEGA48PV-10PU-ND was listed as Non Stock, and its price was $1.91 for each.  For comparison, ATMEGA168’s go for $3.33.  So I had to pick up 25 of them, since they can be used as great interface chips.  Once I get them, I’m going to use one as an interface chip for a LCD.  Will have to be careful about space, since there is only 4k of flash with no bootloader (no remote boot 😦 )

Currently I’m wanting to put microcontrollers everywhere I can, for as cheap as I can.  Looking at this Instructable: http://www.instructables.com/id/Perfboard-Hackduino-Arduino-compatible-circuit/ Inspired me to delve into the arduino-less area of microprocessor design.  Designing everything yourself, for as cheap as you can.  Instead of spending $30 on an Arduino, you can spend $7 or less on just the processor and wire it up for your application.

Early last year I took my arduino from my Traxxas Slash RC car to use on something else.  Now I want to put it back, but I have to gather everything again.  I’m going to make a perfboard atmega328 circuit to control it with xbee + have remote wireless updates with LScreamer.

That is what is happening at Mecharobotics 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s