
[ad_1]
Sometimes, we need frequent sensor data transmission from one end of the world to the other for which we use online servers and services like ThingSpeak, an IoT analytics platform service that allows you to aggregate, visualise, and analyse live data streams in the cloud. Our machine might be powerful enough to send data every second, but the ultimate throughput is decided by slow data path allowed by those online servers.
This project can help us send sensors’ data very frequently and also free and independent of bandwidth of the severs that are provided by WebSocket. (WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection.) We achieve this using a better, secure yet globally accessible freemium, cross-platform, cloud based instant messaging service—the Telegram Messenger. We can send data every couple of seconds using a low-cost ESP32 development board to a Telegram bot channel and then receive it on the other end of the world using a simple Python code.
We have a remote telemetry station which sends data every four seconds. The data comes to the base station built around ESP32 board. The ESP32 is connected to internet Wi-Fi connection on the other end like a router. It re-sends data to a Telegram bot channel and at receiver end a normal computer connected to the internet runs Python3 to receive data continuously and put it in use. The working could be like this:
Field Sensors→To ESP32→To Telegram Channel→To Cyberspace→To far end Receiver→Wi-Fi Internet+ Python→Reproduce data.
The author’s prototype is shown in Fig. 1 and its bill of material is shown in the table below.

Download Source Code
[ad_2]
Source link