You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- Thank you for the quick reply! The Arduino will never receive the full 12v because i'm powering the sensor separately from the Arduino. The Arduino is only connected to the sensor via the analog pin and ground. The most voltage it would ever get into its analog pin would be 8v if there was a catastrophic failure with the sensor and it sent the full supply. That may still be enough to kill the pin, but probably not the whole Arduino, as far as I know. So you're recommending that I test the system using 10K for R1 and 24K for R2? Just want to clarify.Andres– Andres2017-05-08 14:31:29 +00:00Commented May 8, 2017 at 14:31
- 1@Andres: If you know for sure that the input voltage will never be more than 8 V, then you could use 10 kΩ between the sensor and the Arduino and 15 kΩ between the Arduino and ground. The Arduino will then read no more than 4.8 V.Edgar Bonet– Edgar Bonet2017-05-08 15:24:37 +00:00Commented May 8, 2017 at 15:24
- 1Honeywell has also Current Sensors for 5V (the CSNX series). If you are only reading DC currents, then you can add a little capacitor parallel to the 15k resistor of about 10nF (1nF to 100nF) to reduce some noise. Do you have a modern 3.3V Arduino Due or do you really have a very old Duemilanove ? For the Duemilanove it is allowed to pull or push 1mA into a Arduino pin. That means with 10k and 15k the Arduino is protected for voltages from -10V to 19V. A voltage divider is accurate and works very well, anything else (for example OpAmps) would only introduce more inaccuracy.Jot– Jot2017-05-09 06:36:13 +00:00Commented May 9, 2017 at 6:36
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. arduino-uno), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you