Skip to main content

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:

Comments

Popular posts from this blog

Star Delta Starter with Arduino Nano

This project about star delta connection for a three phase motor. I did'n have three phase induction motor so I used three signal lamp instead. In star delta connection first, star connection actives and then after a while delta connection will active. The time between star and delta connection depends on how powerful your motor is. In this project it is possible to change the time from 0 second to 100 seconds by potentiometer connected to A0. I used Arduino Nano instead of any industrial PLC. The outputs of the Arduino is connected to the relay board and then it is connected to contactors. Contactor is a devise that can connect three phase voltage to an induction motor. There is a video of how this circuit works. Download link: https://drive.google.com/open?id=1rkaE7WTPg93gEQ8l0ehYUHintUx-WcQG

Write on 4-digit 7-segment with keypad by Arduino Nano

This post is about how to use a keypad for writing on 4-digit 7-segment. The program can be used when you want to add number to your program. I keep the number into a variable and also it can be seen on your 7-segment at the same time. I did not use any special 7-segment IC driver and it is running just by refreshing all the time. You can also clear the number and add it again. Download link: https://drive.google.com/open?id=1e29RDuZhZqAuWE6OfeeHcSGl3NJpqpSV

Blinking LED by STM32F103C8T6

This post is about running a blinking LED with STM32F103C8T6. This code was written in MDK Version 5 - Keil. I used a transistor as a driver to prevent MCU from over current cause ARM CPUs work with 3.3v and can not provide high current output. I uploaded program with ST-LINK programmer. Delay is 500 ms and you can change it in the program. There is a simulation in Proteus. Download link: https://drive.google.com/open?id=1b5yuQiFmAGQk1EN5_WoC0AhpC-9L2_Co