Skip to main content

Posts

Showing posts from June, 2019

Up-counting 7-segment using Arduino

This project is about 1 digit 7-segment that is connected to Arduino. This 7-segment counts from 0 to 9 every 1 second The delay is optional and you can change it in the program. Firstly you have to define a string to show which pins of 7-segment will be on in every circle. It depends on whether your 7-segment is common cathode or common anode. For example if you want to write 7 in 7-segment you should turn on three (A,B,C) segments of it. turning on the segments does not mean you must connect it in 5v. It depend on your 7-segment whether it was CA or CC. Mine was CA so whenever I wanted to turn it on I connected that special segment to 0v or ground. Download link: https://drive.google.com/open?id=1XmKQOCeNbkfAc3I3XwSb8M4fwXhutfWX