Subject: [EE:] Power problem in toy car > Hi, > > for christmas this year a few friends and me decided to get out our old > track-car sets (correct name?) and build a big set. > > My friend has Sheriff's car www.student.bth.se/~pt98mvo/police2.jpg > in which we wanted the nice flashy lights. So, I set up a AVR AtTiny15 (not > a PIC, I know..) with a surface mounted 7805 on top (not much space > available) and a pair of LEDs with a resistor each. > www.student.bth.se/~pt98mvo/police1.jpg > > Problem: When the motor is running, the AVR is not getting enough power, or > possibly not stable enough power. > I tried putting a 22uF condensator over the AtTiny, and that helped a bit > but not enough. At idle speed it works, but at medium speed it starts to > reset and att full speed it does not work at all. > > There is also a condensator that came in the car, which might be busted. > > What can i do? Do I just need a bigger condensator for the chip, or is there > another problem I need to address? > Would it have been easier to just use 'self-flashing' LED's? I just used two in a project of mine as it saved battery power and I did not need to code the flash rate in the PIC. Just a thought. Larry p.s. Hope you had fun with the cars, I built a permanent routed track a few years ago that never sees daylight anymore, must get it out one of these days and see if it still works. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.