PurpleTentacle wrote:I am also working on connecting a DCF77 receiver to my monochron. I would prefer not to add an extra microcontroller (ATTiny-idea) to the clock.
PurpleTentacle wrote:The pins PB4 and PB5 are not free. They are connected to the display.
PurpleTentacle wrote:The RXD (PD0) and TXD (PD1) pins can be very useful for sending/receiving debug messages to/from a PC. I would not use them for anything else, if possible.
PurpleTentacle wrote:The Pin PC1 is free and can be used to connect the receiver. It is not an interrupt-pin so you have to poll.
PurpleTentacle wrote:Have you thougt of which timer you want to use? As all three timers are in use, i think i will do the polling in the interrupt function of timer 0, which is called once every millisecond.
PurpleTentacle wrote:If you still plan to use a second microcontroller, you should pick one with SPI. This makes serial communication to the main microcontroller a lot easier. In my opinion, ISP is also a must-have. Maybe you can use something like an ATTiny48. If you are searching for examples how to evaluate the serial data
on the main microcontroller, you can take a look at the code of the GPS-mod.
PurpleTentacle wrote:I've now connected a DCF77 receiver to pin PC1 of my monochron and it works fine!
PurpleTentacle wrote:@Stefan: It may be possible to connect your external DCF receiver to the clock in the same way, but you will probably have to modify the case to get it wired.
Users browsing this forum: No registered users and 1 guest