I2C and Velleman K800004 Feb 2007 A long time ago, I got a Velleman K8000 interfaceboard as a birthday gift. Untill recently, I never actually plugged it in because I was afraid I would blow it up. But now I have...
Linux uses the i2c-parport driver (type 2) to talk to the K8000, but there's not much to go on from there. I've successfully built a steppermotor controller by activating the coils on the motor using the K8000. I've also driven an L297/L298 circuit from the K8000, also to drive a steppermotor.
Right now, I want to work out how exactly this K8000 works in combination with Linux. I know it has 16 IO ports, A couple DAC's with 64-step resolution as input, and a 256-step DAC input and output port.
Besides the digital outputs (optocouplers), I haven't tried anything else yet. First things first.
A quick search on google for I2C-parport resulted in this: http://archives.andrew.net.au/lm-sensors/msg27432.html
This link describes the ioctl calls to an I2C device:
This indicates that I might want to use a batch read/write with the I2C_RDWR ioctl to drive a steppermotor directly...