Whiteboard Pen Reminder
Teachers are a very busy profession. They always writing on the board and teach, so teachers might not notice to somethings else. My teacher is a Math teacher. His whiteboard pen usually doesn't have ink. So one day I think if I can make a machine that can remind my teacher to add some ink when his whiteboard pen is running out the ink. It might the thing become easier. The teacher will not need to worry about the ink anymore.
In this machine, I gonna use receive light to detect the amount of ink.
Supplies
-Arduino Board * 1
-Breadboard * 1
-LED light * 2
-Resistance * 4
-Photoresistance * 2
-Wires
Connect All the Wires and the Resistance.
Upload Arduino Code
void setup(){ // put your setup code here, to run once:
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps
pinMode( 12 , OUTPUT); // sets the digital pin as output
pinMode( 13 , OUTPUT); // sets the digital pin as output
}
void loop(){ // put your main code here, to run repeatedly:
Serial.print(analogRead( A0 )); //print message
Serial.print(" "); //print a blank
Serial.println();
if ( analogRead( A0 ) > 575 ) {
digitalWrite( 12 , HIGH ); // sets the digital pin on/off
}
else {
digitalWrite( 12 , LOW ); // sets the digital pin on/off
}
if ( analogRead( A1 ) > 575 ) {
digitalWrite( 13 , HIGH ); // sets the digital pin on/off
}
else {
digitalWrite( 13 , LOW ); // sets the digital pin on/off
}
}
Arduino Code: https://create.arduino.cc/editor/edyanglu/c4a39be...
Make the "membrane"
Use cardboard to make a membrane to protect the Photoresistance and also can place the whiteboard pen. The membrane is 3.5*3.2*6.2. However, if your marker size is different you might change the amount.
Make the "Armor"
Use cardboard again. Cut down the cardboard for 8*8*16 to cover the Arduino board and the wires. Only let the photoresistance and LEDs out.
Finish
The whiteboard writer is finished. Now Take this to your teacher
The testing video: https://www.youtube.com/watch?v=LsjG3bVK6zg