Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Only works connected to USB

Only works connected to USB

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mht
    wrote on last edited by
    #1

    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 GND

    Any suggestions on whats wrong or how to proceed?

    1 Reply Last reply
    0
    • JohnJ Offline
      JohnJ Offline
      John
      Plugin Developer
      wrote on last edited by
      #2

      Maybe handy to post a schematic of your wiring.

      My Domotica project: http://www.pidome.org

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mht
        wrote on last edited by mht
        #3

        After moving the 5V feed to the distance sensor from the Arduino VCC, to the 5V output from the LM7805 it seems like it works OK.

        Any suggestion on a program to make schematics?

        1 Reply Last reply
        0
        • JohnJ Offline
          JohnJ Offline
          John
          Plugin Developer
          wrote on last edited by
          #4

          In my opinion this would be fritzing http://fritzing.org/home/

          My Domotica project: http://www.pidome.org

          1 Reply Last reply
          1
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          12

          Online

          11.7k

          Users

          11.2k

          Topics

          113.1k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular