Arduino Fridge Magnet

Do you have a habit of leaving notes on the fridge, now take it digital and add an Arduino to it.
In this instructable I’m going to show you how to do just that. All you need is an Arduino, an LCD screen and a Bluetooth module to make this and a Android mobile to upload your note wireless. I tried to keep it as small as possible and it is powered by a 9V battery.
Check out my Facebook page and like it to support me.
So enjoy building your own project.
So lets start with getting all the parts.
Parts List:

Arduino Fridge MagnetTools:

  • Soldering iron

Step 1: Arduino

As for the Arduino you can use a UNO or a mini, I did not have any spare Arduino mini so I built my own to save space and money. I have a nice in detail instructable on how to do that, so I will leave a link to that. So you can see how my Arduino turned out to be in the above picture, again I tried to keep it as small as I could. I did not add the programmer’s part to it as I used my UNO to upload the code to it. You can get a external serial programmer to upload code to it, ill leave a link to that as well.
Links
How to make a Arduino
Serial programmer

Step 2: LCD

Solder connector pins to the LCD and the same type connectors on the Arduino, so that you can easily plug them together. If you noticed that I had to change from the connectors in the previous step to this step a silly mistake that I made. You don’t have to connect all of the 16 pins just the ones in the circuit will do.

Step 3: Circuit

Once you have done soldered the pins follow the circuit and connect the LCD to your Arduino. If you used a UNO I recommend soldering it on a prototype shield. I had the rheostat substituted with a resistance, the rheostat is used to adjust the contrast. You can find the proper level, in the following steps.
1)Complete the circuit connections
2)Upload “Hello World” code as in the IDE examples
3)Power the circuit and adjust the rheostat till you get a proper contrast.
4)Once you have the proper level, remove the rheostat and measure the value of resistance with respect to ground and LCD pin 3.
5)Replace the rheostat with the measured value of resistance.

Step 4: Bluetooth

Once you have the “Hello World” successfully working on your board. Now its time to connect it to your Android phone. To connect it you need to attach a Bluetooth module I got mine from eBay, but I had to make certain connections to the board to get it function as required, I’ll set up an instructable on how to do that soon. You can go for Bluesmirf if you don’t want to make any changes.

Step 5: Code

The code for the project can be found in the IDE examples named “Serial LCD”, if you can’t find it just copy and paste the code as below:
#include
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
// set up the LCD’s number of columns and rows:
lcd.begin(16, 2);
// initialize the serial communications:
Serial.begin(9600);
}
void loop()
{
// when characters arrive over the serial port…
if (Serial.available()) {
// wait a bit for the entire message to arrive
delay(100);
// clear the screen
lcd.clear();
// read all the available characters
while (Serial.available() > 0) {
// display each character to the LCD
lcd.write(Serial.read());}}}

Arduino Fridge Magnet SchematicStep 6: Voltage Divider

This is an optional step and not required if you use an Arduino UNO. It is a 5V regulator that I had to setup since the atmega 328 IC requires 5V input voltage. A UNO has a built in voltage regulator.
To create it just follow the circuit and try to keep it as small as possible.

Step 7: Wood

Once you have completed setting up everything now you need a wood to which you need to glue it on. I did not use wood but some kind of a cardboard, I have no idea what they call it if you know leave a comment. The material I used is lighter and slimmer than wood.

 

For more detail: Arduino Fridge Magnet

 


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

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

Scroll to Top