Sensores Arduino

Produtos visualizados

Liquid Water Level Sensor Horizontal Ver maior

Liquid Water Level Sensor Horizontal

BE15000154

Novo produto

Liquid water

Mais detalhes

4,99 € com IVA

Adicionar à Lista de desejos

Mais informação

Float level switch is a simple structure, easy to use level control devices, it does not provide power, no complicated circuit, it has a smaller volume than the general mechanical switch, long working life and other advantages. As long as the material selection is correct in shape, and the nature of any liquid or pressure, temperature can be used, which in the shipbuilding industry, generating equipment, petrochemical, food industry, water treatment equipment, dyeing and finishing industry, hydraulic machinery, etc. have been widely applications.

How it works: an important level sensor magnetic reed switch and the float composed of magnetic material inside the float, set up one or more magnetic reed switch in a closed non-magnetic metal pipe or plastic pipe, and then the catheter through a or more with magnetic float, and double loop control with fixed float and reed switch in the relevant position, the float rises or falls with the liquid, use inside the ball close to the beginning of the reed contact, resulting in open and closed action, for level control or direction (when float near the reed switch is turned on; switch off when you leave).

Ex:

Specifications

  • Cable length: 40cm
  • Maximum load: 10w
  • Max Switching voltage: 100V DC
  • Max BreakDown Voltage: 250v DC
  • Maximum Switching Current: 0.5A
  • Max load current: 1.0A
  • Max contact resistance: 0.4 Ω
  • Temp Rating: -10 ~ +80°C
  • Net weight: 16g

Code:

/*
Liquid Water Level Sensor Horizontal

Turns on and off a light emitting diode(LED) connected to digital
pin 13, when detect a change of state from sensor attached to pin 2.


The circuit:
* LED attached from pin 13 to ground
* sensor attached to pin 2 from +5V
* 10K resistor attached to pin 2 from ground

* Note: on most Arduinos there is already an LED on the board
attached to pin 13.


created 2015
by BoxElectronica.com
http://boxelectronica.com/sensores-/154-liquid-water-level-sensor-horizontal.html

This example code is in the public domain.
*/

// constants won't change. They're used here to
// set pin numbers:
const int sensorpin = 2; // the number of the sensor pin
const int ledPin = 13; // the number of the LED pin

// variables will change:
int sensorState = 0; // variable for reading the sensor status

void setup() {
// initialize the LED pin as an output:
pinMode(ledPin, OUTPUT);
// initialize the sensor pin as an input:
pinMode(sensorpin, INPUT);
}

void loop() {
// read the state of the sensor value:
sensorState = digitalRead(sensorpin);

// check the sensor
// if it is, the sensorState is HIGH:
if (sensorState == HIGH) {
// turn LED on:
digitalWrite(ledPin, HIGH);
}
else {
// turn LED off:
digitalWrite(ledPin, LOW);
}
}

Acessórios

Clientes que compraram este produto também compraram: