Uploaded October 2019 | Updated September 2026, 2 weeks ago
In this video we will take a look at building a light that changes colour based on the temperature in the room.
This is actually quite a nice beginner project for Arduino as the circuitry is fairly simple and so is the code, but it has a nice practical use case.
I'll also dive a little bit deeper into why I picked certain sensors and give some advice on how to go about doing a project like this. I hope you enjoy it!
---------------------------------
Parts:
---------------------------------
D1 Mini ESP8266 * - http://s.click.aliexpress.com/e/uzFUnIe
Pack of 10 IR LEDs (Good ones)* - http://s.click.aliexpress.com/e/s3yNpaC
BME280 Temperature & Humidity Sensor (4 pin)* - http://s.click.aliexpress.com/e/l4xWrpck
Ir Receiver Board - aliexpress.com/item/32723068169.html
Night Light:
Amazon.co.uk*: amzn.to/2VVI8ZO
Amazon.com*: amzn.to/2Mv0fmg
---------------------------------
Code:
---------------------------------
github.com/witnessmenow/Temperature-Night-Light
---------------------------------
Github Sponsorship:
---------------------------------
I have set up a Github Sponsorship page, it's similar style thing to patreon, but Github are offering to match all sponsorships for the first year! (you sponsor $2, I receive $4)
github.com/sponsors/witnessmenow
Some people have said they would prefer a once off way of supporting the channel, here is a Paypal link if you would prefer that!
paypal.me/bloughyt
---------------------------------
My Tindie Store:
---------------------------------
I've started to sell stuff on Tindie, check it out!
tindie.com/stores/brianlough
---------------------------------
Other Platforms:
---------------------------------
Twitter: @witnessmenow - twitter.com/witnessmenow
Instagram - instagram.com/brian_lough
Instructables: witnessmenow - instructables.com/member/witnessmenow
---------------------------------
Support the Channel:
---------------------------------
If you would like to support the channel, here are some ways you can.
1 - Like and comment on the videos - I really like hearing from you and apparently it helps!
2 - Share my videos - If you know somewhere that might be interested in my channel, please share it!
3 - Affiliate links - Where I get a small percentage of the purchase price but doesn't cost you anything extra.
Amazon.co.uk: amzn.to/2g7mJIO
Amazon.com : amzn.to/2ykDQ42
Amazon.de: amzn.to/2WMq7vF
Aliexpress: http://s.click.aliexpress.com/e/wdhojba
LCSC (where I buy most of my parts for Tindie stuff): lcsc.com/?promote=ODM5ZTB5NlkwNUN3bkNCZUtGb0ZlSWFKTGJIaTl3WThNWldwU0R6QndkZ3prNWdPemlTcG5XSi94U1Zpc0g5Y3MwYjFOUTNIZjJLbGhwWllsZ3N5QnR2WkZRdXMvdGVFcVhJWlJOdnNBV1U0RDZuY1M4TFlqZWNQYUo4RkN6VVJ2c0J4MTcvU3NEdw==
4 - My Amazon "store" - Really it's just a collection of stuff I use that I think are useful
amazon.co.uk/shop/brianlough
5 - Check out my Tindie Store
tindie.com/stores/brianlough
---------------------------------
My Tools & Kit*:
---------------------------------
Ender 3 Pro 3d Printer - I got one of these recently and I love it!
- UK : amzn.to/31bebXT
- US : amzn.to/2IlSLid
Ts-100 Soldering Iron - I have this a couple of years and I love it, I thinking about getting a second!
- UK : amzn.to/2nlOF23
- US : amzn.to/2jDcyxl
Logitech C920 HD 1080p Pro webcam - I use one of these for my videos
- UK: amzn.to/2pnxk9Z
- US: amzn.to/2BsLMiF
Blue Snowball USB Microphone
- UK: amzn.to/2C0x4TH
- US: amzn.to/2DEA85J
Self Adjusting Wire Strippers
- UK: amzn.to/2C0urkR
- US: amzn.to/2BXQAh1
*= Affiliate Links
In this video we will take a look at building a light that changes colour based on the temperature in the room.
This is actually quite a nice beginner project for Arduino as the circuitry is fairly simple and so is the code, but it has a nice practical use case.
I'll also dive a little bit deeper into why I picked certain sensors and give some advice on how to go about doing a project like this. I hope you enjoy it!
---------------------------------
Parts:
---------------------------------
D1 Mini ESP8266 * - http://s.click.aliexpress.com/e/uzFUnIe
Pack of 10 IR LEDs (Good ones)* - http://s.click.aliexpress.com/e/s3yNpaC
BME280 Temperature & Humidity Sensor (4 pin)* - http://s.click.aliexpress.com/e/l4xWrpck
Ir Receiver Board - aliexpress.com/item/32723068169.html
Night Light:
Amazon.co.uk*: amzn.to/2VVI8ZO
Amazon.com*: amzn.to/2Mv0fmg
---------------------------------
Code:
---------------------------------
github.com/witnessmenow/Temperature-Night-Light
---------------------------------
Github Sponsorship:
---------------------------------
I have set up a Github Sponsorship page, it's similar style thing to patreon, but Github are offering to match all sponsorships for the first year! (you sponsor $2, I receive $4)
github.com/sponsors/witnessmenow
Some people have said they would prefer a once off way of supporting the channel, here is a Paypal link if you would prefer that!
paypal.me/bloughyt
---------------------------------
My Tindie Store:
---------------------------------
I've started to sell stuff on Tindie, check it out!
tindie.com/stores/brianlough
---------------------------------
Other Platforms:
---------------------------------
Twitter: @witnessmenow - twitter.com/witnessmenow
Instagram - instagram.com/brian_lough
Instructables: witnessmenow - instructables.com/member/witnessmenow
---------------------------------
Support the Channel:
---------------------------------
If you would like to support the channel, here are some ways you can.
1 - Like and comment on the videos - I really like hearing from you and apparently it helps!
2 - Share my videos - If you know somewhere that might be interested in my channel, please share it!
3 - Affiliate links - Where I get a small percentage of the purchase price but doesn't cost you anything extra.
Amazon.co.uk: amzn.to/2g7mJIO
Amazon.com : amzn.to/2ykDQ42
Amazon.de: amzn.to/2WMq7vF
Aliexpress: http://s.click.aliexpress.com/e/wdhojba
LCSC (where I buy most of my parts for Tindie stuff): lcsc.com/?promote=ODM5ZTB5NlkwNUN3bkNCZUtGb0ZlSWFKTGJIaTl3WThNWldwU0R6QndkZ3prNWdPemlTcG5XSi94U1Zpc0g5Y3MwYjFOUTNIZjJLbGhwWllsZ3N5QnR2WkZRdXMvdGVFcVhJWlJOdnNBV1U0RDZuY1M4TFlqZWNQYUo4RkN6VVJ2c0J4MTcvU3NEdw==
4 - My Amazon "store" - Really it's just a collection of stuff I use that I think are useful
amazon.co.uk/shop/brianlough
5 - Check out my Tindie Store
tindie.com/stores/brianlough
---------------------------------
My Tools & Kit*:
---------------------------------
Ender 3 Pro 3d Printer - I got one of these recently and I love it!
- UK : amzn.to/31bebXT
- US : amzn.to/2IlSLid
Ts-100 Soldering Iron - I have this a couple of years and I love it, I thinking about getting a second!
- UK : amzn.to/2nlOF23
- US : amzn.to/2jDcyxl
Logitech C920 HD 1080p Pro webcam - I use one of these for my videos
- UK: amzn.to/2pnxk9Z
- US: amzn.to/2BsLMiF
Blue Snowball USB Microphone
- UK: amzn.to/2C0x4TH
- US: amzn.to/2DEA85J
Self Adjusting Wire Strippers
- UK: amzn.to/2C0urkR
- US: amzn.to/2BXQAh1
*= Affiliate Links
![Offline Postbag #2 - Wide range in delivery times!
Due to popular demand, post bags will now be videos!
Parts:
[0:14] Glass Cutter* - http://s.click.aliexpress.com/e/Auf27yz
[0:51] Solder Paster* - http://s.click.aliexpress.com/e/vrNzvBA
[2:21] Attiny SMD Programming adapter* - http://s.click.aliexpress.com/e/YrV3fi6
[4:04] RoboDyn White Breadboards* - http://s.click.aliexpress.com/e/Mf2NfAq
[6:41] Corks - https://www.ebay.ie/itm/310645199082
[7:28] WS2812B LED strips* - http://s.click.aliexpress.com/e/zzzB6UN
[8:01] ESP32 Lolin Lite* - Im removing this link due to having the same faults as described by Greg Clares comments
[9:03] Xbox Live Camera - https://ie.webuy.com/product-detail?id=882224035453
[10:30] Polarized Screen Protector - https://www.ebay.ie/itm/222765832196
Other Platforms:
Twitter: @witnessmenow - https://twitter.com/witnessmenow
Twtich: BrianLough - https://twitch.tv/brianlough
Instructables: witnessmenow - https://www.instructables.com/member/witnessmenow/
My Tools & Kit*:
Ts-100 Soldering Iron
- UK : http://amzn.to/2nlOF23
- US : http://amzn.to/2jDcyxl
Logitech C920 HD 1080p Pro webcam
- UK: http://amzn.to/2pnxk9Z
- US: http://amzn.to/2BsLMiF
Blue Snowball USB Microphone
- UK: http://amzn.to/2C0x4TH
- US: http://amzn.to/2DEA85J
Self Adjusting Wire Strippers
- UK: http://amzn.to/2C0urkR
- US: http://amzn.to/2BXQAh1
Support what I do by using my Amazon Affiliate links:
Amazon.co.uk: http://amzn.to/2g7mJIO
Amazon.com : http://amzn.to/2ykDQ42
*= Affiliate Links Offline Postbag #2 - Wide range in delivery times!](https://i.ytimg.com/vi/YNBsx9oghoQ/mqdefault.jpg)




![Making Monday - Getting an 64x32 RGB Matrix working with an ESP32 [Was Live On Twitch]
Trying to get some Dual core goodness going on the LED matrix using an ESP32
Link to Panel* - https://amzn.to/2qIQapR
Library Used - https://github.com/2dom/PxMatrix
Adafruit Learn Guide - https://learn.adafruit.com/32x16-32x32-rgb-led-matrix/
Other Platforms:
Twitter: @witnessmenow - https://twitter.com/witnessmenow
Twtich: BrianLough - https://twitch.tv/brianlough
Instructables: witnessmenow - https://www.instructables.com/member/witnessmenow/
My Tools & Kit*:
Ts-100 Soldering Iron
- UK : http://amzn.to/2nlOF23
- US : http://amzn.to/2jDcyxl
Logitech C920 HD 1080p Pro webcam
- UK: http://amzn.to/2pnxk9Z
- US: http://amzn.to/2BsLMiF
Blue Snowball USB Microphone
- UK: http://amzn.to/2C0x4TH
- US: http://amzn.to/2DEA85J
Self Adjusting Wire Strippers
- UK: http://amzn.to/2C0urkR
- US: http://amzn.to/2BXQAh1
Support what I do by using my Amazon Affiliate links:
Amazon.co.uk: http://amzn.to/2g7mJIO
Amazon.com : http://amzn.to/2ykDQ42
*= Affiliate Links Making Monday - Getting an 64x32 RGB Matrix working with an ESP32 [Was Live On Twitch]](https://i.ytimg.com/vi/ZMBGeDfjLEg/mqdefault.jpg)

![[TMT] - Managing Configurations Using WiFiManager
WiFiManager Github Page:
https://github.com/tzapu/WiFiManager
Andreas Spiess video on SPIFFS:
https://www.youtube.com/watch?v=jIOTzaeh7fs
Example Sketch:
https://github.com/witnessmenow/arduino-youtube-api/blob/master/examples/ESP8266/ChannelStatisticsWithWifiManager/ChannelStatisticsWithWifiManager.ino [TMT] - Managing Configurations Using WiFiManager](https://i.ytimg.com/vi/_VBJ9Aa6w44/mqdefault.jpg)


