| Arduino Forum ::  Members :: LockDots
 Show Posts Pages: [1] 2 3 4
 1 Using Arduino / Project Guidance / Re: Is 12V to 5V conversion possible while maintaining ratios? on: August 17, 2014, 08:51:56 pm Quote from: raschemmel on August 17, 2014, 08:37:37 pmQuote  And yes, I believe I am looking to assign a digital count value in the range 0-1023, but applied to 12V instead of 5V  Then what you are calling a  12V to 5V converter,  is the voltage divider mentioned in last post by RogerClark.The values you need are 5.6 k ohm and 4.2 k ohm with the 5.6 k ohm resistor connected to the 12 signal and the 4.2 k resistor connected to ground. The point where the two resistors connect is where you obtain  your analog 0 to 5 V output. FYI, after the fact, for future reference. the question you were asking here :Quote  Is it possible to or is there a device that can convert a 0-12V input to 0-5V input so that it's usable to the arduino? There is something I would like the Arduino to measure but it varies between 0V and 12V.  can be correctly stated as follows:QuoteI would like to scale a 12V analog signal down to 5V. How do I do that ?(hence the name "voltage divider ")That is a much simpler way to state what I was looking for. I'm sorry for being so misleading or confusing , and thank for clearing that up for me .Quote from: rogerClark on August 17, 2014, 08:24:01 pmSurely you just need a voltage divider .i.e 2 resistors in series, with the midpoint connected to the Analog inputSee https://en.wikipedia.org/wiki/Voltage_dividerI don't know why I completely forgot about this....the first thing I learned in EET. Shame on me.Thanks again guys, I really appreciate the help!
 2 Using Arduino / Project Guidance / Re: Is 12V to 5V conversion possible while maintaining ratios? on: August 17, 2014, 08:35:17 pm Quote from: raschemmel on August 17, 2014, 08:30:03 pmNo I wasn't try to be rude or belittle you but you clearly stated here:QuoteIs it possible to or is there a device that can convert a 0-12V input to 0-5V input so that it's usable to the arduino?] Is it possible to or is there a device that can convert a 0-12V input to 0-5V input so that it's usable to the arduino?  which means you are interested in converting some signal to 0's or 1's. This is what the above question is saying . If that is not what you want and you have multiple states (in order to be BINARY , it MUST be TWO STATES and ONLY TWO STATES. (0 AND 1).State your intentions:DIGITAL BINARY , or MULTIPLE STATES.The Arduino can take an analog input from 0-5V and assign it a digital count value between 0-1023. I would like it to be able to do this with an input from 0-12V. I'm not sure if this means that I'm looking for digital binary or multiple states honestly.