DLP-IO8 Compatible firmware/sketch for Arduino-like boards.
Provide a drop-in replacement for DLP-IO8 hardware using an off-the-shelve Arduino-compatible board when you don’t need the whole DPL-IO8 hardware characteristics.
- Digital out control (high/low)
- Digital in reading
- Analog in reading
- DS18B20 digital temperature sensor reading.
- Binary protocol
Due to the Arduino hardware, not all pins have analog-to-digital converter available. Only digital in/out will be available on all pins; Analog in reading will only be available on pins internally connected to the ADC.
Nothing done, a new project just started.
115200 bauds, no parity, 8 bits data, 1 stop bit, no flow control
This is the DLP-IO8 protocol, see http://www.dlpdesign.com/usb/io8.php for the original product and related datasheet.
Channel | ASCII | Hex | Description | Return/comments |
---|---|---|---|---|
Channel 1 | 1 | 0×31 | Digital out – High | Nothing |
Q | 0×51 | Digital out – Low | Nothing | |
A | 0×41 | Digital in | Returns 0 or 1 | |
Z | 0×5A | Analog in | Returns measured voltage1 | |
Channel 2 | 2 | 0×32 | Digital out – High | Nothing |
W | 0×57 | Digital out – Low | Nothing | |
S | 0×53 | Digital in | Returns 0 or 1 | |
X | 0×58 | Analog in | Returns measured voltage1 | |
Channel 3 | 3 | 0×33 | Digital out – High | Nothing |
E | 0×45 | Digital out – Low | Nothing | |
D | 0×44 | Digital in | Returns 0 or 1 | |
C | 0×43 | Analog in | Returns measured voltage1 | |
Channel 4 | 4 | 0×34 | Digital out – High | Nothing |
R | 0×52 | Digital out – Low | Nothing | |
F | 0×46 | Digital in | Returns 0 or 1 | |
V | 0×56 | Analog in | Returns measured voltage1 | |
Channel 5 | 5 | 0×35 | Digital out – High | Nothing |
T | 0×54 | Digital out – Low | Nothing | |
G | 0×47 | Digital in | Returns 0 or 1 | |
B | 0×42 | Analog in | Returns measured voltage1 | |
Channel 6 | 6 | 0×36 | Digital out – High | Nothing |
Y | 0×59 | Digital out – Low | Nothing | |
H | 0×48 | Digital in | Returns 0 or 1 | |
N | 0×4E | Analog in | Returns measured voltage1 | |
Channel 7 | 7 | 0×37 | Digital out – High | Nothing |
U | 0×55 | Digital out – Low | Nothing | |
J | 0×4A | Digital in | Returns 0 or 1 | |
M | 0×4D | Analog in | Returns measured voltage1 | |
Channel 8 | 8 | 0×38 | Digital out – High | Nothing |
I | 0×49 | Digital out – Low | Nothing | |
K | 0×4B | Digital in | Returns 0 or 1 | |
, | 0×2C | Analog in | Returns measured voltage1 |
1 Voltage is returned as an ASCII string (e.g : 1.23).
I am not afiliated with the dlpdesign company in any way; just a consumer of some of their products.
dlpdesign retain ownership of their trademarks, copyrights and other legal stuffs.