The creative prototype of the Fun Clock originated from an Arduino project abroad. After watching it, I was deeply impressed by its quirky charm, so I designed my own version, improving the structure and adding some extra functions.
Suitable Audience
Materials Needed
3 x 9g servos – 10 yuan
1 whiteboard marker – 3 yuan
1 NodeMcu ESP8266 development board – 15 yuan
1.2MM Z-shaped steel wire for servo rods – 1 yuan
Several M3x3 flat head screws
Several M3 nuts
Several M3x12 screws
Several M3x6 T-type connecting screws
A batch of acrylic laser-cut parts
Production Process
After obtaining the materials, you can assemble it according to the 3D model file. Assembly is straightforward, but some parts require attention to the order.
Below is a bunch of acrylic parts I processed:
The next step is to upload the program to the development board. If you have used Arduino, it should be no pressure. First, install the ESP8266 board package and the two required library files (both can be downloaded by replying “Fun Clock” on the “Darwen Says” WeChat public account).
For those unfamiliar with Arduino, first download the IDE from the Arduino website, link is:
Then, extract the files from my project:
Arduino\Libraries\If the Arduino IDE has not installed ESP8266\Arduino15.zip
Extract the file to this directory on your computer:
Extract the downloaded Arduino IDE, right-click the provided project file:
Arduino\DoubiBot_Firmware\DoubiBot_Firmware.ino
//#define DRAW_WEATHER//#define DRAW_TIME
const char* SSID = "***"; // Name of the WiFi to connect toconst char* PASSWORD = "***"; // Password of the WiFi to connect toconst char* CITY = "shanghai";
// uncommet this to do calibration, code will be blocked herecontrol.Calibrate();
The two arms should be in an L shape.
// uncommet this to do calibration, code will be blocked here// control.Calibrate();
For detailed code comments, you can refer to the project files I provided. Have fun!
Darwen shares the “Zhi Hui” series – I am Zhi Hui, regularly sharing cutting-edge knowledge about artificial intelligence on “Darwen Says”.
I just follow “Darwen Says”
Review of Zhi Hui’s past articles:
-
Should beginners play with embedded hardware using microcontrollers or Raspberry Pi?
-
How to make a “Raspberry Pi” – DIY ARM-Linux card computer
-
Do you have interesting projects made with microcontrollers or open-source hardware?
-
Is it feasible to make a magnetic levitation device for graduation design? PID algorithm enhances stability
-
How to make a super mini voice assistant?
Leave a Comment
Your email address will not be published. Required fields are marked *