Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: donis on November 25, 2010, 01:47:00 PM

Title: voltage regulator for the 50$ robot.
Post by: donis on November 25, 2010, 01:47:00 PM
Hi, i'm new to robotics and one of the first things i started with is the 50$ robot. it looks like i did fine with the circuit though i have one problem, the 5v linear regulator doesn't emit any power. could it be that a) i got wrong regulator b)it has too high amperage c) it just isn't working by default? i got pos v-reg 5v 1.5A ua7805 if you prefer also the shop where i got my parts was out of ATMEGA8-16pu's so i went with ATMEGA88PA-PU, it still should work right?  
Title: Re: voltage regulator for the 50$ robot.
Post by: VegaObscura on November 25, 2010, 02:34:01 PM
also the shop where i got my parts was out of ATMEGA8-16pu's so i went with ATMEGA88PA-PU, it still should work right?  
Not if you're using the serial dongle programmer.  The dongle has a limited selection of controllers that it can program and the atmega88 isn't one of them.  I made the same mistake, figuring since it was almost the same controller and even had the same pinouts, it would work but it doesnt.  When I took out the atmega88 and put in an atmega8 everything worked fine.

From sparkfun.com:
Supported Devices: The currently supported devices by PonyProg software, which can be programmed by AVR-PG1B are:
AT90S1200, AT90S2313, AT90S2323, AT90S2343, AT90S4414, AT90S4434, AT90S8515, AT90S8535, AT90S2323, AT90S2343, AT90S2333, AT90S4433, AT90S4434, AT90S8535, AT90S8534, ATmega103, ATmega161, ATmega163, ATmega323, ATmega128, ATmega8, ATmega16, ATmega64, ATtiny12, ATtiny15

If you're using the more expensive AVR ISP2 Programmer, you can use just about any avr chip out there.

As for your 5V regulator issue; use a multimeter and make sure you have at least 6V between the unregulated and gnd pins of the regulator.  If you have 6V or more there and don't have 5V between regulated and gnd pins, you have a bad regulator.
Title: Re: voltage regulator for the 50$ robot.
Post by: donis on November 25, 2010, 02:48:10 PM
also the shop where i got my parts was out of ATMEGA8-16pu's so i went with ATMEGA88PA-PU, it still should work right?  
Not if you're using the serial dongle programmer.  The dongle has a limited selection of controllers that it can program and the atmega88 isn't one of them.  I made the same mistake, figuring since it was almost the same controller and even had the same pinouts, it would work but it doesnt.  When I took out the atmega88 and put in an atmega8 everything worked fine.

From sparkfun.com:
Supported Devices: The currently supported devices by PonyProg software, which can be programmed by AVR-PG1B are:
AT90S1200, AT90S2313, AT90S2323, AT90S2343, AT90S4414, AT90S4434, AT90S8515, AT90S8535, AT90S2323, AT90S2343, AT90S2333, AT90S4433, AT90S4434, AT90S8535, AT90S8534, ATmega103, ATmega161, ATmega163, ATmega323, ATmega128, ATmega8, ATmega16, ATmega64, ATtiny12, ATtiny15

If you're using the more expensive AVR ISP2 Programmer, you can use just about any avr chip out there.

As for your 5V regulator issue; use a multimeter and make sure you have at least 6V between the unregulated and gnd pins of the regulator.  If you have 6V or more there and don't have 5V between regulated and gnd pins, you have a bad regulator.

thanks for the info. i'll be useing avt prog2 programmer, as i bought it at the same time as the chip i think it should do the job.

as to the regulator it is working fine, i was just too dumb to see the mistake. though i'll be able to use a multimeter tomorow, still have to check if the regulated power is correct.
Title: Re: voltage regulator for the 50$ robot.
Post by: Soeren on November 25, 2010, 03:53:13 PM
Hi,

As for your 5V regulator issue; use a multimeter and make sure you have at least 6V between the unregulated and gnd pins of the regulator.  If you have 6V or more there and don't have 5V between regulated and gnd pins, you have a bad regulator.
6V isn't quite enough with 7805's. At least around 8V in is needed for proper regulation - An LDO regulator OTOH can work with a 0.5V to 1.0V drop.