Author Topic: Floating pin grounding  (Read 4112 times)

Hants

  • Newbie
  • *
  • Posts: 14
Floating pin grounding
« on: April 29, 2013, 09:06:06 AM »
What would be the best way to connect indicator lamp to arduino' digital pin?

When playing on the breadboard it is pretty obvious that we need to use a pull-down resistor, but how to combine GND with +12V signal?
After many minutes of thinking - I came up with idea:



Is it correct?

Monkeh

  • Jr. Member
  • **
  • Posts: 58
Re: Floating pin grounding
« Reply #1 on: April 29, 2013, 06:42:19 PM »
Try a voltage divider..

Hants

  • Newbie
  • *
  • Posts: 14
Re: Floating pin grounding
« Reply #2 on: April 29, 2013, 09:26:43 PM »
Not very safe..

I have just discovered optocouplers! :-)

« Last Edit: May 01, 2013, 03:10:40 AM by Hants »