Only works connected to USB
-
I have built a parking senors based on the excellent project presented on this site. I'm feeding my Arduino Micro with 12 V. From the same source feed the LEDs through a LM7805 to get 5V for the LEDS. When connected to USB all works well. Removing the USB, and only running on my 12V source, the LEDS starts to behave erradic. Its like the distance sesor is sending false values causing the LEDs to light up. Connecting the USB and it all works like a charm.
I have measured all the voltages:
Arduino: 12V from power source to RAW,
Arduino: GND from power source to GND (next to RAW pin)
Distance sensor: 5V from Arduino VCC
Distance sensor: GND from Arduino GND (pin next to pin 2)
LEDs: 5V from LM7805 to LEDS
LEDs: GND from power source GNDAny suggestions on whats wrong or how to proceed?
-
Maybe handy to post a schematic of your wiring.
-
In my opinion this would be fritzing http://fritzing.org/home/
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login