Блог команды
8-bit breadboard TTL CPU
TheHaving been a software engineer professionally for a good 16 years, you would expect me to have a good understanding of what actually goes on inside a CPU. Well, that definitely wasn't the case in the beginning of 2017!Sure, I knew it works based on electronic signals representing zeroes and ones, but I didn't understand it in a way that I could draw it or explain to someone else.
Arduino Weather Station Web Server
In this tutorial we are going to make a weather station that will tell us temperature, humidity and heat index of a particular location. It will show these values in a web browser. You can monitor these data by entering the IP address in a mobile, computer or any other device which supports a web browser.This project is done using Arduino Uno, ESP8266 and DHT22 sensor. DHT22 sensor will read temperature and humidity information. ESP8266 WiFi module is used to establish network communication. Arduino is the core of this project which will read data from DHT22 sensor and sending it to a browser whenever a request is received. Arduino + ESP8266 is programmed to act as a web server.It uses digital signal collecting technique and humidity sensing technology. It’s sensing elements are connected with an 8-bit microcontroller. DHT sensors are small in size, consumes low power and has the long transmission distance using one wire bus (20m).DHT22 sensor consists of two sections, one for humidity sensing (capacitive humidity sensor) and another for temperature sensing (thermistor). The microcontroller inside the sensor reads both relative humidity and temperature from respective sensors. Then sends it via the output pin after converting to digital format.
Temperature and Humidity Data Logger using Arduino
In this project, we are going to make a temperature and relative humidity data logger. Arduino is the brain of this project. DHT22 sensor is used for sensing temperature and relative humidity. Arduino Uno is programmed to read temperature, humidity values from DHT22 sensor and save it to a file in an SD Card. So whenever required we can take the SD Card for viewing data. Here we will take data from SD card and import it to excel to plot graphs.First of all, we have added libraries required for this project. Then we defined the DHT sensor type and pin to which it is connected.In the setup function, we initialized the serial communication at 9600 baudrate. Here serial communication is used only for displaying logs in the Arduino Serial Monitor. The dht.begin() function will initialize the Arduino for reading data from DHT sensor. Similarly sd.begin() function will initialize the Arduino for write data to SD card module. After that we will open the file “data.txt” from SD card using sd.open() function. Then we will write titles ‘Time’, ‘Humidity’, ‘Temperature_C’, ‘Temperature_F’ and ‘Heat_index’ in it. After that we will close the connection to save the file.
Transmit Temperature with Raspberry Pi
This project demonstrates interfacing a Raspberry Pi to an I2C temperature sensor (TMP102) and then publishing the data to a Google sheet and graph.Requirements:Raspberry PiUsed in article: Model B Revision 1.0 with Raspbian (Debian GNU/Linux 7.6 (wheezy))I2C temperature sensorUsed in article: TMP102Method to connect Raspberry Pi to internetUse in article: Raspberry Pi wired directly to routerGoogle account to create and access sheetsSetting up the I2C:Installing driversOpen a terminal on the Pi or use SSHType the following on the terminal to install support tools:sudo apt-get install python-smbussudo apt-get install i2c-toolsUse raspi-config to enable the i2c drivers:sudo raspi-configSelect "Advanced Options"Select "I2C"Select "Yes"Select "Yes"Reboot the Pi
markblake 73263