It indicates the health of the ATTINY, I2C and MQTT traffic.
This build is based on the I2C HEARTBEAT BRICK.
ASSIMILATE ACTORS/SENSORS are environment actors/sensors that have an added hardware and software abstraction layer, making it possible for completely new types to be added to a ASSIMILATE IOT HUB and the readings be pumped to a MQTT server without added coding.
This ASSIMILATE ACTOR has one property:
PB1 (white wire, blue LED) indicates ATTINY health.
PB3 (yellow wire, green LED) toggles with I2C requests from the master.
PB4 (orange wire, red LED) toggles with I2C receiving from the master.
Step 1: Materials and Tools
This is the I2C HEARTBEAT BRICKBill of Material and Sourcing list.
- 3D Printed parts (2)
- Paper PCB (7 x 7 holes)
- LEDS (Red, Green, Blue)
- Resistors (3 off 1K)
- ATTINY85 20PU (1)
- 1" Double sided protoboard (1)
- Male Header 90º (3P, 3P)
- Male Header (2P, 2P)
- Jumper Shunt (1)
- Hookup wire (~7)
- Solder and Iron (1)
- Hot-glue and gun (1)
- 4G x 20mm self tapping screw (1)
- 4G x 10mm self tapping screw (2)
Step 2: Assembly
Follow the build instructions on IOT123 - I2C HEARTBEAT BRICK. Attach the indicators as directed.
- On the indicator panel, cut the corners off at 45° as shown.
- Insert the BRICK into the 3D Printed base grooves, with the 90° pins lining up with the voids.
- Turn over and press top of brick onto hard surface.If the top of the BRICK and the base are not aligned, remove the BRICK and clean up any filament that may be stopping the alignment and retry.
- When level, fasten the 20mm screw into the lower hole attaching the BRICK to the base.
- Insert the indicator PCB into the 3D printed lid, lining up the LEDS with the voids.
- Push in to maximum penetration.
- Hot-glue the PCB to the lid.
- Fasten relay to lid with 10mm screws.
- Tuck excess wire behind rear of BRICK, and join 3D printed parts, aligning tab holes.
- Fasten 10mm screws through tab holes.
Step 3: Testing
The testing (at this stage) can be the same as the underlying BRICK.
Just connect the jumper wires to the same pins on the underside of the ASSIMILATE SENSOR.
Step 4: Next Steps
Check out these related builds.