Skip to content

romainrossi/dlparduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

dlparduino

DLP-IO8 Compatible firmware/sketch for Arduino-like boards.

Project Goal

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.

Planned features

  1. Digital out control (high/low)
  2. Digital in reading
  3. Analog in reading

Features NOT planned

  1. DS18B20 digital temperature sensor reading.
  2. Binary protocol

Incompatibilities

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.

Current status

Nothing done, a new project just started.

Communication setup

115200 bauds, no parity, 8 bits data, 1 stop bit, no flow control

Protocol description

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).

Disclaimer

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.

About

DLP-IO8 Compatible firmware for Arduino

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%