On this page an overview of the used sensors and modules in the project.

 

FYI. For every type of I/O and for some specific sensors, the standard declares control modules. A control module is made per I/O point or better for every tag. The control module keeps meta info, like the name of the tag, the physical connection(s) on the board and status information like the current status and the fact that the tag is polled by HMI or in hand or automatic mode. You don't have to know anything of these control modules, all information is used internal but is readably for the user by means of e.g. the serial monitor or HMI. Making use of the standard, will make your live much easier.

 

Digital I/O. The standard input and output pins can be declared in the sketch. It is possible to connect a wide area of digital devices like buttons, PIR devices, relays... Remark; all inputs are declared with PULLUP. It means that when nothing is attached to a declared input it will by High.   

 

Below the used sensors and modules:

HC SR04

HC-SR04. Ultrasonic distance measurement sensor. Standard supported by the sketch. Just input the number of sensors, the first pin and name(s) of the tag(s). There are some standard functions for handling the I/O (e.g. DistanceLonger, DistanceBetween...). The sensor needs two digital pins.

 

 

DS18B20

DS18B20. Temperature measurement sensor. Standard supported by the sketch. Just input the number of sensors. The DS18B20 uses a bus to communicate wth the sketch. You have to input a PWM number as communication channel for one or more sensors.

 

 

SG90S

SG90S. Servo device. Standard supported by the sketch. Just input the number of servos and I/O pin of the first sensor. There are standard functions available for driving the servo. Connect the servo to a PWN output.

 

relay 8 chan

8 Channel relays. Used to connect discrete digital outputs.

 

 

PWM to analogue

PWM to analogue. Converter from Pulse Wide Modulation to an analogue signal. Connect the converter to a PWM (analogue output pin)

 

 

PIR

PIR. Motion sensor. Can be connected directly with an input pin for motion detection.

 

apc2202

APC220.  Serial RF connection. One side connected to the board and the other side (for example) connected to a PC for serial communication with HMI. A distance of 1000m (sigth) is possible. Connect the TX/RX to for example RX1/TX1 on the board.

 

CP2102

CP2102. Serial to USB converter. Ideal for communication to the HMI bij an USB port. At the serial side, only use TX/RX and GND. The module is powered by the USB port. Connect TX/RX to for example RX1/TX1 on the board.

 

HC 06

HC06. Bluetooth serial module for connection to a bluetooth device. Used for connection with HMI on PC. Connect RX/TX to for example TX1/RX1 on the board.

 

DS1307

DS1307. Real time clock. Connection via I2C bus. Used for setting/keeping the time.

 

LED

... and LED's...