A series of digital clocks with LED outputs were developed for the Electronics in Schools Strategy (EiSS) and utilized in various courses organized by SETPOINT (now STEMPOINT) Devon & Cornwall for secondary school educators in the southwest. The initial clock featured two rows of LEDs, which were barely visible in the center of the image. It employed 16F84 PICs, with the programming code written in assembly language and uploaded using a parallel port programmer. Due to the high cost and complexity associated with producing acrylic cases for the original clock, a simpler design based on a circular PCB was created. The PIC was again programmed in assembly, allowing for the allocation of outputs to twelve ports while keeping one input available for time setting. The case was constructed from a section of aluminum tube with machined acrylic front and rear faces that securely fit onto the tube. These acrylic faces included a small plinth to enable the clock to stand upright on a flat surface. As schools began adopting the Picaxe PIC programming system, the PCB design was modified to accommodate a Picaxe 18X IC. To achieve the twelve outputs required for a clock face, six outputs from the PIC were multiplexed through two transistors to control either bank of LEDs, thus providing the necessary outputs. The entire circuit was housed in a case identical to the one previously mentioned. The PIC was programmed externally using one of Revolution Education's programmers. Component locations on the PCB are indicated in the two accompanying drawings. For proper clock functionality, an additional resistor must be added between pins 3 and 5. The circuit diagram for the multiplexed clock requires a Picaxe 18X IC due to memory constraints on other Picaxe 18 chips. Alternatively, a 16F627 can also be programmed in assembly to perform the same functions. The PCB mask for the circuit is available for download.
The digital clock project designed for educational purposes incorporates a straightforward yet effective circuit architecture. The clock's primary component is the microcontroller, which in the original design is the 16F84 PIC, programmed in assembly language. This choice allows for precise control over the LED outputs, essential for displaying the time accurately. The redesign to accommodate a circular PCB simplifies manufacturing while maintaining functionality. The use of a Picaxe 18X IC in later iterations reflects the evolving preferences in educational programming environments, making the system more accessible for students and educators.
The multiplexing technique employed in the circuit is critical for managing the twelve outputs required for a standard clock face. By utilizing two transistors, the design efficiently switches between two banks of LEDs, resulting in a reduction of the number of outputs needed from the microcontroller. This approach conserves resources while ensuring that all necessary functions are performed, showcasing an effective application of digital electronics principles.
The physical design of the clock, featuring an aluminum tube casing with acrylic end caps, not only provides durability but also aesthetic appeal, making it suitable for classroom environments. The inclusion of a plinth for stability enhances usability, allowing the clock to be placed on various surfaces without risk of tipping over.
The additional requirement of a resistor between pins 3 and 5 serves as an important detail for circuit integrity, ensuring that the clock operates reliably. The distinction between the Picaxe 18X and 16F627 microcontrollers highlights the flexibility of the design, allowing educators to choose components based on availability or preference while still achieving the same functionality.
Overall, this digital clock project exemplifies an effective blend of educational utility, practical design, and robust electronic engineering principles, making it a valuable tool for teaching electronics in schools.A series of digital clocks, all with LED outputs, were created for the Electronics in Schools Strategy (EiSS) and used in several of the courses run on behalf of SETPOINT (now STEMPOINT) Devon & Cornwall for secondary school teachers in the south west. The original clock had two rows of LEDs that are just about visible on the centre of the image ( left). It used 16F84 PICs and the code for these was written in assembly language, the ICs being programmed with my parallel port programmer which can be seen in the Programmers section. Due to the expense and complexity of producing the acrylic cases for the original clock a more simple design was created based on a circular pcb board.
Again the PIC was programmed in assembly as this gave the option of allocating outputs to twelve of the ports and still leaving an input available for setting the time. The case consisted of a section of aluminium tube with an acrylic front and rear face machined to locate securely on the tube.
The acrylic faces also had a small plinth which allowed the clock to stand upright on a smooth surface. As schools gradually adopted the Picaxe PIC programming system, the pcb design above was modified to accommodate a Picaxe 18X ic.
In order to acquire the twelve outputs that are necessary for a clock face, six outputs from the PIC were multiplexed via two transistors to switch either bank of LEDs on, hence providing twelve outputs. The whole circuit was assembled in an identical case to that shown above. The PIC was programmed externally to the project in one of Revolution Education`s programmers. The two drawings above indicate the location of the components on the pcb. In order for the clock to work correctly an additional resistor has to be added between pins 3 & 5 - (see right image) This is the circuit diagram for the multiplexed clock.
A Picaxe 18X ic is required due to memory limitations on the other Picaxe 18 chips. A 16F627 can also be programmed in assembly to achieve the same functions. The PCB mask for the circuit can be downloaded here. 🔗 External reference
The device described can generate a complementary clock signal at frequencies ranging from 10Hz to 10MHz in factors of ten. It is referred to as the "10xHz clock generator," where 'x' is a number between 1 and 7. Additionally,...
This 6" x 18" clock requires 52 light sources and aims to enable individuals to read the time without glasses. For 25 years, the search for sufficiently large clocks that could be seen without glasses proved fruitless, leading to...
Used in electronic roulette or dice games, this circuit produces a clock signal that initially is several tens of kHz (depending on C2) and gradually decreases to zero in about 15 seconds, as C1 discharges through R4.
The described circuit...
The WWVB signal is broadcast as a 60 kHz carrier that is AM modulated with a time code frame that is updated once per minute. The data rate is one bit per second. Along with time code information, the...
The device is designed to promote respectful time management during meetings, particularly useful in ship-room or SCRUM meetings. The following is a list of components required, including links for purchasing specific parts. It is advisable to check eBay or...
The digital clock circuit is based on the MM5314N IC, which contains all the necessary components. The IC collaborates with six common anode displays, which can be selected in various dimensions by adapting the pins in the circuit. The...
We use cookies to enhance your experience, analyze traffic, and serve personalized ads.
By clicking "Accept", you agree to our use of cookies.
Learn more