Overview
A weather sensor is connected throug a remote board like a small Arduino. We connect remotely through a Serial link and display data on the web page.
The application code (web page and JS code) is hardware-independent and could work on any other hardware.
Simplified Architecture
Antenna Weather Sensor
↓ GPIO/ADC Link
+-------------------+
| Microcontroller | ←→ K-RT (embedded RT core)
+-------------------+
↑
| Serial Link
↓
+-------------------+
| Studio software | ←→ Studio runs on a computer
+-------------------+
↑
| HTTP/WebSocket
↓
+-------------------+
| Web Browser UX | ←→ This web page is displaying the sensor
+-------------------+
Real-Time Demonstration
Here's a simple example of real-time weather data displayed (simulation):
Wind (km/h):
--
Temperature (°C):
--
Rainfall (mm):
--
Last updated:
--