DeviceHandlers
System overview
On the microcontroller program modules are running, which operate different kind of devices. Every device has its own independent identification (Device ID). The program modul which controls the device is communicating through a serial port with the program which is developed in .NET. The program developed in .NET is running on the PC.
As multiple devices can be found on a microcontoller, but typically, only one serial port is used for the communication with .NET, then we have to include in all the messages within the communication which device is concerned. This is what we use for Device ID.
Basic concepts
Event | A message which is sent by the microcontroller for .NET |
Command | A message which is sent by .NET for the microcontroller |
Command_resp | An event which is sent by the micrcontroller for .NET. This is where it is ensured that the order is processed and the next order can follow |
Communication sequence
Currently available device implementations
- RF 433 MHz Transceiver
- Analog Joystick
- Analog Sensor
- Buzzer
- Button
- DC Motor
- DHT Sensor
- EEPROM
- Gyroscope Sensor
- ID Manager
- LCD Display
- NFC Reader
- Optical Gate
- Register
- RGB Led
- Rotary Encoder
- Servo Motor
- Step Counter
- Stepper Motor
- Switch
- Temperature Sensor
- Timer
- Ultrasonic Sensor
More information