pytomation icon indicating copy to clipboard operation
pytomation copied to clipboard

Various tidyups and support for the BV4626 I/O board

Open coling opened this issue 10 years ago • 2 comments

Hi,

I spoke with you a long time back (more than year I think) about supporting this little I/O board.

I've finally found some time to actually hack on it and have written a small interface driver for it. It's not feature complete and is currently output only, but I do intend to add support for reading input pins (I want to hook up a motion sensor) and the ADC (for a temperature sensor).

With the current code, I also hooked an output pin up to a small RF transmitter that allowed me to switch on/off some wireless sockets sold by Maplin. I've factored this into a helper class that should be usable by other interfaces (e.g. I know it can work on Arduino) too.

While trying to understand the code (my python isn't great), I did a few tidyups along the way that removed dead code.

I think this is OK to merge now, but if you'd rather wait until I finish the input/ADC code or have any other suggestions, that's all fine too!

Cheers!

coling avatar May 31 '14 23:05 coling

Oops missed a small bug in the mock test. Seems pull requests automatically update with the branch tho' so the extra couple commits I pushed today should fix that up!

coling avatar Jun 01 '14 12:06 coling

Just starting to get back into things and ill be pulling this down and reviewing it shortly. Thanks for your patience.

zonyl avatar Jul 16 '14 19:07 zonyl