This projects is a device controlled thru i2C, it has a set of instructions to control two leds, two buzzers and a combination of them.
The device uses an ATTiny85 and it connects to an RaspberryPi to send the commands.
The instruction for the device are:
For a better communication between the device and the RPi set the i2c baudrate to 100000 in /boot/config.txt file on the RaspberryPi:
The i2c device code is available here:
Follow the instruction on the file to install additional libraries.
The RaspberryPi code the send the commands to the i2c device is available here:
The device was sent to production and it is working.
|2||5mm LED||U1,U2||5MM LED||2||Yes|
|4||Button||S1||MOMENTARY PUSH BUTTON (PCB)||1||Yes|
|7||2Pin Dupont||U3,U4,U5||2PIN DUPONT||3||Yes|