Hi List,
this is my fist approach to the electronic word I would like to connect the arduino with a Level Sensor here the data:
Rated Power (max.) 100 W
Switching Voltage 400 V
Switching Current (max.) 1.0 A
Carry Current (max.) 2.5 A
Contact Resistance (max.) 150 mOhm
@ 0.5V & 10mA
I now that i should calculate the Ohm Law but im completly lost:
mOhm means micro ohms or mega ohms?
Arduino shoud have 5V and this is the only part of equation clear
but to calculate the resistor where i find the amount of ampere used by the device ?
It's a level switch / float switch, no need to calculate anything.
If it's got two wires then connect one to an Arduino digital pin, the other to a ground pin (GND). Use this in setup()...pinMode(mySwitchPin, INPUT_PULLUP);
and read the switch with mySwitchState = digitalRead(mySwitchPin);
Note: try and keep the water out of the Arduino when playing with float switches
Ok thanks for the answer, but your answer then generate immediatly another:
When I've to use the resistor ?
into the aurdunio start kit book it's used a restistor even with a swith (push botton ) on/off
I also find this article about level sensor and it also consider the use of resitor