What do we need
- Arduino UNO or Seeeduino V4 as controller
- Grove - Base Shield to connect Grove modules
- Grove - Ultrasonic Ranger to detect if some guy sit before screen
- Grove - OLED to display the time
- Grove - Button as an input device, to reset the time.
- 8mm Acrylic
- M2 screw and nut
- Copper Cylinder
- Screw driver
- Laser Cutter
If you can't find a laser cutter, you can make a wooden version or, try the Laser Cutter Service supply by Seeed.
Laser cut the Acrylic
Download the file and laser cut it.
Here's we use 8mm acrylic, less that 8mm may broken if your screen is big.
Fixed side acrylic panels with screws and angle iron.(Image 1)
Fixed the top acrylic panels with screws.(Image 2)
Fixed the drawer.(Image 3)
The desk is done (Image 4)
There're 3 modules need to connect to your Arduino.
- Grove - Button > D2
- Grove - OLED > I2C
- Grove - Ultrasonic Ranger > D7
Software works and test
The code was wrote in Arduino. If you hadn't try an Arduino, click to get more.
I had pushed my code to Github, if you like this project and want to improve it, please give me pull request.
Click here to download the code.
Please know that it's an Arduino Sketchbook, that include the demo code and libraries all needed.
1. When you get to the github page, find a Download ZIP button, click to download the code.
2 Unzip the file you had downloaded from github, you will get a folder namedArduinoPhone-master.
3. Open your Arduino IDE, click File > Preferences > Sketchbook Location, browse to the folder we had mentioned above - ArduinoDesk-master. Then click OK to save it.
4. Close and re-open Arduino IDE, click File > Sketchbook > demo, then the main code of the desk is open.
5. Choose the right board(Arduino UNO) and port to upload the code.
All the steps please refer to the image above.
We need some M2 screws and nuts to fix the modules.
As shown at the above images.
Maker it Better
There're some awesome function to be added in the next version.
- Missed call
- Sedentary remind
- One button call - If someone can't find you, click on the button then a SMS will send to you, “COME BACK, SOME GUY IS WAITING YOU”
- If you have any ideas, please make a comment.