As 2019 draws to a close, I wanted to thank each and everyone of you for supporting this channel by watching the recent videos and more importantly, by subscribing to this channel. I do realise that it takes that much more effort to subscribe to a small channel that is still in the early stages and I just want you to know that I totally appreciate all your support and feedback.
Here's wishing you a very Happy New Year! I do hope 2020 turns out the way we all hope it will. Thank you again and see you soon :)
As a follow up to the first DIY project (Room Thermometer), we write a sketch that communicates with an online weather service (OpenWeatherMap) which provides the weather data for just about any city. We use this information to display the temperature, humidity and weather conditions to an OLED module.
BONUS: We also talk to the TeamTrees website and obtain the live tree count as an example to talk to webservers that do not provide a JSON response.
Links:
https://openweathermap.org/
ArduinoJSON Assistant: https://arduinojson.org/v6/assistant/
URL: api.openweathermap.org/data/2.5/weather?q=Edinburgh,uk&units=metric&APPID=YOUR_API_KEY
Link To Sketches:
Weather: https://www.bitsnblobs.com/wp-content/media/fw/diy/diy-e4.zip
Tree Count: https://www.bitsnblobs.com/wp-content/media/fw/diy/diy-e4p2.zip
Link To Instructable:
https://www.instructables.com/id/Online-Weather-Display-Using-OpenWeatherMap/
Link To Hackster:
https://www.hackster.io/BnBe_Club/online-weather-display-using-openweathermap-0f1345
Here's a free way to help support this channel:
If you're feeling generous then please consider using the following Amazon links when making any purchases. You will NOT have to pay anything extra but Amazon will pay us a small percentage of the things you buy.
US: https://amzn.to/2BvGVPe
UK: https://amzn.to/2W1Mf6v
BnBe Website: https://www.bitsnblobs.com/
Instagram: https://www.instagram.com/bnbe.club/
Facebook: https://www.facebook.com/BnBe.club
Twitter: https://twitter.com/bnbe_club
...
https://www.youtube.com/watch?v=-62JGZm2DrA
Having to hard code the WiFi network name and password in the sketch is something that is not ideal when you want to create finished projects like a WiFi lamp, clock or something similar. In this video, we will learn how to use the Auto connect library that allows us to connect to and manage WiFi access points using a smartphone.
Use the following links for additional project details, sketch/code:
Instructables: https://www.instructables.com/id/Using-WiFi-AutoConnect-With-ESP8266ESP32-Boards/
Hackster: https://www.hackster.io/BnBe_Club/using-wifi-autoconnect-with-esp8266-esp32-boards-22c710
BnBe: https://www.bitsnblobs.com/add-wifi-autoconnect-to-esp32-esp8266-boards/
Original GitHub: https://github.com/Hieromon/AutoConnect
Getting started with the ESP32 board and the Arduino IDE:
Windows: https://www.bitsnblobs.com/esp32-cam-getting-started-windows/
Mac: https://www.bitsnblobs.com/esp32-cam-getting-started-mac/
ESP32 Troubleshooting Guide:
https://www.bitsnblobs.com/esp32-troubleshooting-guide/
Relevant Links:
BnBe Website: https://www.bitsnblobs.com/
Instagram: https://www.instagram.com/bnbe.club/
Facebook: https://www.facebook.com/BnBe.club
Twitter: https://twitter.com/bnbe_club
...
https://www.youtube.com/watch?v=n8ULbldH1jM
A couple of weeks ago, we learned how to build an online weather display system that obtained weather information for a particular city and displayed it on an OLED module. We used the Arduino Nano 33 IoT board for that project which is a new board that has a lot of features but is slightly expensive and larger when compared to alternatives. In this video, we will learn how to build this compact and cute little online weather display widget which is similar to the previous project.
We will be using the WeMos D1 mini board that makes use of the ESP8266 chipset and we will use a 0.96” OLED module for the display. Like the previous project, we will be obtaining the weather information from the OpenWeatherMap service.
Links mentioned in the video:
OpenWeatherMap: https://openweathermap.org/
ArduinoJSON Assistant: https://arduinojson.org/v6/assistant/
URL: api.openweathermap.org/data/2.5/weather?q=Edinburgh,uk&units=metric&APPID=YOUR_API_KEY
Use the following links for additional project details, sketch/code:
Instructables: https://www.instructables.com/id/Online-Weather-Display-Widget-Using-the-ESP8266/
Hackster: https://www.hackster.io/BnBe_Club/online-weather-display-widget-using-the-esp8266-8e0573
BnBe: https://www.bitsnblobs.com/online-weather-widget-using-esp8266/
Thingiverse Model: https://www.thingiverse.com/thing:857858
Relevant Links:
BnBe Website: https://www.bitsnblobs.com/
Instagram: https://www.instagram.com/bnbe.club/
Facebook: https://www.facebook.com/BnBe.club
Twitter: https://twitter.com/bnbe_club
...
https://www.youtube.com/watch?v=3U-qbii1saw
This video is part of the basic electronics crash course that covers the essential concepts that you need to be aware of before you can move and start working with more advanced things like Arduinos, Raspberry PIs and so on.
Course Playlist: https://www.youtube.com/playlist?list=PLPtiFyzjbp5VCa874-sZKUNBLWg3NXnRa
...
https://www.youtube.com/watch?v=9tpSAfT64qQ
Triggering automations by using wireless nodes around the house is definitely something that will be useful. I decided to create an efficient WiFi switch that could be used as a master power switch for my workspace. In this video, I show you how it was designed and I also talk about the different design considerations that led up to the final design. This can be used as the basis to do even more interesting things.
I've used a Wemos D1 mini for this project along with a simple Arduino sketch. Every time the board powers up, it publishes a message to the MQTT broker that's running on Home Assistant. This is then picked up by Node-RED and it is used to control the lights in the room. I will also be adding a SonOff switch to power down the lab equipment with the press of a single button. In an ideal world, the node can run for 8.65 years from 2x AA batteries. However, I decided to use smaller, 240mAh rechargeable Lithium-Ion batteries which would give me an ideal run time of around 10 months.
Link to sketch: https://github.com/bnbe-club/wifi-button-esp8266-diy-60
...
https://www.youtube.com/watch?v=nUgfFMaaipk
Home assistant can be used to monitor and log sensor data which can be useful at times. If you want to log and analyse sensor data over extended periods of time, then you will have to use something like Grafana. Since Grafana does not store the data itself, we also need to add a database like InfluxDB. InfluxDB is a time series database which adds a timestamp to the sensor values. This makes it efficient when it comes to analysing data over a specific period of time.
You can find more information by using the links to the written posts below:
Hackster: https://www.hackster.io/BnBe_Club/sensor-logging-using-influxdb-grafana-hassio-3f780c
BnBe: https://www.bitsnblobs.com/sensor-logging-using-influxdb-grafana/
Instructables: https://www.instructables.com/id/Sensor-Logging-Using-InfluxDB-Grafana-Hassio/
...
https://www.youtube.com/watch?v=VkBEU3DmtjY
In this video, we learn how to create a local Blynk server which will greatly reduce the overall latency that is sometimes present when using the default, remote server. We set it up using a Pi Zero W and we also create a demo project to make sure it is all working correctly.
Hackster: https://www.hackster.io/Frenoy_Osburn/creating-a-local-blynk-server-f7feb7
Instructables: https://www.instructables.com/id/Creating-a-Local-Blynk-Server/
BnBe: https://www.bitsnblobs.com/creating-a-local-blynk-server/
GitHub Reference: https://github.com/blynkkk/blynk-server
...
https://www.youtube.com/watch?v=SD_ke78N7-4
We learn how to build a cute little digital clock that communicates with NTP servers and displays network or internet time. The idea originated from this week’s video that was released by the guy with the Swiss accent and is based on his sketch. We use the WeMos D1 mini to connect to a WiFi network, obtain the NTP time and display it on an OLED module.
Use the following links for additional project details, sketch/code:
Instructables: https://www.instructables.com/id/Network-Time-Digital-Clock-Using-the-ESP8266/
Hackster: https://www.hackster.io/BnBe_Club/network-time-digital-clock-using-the-esp8266-87f11f
BnBe: https://www.bitsnblobs.com/network-time-using-esp8266/
Original Video: https://youtu.be/r2UAmBLBBRM
3D Model On Thingiverse: https://www.thingiverse.com/thing:857858
Relevant Links:
BnBe Website: https://www.bitsnblobs.com/
Instagram: https://www.instagram.com/bnbe.club/
Facebook: https://www.facebook.com/BnBe.club
Twitter: https://twitter.com/bnbe_club
...
https://www.youtube.com/watch?v=3LkKYtQqzKo
We finally take a look at automation by learning how to control WS2812B RGB LEDs using ESPHome. We learn how to configure lights so that they automatically switch ON before sunset. ESPHome simplifies the entire process and we do not even need to write any code. We then modify an RGB cellular lamp that was built in a previous video and we learn how to control it from a smartphone. This includes changing the colour, brightness and even triggering some effects.
Hackster: https://www.hackster.io/BnBe_Club/automating-an-rgb-lamp-with-your-phone-by-using-hassio-16ef6a
BnBe: https://www.bitsnblobs.com/automating-an-rgb-lamp-with-your-phone-by-using-hassio/
Instructables: https://www.instructables.com/id/Automating-an-RGB-Lamp-With-Your-Phone-by-Using-Ho/
...
https://www.youtube.com/watch?v=d1-yw8nOz74