Coder Social home page Coder Social logo

m5atom-ir-temp's Introduction

What is this board?

This is what I consider the best thing you can have to use in a HomeAutomation setup as it is small, works with the M5Atom out of the box and it has IR RX and TX plus a very precise Temperature sensor.

How did this board came to life ?

I have recently got into the Apple HomeKit system and I was not that happy with the costs and range of accesorries so I have gotten down the route of HomeBridge and used the amazing system that the people behind this project gave to the community . Now I needed to reduce the space used by all my messy wires and integrate as many sensors as I could in one small package that can sit in a room.

What does this board offer in terms of sensors :

  1. 9 x IR Transmitter LED with 150degree angle of transmission each
  2. 1 x IR Receiver to help in grabbing signals or repeating them
  3. 1 x TMP102 Temperature Sensor to help in automation setups lilke " IF the Office Temp goes over 28 Celsius then turn AC ON but if it goes under 25 turn AC OFF." Due to the small size of the board the temperature reading is influenced by the proximity to the M5Atom and you have to calibrate that once you get the board. I have tried many ways to counter this problem but at the end of the day it would be hilarious in shape and too big so it would defeat the purpose of being a useful small piece of kit.

Why to buy this board ?

Well, that would help me and allow me to keep developing boards like this while improving the board I have already made . This board in conjuction with some Arduino knowledge will allow you to tailor the way it works to perfectly fit your Home Automation setup. The software and the pinout of the board is open sourced and you can see all the details you need here in order to play with the software yourself. Of course I can not be held responsible if you damage the board while doing this.

Needed software and libraries to work with this board :

IDE : Arduino 1.8.3 ( I assume it will work with others like PlatformIO but I have not tested it so I warrant for Arduino IDE on Windows 10 , MacOS Catalina and linux flavours based on Ubuntu 20.04)

Board BSP : ESP32

Libraries :

-M5Atom

-IRremoteESP8266

-SparkFunTMP102

Pinout :

IR RX - 21

IR TX - 25

SDA - 23

SCL - 33

Alert - 19

To set the I2C pipe please put in void setup() the following Wire.begin(23,33)

With the Demo Code from each library, IRremoteESP8266 example IRrecvDumpV2 and SparkFunTMP102 Example1_Basic_Temperature_Readings , it reads the temperature in Celsius and/or Fahrenheit and will print it in SerialMonitor or a SignalDump using the IRremoteESP8266 example IRrecvDumpV2 . You can take this further and build on it including the IR TX functionality and and also integrate with an MQTT client to work with HomeBridge.

Where to buy the board

Get it here

https://www.tindie.com/products/mikepdiy/m5atom-ir-transmitterreceiver-and-temperature/

I sell on Tindie

m5atom-ir-temp's People

Contributors

mikepdiy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.