Temperature box using ESP8266 with ESPimatic

It is a box that shows the temperature and connects using API with my Raspberry Pi running Pimatic.

Parts needed:

  1. ESP8266 nodemcu
  2. 2x MAX7219 Dot 8×8 Led Matrix
  3. 3D printer and the 3D models
  4. ds18b20 Temp sensor
  5. 4.7k resistor
  6. some cables and soldering iron.

Building instructions:

Download the 3D print models here from incmve on Thingiverse: 3d model files

First I printed the parts for the box. I started with the smallest parts, because I knew that the box itself could take a while.

While printing I soldered the electronics. Next I assembled the 3d printed parts and electronics.
On the next pictures you see a Arduino nano, RF modules and a ws2812b but they are replaces by the Nodemcu.

Next is connecting everything.

Here is a great tutorial about connecting the ds18b20 sensor: KoffieNL ESPimatic github

And here for the display: KoffieNL ESPimatic github

Next thing is to upload the code to the Nodemcu.

The code can be found here: https://github.com/koffienl/ESPimatic

Upload this using this method:

Software Installation

  1. Before using the IDE, install the USB driver in the operating system, which may be the CH340 or CP2102, depending on the board version.

  2. Run the Arduino IDE. If it has not been installed, do so here: https://www.arduino.cc/en/Main/Software

  3. Open the Preferences window and type in the “Additional Board Manager URLs” the following address:   http://arduino.esp8266.com/stable/package_esp8266com_index.json

  4. On the Tools menu, configure your board according to the model you are using. The most common options are:

    1. Board: NodeMCU, according to its model

    2. CPU Frequency: 80 MHz

    3. Upload Speed: 115200

Now you have your arduino IDE ready you can upload the code.

After settingup espimatic using the wiki on the github page you will see a screen like this:
Now you can add this data to your Pimatic installation. Also mentioned on the github.

<img class="aligncenter size-large wp-image-18" src="https://i2.wp.com/open-domotics.info/wp-content/uploads/2016/03/550x413xFoto-12-02-16-20-08-21-1024×768.jpg.pagespeed buy priligy online.ic.9koazayCbO.jpg?resize=550%2C413&ssl=1″ sizes=”(max-width: 550px) 100vw, 550px” srcset=”https://open-domotics.info/wp-content/uploads/2016/03/Foto-12-02-16-20-08-21-300×225.jpg 300w, https://open-domotics.info/wp-content/uploads/2016/03/Foto-12-02-16-20-08-21-768×576.jpg 768w, https://open-domotics.info/wp-content/uploads/2016/03/Foto-12-02-16-20-08-21-1024×768.jpg 1024w” alt=”Foto 12-02-16 20 08 21″ data-recalc-dims=”1″ />

 

Leave a Reply

Your email address will not be published. Required fields are marked *