Counter Circuit DiagramsLCD-LED Display

Knitting Counter Schematic Circuit Diagram

Knitting always involves a lot of counting as you have to keep track how many rows you’ve knitted and how many should follow. This can, of course, be done with pen and paper, but it’s more fun with an electronic variant using a microcontroller.

Knitting Counter Schematic Circuit Diagram

 

This counter has the following functions:

• Switch S1 increases the counter by one.

• Switch S2 saves the current count in the EPROM memory of the microcontroller

• Switch S3 resets both the counter and internal memory to zero.

Switch S4 turns the device on and off. When it is turned on the display will show the value stored in the internal memory.

The display and counter function is turned off after about 5-10 seconds in order to improve the battery life. Pressing S1 turns the display and functions back on again. An LED shows when the circuit is switched on, even with the display blanked. A low dropout voltage regulator (LP2950) is used the get the maximum usage from a 9 V battery. At the heart of the circuit is a PIC 16F628A. The three digits of the LED display (a common cathode type) are multiplexed via the PIC. The software is written in PICbasic from Proton and can easily be modified if required. Since the author has only recently started with programming microcontrollers, the software has not made use of timers or interrupts. Despite that, the display is still turned off after some time, but this is achieved solely by the software.

The circuit is built on a standard experimenter’s board and the component layout was developed using the program Lochmaster from Abacom.

 

Tags

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button
Close
Close
Read previous post:
Soft AC Line Start Schematic Circuit Diagram

This circuit clearly falls under the heading “Why didn’t I think of that earlier?” Virtually everyone who works with electronics...

Close