Source - http://www.engineersgarage.com
Humidity and temperature monitoring systems are quite common in industries. These environment factors need constant supervision to maintain reliability and efficiency of the industrial devices. The monitoring systems used in industries are generally wired where sensor unit and the sensor monitoring system connects through a cable wire. The humidity and temperature monitoring systems can be made wireless using the 434 RF modules. With wireless connectivity, the sensor and the monitoring systems can be installed separately and industrial equipment can be remotely supervised. Plus, the cost for extensive cable installation is also saved.
Arduino is an open-source microcontroller board and development environment that can sense the environment using inputs from sensors and affect its surroundings by controlling lights, motors, and other actuators. The document discusses the hardware architecture of Arduino, including the different types of Arduino boards, the components of an Arduino Uno board, and the architecture of the Atmega328 microcontroller chip used in Arduino boards. It describes the microcontroller's memory types including flash memory, SRAM, and EEPROM.
I2c protocol - Inter–Integrated Circuit Communication ProtocolAnkur Soni
This document provides an overview of the I2C communication protocol. It describes how I2C uses only two wires (SDA and SCL) to allow data transmission between an I2C master and multiple I2C slave devices. The document explains the I2C message structure, including the start condition, address frame, read/write bit, data frames, ACK/NACK bits, and stop condition. It also discusses the advantages of I2C, such as supporting multiple masters/slaves and error checking, and disadvantages like slower speeds compared to SPI. Real-life uses of I2C include connections to OLED displays, sensors, and other peripherals.
RFID BASED SECURITY ACCESS CONTROL SYSTEMavinash yada
This document presents a project on an RFID-based security access control system. It includes sections that describe what RFID cards are, the invention of RFID technology, different types of RFID cards, a block diagram of the system components, how the power supply works, descriptions of components like the LCD display and buzzer, how access is controlled using RFID reader and motor, the software used, security features, benefits, and future applications. It aims to develop a system that can reliably identify users and control access to improve safety and security.
RFID based contactless body temperature screening during COVID-19 DEEPAK LODHA
So in this Project, we are going to build an RFID based Contactless Temperature Monitoring System using a contactless temperature sensor with Arduino.
When employees scan the RFID card, it will measure the body temperature of employees with a non-contact Infrared Thermometer and log the Name and Temperature of that employee directly to the excel sheet. We will be using Arduino Nano, MLX90614, EM18 RFID Reader, and Ultrasonic Sensor to build this project. The Ultrasonic sensor is used to calculate the distance between the thermometer and the person. The thermometer will only measure the temperature when the distance is less than 25 CM.
This document discusses RFID technology, comparing it to barcodes. It describes how RFID tags work with readers to transmit identification signals. The document outlines different types of RFID tags based on their signal strength and range. It provides examples of RFID applications in areas like manufacturing, retail, security, and access control. Finally, it presents a block diagram and overview of an RFID-based student attendance system, describing how it allows automatic attendance tracking and uploading records to a database.
Rfid based attendance system using arduino (1)AWANISHKUMAR84
This document describes an RFID-based attendance system using Arduino. The system uses an RFID reader to read student ID cards and record attendance by storing the entry and exit times. It consists of an Arduino Uno microcontroller, RFID reader, real-time clock module, LCD display, and other components. When a student swipes their RFID card, the system reads the card ID and stores the arrival time. It stores the leaving time when they swipe out. This allows it to track attendance and calculate time spent on-site. The system provides automatic, contactless attendance tracking with benefits like low cost and easy monitoring.
This document discusses the use of wireless instrumentation in the oil and gas industry. It provides an introduction to wireless instrumentation and outlines its benefits, including significant cost savings from eliminating cabling. The document reviews the history of wireless instruments and discusses common wireless standards like WirelessHART and ISA 100.11a. It also covers topics such as network architecture, security measures to ensure reliability, and the advantages of remote monitoring capabilities. While noting some risks around interference and lost data packets, the conclusion is that wireless instrumentation provides flexibility and cost reductions for oil and gas operators.
Arduino is an open-source microcontroller board and development environment that can sense the environment using inputs from sensors and affect its surroundings by controlling lights, motors, and other actuators. The document discusses the hardware architecture of Arduino, including the different types of Arduino boards, the components of an Arduino Uno board, and the architecture of the Atmega328 microcontroller chip used in Arduino boards. It describes the microcontroller's memory types including flash memory, SRAM, and EEPROM.
I2c protocol - Inter–Integrated Circuit Communication ProtocolAnkur Soni
This document provides an overview of the I2C communication protocol. It describes how I2C uses only two wires (SDA and SCL) to allow data transmission between an I2C master and multiple I2C slave devices. The document explains the I2C message structure, including the start condition, address frame, read/write bit, data frames, ACK/NACK bits, and stop condition. It also discusses the advantages of I2C, such as supporting multiple masters/slaves and error checking, and disadvantages like slower speeds compared to SPI. Real-life uses of I2C include connections to OLED displays, sensors, and other peripherals.
RFID BASED SECURITY ACCESS CONTROL SYSTEMavinash yada
This document presents a project on an RFID-based security access control system. It includes sections that describe what RFID cards are, the invention of RFID technology, different types of RFID cards, a block diagram of the system components, how the power supply works, descriptions of components like the LCD display and buzzer, how access is controlled using RFID reader and motor, the software used, security features, benefits, and future applications. It aims to develop a system that can reliably identify users and control access to improve safety and security.
RFID based contactless body temperature screening during COVID-19 DEEPAK LODHA
So in this Project, we are going to build an RFID based Contactless Temperature Monitoring System using a contactless temperature sensor with Arduino.
When employees scan the RFID card, it will measure the body temperature of employees with a non-contact Infrared Thermometer and log the Name and Temperature of that employee directly to the excel sheet. We will be using Arduino Nano, MLX90614, EM18 RFID Reader, and Ultrasonic Sensor to build this project. The Ultrasonic sensor is used to calculate the distance between the thermometer and the person. The thermometer will only measure the temperature when the distance is less than 25 CM.
This document discusses RFID technology, comparing it to barcodes. It describes how RFID tags work with readers to transmit identification signals. The document outlines different types of RFID tags based on their signal strength and range. It provides examples of RFID applications in areas like manufacturing, retail, security, and access control. Finally, it presents a block diagram and overview of an RFID-based student attendance system, describing how it allows automatic attendance tracking and uploading records to a database.
Rfid based attendance system using arduino (1)AWANISHKUMAR84
This document describes an RFID-based attendance system using Arduino. The system uses an RFID reader to read student ID cards and record attendance by storing the entry and exit times. It consists of an Arduino Uno microcontroller, RFID reader, real-time clock module, LCD display, and other components. When a student swipes their RFID card, the system reads the card ID and stores the arrival time. It stores the leaving time when they swipe out. This allows it to track attendance and calculate time spent on-site. The system provides automatic, contactless attendance tracking with benefits like low cost and easy monitoring.
This document discusses the use of wireless instrumentation in the oil and gas industry. It provides an introduction to wireless instrumentation and outlines its benefits, including significant cost savings from eliminating cabling. The document reviews the history of wireless instruments and discusses common wireless standards like WirelessHART and ISA 100.11a. It also covers topics such as network architecture, security measures to ensure reliability, and the advantages of remote monitoring capabilities. While noting some risks around interference and lost data packets, the conclusion is that wireless instrumentation provides flexibility and cost reductions for oil and gas operators.
RFID (Radio Frequency Identification) uses tags with microchips and antennas to wirelessly transmit data to readers. It has advantages over barcodes by allowing contactless scanning of multiple items simultaneously. While RFID adoption has increased in applications like supply chain management, issues around tag costs, lack of standards, and privacy concerns still remain.
RFID based smart shopping cart and billing systemlaharipothula
To make the shopping easy by automated billing at the shopping mall/ super maeket. This module mainly cocnsists of Arduino, RFID tags & reader and zigbee module.
The document discusses an RFID-based Employee Attendance Management System (EAMS). It describes how RFID works using radio waves to wirelessly transmit object or person identifiers. EAMS would use RFID to accurately record employee attendance, generate daily and monthly attendance reports, and allow managers to monitor employee progress online. The system aims to automate attendance tracking and provide benefits like attendance alerts and performance reports to managers, employees and staff.
This was one of my Diploma in Engineering Projects.
It's a Voice controlled Home Automation System which works with the Internet. Which means you can control your home appliances from anywhere.
I did the Presentation for the Home Automation System. I was also one of the core team members who made it happen.
Here are the complete powerpoint slides.
Thank You
Automatic plant monitoring system have recently attracted tremendous interest due to the potential application in emerging technology. More importantly, this technique have improved and may be used to enhance the performance of existing techniques or to develop and design new techniques for the growth of plants . This project will shows the new source for watering the plants in the farms which is reducing the man power . This system will ensure that plants will be monitered without direct influence of men. For designing this system electronic devices like arduino ,sensors (pressure ,soil moisture) and servo , relay , display are used . we mainly introduced automatic watering of plants which shows much efficiency for watering plants compared to other techniques used which facilitates more effective multi-type harvesting the farms and clarifies a mechanism for realizing multi-functional practices in farms using electronic devices.
This document provides an overview of an Internet of Things workshop that teaches participants how to connect sensors and actuators to microcontrollers and the internet. The workshop covers getting started with hardware like Arduino boards, measuring sensor values and controlling actuators, connecting devices to the internet using WiFi and Ethernet, and using cloud services like Xively to monitor sensors and control devices remotely. Hands-on activities include blinking an LED, reading a pushbutton switch, and sending sensor data to Xively to be displayed on a data dashboard.
This document provides information about different types of sensors, including infrared (IR), temperature, and sound sensors. It discusses the basic working principles of IR sensors, including how they detect objects based on reflected IR light. The document also describes temperature sensors that output a voltage proportional to temperature. Finally, it explains how sound sensors use a microphone and 555 timer integrated circuit to measure sound pressure variations and generate pulses. Key components discussed include the LM358 comparator, LM35 temperature sensor, and operating modes of the 555 timer IC like monostable, bistable, and astable.
The Arduino Uno is a microcontroller board based on the ATmega328P chip. It has 32KB of flash memory, 2KB of SRAM, and 1KB of EEPROM. The board has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter to get started.
This document describes an RFID and GSM based attendance system. The system uses RFID tags and a reader to track when students arrive and leave school/college and sends SMS alerts to parents. It consists of hardware components like a microcontroller, RFID reader, GSM modem and software like Keil Compiler. When a student's RFID tag is scanned, the time is logged to an EEPROM and an SMS is sent to notify parents. The system aims to save time and keep parents informed of their child's daily attendance through SMS messages in real-time.
The 8253 is a programmable timer chip with 3 independent counters that can be used for timing events. It has 6 operating modes that determine how the counters work and the output signal behavior. The chip interfaces with other components through its 24 pins and is programmed by writing control words that set the operating mode and load count values.
The document proposes a temperature monitoring system using an Arduino Uno, ESP8266 Wi-Fi module, DHT11 temperature and humidity sensor, and 9V battery. The DHT11 sensor measures temperature and sends the data to the Arduino MCU, which then uploads the values to the cloud through the ESP8266 module. Users can view the temperature graphically from anywhere in the world. The system has applications in industries like pharmacy, agriculture, food safety, and equipment monitoring by providing remote temperature monitoring and alerts.
Z-wave is a protocol used for wireless communication mainly in home-automation. This protocols caters needs of residential control and automation market which effectively and smartly control lighting, security systems.
This document describes an RFID-based smart attendance system. It begins by explaining what RFID is and how it works, transmitting data between a tag and reader using radio frequencies. It then discusses how RFID technology can be used to automatically take student attendance by having each student carry an RFID tag scanned by a reader when entering the classroom. The document outlines the hardware and software requirements and provides schematics of the circuit. It describes the process of a student swiping their tag by the reader, which transmits the data to a microcontroller to check against a database and mark their attendance on an LCD display. Advantages include reducing proxy attendance.
The document discusses the security features of ATM systems. It covers how ATMs work by connecting to a host computer for transaction authorization. Card readers, PIN entry, and crypto-processors securely authenticate users. Additional security measures include transaction limits, invalidating stolen cards, and encrypting transmitted data. Databases and network security aim to protect confidential user information and ensure integrity of financial transactions processed through the ATM network.
Sensors are devices that measure physical quantities and convert them into signals that can be read by observers or instruments. The document discusses several common sensors: infrared (IR) sensors, sound sensors, temperature sensors, and discusses their working principles and applications. It also provides details on using timers and integrated circuits like the 555 timer IC to process sensor output signals.
Seminar Report on RFID Based Trackin SystemShahrikh Khan
The document is a seminar report submitted by Shahrukh Ayaz Khan on RFID based tracking system privacy control. It discusses RFID technology, how RFID works, applications of RFID, privacy and security issues related to RFID, and approaches to address these issues. The report contains an abstract, introduction discussing background and objectives of the report, literature review on related work and existing technologies, methodology covering RFID components and functioning, discussion on RFID security and privacy issues and solutions, analysis of advantages and disadvantages of RFID, and conclusion.
Remote temperature and humidity monitoring system using wireless sensor networkseSAT Journals
Abstract Today’s world has become very advanced with smart appliances and devices like laptops, tablets, televisions. smart phones with different features and their usage has been enormously increasing in our day-to-day life. The technology advancement in Digital Electronics and Micro Electro Mechanical Systems. In this scenario the most important role is played by Wireless Sensor Networks and its development and usage in heterogeneous fields and several contexts. the home automation field and process control systems and health control systems widely uses wireless sensor networks. Moreover with WSN we can monitor environments and its conditions also. We are designing a protocol to monitor the environmental temperature and humidity at different conditions. The architecture is simple to construct and ease to implement and also has an advantage of low power consumption. The aim of our paper to describe and show how to create a simple protocol for environment monitoring using a wireless development kit. we are using advanced technology of crossbow motes and NESC Language Programming. Keywords: Motes, WSN, sensor, TinyOS, Nesc.
WIRELESS HUMAN TEMPERATURE MONITORING SYSTEM is an excellent solution to sense the four major aspects of the present world that is heartbeat, blood pressure, smoke, temperature and alcohol. The application has described a monitoring system based on Zigebee technology, cooperating with software positioning, which contains a communication platform with wireless monitoring function.
The user can simply use the device to calculate is BP, smoke and alcohol consumption and can monitor his temperature in real time, which provides the technical foundation for the development of wireless network system.
This system is controlled by a Zigbee application where the user can create logs of the records or values; the system calculates the values by sensors and transmits the value to the database for storage. On change of position within 1000 meters would not affect the transmission or receiving the signals.
Thus the user and the caretaker can have a better result to verify and give a better solution to the problem.
RFID (Radio Frequency Identification) uses tags with microchips and antennas to wirelessly transmit data to readers. It has advantages over barcodes by allowing contactless scanning of multiple items simultaneously. While RFID adoption has increased in applications like supply chain management, issues around tag costs, lack of standards, and privacy concerns still remain.
RFID based smart shopping cart and billing systemlaharipothula
To make the shopping easy by automated billing at the shopping mall/ super maeket. This module mainly cocnsists of Arduino, RFID tags & reader and zigbee module.
The document discusses an RFID-based Employee Attendance Management System (EAMS). It describes how RFID works using radio waves to wirelessly transmit object or person identifiers. EAMS would use RFID to accurately record employee attendance, generate daily and monthly attendance reports, and allow managers to monitor employee progress online. The system aims to automate attendance tracking and provide benefits like attendance alerts and performance reports to managers, employees and staff.
This was one of my Diploma in Engineering Projects.
It's a Voice controlled Home Automation System which works with the Internet. Which means you can control your home appliances from anywhere.
I did the Presentation for the Home Automation System. I was also one of the core team members who made it happen.
Here are the complete powerpoint slides.
Thank You
Automatic plant monitoring system have recently attracted tremendous interest due to the potential application in emerging technology. More importantly, this technique have improved and may be used to enhance the performance of existing techniques or to develop and design new techniques for the growth of plants . This project will shows the new source for watering the plants in the farms which is reducing the man power . This system will ensure that plants will be monitered without direct influence of men. For designing this system electronic devices like arduino ,sensors (pressure ,soil moisture) and servo , relay , display are used . we mainly introduced automatic watering of plants which shows much efficiency for watering plants compared to other techniques used which facilitates more effective multi-type harvesting the farms and clarifies a mechanism for realizing multi-functional practices in farms using electronic devices.
This document provides an overview of an Internet of Things workshop that teaches participants how to connect sensors and actuators to microcontrollers and the internet. The workshop covers getting started with hardware like Arduino boards, measuring sensor values and controlling actuators, connecting devices to the internet using WiFi and Ethernet, and using cloud services like Xively to monitor sensors and control devices remotely. Hands-on activities include blinking an LED, reading a pushbutton switch, and sending sensor data to Xively to be displayed on a data dashboard.
This document provides information about different types of sensors, including infrared (IR), temperature, and sound sensors. It discusses the basic working principles of IR sensors, including how they detect objects based on reflected IR light. The document also describes temperature sensors that output a voltage proportional to temperature. Finally, it explains how sound sensors use a microphone and 555 timer integrated circuit to measure sound pressure variations and generate pulses. Key components discussed include the LM358 comparator, LM35 temperature sensor, and operating modes of the 555 timer IC like monostable, bistable, and astable.
The Arduino Uno is a microcontroller board based on the ATmega328P chip. It has 32KB of flash memory, 2KB of SRAM, and 1KB of EEPROM. The board has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter to get started.
This document describes an RFID and GSM based attendance system. The system uses RFID tags and a reader to track when students arrive and leave school/college and sends SMS alerts to parents. It consists of hardware components like a microcontroller, RFID reader, GSM modem and software like Keil Compiler. When a student's RFID tag is scanned, the time is logged to an EEPROM and an SMS is sent to notify parents. The system aims to save time and keep parents informed of their child's daily attendance through SMS messages in real-time.
The 8253 is a programmable timer chip with 3 independent counters that can be used for timing events. It has 6 operating modes that determine how the counters work and the output signal behavior. The chip interfaces with other components through its 24 pins and is programmed by writing control words that set the operating mode and load count values.
The document proposes a temperature monitoring system using an Arduino Uno, ESP8266 Wi-Fi module, DHT11 temperature and humidity sensor, and 9V battery. The DHT11 sensor measures temperature and sends the data to the Arduino MCU, which then uploads the values to the cloud through the ESP8266 module. Users can view the temperature graphically from anywhere in the world. The system has applications in industries like pharmacy, agriculture, food safety, and equipment monitoring by providing remote temperature monitoring and alerts.
Z-wave is a protocol used for wireless communication mainly in home-automation. This protocols caters needs of residential control and automation market which effectively and smartly control lighting, security systems.
This document describes an RFID-based smart attendance system. It begins by explaining what RFID is and how it works, transmitting data between a tag and reader using radio frequencies. It then discusses how RFID technology can be used to automatically take student attendance by having each student carry an RFID tag scanned by a reader when entering the classroom. The document outlines the hardware and software requirements and provides schematics of the circuit. It describes the process of a student swiping their tag by the reader, which transmits the data to a microcontroller to check against a database and mark their attendance on an LCD display. Advantages include reducing proxy attendance.
The document discusses the security features of ATM systems. It covers how ATMs work by connecting to a host computer for transaction authorization. Card readers, PIN entry, and crypto-processors securely authenticate users. Additional security measures include transaction limits, invalidating stolen cards, and encrypting transmitted data. Databases and network security aim to protect confidential user information and ensure integrity of financial transactions processed through the ATM network.
Sensors are devices that measure physical quantities and convert them into signals that can be read by observers or instruments. The document discusses several common sensors: infrared (IR) sensors, sound sensors, temperature sensors, and discusses their working principles and applications. It also provides details on using timers and integrated circuits like the 555 timer IC to process sensor output signals.
Seminar Report on RFID Based Trackin SystemShahrikh Khan
The document is a seminar report submitted by Shahrukh Ayaz Khan on RFID based tracking system privacy control. It discusses RFID technology, how RFID works, applications of RFID, privacy and security issues related to RFID, and approaches to address these issues. The report contains an abstract, introduction discussing background and objectives of the report, literature review on related work and existing technologies, methodology covering RFID components and functioning, discussion on RFID security and privacy issues and solutions, analysis of advantages and disadvantages of RFID, and conclusion.
Remote temperature and humidity monitoring system using wireless sensor networkseSAT Journals
Abstract Today’s world has become very advanced with smart appliances and devices like laptops, tablets, televisions. smart phones with different features and their usage has been enormously increasing in our day-to-day life. The technology advancement in Digital Electronics and Micro Electro Mechanical Systems. In this scenario the most important role is played by Wireless Sensor Networks and its development and usage in heterogeneous fields and several contexts. the home automation field and process control systems and health control systems widely uses wireless sensor networks. Moreover with WSN we can monitor environments and its conditions also. We are designing a protocol to monitor the environmental temperature and humidity at different conditions. The architecture is simple to construct and ease to implement and also has an advantage of low power consumption. The aim of our paper to describe and show how to create a simple protocol for environment monitoring using a wireless development kit. we are using advanced technology of crossbow motes and NESC Language Programming. Keywords: Motes, WSN, sensor, TinyOS, Nesc.
WIRELESS HUMAN TEMPERATURE MONITORING SYSTEM is an excellent solution to sense the four major aspects of the present world that is heartbeat, blood pressure, smoke, temperature and alcohol. The application has described a monitoring system based on Zigebee technology, cooperating with software positioning, which contains a communication platform with wireless monitoring function.
The user can simply use the device to calculate is BP, smoke and alcohol consumption and can monitor his temperature in real time, which provides the technical foundation for the development of wireless network system.
This system is controlled by a Zigbee application where the user can create logs of the records or values; the system calculates the values by sensors and transmits the value to the database for storage. On change of position within 1000 meters would not affect the transmission or receiving the signals.
Thus the user and the caretaker can have a better result to verify and give a better solution to the problem.
Analog data transmission on rf module using arduinoSagar Srivastav
Source - http://www.engineersgarage.com
The transmission of digital data over an RF module is quite common. The 434 RF modules are capable of transmitting 4-bit data along with the address byte. The circuits using RF modules for digital data transmission are simple and uses HT12E encoder and HT12D decoder ICs for parallel to serial and serial to parallel data conversion respectively. In real-life situations, the source of digital data are only the computers, microcomputers or digital ICs.
Informatique verte des capteurs intelligents à la fouille de données - 2014-1...Jérôme Rocheteau
Cette présentation de mes axes de recherche en green computing a été effectuée devant les élèves-ingénieurs et les enseignants-chercheurs au cours des journées recherche de l'ICAM le 25 novembre 2014.
One of the most important aspect of Wireless Sensor Networks is Monitoring the content of moisture in the soil, temperature and humidity with the help of Zigbee.
ARDUINO + LABVIEW : CONTRÔLE DE LA TEMPÉRATUREHajer Dahech
les Liens des fichiers du projet et le rapport PDF sur la page
https://hajereducation.tn/arduino-labview/
voir aussi
https://hajereducation.tn/category/embedded-system-projects/
===============
lien site https://hajereducation.tn
Projet de fin d'etude :Control d’acces par empreintes digitaleAbdo07
Projet de fin d'etude :Control d’acces par empreintes digitale
Réalisé par : AABIDA Abderrahime _NAJMA Soufiane _ AIT BBA Mohamed
Encadré par : M.ROUFI
Année Universitaire : 2014-2015
Université Cadi Ayyad
Faculté des sciences Semlalia
Marrakech
Story Lab - Sensor Journalism [23-04-2015, Liège]Gregory Berger
Présentation de 3kd à la Master Class sur les nouvelles narrations.
Comment l'utilisation de capteurs électroniques peut influencer le story telling, l'investigation ou le fact checking.
« LabVIEW : programmation et applications » ou comment apprendre à utiliser L...Luc Desruelle
J'ai publié un extrait de mon livre intitulé LabVIEW - Programmation et applications. Vous pouvez retrouver l'extrait en cliquant sur le lien ci-dessous :
« LabVIEW : programmation et applications » ou comment apprendre à utiliser LabVIEW
N'hésitez pas à me donner votre avis sur cet extrait et également sur le livre.
Merci.
Techniques de programmation avancée LabVIEW : gestion des données de la local...Luc Desruelle
Journées techniques LabVIEW National Instruments
Présentation réalisée lors des Journées techniques LabVIEW, par Luc Desruelle - Technique de programmation avancée : gestion des données.
Sommaire :
Où trouver de l’aide?
Quelques règles de style, LabVIEW Style Checklist
Quelques techniques d’architecture sous LabVIEW, pour la gestion des données
Contrôle, Indicateur VS Locale VS Globale VS Nœud propriété
FGV : Functional Global Variable
AE : Action Engine
OOP et SM – QDMH : Object-Oriented Programming et structure
DVR : Data Value Reference
Introduction à l'IoT: du capteur à la donnée_Presentation Mix-IT2015Sameh BEN FREDJ
This Presentation is an introduction to the Internet of Things where we define what is IoT, illustrate some use cases and usages and detail the different parts of an IoT eco-system. We also present some examples of DIY projects with code and tools to help you start your own IoT project !
This document describes 5 experiments conducted in an IoT and ADBMS laboratory. The experiments cover topics like serial communication using UART, wireless communication between RF modules, reading sensor data from a DHT11 temperature and humidity sensor, and I2C communication between Arduino boards. Hardware components used include Arduino boards, RF transmitters/receivers, a DHT11 sensor, LCD display, LEDs, breadboard and connecting wires. The document provides aims, objectives, components, connections, procedures and code for each experiment.
The document discusses various sensors and actuators that can be used with an Arduino board. It describes analog input pins and the analog-to-digital converter on the Arduino, which allows sensors to be read. It also discusses using a potentiometer to read analog sensor values and control an LED brightness. Pulse width modulation (PWM) is introduced for generating analog outputs with digital pins. Common sensors like a photoresistor, temperature sensor, and DHT11 humidity sensor are described. For outputs, the document discusses servo motors and controlling servo position either with code or a potentiometer. It also mentions libraries that add functionality to Arduino sketches.
This document provides tutorials for various Arduino projects, including:
1. Blinking an LED
2. Using an ultrasonic sensor to measure distance
3. Creating a burglar alarm with a PIR motion sensor
It gives the code, circuit diagrams, and explanations for each project. The document is intended to teach Arduino skills for beginners.
The document discusses the Arduino board. It contains the following key points:
1) The Arduino board can be powered via USB connection to a computer or through an external power supply connected to the barrel jack. It contains a voltage regulator to stabilize the power.
2) It uses a 16MHz crystal oscillator to help with time-keeping. The microcontroller, such as an ATmega328, acts as the brain of the board.
3) It has digital and analog pins that can be configured as inputs or outputs to interface with sensors and actuators. The analog pins can read signals from sensors like temperature and humidity sensors.
This document describes an RFID based access control system using an 8051 microcontroller and CPLD. The system aims to design the hardware and software requirements to interface an RFID reader with an LCD display using an 8051 microcontroller. Key objectives include developing the schematic for the LCD interface, writing C code to display information on the LCD, simulating the design using software, writing VHDL code for the CPLD, and comparing the microcontroller and CPLD based methods. Flowcharts and code snippets are provided to illustrate the system design and programming of the 8051 for LCD interfacing, serial communication, and receiving RFID tag IDs using interrupts.
This document summarizes an Arduino seminar report. It discusses what Arduino is, different Arduino boards, how the Arduino board works including the controller, power supply, and USB to serial converter. It also summarizes sensors that can interface with Arduino like temperature sensors and hall sensors. Finally, it provides an overview of a home automation project using Arduino and GSM to control devices remotely through SMS messages.
Arduino
What is Arduino?
Arduino is an open-source hardware and software company, project, and user community that designs and manufactures single-board microcontrollers and microcontroller kits for building digital devices.
Where is Arduino used in real life?
Today Arduino is used for the control of traffic lights, it can also be used for the real-time control system with programmable timings, pedestrian lighting etc.
With the Arduino, you can design and build devices that can interact with your surroundings.
This articulation is on "Arduino".
This will lead you to know more about Arduino sensors, codings, ports etc.
Hope this assists you.
Thank you!
Real-Time Monitoring and Control System for Industryijsrd.com
Industrial automation and control systems become an integral part of industries and hence the project Real-Time Monitoring and Control System is an important system. Real-Time Monitoring and Controlling System aims to monitor the environmental parameters like Temperature, Humidity, Pressure statistics in any factory and controlling peripheral systems also transmit parameter wireless to the Monitoring room using Zigbee Technology. It uses ARM 7 based embedded technologies from NXP which is sister company of Philips and made for used in highly sensitive and critical Real Time systems.
Ijeee 33-36-surveillance system for coal mines based on wireless sensor networkKumar Goud
Abstract: The foremost critical task for coal mine is of keeping track of miners spread out across a large mining areas .It becomes even difficult when mine tunnels collapse. Many mines use a radio system to track miners, but when a collapse occurs, the base stations connected by a thin wire often are rendered useless. In this project to overcome the demerits of radio system we used wireless technology for tracking the miners. For this purpose a small RF transmitter module is equipped to each person entering a mine. Each transceiver placed in the mine look after the location of miners. The transceivers communicate with base stations through Zigbee module. In addition of tracking the location of miners we also include sensors such as temperature & humidity to intimate the base station & miners when some atmosphere changes occur. Mine operators are now able to monitor the real-time locations of each miner to better pinpoint their locations in the event of an emergency. Even after a full-day of use, mine operators can locate an individual miner within ten feet.
Key Words: Wireless sensor networks (WSN), ZIGBEE, and LPC2148.
Fire Fighter Robot with Night Vision Camera (1).pptxSyedMohiuddin62
This advanced project Fire Fighter Robotic Vehicle with Night Vision Camera allows a user to control a fire fighter robot equipped with water tank and gun remotely wirelessly for extinguishing fires. For this purposes the system uses an Rf remote for remote operation along with rf receive based microcontroller circuit for operating the robotic vehicle and water pump. The receiver circuit receives RF signals through RF based remote transfer users commands.
IRJET- Measurement of Temperature and Humidity by using Arduino Tool and DHT11IRJET Journal
This document describes a system to measure temperature and humidity using an Arduino microcontroller board and a DHT11 sensor. It consists of 3 sections: 1) the DHT11 sensor measures temperature and humidity, 2) the Arduino reads the sensor output and extracts temperature and humidity values, and 3) an LCD display shows the measured values. The DHT11 sensor communicates with the Arduino using a single-wire serial protocol. The system provides low-cost, real-time monitoring of temperature and humidity that can benefit various industries.
This document provides details about the design and implementation of a wireless gas leakage detection robot. It begins with an introduction describing the dangers of gas leaks and motivates the need for a gas leakage detector. It then provides an overview of the key components used in the robot, including an Arduino Uno microcontroller, RF transmitter/receiver modules, encoder/decoder ICs, DC motors, and an MQ-2 gas sensor. The document presents circuit diagrams for the transmitting and receiving sections and describes the motor driver circuit. It concludes with potential applications of the robot and a high-level overview of its operation.
The document provides an overview of an electronic voting machine project using RFID technology and a microcontroller. Key points:
- Voters will identify themselves with an RFID card read by an RFID reader module. Eligible voters will then be able to cast one vote by pressing a button for their candidate.
- The system includes a microcontroller to check voter eligibility from the RFID code, count votes, and display results. It will trigger an alarm if invalid votes are cast.
- The block diagram outlines the main components: a power supply, voting unit with RFID and microcontroller, confirmation unit like an LED/buzzer, and an LCD display.
- Working details explain how
This document describes an RF ID based access control system. The system uses an RF transmitter kit that sends an RF ID to a receiver circuit. If the received ID matches the data in the receiver, the name of the RF ID holder is displayed on an LCD. The project is divided into three parts: 1) RF ID code transmission using an RF ID encoder IC, 2) Receiving the RF ID data using the main receiver, 3) Opening the door if the password matches. A master can also open the door with a password.
Monitoring temperature rumah dengan display lcd dan recordingMR Selamet
This document describes a temperature monitoring device that uses 4 LM35 temperature sensors to measure temperature in each corner of a room. The temperatures are displayed on an LCD screen and recorded by an Arduino Uno onto a micro SD card stored in .txt files. The summaries are stored minute-by-minute for long term monitoring and analysis of temperature changes in the room.
Monitoring temperature ruangan dengan display lcdsiti_haryani
This document describes a temperature monitoring device that uses 4 LM35 temperature sensors to measure temperature in each corner of a room. The temperatures are displayed on an LCD screen and recorded by an Arduino Uno onto a micro SD card stored in .txt files. The summaries are stored minute-by-minute for long term monitoring and analysis of temperature changes in the room.
Monitoring temperature rumah dengan display lcd dan recordingYuda Wardiana
This document describes the design and testing of a temperature monitoring system that uses Arduino, LM35 temperature sensors, an LCD display, micro SD shield, and RTC module. The system measures and records temperature data from 4 sensors every minute. The temperatures are displayed on the LCD and saved to a text file on the micro SD card along with date/time from the RTC module. Testing showed the system successfully measured and logged temperature data as designed. The conclusion suggests calibrating the LM35 readings and using terminals to strengthen electrical connections.
Home Automation with MATLAB and ARDUINO InterfaceAlok Tiwari
Home automation trade has drawn goodish attention of researchers for quite a decade. The main plan is to mechanically management and monitor electrical and electronic home appliances
Monitoring temperature ruangan dengan display lcdmukhammadimam
This document describes a temperature monitoring device that uses 4 LM35 temperature sensors to measure temperature in different areas of a room. The temperatures are displayed on an LCD screen and recorded to a microSD card every minute using an Arduino Uno. The temperatures, date, and time are stored in a .txt file on the microSD card. The device allows monitoring temperature changes over time and analyzing the stored data for academic purposes.
Similar to Wireless humidity and temperature monitoring system (20)
Securing your Kubernetes cluster_ a step-by-step guide to success !KatiaHIMEUR1
Today, after several years of existence, an extremely active community and an ultra-dynamic ecosystem, Kubernetes has established itself as the de facto standard in container orchestration. Thanks to a wide range of managed services, it has never been so easy to set up a ready-to-use Kubernetes cluster.
However, this ease of use means that the subject of security in Kubernetes is often left for later, or even neglected. This exposes companies to significant risks.
In this talk, I'll show you step-by-step how to secure your Kubernetes cluster for greater peace of mind and reliability.
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
20 Comprehensive Checklist of Designing and Developing a WebsitePixlogix Infotech
Dive into the world of Website Designing and Developing with Pixlogix! Looking to create a stunning online presence? Look no further! Our comprehensive checklist covers everything you need to know to craft a website that stands out. From user-friendly design to seamless functionality, we've got you covered. Don't miss out on this invaluable resource! Check out our checklist now at Pixlogix and start your journey towards a captivating online presence today.
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...James Anderson
Effective Application Security in Software Delivery lifecycle using Deployment Firewall and DBOM
The modern software delivery process (or the CI/CD process) includes many tools, distributed teams, open-source code, and cloud platforms. Constant focus on speed to release software to market, along with the traditional slow and manual security checks has caused gaps in continuous security as an important piece in the software supply chain. Today organizations feel more susceptible to external and internal cyber threats due to the vast attack surface in their applications supply chain and the lack of end-to-end governance and risk management.
The software team must secure its software delivery process to avoid vulnerability and security breaches. This needs to be achieved with existing tool chains and without extensive rework of the delivery processes. This talk will present strategies and techniques for providing visibility into the true risk of the existing vulnerabilities, preventing the introduction of security issues in the software, resolving vulnerabilities in production environments quickly, and capturing the deployment bill of materials (DBOM).
Speakers:
Bob Boule
Robert Boule is a technology enthusiast with PASSION for technology and making things work along with a knack for helping others understand how things work. He comes with around 20 years of solution engineering experience in application security, software continuous delivery, and SaaS platforms. He is known for his dynamic presentations in CI/CD and application security integrated in software delivery lifecycle.
Gopinath Rebala
Gopinath Rebala is the CTO of OpsMx, where he has overall responsibility for the machine learning and data processing architectures for Secure Software Delivery. Gopi also has a strong connection with our customers, leading design and architecture for strategic implementations. Gopi is a frequent speaker and well-known leader in continuous delivery and integrating security into software delivery.
Full-RAG: A modern architecture for hyper-personalizationZilliz
Mike Del Balso, CEO & Co-Founder at Tecton, presents "Full RAG," a novel approach to AI recommendation systems, aiming to push beyond the limitations of traditional models through a deep integration of contextual insights and real-time data, leveraging the Retrieval-Augmented Generation architecture. This talk will outline Full RAG's potential to significantly enhance personalization, address engineering challenges such as data management and model training, and introduce data enrichment with reranking as a key solution. Attendees will gain crucial insights into the importance of hyperpersonalization in AI, the capabilities of Full RAG for advanced personalization, and strategies for managing complex data integrations for deploying cutting-edge AI solutions.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
Sudheer Mechineni, Head of Application Frameworks, Standard Chartered Bank
Discover how Standard Chartered Bank harnessed the power of Neo4j to transform complex data access challenges into a dynamic, scalable graph database solution. This keynote will cover their journey from initial adoption to deploying a fully automated, enterprise-grade causal cluster, highlighting key strategies for modelling organisational changes and ensuring robust disaster recovery. Learn how these innovations have not only enhanced Standard Chartered Bank’s data infrastructure but also positioned them as pioneers in the banking sector’s adoption of graph technology.
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Zilliz
Join us to introduce Milvus Lite, a vector database that can run on notebooks and laptops, share the same API with Milvus, and integrate with every popular GenAI framework. This webinar is perfect for developers seeking easy-to-use, well-integrated vector databases for their GenAI apps.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
Building RAG with self-deployed Milvus vector database and Snowpark Container...Zilliz
This talk will give hands-on advice on building RAG applications with an open-source Milvus database deployed as a docker container. We will also introduce the integration of Milvus with Snowpark Container Services.
Maruthi Prithivirajan, Head of ASEAN & IN Solution Architecture, Neo4j
Get an inside look at the latest Neo4j innovations that enable relationship-driven intelligence at scale. Learn more about the newest cloud integrations and product enhancements that make Neo4j an essential choice for developers building apps with interconnected data and generative AI.
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfPaige Cruz
Monitoring and observability aren’t traditionally found in software curriculums and many of us cobble this knowledge together from whatever vendor or ecosystem we were first introduced to and whatever is a part of your current company’s observability stack.
While the dev and ops silo continues to crumble….many organizations still relegate monitoring & observability as the purview of ops, infra and SRE teams. This is a mistake - achieving a highly observable system requires collaboration up and down the stack.
I, a former op, would like to extend an invitation to all application developers to join the observability party will share these foundational concepts to build on:
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
National Security Agency - NSA mobile device best practices
Wireless humidity and temperature monitoring system
1. Wireless Humidity and Temperature Monitoring
System
Humidity and temperature monitoring systems are quite common in industries.
These environment factors need constant supervision to maintain reliability
and efficiency of the industrial devices. The monitoring systems used in
industries are generally wired where sensor unit and the sensor monitoring
system connects through a cable wire. The humidity and temperature
monitoring systems can be made wireless using the 434 RF modules. With
wireless connectivity, the sensor and the monitoring systems can be installed
separately and industrial equipments can be remotely supervised. Plus, the
cost for extensive cable installation is also saved.
The 434 RF modules have an operational range of 50-60 metre and can be
extended to 300-350 metre using antenna and increasing the transmission
power. Therefore, RF modules attached to antenna can be easily installed
anywhere and can perform wireless data communication to an impressive
range. (Even a Wi-Fi router have range limited to 45 metre indoor and 92 metre
outdoor).
This project uses a DHT11 humidity and temperature sensor and is built on
Arduino Pro Mini. The RF modules are directly interfaced to Arduino boards for
wireless implementation. The sensor readings are displayed on a 16X2 LCD
screen.
Components Required -
Sr. no. Name of component Required qut
1 RF Tx module (434Mhz) 1
2 RF Rx module (434Mhz) 1
3 Arduino pro mini 2
4 DHT11 1
5 LCD 1
6 Battery – 9V 2
7 Bread board 2
8 connecting wires
2. Block Diagram -
Circuit Diagram -
Circuit Connections -
There are two circuits in the project - a) Temperature and humidity sensor
circuit and b) Sensor reading display circuit. In the sensor circuit, the data pin
(Pin 2) of DHT11 sensor is connected to A2 analog pin of the Arduino Pro Mini.
The pins VCC (Pin 1) and Ground (Pin 4) are connected to VCC and ground
respectively. An RF transmitter is interfaced to the Arduino board with its serial
input pin (Pin 2) connected to pin 12 of the Arduino board. An antenna is
connected at pin 4 of the transmitter for range extension.
On the display circuit, an RF receiver is connected to another Arduino Pro Mini
with serial out pin (Pin 2) of receiver connected to pin 11 of Arduino. An
antenna is connected to pin 8 of the receiver for range extension. An LCD is
3. interfaced to the Arduino board for displaying temperature and humidity
readings. . The 16X2 LCD display is connected to the Arduino board by
connecting its data pins to pins 7 to 4 of the Arduino board. The RS and RW pin
of LCD is connected to pins 3 and 2 of the Arduino Pro Mini respectively. The E
pin of the LCD is grounded.
LCD Arduino UNO
RS 3
RW 2
E GRND
D7,D6,D5,D4 7,6,5,4 respectively
The standard code library for interfacing Arduino UNO and Arduino Pro Mini
are used in the project to program LCD with the board.
4. How the Circuit Works -
DHT11 Temperature and Humidity Sensor is a digital sensor with inbuilt
capacitive humidity sensor and Thermistor. It relays a real-time temperature
and humidity reading every 2 seconds. The sensor operates on 3.5 to 5.5 V
supply and can read temperature reading between 0° C and 50° C and relative
humidity between 20% and 95%.
The sensor cannot be directly interfaced to a digital pin of the board as it
operates on 1-wire protocol which must be implemented on the firmware. First
the data pin is configured to input and a start signal is sent to it. The start signal
comprises of a LOW for 18 milliseconds followed by a HIGH for 20 to 40
microseconds followed by a LOW again for 80 microseconds and a HIGH for 80
microseconds. After sending the start signal, the pin is configured to digital
output and 40-bit data comprising of the temperature and humidity reading is
latched out. Of the 5-byte data, the first two bytes are integer and decimal part
of reading for relative humidity respectively, third and fourth bytes are integer
and decimal part of reading for temperature and last one is checksum byte.
When interfacing DHT11 with Arduino, already a code library is available and
the sensor data can be read by read11() function of the DHT class.
On the sensor circuit, the temperature and relative humidity readings are first
fetched by the Arduino and their character representation are stored in
separate arrays. The character buffer is serially transmitted on the RF using the
VirtualWire library of the Arduino. Check out the transmitter side Arduino
program code to learn how Arduino gets the sensor value and store them to
arrays for RF transmission.
On the display circuit, character representation of sensor readings is detected
by the RF receiver and serially passed to receiver side Arduino board. The
program code on receiver side Arduino board reads the character buffer and
convert it to integer form for displaying on LCD. The standard functions of lcd
library are used to display readings on LCD. Check out the receiver side Arduino
code to learn how sensor values are read from the buffer and converted to
proper format for display on LCD screen.
5. Programming Guide -
On the transmitter side Arduino, first the program code imports the required
standard libraries. The VirtualWire library is required to connect with RF
module and DHT library is needed to interface DHT11 sensor. A "DHT" object is
instantiated. Global variables ledPin and Sensor1Pin are declared and mapped
to Pin 13 where transmission progress indicator LED is connected and Pin A2
where data pin of DHT11 temperature and humidity sensor is connected
respectively. A variable Sensor1Data is declared to stored sensor reading and
character type arrays Sensor1CharMsg and Sensor1CharMsg1 are declared to
store decimal representation of the relative humidity and temperature reading.
#include <VirtualWire.h>
#include <dht.h>
#define dht_dpin A0 //no ; here. Set equal to channel sensor is on
dht DHT;
// LED's
const int ledPin = 13;
// Sensors
const int Sensor1Pin = A2;
int Sensor1Data;
char Sensor1CharMsg[4];
char Sensor1CharMsg1[4];
A setup() function is called where indicator LED pin is set to output while
sensor connected pin is set to input mode using pinMode() function. The baud
rate of the Arduino is set to 9600 bits per second using the serial.begin()
function. The initial messages are flashed to the buffer using Serial.Println()
function. The baud rate for serial output is set to 2000 bits per second using
the vw_setup() function of the VirtualWire library.
void setup() {
// PinModes
// LED
pinMode(ledPin,OUTPUT);
// Sensor(s)
pinMode(Sensor1Pin,INPUT);
6. Serial.begin(9600);
delay(300);//Let system settle
Serial.println("Humidity and temperaturenn");
delay(700);
// VirtualWire setup
vw_setup(2000); // Bits per sec
}
A loop function is called where reading from DHT11 sensor are read using the
read11() function on DHT object and the character representation of decimal
base of the humidity reading is stored in Sensor1CharMsg array and the
character representation of decimal base of the temperature reading is stored
in Sensor1CharMsg1 array.
void loop() {
// Read and store Sensor 1 data
// Sensor1Data = analogRead(Sensor1Pin);
DHT.read11(dht_dpin);
// Convert integer data to Char array directly
itoa(DHT.humidity,Sensor1CharMsg,10);
itoa(DHT.temperature,Sensor1CharMsg1,10);
The sensor readings are serially out as human-readable ASCII text using the
Serial.print() and Serial.println() function.
// DEBUG
Serial.print("Current humidity = ");
Serial.print(DHT.humidity);
Serial.print("% ");
Serial.print("temperature = ");
Serial.print(DHT.temperature);
Serial.println("C ");
delay(800);
// END DEBUG
7. The transmission progress indicator LED is switched on by passing a HIGH to pin
13. The character message containing the temperature and humidity reading is
sent serially using the vw_send() function and vw_wait_tx() is used to block
transmission until new message is available for transmission. The LED at pin 13
is switched OFF by passing a LOW to indicate successful transmission of
message.
digitalWrite(13, true); // Turn on a light to show transmitting
vw_send((uint8_t *)Sensor1CharMsg, strlen(Sensor1CharMsg));
vw_wait_tx(); // Wait until the whole message is gone
delay(200);
vw_send((uint8_t *)Sensor1CharMsg1, strlen(Sensor1CharMsg1));
vw_wait_tx(); // Wait until the whole message is gone
digitalWrite(13, false); // Turn off a light after transmission
delay(200);
} // END void loop...
This ends the transmitter side Arduino code.
On the receiver side Arduino, the program code first imports the required
standard libraries. LiquidCrystal.h is imported to interface the LCD and
VirtualWire library is imported to read serial input from the RF receiver. The
pins 2 to 7 are mapped to Liquid Crystal object lcd.
#include <LiquidCrystal.h>
#include <VirtualWire.h>
LiquidCrystal lcd(2, 3, 4, 5, 6, 7);
The pin 13 where transmission progress indicator LED is connected is assigned
to ledpin variable and two variables - "Sensor1Data" and "Sensor2Data" to
capture reading of DHT11 in integer form and arrays "Sensor1CharMsg1" and
"Sensor1CharMsg2" to store character representation of the readings are
declared. There are counter variables "i" and "j" also declared.
// LED's
int ledPin = 13;
// Sensors
int Sensor1Data;
int Sensor2Data;
// RF Transmission container
8. char SensorCharMsg1[4];
char rxAray[8];
char SensorCharMsg2[4];
int j,k;
A setup() function is called where baud rate of the Arduino is set to 9600 bits
per second using Serial.begin() function. The lcd object is initialized to 16X2
mode. The led connected pin and pin connected to RS and RW are set to
output mode using the pinMode() function.
void setup() {
Serial.begin(9600);
lcd.begin(16, 2);
// sets the digital pin as output
pinMode(ledPin, OUTPUT);
pinMode(9, OUTPUT);
pinMode(8, OUTPUT);
The RF transmitter and receiver module does not have Push To Talk pin. They
go inactive when no data is present to transmit or receive respectively.
Therefore vw_set_ptt_inverted(true) is used to configure push to talk polarity
and prompt the receiver to continue receiving data after fetching the first
character. The baud rate for serial input is set to 2000 bits per second using
vw_setup() function. The reception of the data is initiated using vw_rx_start().
// VirtualWire
// Initialise the IO and ISR
// Required for DR3100
vw_set_ptt_inverted(true);
// Bits per sec
vw_setup(2000);
// Start the receiver PLL running
vw_rx_start();
} // END void setup
A loop() function is called inside which, array "buf[]" to read serial buffer and
"buflen" variable to store buffer length are declared. The counter variables are
initialized to zero.
void loop(){
uint8_t buf[VW_MAX_MESSAGE_LEN];
9. uint8_t buflen = VW_MAX_MESSAGE_LEN;
j = 0;
k = 0;
The character buffer is detected using the vw_get_message() function, if it is
present, a counter "i" is initialized. The buffer readings are first stored to
RxAray array using the for loop with the initialized counter and after detecting
the null character, the temperature and humidity sensor readings clubbed in
RxAray are separately stored to "SensorCharMsg1" and " SensorCharMsg2"
arrays.
// Non-blocking
if (vw_get_message(buf, &buflen))
{
int i;
// Message with a good checksum received, dump it.
for (i = 0; i < buflen; i++)
{
// Fill Sensor1CharMsg Char array with corresponding
// chars from buffer.
rxAray[i] = char(buf[i]);
}
rxAray[buflen] = '0';
while( j < 2)
{
SensorCharMsg1[j++] = rxAray[j++];
}
while( j < 4)
10. {
SensorCharMsg2[k++] = rxAray[j++];
}
The variable value along with relevant strings enclosed is passed to the
microcontroller's buffer and passed to the LCD for display in a presentable
format.
// DEBUG
Serial.print(" hum = ");
Serial.println(SensorCharMsg1);
Serial.print(" temp = ");
Serial.println(SensorCharMsg2);
lcd.setCursor(0,0);
lcd.print("Humidity = ");
lcd.print(SensorCharMsg1); // change the analog out value:
lcd.setCursor(0,1 );
lcd.print("Temparature = ");
lcd.print(SensorCharMsg2);
// END DEBUG
}
}
This ends the loop() function and the receiver side Arduino code.
PROGRAMMING CODE
#include <VirtualWire.h>
#include <dht.h>
#define dht_dpin A0 //no ; here. Set equal to channel sensor is on
dht DHT;
// LED's
const int ledPin = 13;
11. // Sensors
const int Sensor1Pin = A2;
int Sensor1Data;
char Sensor1CharMsg[4];
char Sensor1CharMsg1[4];
void setup() {
// PinModes
// LED
pinMode(ledPin,OUTPUT);
// Sensor(s)
pinMode(Sensor1Pin,INPUT);
Serial.begin(9600);
delay(300);//Let system settle
Serial.println("Humidity and temperaturenn");
delay(700);
// VirtualWire setup
vw_setup(2000); // Bits per sec
}
void loop() {
// Read and store Sensor 1 data
// Sensor1Data = analogRead(Sensor1Pin);
DHT.read11(dht_dpin);
// Convert integer data to Char array directly
12. itoa(DHT.humidity,Sensor1CharMsg,10);
itoa(DHT.temperature,Sensor1CharMsg1,10);
// DEBUG
Serial.print("Current humidity = ");
Serial.print(DHT.humidity);
Serial.print("% ");
Serial.print("temperature = ");
Serial.print(DHT.temperature);
Serial.println("C ");
delay(800);
// END DEBUG
digitalWrite(13, true); // Turn on a light to show transmitting
vw_send((uint8_t *)Sensor1CharMsg, strlen(Sensor1CharMsg));
vw_wait_tx(); // Wait until the whole message is gone
delay(200);
vw_send((uint8_t *)Sensor1CharMsg1, strlen(Sensor1CharMsg1));
vw_wait_tx(); // Wait until the whole message is gone
digitalWrite(13, false); // Turn off a light after transmission
delay(200);
} // END void loop...
#include <LiquidCrystal.h>
#include <VirtualWire.h>
LiquidCrystal lcd(2, 3, 4, 5, 6, 7);
13. // LED's
int ledPin = 13;
// Sensors
int Sensor1Data;
int Sensor2Data;
// RF Transmission container
char SensorCharMsg1[4];
char rxAray[8];
char SensorCharMsg2[4];
int j,k;
void setup() {
Serial.begin(9600);
lcd.begin(16, 2);
// sets the digital pin as output
pinMode(ledPin, OUTPUT);
pinMode(9, OUTPUT);
pinMode(8, OUTPUT);
// VirtualWire
// Initialise the IO and ISR
// Required for DR3100
vw_set_ptt_inverted(true);
// Bits per sec
vw_setup(2000);
14. // Start the receiver PLL running
vw_rx_start();
} // END void setup
void loop(){
uint8_t buf[VW_MAX_MESSAGE_LEN];
uint8_t buflen = VW_MAX_MESSAGE_LEN;
j = 0;
k = 0;
// Non-blocking
if (vw_get_message(buf, &buflen))
{
int i;
// Message with a good checksum received, dump it.
for (i = 0; i < buflen; i++)
{
// Fill Sensor1CharMsg Char array with corresponding
// chars from buffer.
rxAray[i] = char(buf[i]);
}
rxAray[buflen] = '0';
while( j < 2)
{