Create Arduino code for ESP32-C3 reading a 433MHz wireless thermometer and upload data to web using HTTPS POST

Končano Objavljeno pred 1 letom Plačilo ob prevzemu
Končano Plačilo ob prevzemu

The thermometer is is a Fine Offset WH2/FT007TH. In order to offload the ESP32 it might be better to use a integrated receiver like RFM69 or CC1101 instead of RXB6 simple superheterodyne receiver. However if the ESP32-C3 has enough power for all tasks, the RXB6 will be fine too.

The wireless protocol is documented here:

[login to view URL]

Data needed from sensor:

-Sensor ID (1-8)

-Temperature in celcius with decimal

-Humidity

Defined variables:

-SSID

-Password

-HTTP_POST_URL

-API_KEY

When packet with valid CRC is received:

-Make HTTPS POST: key=test&ch=channel&tmp=temperature&hum=humidity

-Implement timeout for HTTPS POST (so it will not hang if internet is offline)

-Print received data to terminal with result for HTTP POST (OK/ERROR)

Code from [login to view URL] has been tested with an Arduino Uno and it is receiving data correctly using a RXB6 UHF receiver.

Example terminal output from above sketch:

8850 | 450 | 16946 | 7471 | 0x48/72 0x70/112 0xD3/211 0xFF/255 0x96/150 | Sensor ID: 0x487 | 255% | 211 | OK

8851 | 450 | 4974 | 7471 | 0x49/73 0x70/112 0xCC/204 0x24/36 0x14/20 | Sensor ID: 0x497 | 36% | 204 | OK

8852 | 450 | 2980 | 7471 | 0x4A/74 0x70/112 0xCC/204 0x22/34 0x2E/46 | Sensor ID: 0x4A7 | 34% | 204 | OK

8853 | 450 | 7246 | 7471 | 0x4B/75 0x70/112 0xD2/210 0x25/37 0x21/33 | Sensor ID: 0x4B7 | 37% | 210 | OK

8854 | 450 | 3383 | 7470 | 0x4C/76 0x70/112 0xD4/212 0x27/39 0x8B/139 | Sensor ID: 0x4C7 | 39% | 212 | OK

8855 | 450 | 3705 | 7470 | 0x4D/77 0x70/112 0xD1/209 0x28/40 0x49/73 | Sensor ID: 0x4D7 | 40% | 209 | OK

8856 | 450 | 4075 | 7469 | 0x4E/78 0x70/112 0xD5/213 0x28/40 0x56/86 | Sensor ID: 0x4E7 | 40% | 213 | OK

8857 | 450 | 4373 | 7469 | 0x4F/79 0x70/112 0xCE/206 0x28/40 0xB9/185 | Sensor ID: 0x4F7 | 40% | 206 | OK

8858 | 451 | 7229 | 7469 | 0x7F/127 0x4B/75 0x70/112 0xD3/211 0x24/36 | Sensor ID: 0x7F4 | 211% | -880 | BAD

Functions:

Convert sensor id. 0x48=1, 0x49=2, 0x4a=3, 0x4b=4, 0x4c=5, 0x4d=6, 0x4e=7, 0x4f=8

Convert temperature to decimal.

If humidity value from sensor is 255 it should be printed as NIL (no humidity sensor in thermometer).

Example terminal output in new sketch:

ID: 1 | Temperature: 21.1C | Humidity: NIL | Upload: OK

ID: 2 | Temperature: 20.4C | Humidity: 36% | Upload: OK

ID: 3 | Temperature: 20.4C | Humidity: 34% | Upload: OK

ID: 4 | Temperature: 21.0C | Humidity: 37% | Upload: ERROR

ID: 5 | Temperature: 21.2C | Humidity: 39% | Upload: OK

ID: 6 | Temperature: 20.9C | Humidity: 40% | Upload: OK

ID: 7 | Temperature: 21.3C | Humidity: 40% | Upload: OK

ID: 8 | Temperature: 20.6C | Humidity: 40% | Upload: OK

In this example, ID 4 failed because of HTTP post timeout. Packets with bad CRC is not shown.

Arduino Mikrokontroler

ID projekta: #36096780

Več o projektu

13 predlogov Oddaljen projekt Aktiven pred 1 letom

Dodeljeno:

fadymmounir

Hello sir , I am a mechatronics engineer , I have 5+ years of experience as a software developer, I have done many esp32 projects before , so , I can help you do this project perfectly . Please contact me , so we can t Več

$100 USD v 7 dneh
(3 mnenj)
3.0

13 freelancerjev ponuja v povprečju za $133 na tem delu

Engrusman877

Hi There, I am a senior Ph.D. Level Expert and Have more than 5 years of experience in electronics and embedded design. I have experience with esp32 and HTTP as well, i interfaced temperature humditity snesors like dht Več

$140 USD v 7 dneh
(30 ocen)
5.4
Adeel2k14

Greetings thanks for posting the project there i am electrical engineer i have expertise in embedded systems, PCB designing and circuit designing. I can work on latest engineering tools to complete your task. In my exp Več

$30 USD v 7 dneh
(26 ocen)
5.4
mrjadhav

Hi, I am an Embedded System Developer. I have good experience of writing IoT application firmware for ESP32. I can write the HTTP/S post API calls on ESP32 to send data to your server. I am not sure about the sensor da Več

$120 USD v 7 dneh
(19 ocen)
5.1
prabakaranprabu

I have extensive experience in Embedded technologies and working with IOT devices for past 7 years. I can do this project for you in less time

$140 USD v 7 dneh
(1 Ocena)
0.8
MikeforHire

Hi there, i am very good with ESP32 and i know how to program it for various purposes, i have been creating projects with esp for 2 years now and i have gained a lot of experience, i know how to implement your esp proj Več

$90 USD v 5 dneh
(0 ocen)
0.0
niikk93

Hi There, I am an embedded software engineer with more than 5 years of experience in electronics and embedded development. I have experience with esp32 and HTTP as well, i interfaced temperature humditity sensor like Več

$140 USD v 7 dneh
(1 Ocena)
0.0
mwaseemwaliseem

Arduino expert for more than 10 years. Esp32,8266,atmega,stm32 expert. Arduino web server, client and data transmission expert. Esp32 OTA expertise. Live demo available for reference of same project.

$250 USD v 2 dneh
(0 ocen)
0.0
Alfons5

Hello!!!! You need a great help for your amazing Project. Contact me to discuss some more details. So, yours!!!!!

$250 USD v 14 dneh
(0 ocen)
0.0