Introduction: IOT123 - ASSIMILATE SENSOR: MQ2

About: The tension between novelty and familiarity...

ASSIMILATE SENSORS are environment sensors that have an added hardware and software abstraction layer, making it possible for completely new types to be added to a ASSIMILATE SENSOR HUB and the readings be pumped to a MQTT server without added coding.

This ASSIMILATE SENSOR dumps 3 properties:

LPG (Parts Per Million), CO (PPM), SMOKE (PPM).

Step 1: Materials and Tools

    This is the I2C MQ2 BRICKBill of Material and Sourcing list.

    1. 3D Printed parts (3)
    2. MQ2 Sensor Brick (1)
    3. ATTINY85 20PU (1)
    4. 1" Double sided protoboard (1)
    5. Male Header 90º (3P, 3P)
    6. Male Header (2P, 2P)
    7. Jumper Shunt (1)
    8. Hookup wire (~7)
    9. Solder and Iron (1)
    10. Strong Cyanoachrylate Adhesive (1)
    11. 4G x 20mm self tapping screw (1)
    12. 4G x 10mm self tapping screw (2)
    13. Hot Glue Gun (1)
    14. Craft Knife (1)

    Step 2: Assembly

    Follow the build instructions on IOT123 - I2C MQ2 BRICK. Leave the MQ2 sensor detached from the circuit.

    1. Remove the 3P male header from the MQ2.
    2. On the rear of the MQ2, insert a yellow wire into "A0" and solder.
    3. On the rear of the MQ2, insert a black wire into "GND" and solder.
    4. On the rear of the MQ2, insert a red wire into "VCC" and solder.
    5. Fasten the 3D printed bracket to the MQ2 board with the 4G x 10mm screws.
    6. Add a thin layer (~0.6mm) of hot glue to the extremities of the bracket. Let it cool.Trim solid glue with craft knife until snug fit in 3D printed lid.
    7. Insert the MQ2 and bracket into the 3D printed lid, bending slightly so that it falls in behind the BRICK in the base when assembled.
    8. On the rear of the BRICK, insert the yellow wire into YELLOW1 and solder.
    9. On the rear of the BRICK, insert the black wire into BLACK1 and solder.
    10. On the rear of the BRICK, insert the red wire into RED1 and solder.
    11. Insert the BRICK into the 3D Printed base grooves, with the 90 pins lining up with the voids.
    12. 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.
    13. When level, fasten the screw into the lower hole attaching the BRICK to the base.
    14. Tuck the wires into the base on the side of the solder to the BRICK.
    15. Fasten lid to base with 4G x 6mm screws.

    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

    There is enough code and circuit description for you to start your own ASSIMILATE SENSOR NETWORK.

    Or you can check back here for more sensors and a MQTT Hub in the coming weeks.

    Check out these related builds.