Some time ago I've designed a steampunk table clock I had also produced the electronics for it to generate steam engine sound effects, display some steampunk graphics etc. Recently I planned to design a more modern 3d printable case for the circuitry. Here is the case I've made, the circuitry and the resulting table alarm clock.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: The 3D Model of the Case
I've made the model in Solidworks. Wanted the clock case to be printable with the smallest printers at the market so kept the dimensions to the minimum still comfortably housing the interior electronics and the LCD screen.
For my build, the STL files are printed on an UP printer. Surely any 3D printer will do the job. :)
Step 2: The Circuit
I've designed the circuitry in Proteus ISIS and then tested it on breadboards first and did the initial program development
Later the pcb is designed in Proteus ARES program by labcenter electronics. Proteus is such a great tool for not only pcb design but all kind of circuit, even electromechanical system design including very successful simulation capabilities. As you can see at the first schematic picture, the circuit including a microcontroller is being simulated by the proteus software and actually the program written in CCS C for pic micro is running with all the buttons, sensors are also in operation. The PCB of the circuit schematic above can be downloaded from this link: PCB
Note that the microcontroller used in the project is pic 18F4620. I've upgraded it to be able to embed more sound effects into it.
Step 3: Code and the Screen Graphics
The code is written in CCS C and compiled into a hex file. It generates several graphics for the LCD screen, produces sound effects, retreives the time data from the real time clock chip and runs the menus etc for time adjustments etc.
The code uses the 1 bit sound algorithm for producing sounds without using any sound chip or DAC etc.
Step 4: Assembled Clock
After completing the assembly of the pcb, it fits inside the case quite okay with minimum modifications as everything is designed to fit and tested in Solidworks. The case can be sanded or acetone treated for a smoother surface and painted for better looks. The circuitry also can be used in your own projects.