Skip to content

An Arduino library for controlling a Velleman K8056 relayboard using a serial connection

Notifications You must be signed in to change notification settings

jmav/VellemanK8056library

 
 

Repository files navigation

VellemanK8056library

This library is fork of AlbanT Arduino library for controlling a Velleman K8056 relayboard using a serial connection.

The wiring to Arduino

Tested on controllers: MEGA2560, Uno, Leonardo, Micro, ESP8266.

MEGA accept up to 4 serial ports, serial port is defined with begin() method e.g. Relay.begin(3);. On other controllers it will use Serial0 by default.

IMPORTANT !!!!!!!
IMPORTANT !!!!!!!
IMPORTANT !!!!!!!

Velleman K8056 board require inverted signal to work properly. You can fix this by using software serial (not implemented jet) or HW breakout circuit SparkFun Transceiver Breakout - MAX3232.

image of connection

###Thanks to A.S. Tilanus for making initial version of this library.

About

An Arduino library for controlling a Velleman K8056 relayboard using a serial connection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%