Introduction: IOT123 - I2C BRICK MASTER JIG
While developing the ASSIMILATE SENSORS and ACTORS, I keep a UNO handy for sending adhoc I2C commands to the prototypes being developed. One of the benefits of the I2C BRICKS is the standardized pinouts. Rather than using breadboard wires each time (see the Fritzings), a sturdy lo-tech shield is used.
Step 1: Materials and Tools
- 4cm x 6cm Uninersal PCB (1)
- Hookup wire (~6)
- 4K7 Resistors (2)6
- Male Header (12P, 8P)
- Female Header (9P, or 3P, 3P)
- Solder and Iron (1)
Step 2: Assembly
If you use 2 off 3P female headers instead of the 1 off 9P female header, the ASSIMILATE SENSOR/ACTORS will fit on the JIG without disassembling them.
With the wiring, strip off up to 10mm on the ends and tin the very ends.
- On the bottom of the PCB, insert the male header (1)(2) and solder off on top.
- On the top of the PCB, insert the female header (3) and solder off on bottom.
- On the top, through-hole a red wire into RED1 and RED2.
- On the bottom, through-hole wire from RED1 into RED3.
- On the bottom, through-hole wire from RED2 into RED5, and solder.
- On the top, through-hole wire from RED3 into RED4, and solder.
- On the top, through-hole a red wire into RED6 and RED7.
- On the bottom, through-hole wire from RED6 into RED8.
- On the bottom, through-hole wire from RED7 into RED10, and solder.
- On the top, through-hole wire from RED8 into RED9, and solder.
- On the top, through-hole a black wire into BLACK1 and BLACK2.
- On the bottom, through-hole wire from BLACK1 into BLACK3.
- On the bottom, through-hole wire from BLACK2 into BLACK5, and solder.
- On the top, through-hole wire from BLACK3 into BLACK4, and solder.
- On the top, through-hole a blue wire into BLUE1 and BLUE2.
- On the bottom, through-hole wire from BLUE1 into BLUE3.
- On the bottom, through-hole wire from BLUE2 into BLUE5, and solder.
- On the top, through-hole wire from BLUE3 into BLUE4, and solder.
- On the top, through-hole a green wire into GREEN1 and GREEN2.
- On the bottom, through-hole wire from GREEN1 into GREEN3.
- On the bottom, through-hole wire from GREEN2 into GREEN5, and solder.
- On the top, through-hole wire from GREEN3 into GREEN4, and solder.
- On the top, through-hole a 4K7 resistor into SILVER3 and SILVER4.
- On the bottom, through-hole wire from SILVER3 into GREEN5, and solder.
- On the bottom, through-hole wire from SILVER4 into RED10, and solder.
- On the top, through-hole a 4K7 resistor into SILVER1 and SILVER2.
- On the bottom, through-hole wire from SILVER1 into BLUE5, and solder.
- On the bottom, through-hole wire from SILVER2 into RED10, and solder.
Step 3: Code for the UNO
The sketch here is rudimentary. It allows you to use the Console Input, to make the UNO send I2C messages to the I2C ATTINY85 BRICK.
All of the instructions are printed to the screen, with the supported options.
Step 4: Next Steps
From the builds presented, there are enough moving parts for you to build your own ASSIMILATE IOT NETWORK.
Each of the individual functions of the nodes (sensors and actors) are controllable in a decentralized manner, not depending on the MCU master to have any knowledge of the features supported.
Any app connecting to the MQTT broker can control/observe every feature of the IOT Node. Thats M2M, web applications, IFTTT and so on. Much simpler (or richer if you like) interfaces to your IOT world.