Timeline for Relay not switching correctly, controlled from ATtiny85, output to motor
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 17, 2015 at 16:10 | comment | added | PGT | Yeah it's the same behaviour on battery; everything works fine until I connect the motor. Tried with a 100nF ceramic cap, same thing. I don't have anything in between and might have to start connecting my larger caps in series to get 10uF. | |
Feb 17, 2015 at 15:52 | comment | added | bigjosh | Try a smaller capacitor if you have it, bigger is not always better for filtering (google decoupling capacitor ESR). Maybe 1st try powering (just) the AVR directly from a couple of AA batteries, just to make sure that this is a power supply problem and not something else entirely. So you would disconnect the Vcc of the chip from the above circuit completely and instead connect to the + side of a pair of AA batteries in series, then connect the - side of the battery stack to the ground in your circuit. | |
Feb 17, 2015 at 4:24 | comment | added | PGT | Just tried with diode across motor (cathode to +ve of motor) and a 100uF cap (+ve to VCC, and -ve to GND of ATtiny85), still same issue. Totally assuming 100uF should be fine here. | |
Feb 17, 2015 at 4:14 | comment | added | PGT | Thanks for the tips. When you say leads of the chip, you mean VCC and GND? | |
Feb 17, 2015 at 4:12 | history | answered | bigjosh | CC BY-SA 3.0 |