Micro Bit Fan Alert

by bchinburg in Circuits > Sensors

208 Views, 0 Favorites, 0 Comments

Micro Bit Fan Alert

20240426_172750.jpg
20240424_203349.jpg

The MicroBit fan alert is a microbit that uses its temperature sensor to sense its surrounding temperature and reads if it is higher than 23 degrees celsius, if it is it reminds you that the fan is not on yet. I also used tinker in this project.

Supplies

20240424_202649.jpg
20240425_194451.jpg
20240424_203349.jpg
20240424_202709.jpg
20240424_202656.jpg
20240424_202617.jpg

Collecting Your Supplies!

  1. Micro Bit
  2. Battery case
  3. Two AA Batteries
  4. One Piezo AC Speaker
  5. Two Wires
  6. Thick Double-Sided Tape
  7. PLA Filament

Coding and Uploading

20240424_203824.jpg
20240424_203836.jpg

Start by downloading the Micro Bit app if you don't have already or go to the Micro Bit website. Now that you have the app or are on the website you can start a new project and name it temp then you can copy all the code shown in the picture above. then take your micro bit, press all three buttons for the Bluetooth function, and download the code wirelessly.

3D Printing

20240425_194451.jpg
20240424_203522.jpg

Now take the Micro bit and its battery, put double-sided tape on each of them, and place them aside for later. next, take the STL file provided and upload it to your selected slicer (for the 3d printer). Now you can upload this to your printer and hit print. also put double-sided tape on the back of the 3d print (to connect it above your stove).

Assembly

20240424_203456.jpg
20240424_203426.jpg
20240425_194436.jpg

Now take the microbit and the battery and stick them in the 3d printed case. then you can get your two alligator clips and connect one to pin 0 and one to GND. Now get the speaker a place it in its socket. You might need to chip away at the socket to make it fit. Next, find the other end of the alligator clips take the one connected to pin 0, and connect it to the + side and the opposite for the other side (Negative).

Setup and Test

20240426_172750.jpg

Next place this above your ideal cooking spot that has a fan. now the project is done, it works like this, when the micro bit reads a temperature higher than 23 degrees Celsius, using its temperature sensor, it then shows the temperature on the LED screen, then shows "turn fan on", then a fan animation, and finishing with waiting five minutes until it does it all over again. And if you press the A button it turns the sound off until you reset it. I also used a file from Rafael Rezende Kayatt a 3d designer on TinkerCad.