KS0410 Keyestudio ESP-01 DS18B20 Temperature Module: Difference between revisions
Keyestudio (talk | contribs) (Created page with "==Introduction== The keyestudio ESP-01 DS18B20 module uses ESP8266-01 as master control, integrated with a DS18B20 temperature sensor.<br> The module supports DC 3V-3.3V power...") |
Keyestudio (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== | |||
<br>[[File:Ks0410-图片1.png|500px|right|thumb|keyestudio ESP-01 DS18B20 Temperature Module ]]<br> | |||
<br> | |||
== Description == | |||
DS18B20 Temperature Module is one of the most commonly used components for setting the smart home when we are doing the Internet of Things.<br> | |||
For wireless control, we specially designed this ESP-01 DS18B20 Temperature module. | |||
The DS18B20 Temperature module is equipped with an ESP8266-01 Wifi module, which can access to the wireless network.<br> | |||
You can remote control any other devices according to the temperature data measured by the DS18B20 module. | |||
<br> | |||
<br> | |||
For simple use, we provide our own compiled firmware, the firmware is server mode. The specific information are as follows: <br> | |||
*'''Module working mode:''' <br> | |||
work in mode:3 | |||
*'''Softap mode:''' <br> | |||
softAP SSID: KeyesWifi_A ; password: KeyesWifi <br> | |||
softAP IP: 192.168.2.1 <br> | |||
softAP_server IP: 192.168.2.1 <br> | |||
*'''Station mode:''' <br> | |||
Station SSID: KeyesWifi_S ; password: KeyesWifi <br> | |||
Station IP: automatic router assignment <br> | |||
Station_server IP: Router automatically assigns port:8080 <br> | |||
<br> | |||
== Specifications == | |||
* Working voltage: DC 3V--3.3V | |||
* Main control chip: ESP8266-01 | |||
* Button function: reset button | |||
* Measurement range: 55℃ to + 125℃ | |||
* Dimensions:42mm*24mm*21mm | |||
* Weight:4.9g | |||
<br> | |||
== Packing Includes == | |||
*Keyestudio DS18B20 Temperature Module x 1 | |||
*ESP8266-01 Wifi module x 1 | |||
<br>[[File:Ks0410-图片2.png|600px|frameless|thumb]][[File:Ks0410-图片3.png|600px|frameless|thumb]] <br> | |||
<br> | |||
== Use Methods == | |||
=== 1. Burn the Firmware === | |||
We have already burned the firmware in the ESP8266-01 WIFI module. And you can re-burn the firmware by yourself as well. <br> | |||
The programming method is as follows: <br> | |||
'''<big>①</big>''' Plug the ESP8266 WIFI module onto the keyestudio USB to ESP-01S Wifi shield, and push the shield’s button to '''Uart Download''' end. Then can directly connect them to your computer’s USB port. <br> | |||
<br>[[File:Ks0408-图片3.png|600px|frameless|thumb]] <br> | |||
<br> | |||
'''<big>②</big>''' Double click to open '''FLASH_DOWNLOAD_TOOL''', as shown in the figure below, uploading the firmware. <br> | |||
You will see the interface window below. <br> | |||
<br>[[File:Ks0408-图片4.png|600px|frameless|thumb]] <br> | |||
<br>[[File:0339图片49.png|600px|frameless|thumb]] <br> | |||
<br> | |||
Then open the ESP8266 Download Tool. <br> | |||
For SPIDownload, open the corresponding file. As shown below. <br> | |||
<br>[[File:Ks0408-图片6.png|800px|frameless|thumb]] <br> | |||
<br>[[File:Ks0408-图片7.png|500px|frameless|thumb]] <br> | |||
<br>[[File:Ks0408-图片8.png|600px|frameless|thumb]] <br> | |||
<br> | |||
After click to start download, the interface is as shown below. | |||
<br>[[File:Ks0408-图片9.png|600px|frameless|thumb]] <br> | |||
<br> | |||
<br> | |||
=== 2.Station Mode Operation === | |||
Because the station_server IP is automatically assigned by the router, so need to read the IP from the serial port. For example: <br> | |||
'''<big>①</big>''' Set the SSID of the home Wifi to: KeyesWifi_S and password is KeyesWifi <br> <span style=color:red>(note here should set your own home wifi) </span><br> | |||
<br> | |||
'''<big>②</big>''' Directly connect the keyestudio USB to ESP-01S Wifi shield to your computer’s USB port. Then push the shield’s button to '''Flash Boot''' side. <br> | |||
<br>[[File:Ks0408-图片10.png|500px|frameless|thumb]] <br> | |||
<br> | |||
'''<big>③</big>''' Open the PUTTY software on your computer. Below is the example figure we operate. <br> | |||
<br>[[File:Ks0408-图片11.png|600px|frameless|thumb]] <br> | |||
<br> | |||
Double-click the icon of PUTTY software, pop up the interface window below. | |||
<br>[[File:Ks0408-图片12.png|800px|frameless|thumb]] <br> | |||
<br> | |||
After Click Open, plug the ESP8266 WIFI module into keyestudio USB to ESP-01S Wifi shield. <br> | |||
<span style=color:red> Note must click '''Open''' first, then plug the ESP8266 WIFI module into keyestudio USB to ESP-01S Wifi shield. Or else it is invalid. </span><br> | |||
<br>[[File:Ks0408-图片13.png|600px|frameless|thumb]] <br> | |||
<br> | |||
'''<big>④</big>''' The PUTTY terminal will print the message showed below. IP read success! <br> | |||
<br>[[File:Ks0410-图片4.png|600px|frameless|thumb]] <br> | |||
<br> | |||
From the figure, remember your IP name, here is '''192.168.3.13''' <br> | |||
<br> | |||
<br> | |||
'''<big>⑤</big>''' The computer and the home wifi are in the same LAN, and the network segment is the same. Connect your computer to your home WiFi. For example, here we use: '''SSID: KeyesWifi_S ; Password: KeyesWifi''' <br> | |||
<br> | |||
'''<big>⑥</big>''' Plug the ESP8266-01 WIFI module into the DS18B20 Temperature module and access to 3.3V power supply. <br> | |||
<br>[[File:Ks0409-图片5.png|600px|frameless|thumb]] <br> | |||
<br> | |||
'''<big>⑦</big>''' Open the network debugging assistant software, as shown below. <br> | |||
<br>[[File:Ks0408-图片15.png|600px|frameless|thumb]] <br> | |||
<br>[[File:Ks0410-图片5.png|600px|frameless|thumb]] <br> | |||
<br> | |||
'''<big>⑧</big>''' Send '''PIN02=DS18B20''', print out the temperature data of current environment.<br> | |||
<br>[[File:Ks0410-图片6.png|600px|frameless|thumb]] <br> | |||
<br> | |||
<span style=color:red> Note that the data tested at the first time may be not accurate; it becomes accurate after the second time.</span><br> | |||
For the Station mode operation, the test is finished!<br> | |||
<br> | |||
<br> | |||
=== 3.Softap Mode Operation === | |||
<br> | |||
'''<big>①</big>''' The computer and the home wifi are in the same LAN, and the network segment is the same. <span style=color:red> Change your home wifi name to avoid wifi module automatic connected. </span><br> | |||
<br> | |||
'''<big>②</big>''' Connect your computer to your home WiFi. For example, here we use: '''SSID: KeyesWifi_A ; Password: KeyesWifi''' <br> | |||
<br> | |||
'''<big>③</big>''' Plug the ESP8266-01 WIFI module into the DS18B20 Temperature module and access to 3.3V power supply and wait for 20 seconds.<br> | |||
<br>[[File:Ks0409-图片5.png|600px|frameless|thumb]] <br> | |||
<br> | |||
'''<big>④</big>''' Open the network debugging assistant software, as shown below.<br> | |||
<br>[[File:Ks0408-图片15.png|600px|frameless|thumb]] <br> | |||
<br>[[File:Ks0410-图片7.png|600px|frameless|thumb]] <br> | |||
<br> | |||
'''<big>⑤</big>''' Send '''PIN02=DS18B20''', print out the temperature data of current environment.<br> | |||
<br>[[File:Ks0410-图片8.png|600px|frameless|thumb]] <br> | |||
<br> | |||
<span style=color:red> Note that the data tested at the first time may be not accurate; it becomes accurate after the second time.</span><br> | |||
For the Softap mode operation, the test is finished! <br> | |||
<br> | |||
<br> | |||
==Resource== | |||
https://fs.keyestudio.com/KS0410 | |||
<br> | |||
==Get One Now== | |||
*[https://www.keyestudio.com/keyestudio-esp-01-ds18b20-temperature-moduleesp-8266-wifi-module-for-arduino-uno-r3-p0547-p0547.html Get one now from keyestudio official website ] | |||
*[https://www.aliexpress.com/store/product/Keyestudio-ESP-01-DS18B20-Temperature-Module-ESP-8266-WIFI-Module-For-Arduino-UNO-R3/1452162_32994972384.html?spm=2114.12010615.8148356.1.52364badiFIVPP Buy from aliexpress store] | |||
[[Category: Module]] |
Latest revision as of 10:59, 8 January 2021
Description
DS18B20 Temperature Module is one of the most commonly used components for setting the smart home when we are doing the Internet of Things.
For wireless control, we specially designed this ESP-01 DS18B20 Temperature module.
The DS18B20 Temperature module is equipped with an ESP8266-01 Wifi module, which can access to the wireless network.
You can remote control any other devices according to the temperature data measured by the DS18B20 module.
For simple use, we provide our own compiled firmware, the firmware is server mode. The specific information are as follows:
- Module working mode:
work in mode:3
- Softap mode:
softAP SSID: KeyesWifi_A ; password: KeyesWifi
softAP IP: 192.168.2.1
softAP_server IP: 192.168.2.1
- Station mode:
Station SSID: KeyesWifi_S ; password: KeyesWifi
Station IP: automatic router assignment
Station_server IP: Router automatically assigns port:8080
Specifications
- Working voltage: DC 3V--3.3V
- Main control chip: ESP8266-01
- Button function: reset button
- Measurement range: 55℃ to + 125℃
- Dimensions:42mm*24mm*21mm
- Weight:4.9g
Packing Includes
- Keyestudio DS18B20 Temperature Module x 1
- ESP8266-01 Wifi module x 1
Use Methods
1. Burn the Firmware
We have already burned the firmware in the ESP8266-01 WIFI module. And you can re-burn the firmware by yourself as well.
The programming method is as follows:
① Plug the ESP8266 WIFI module onto the keyestudio USB to ESP-01S Wifi shield, and push the shield’s button to Uart Download end. Then can directly connect them to your computer’s USB port.
② Double click to open FLASH_DOWNLOAD_TOOL, as shown in the figure below, uploading the firmware.
You will see the interface window below.
Then open the ESP8266 Download Tool.
For SPIDownload, open the corresponding file. As shown below.
After click to start download, the interface is as shown below.
2.Station Mode Operation
Because the station_server IP is automatically assigned by the router, so need to read the IP from the serial port. For example:
① Set the SSID of the home Wifi to: KeyesWifi_S and password is KeyesWifi
(note here should set your own home wifi)
② Directly connect the keyestudio USB to ESP-01S Wifi shield to your computer’s USB port. Then push the shield’s button to Flash Boot side.
③ Open the PUTTY software on your computer. Below is the example figure we operate.
Double-click the icon of PUTTY software, pop up the interface window below.
After Click Open, plug the ESP8266 WIFI module into keyestudio USB to ESP-01S Wifi shield.
Note must click Open first, then plug the ESP8266 WIFI module into keyestudio USB to ESP-01S Wifi shield. Or else it is invalid.
④ The PUTTY terminal will print the message showed below. IP read success!
From the figure, remember your IP name, here is 192.168.3.13
⑤ The computer and the home wifi are in the same LAN, and the network segment is the same. Connect your computer to your home WiFi. For example, here we use: SSID: KeyesWifi_S ; Password: KeyesWifi
⑥ Plug the ESP8266-01 WIFI module into the DS18B20 Temperature module and access to 3.3V power supply.
⑦ Open the network debugging assistant software, as shown below.
⑧ Send PIN02=DS18B20, print out the temperature data of current environment.
Note that the data tested at the first time may be not accurate; it becomes accurate after the second time.
For the Station mode operation, the test is finished!
3.Softap Mode Operation
① The computer and the home wifi are in the same LAN, and the network segment is the same. Change your home wifi name to avoid wifi module automatic connected.
② Connect your computer to your home WiFi. For example, here we use: SSID: KeyesWifi_A ; Password: KeyesWifi
③ Plug the ESP8266-01 WIFI module into the DS18B20 Temperature module and access to 3.3V power supply and wait for 20 seconds.
④ Open the network debugging assistant software, as shown below.
⑤ Send PIN02=DS18B20, print out the temperature data of current environment.
Note that the data tested at the first time may be not accurate; it becomes accurate after the second time.
For the Softap mode operation, the test is finished!
Resource
https://fs.keyestudio.com/KS0410