Posts

Showing posts from January, 2020

Temperature, humidity monitor - Arduino Mega + Ethernet W5100

Image
Today I will present more recently the last project, which is quite complex in terms of functionality, number of sensors used, Arduino boards, data buses used. The project consists of two modules. Physically, each module consists of a separate Arduino Mega 2560, Ethernet shield W5100 (R3 compatible) and the sensors it uses. Each module communicates with the web interface on the Internet by HTTP POST requests, by which the webserver sells data or requests some data, for example via a GET request (module 2 only). The web interface is completed with a login system, whereby the whole family can access the system, who will register with the system, each with its name and password. It is therefore a multiuser application, where each family member has an overview of both modules and can perform different actions - setting the reference temperature, control thermometer, etc. Consider the individual modules in more detail. Module 1 - BYT - hardware: Arduino Mega 2560 Wiznet W5100 Etherne

Direct current measurement - Arduino

Image
Today I will introduce several available Arduino sensors that can be used in DC projects. This means with a rated supply voltage of 5V with max. 5V output. Current measurement ACS712 An ACS712 sensor, also referred to as ACS712ELC-XXA-XX, indicates the value of amers to measure DC (and AC). The sensor uses a hall sensor to measure the current flow. Versions for 5A, 20A, 30A are available. For all versions, the nominal output voltage is 2.5V at 0A. The sensor has an analog output with a range of 0 to 5V. Module 5A   20A 30A Vcc 5V 5V 5V Max measure value -5 to +5A -20 to 20A -30 to 30A Voltage at 0A Vcc/2 --> 2.5V Vcc/2 --> 2.5V Vcc/2 --> 2.5V One amp step 185mV / A 100mV / A 66mV / A Chip version ACS712ELC-05A ACS712ELC-20A ACS712ELC-30A The module contains a terminal block for connecting the conductor through which the current flows in series. The module does not include a PCB mounting hole. There are versions from other manufacturers that also inclu

Relay Control by IR Controller - Receiver KY-022

Image
Today we imagine the ability to control Arduino outputs via an infrared (IR) transmitter - for example, a remote control to a TV or air conditioning. The remote control I tested in this experiment is universal from SILVERCREST, model KH 2159. The remote control is available mostly in the LIDL chain, works on most TVs, home theaters, players. A number of available sensors can be used to receive the IR signal, such as the KY-022 module. Technical specifications KY-022: Sensor type: IR receiver Operating voltage: 2.7 - 5.5V Consumption: 0.4 - 1.5mA Reception angle: ± 45 ° Frequency: 38kHz Filter: 500lux Potential range: 18m Receiver diode type: TL1838 Supported protocols: NEC, RC5, RC6, JVC, SONY, Panasonic, AIWA RC-T501, WHYNTER and others The program implementation uses the most used IRremote library for this IR receiver. The library is designed only for AVR processors, ie AtMega328P used in Arduino and related. For use with other architectures such as ESP32 / ES