Make of the day
Back to the 3D prints again with a spectacular tourbillon ! A must see for all fans of clocks… and 3D prints And that’s not all, Christoph LAIMER put all the stl files on thingiverse !
Back to the 3D prints again with a spectacular tourbillon ! A must see for all fans of clocks… and 3D prints And that’s not all, Christoph LAIMER put all the stl files on thingiverse !
Part 1, 2, 3, 4, 5, 6, 7 Encoder library + LCD libray + RTC library + some more code = MicroCLK! MicroCLK is a fancy little clock which displays time and date. It has a real basic (verybasic!) alarm function. The application is menu driven: hour, minute, seconds, day, month, year, alarm hour, alarm minute, alarm activation/deactivation. The hardware is limited […]
Part 1, 2, 3, 4, 5, 6, 7 Now that we have the hardware and the routines and functions ready, let’s apply them to a simple application. This one will print “tic”, wait half a second, print “tac” followed by the second index. (Real nutty stuff :-[) void loop() { int pinState = ((PINB >> oneHertzPin) & 0x01); if (lastPinState != pinState) […]
Part 1, 2, 3, 4, 5, 6, 7 After the hardware description of the module, I will describe here the code required for driving it with Arduino. Firstly, we need to establish a SPI communication between Arduino (the master) and DS1306 (the slave). And here is the initialization routine for the SPI void spi_init(void) { // Initialize SPI port // Input pin […]
Part 1, 2, 3, 4, 5, 6, 7 Let’s introduce today a new hardware module for Arduino, based on the very popular Maxim-Dallas DS1306 RTC. The choice of this RTC amongst the long list of available chips is driven by multiple reasons. Firstly, it’s free. Well, almost free. You can get it for free as a sample from Maxim-Dallas. Second it is […]