4 Digit 7 segment display using Arduino

  Переглядів 120,684

Electronics Simplified

Electronics Simplified

3 роки тому

#display #digit #segment
Code:
www.electronicssimplified.in/...
Library:
www.electronicssimplified.in/...
(Please check the post for all the details. you will need to add the library sevseg before running the code)
The 4 digit 7 segment display in an intermediate level project for beginners. This project is mainly focused on how to connect the seven segment display with the Arduino and mBlock. Once you have learnt the connection and the logic of working. Nobody can stop you from reprogramming the segment display.
To get started we will need an Arduino (Uno or whichever one you have that would not make a difference). But ideally as the number of pins increase on our Arduino boards the capability is higher and better projects can be built.
Code : www.electronicssimplified.in/f...

КОМЕНТАРІ: 62
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
The code is updated. If you have any request on altering the code or using it in an application like a digital clock. Drop in your queries to electronicsengineering3@gmail.com
@pentosdso3757
@pentosdso3757 Рік тому
very nice but please turn the volume from the music a bit down
@yalcinketenci2107
@yalcinketenci2107 Рік тому
Great tutorial thank you. I have one question how to highlight the dots as well?
@GuilhermedaSilvaCaetano0095
@GuilhermedaSilvaCaetano0095 4 дні тому
Hi, can you help me i want to make the 4digits of 14 segmments of the microwave mef 33 connecting in the bluetooth if i touch the letter a for example appear in the 14 segmment display
@shortsvideolover3315
@shortsvideolover3315 Рік тому
Which is the ground pin in the display??
@mikey_spideyFT
@mikey_spideyFT Місяць тому
Breadboard
@swishwack5983
@swishwack5983 Рік тому
The code seems to have LOW, HIGH values inverted? f.e. number 1 has only pinC and pinB set to LOW, while those are the only pins that should be HIGH to make number 1. After reverting LOW to HIGH and vice versa it started to show me the numbers correctly. What am i missing? :D BTW thank you for the video and code - the best tutorial on the topic i found :)
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
You need to identify the type of segmented display you are using. Anode or cathode. Everything changes based on that 😄
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
In my video. I guess it's a cathode display (so all the values are inverted)
@victorianogubatan569
@victorianogubatan569 Рік тому
Can you upload a tutorial reading dc voltages between cells in 4 batteries in series?
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
Brother that's a very easy thing...
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
Brother that's a very easy thing...
@artelislt
@artelislt 6 місяців тому
Tysm for the code
@sharmisthakundu5877
@sharmisthakundu5877 2 роки тому
What are the values of your resistors you used?
@ElectronicsSimplified7
@ElectronicsSimplified7 2 роки тому
All 1k
@ColvocBlue_12
@ColvocBlue_12 2 місяці тому
You can use 220 to 330 ohms resistor for each segment pin
@laurenwithhart1076
@laurenwithhart1076 Рік тому
Can you make a functioning alarm clock?
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
Yes surely.
@sgayle
@sgayle Місяць тому
can you set it like a timer? like 2 minutes and connect it to a lightbulb?
@ElectronicsSimplified7
@ElectronicsSimplified7 Місяць тому
Yes the timer works as a perception of vision. If you want that video. Please email me at electronicsengineering3@gmail.com
@kevinmurphy3539
@kevinmurphy3539 9 місяців тому
Mine don't look anything like numbers. I rewired it again to be sure. What am I doing wrong
@yevinliyanage1534
@yevinliyanage1534 Місяць тому
same :((
@hi_beemo1808
@hi_beemo1808 Рік тому
usually it's 220 resistor not 200 : /
@PrishaNithisha
@PrishaNithisha Рік тому
I copied the code you provided on your website, but it is not working. It gives an error message as "SevSeg.h: No such file or directory"
@stellanlindrud7171
@stellanlindrud7171 Рік тому
You have to download the library, that is mentioned on the website right before you copy the code
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
Read the line above the code
@alexanderalt265
@alexanderalt265 Рік тому
Can it do negative numbers?
@marms1232
@marms1232 Рік тому
yup, if the variable inputed to the display is negative it will display a - symbol
@thisoldjeepcj5
@thisoldjeepcj5 Рік тому
Well explained tutorial. Thanks
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
Glad it was helpful!
@the_faraaz
@the_faraaz Рік тому
can u make a video explaining the code
@ct8463
@ct8463 Місяць тому
thank you sir for this amazing tutorial like and sunscribe
@electrogasm
@electrogasm Місяць тому
bro make a clock using this display
@girijagolla3663
@girijagolla3663 Рік тому
How can I execute without external library
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
Use a binary file of the code
@writingskills.1888
@writingskills.1888 11 місяців тому
Sir it is giving a compilation or library error.
@ElectronicsSimplified7
@ElectronicsSimplified7 11 місяців тому
Download the library from the link in the description. The link will take you to the post. But the post has a sevseg.h library on top ... Please download it ... And put it in your Arduino/libraries/ directory
@HallofWisdom
@HallofWisdom 2 роки тому
--- thanks but can you re-upload without the music? it's tough to hear you --- 16APR22
@ElectronicsSimplified7
@ElectronicsSimplified7 2 роки тому
I ll have a remake with another sensor and actuator
@debapriyaacharya7807
@debapriyaacharya7807 Рік тому
the code page not working
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
check now
@user-hf4ld9vn3u
@user-hf4ld9vn3u Рік тому
it says this: Failed uploading: no upload port provided what do i do
@basukhadka
@basukhadka Рік тому
connect Arduino
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
The USB could be faulty
@user-hf4ld9vn3u
@user-hf4ld9vn3u Рік тому
@@ElectronicsSimplified7 thank you
@no-one6450
@no-one6450 5 місяців тому
it's common-anode
@HongoSanti2
@HongoSanti2 2 роки тому
The code page doesn't work
@ElectronicsSimplified7
@ElectronicsSimplified7 2 роки тому
It's fixed
@vinodganve5655
@vinodganve5655 2 роки тому
Yes it is not working even in full network
@perinbanmohanraj9145
@perinbanmohanraj9145 2 роки тому
@@vinodganve5655 true
@HongoSanti2
@HongoSanti2 Рік тому
@@ElectronicsSimplified7 I don't think so
@ElectronicsSimplified7
@ElectronicsSimplified7 Рік тому
The code is a download file for PC and if that doesn't work. Now the code is on a webpage too, so you can copy it and use it. Cheers!!
@GuilhermedaSilvaCaetano0095
@GuilhermedaSilvaCaetano0095 2 місяці тому
Help i want to power up the 4 digits of 14 segmment display of the electrolux microwave mef 33 like the clock but with 58 on/off switchs like a flashlight 56 on/off switchs for a 4 digits of 14 segmment display and 2 on/off switchs for 2 dots , plis? Jesus love u🙏🙏
@ElectronicsSimplified7
@ElectronicsSimplified7 2 місяці тому
Please reach out to me via email at electronicsengineering3@gmail.com
@mateuszwiniecki4842
@mateuszwiniecki4842 Рік тому
its dont work :c
@toginokembrianm.8216
@toginokembrianm.8216 Рік тому
hmmm
@consultingprestig2096
@consultingprestig2096 Рік тому
Warning : the code you make this .. #include #include int pinA = 11;int pinB = 7; int pinC = 4; int pinD = 2; int pinE = 1; int pinF = 10; int pinG = 5; int pinDP = 3; int D1 = 12; int D2 = 9; int D3 = 8; int D4 = 6; void zero() { digitalWrite(pinA, LOW); digitalWrite(pinB, LOW); digitalWrite(pinC, LOW); digitalWrite(pinD, LOW); digitalWrite(pinE, LOW); digitalWrite(pinF, LOW); digitalWrite(pinG, HIGH); } void one() { digitalWrite(pinA, HIGH); digitalWrite(pinB, LOW); digitalWrite(pinC, LOW); digitalWrite(pinD, HIGH); digitalWrite(pinE, HIGH); digitalWrite(pinF, HIGH); digitalWrite(pinG, HIGH); } void two() { digitalWrite(pinA, LOW); digitalWrite(pinB, LOW); digitalWrite(pinC, HIGH); digitalWrite(pinD, LOW); digitalWrite(pinE, LOW); digitalWrite(pinF, HIGH); digitalWrite(pinG, LOW); } void three() { digitalWrite(pinA, LOW); digitalWrite(pinB, LOW); digitalWrite(pinC, LOW); digitalWrite(pinD, LOW); digitalWrite(pinE, HIGH); digitalWrite(pinF, HIGH); digitalWrite(pinG, LOW); } void four() { digitalWrite(pinA, HIGH); digitalWrite(pinB, LOW); digitalWrite(pinC, LOW); digitalWrite(pinD, HIGH); digitalWrite(pinE, HIGH); digitalWrite(pinF, LOW); digitalWrite(pinG, LOW); } void five() { digitalWrite(pinA, LOW); digitalWrite(pinB, HIGH); digitalWrite(pinC, LOW); digitalWrite(pinD, LOW); digitalWrite(pinE, HIGH); digitalWrite(pinF, LOW); digitalWrite(pinG, LOW); } void six() { digitalWrite(pinA, LOW); digitalWrite(pinB, HIGH); digitalWrite(pinC, LOW); digitalWrite(pinD, LOW); digitalWrite(pinE, LOW); digitalWrite(pinF, LOW); digitalWrite(pinG, LOW); } void seven() { digitalWrite(pinA, LOW); digitalWrite(pinB, LOW); digitalWrite(pinC, LOW); digitalWrite(pinD, HIGH); digitalWrite(pinE, HIGH); digitalWrite(pinF, HIGH); digitalWrite(pinG, HIGH); } void eight() { digitalWrite(pinA, LOW); digitalWrite(pinB, LOW); digitalWrite(pinC, LOW); digitalWrite(pinD, LOW); digitalWrite(pinE, LOW); digitalWrite(pinF, LOW); digitalWrite(pinG, LOW); } void nine() { digitalWrite(pinA, LOW); digitalWrite(pinB, LOW); digitalWrite(pinC, LOW); digitalWrite(pinD, HIGH); digitalWrite(pinE, HIGH); digitalWrite(pinF, LOW); digitalWrite(pinG, LOW); } void allNumbers() { one(); delay(500); two(); delay(500); three(); delay(500); four(); delay(500); five(); delay(500); six(); delay(500); seven(); delay(500); eight(); delay(500); nine(); delay(500); } void turnOffAllSegments() { digitalWrite(pinA, LOW); digitalWrite(pinB, LOW); digitalWrite(pinC, LOW); digitalWrite(pinD, LOW); digitalWrite(pinE, LOW); digitalWrite(pinF, LOW); digitalWrite(pinG, LOW); } void digit1() { digitalWrite(D1, HIGH); digitalWrite(D2, LOW); digitalWrite(D3, LOW); digitalWrite(D4, LOW); } void digit2() { digitalWrite(D1, LOW); digitalWrite(D2, HIGH); digitalWrite(D3, LOW); digitalWrite(D4, LOW); } void digit3() { digitalWrite(D1, LOW); digitalWrite(D2, LOW); digitalWrite(D3, HIGH); digitalWrite(D4, LOW); } void digit4() { digitalWrite(D1, LOW); digitalWrite(D2, LOW); digitalWrite(D3, LOW); digitalWrite(D4, HIGH); } void all4Digits() { digitalWrite(D1, HIGH); digitalWrite(D2, HIGH); digitalWrite(D3, HIGH); digitalWrite(D4, HIGH); } void setup() { pinMode(pinA, OUTPUT); pinMode(pinB, OUTPUT); pinMode(pinC, OUTPUT); pinMode(pinD, OUTPUT); pinMode(pinE, OUTPUT); pinMode(pinF, OUTPUT); pinMode(pinG, OUTPUT); pinMode(pinDP, OUTPUT); pinMode(D1, OUTPUT); pinMode(D2, OUTPUT); pinMode(D3, OUTPUT); pinMode(D4, OUTPUT); } void loop() { digit1(); zero(); delay(500); digit2(); one(); delay(500); digit3(); two(); delay(500); digit4(); three(); delay(500); digit3(); four(); delay(500); digit2(); five(); delay(500); digit1(); six(); delay(500); digit2(); seven(); delay(500); digit3(); eight(); delay(500); digit4(); nine(); delay(500); all4Digits(); allNumbers(); }
@Bandicoot803
@Bandicoot803 Рік тому
Sorry, but your voice is barely audible, the accent makes it harder to understand what you're saying, and - to top it off - the F(#)G music drowns it all! Please, re-upload it WITHOUT the nasty background music, will ya?
@rolanpereira7643
@rolanpereira7643 Рік тому
I will try to re-upload the file .. sorry for being inactive
@furiz1043
@furiz1043 Рік тому
my level of English is B2 and I still understand every word of it, I don’t know why the music and accent bother you so much
@Bandicoot803
@Bandicoot803 Рік тому
@@furiz1043 Well to your country's standard you state it's B2. BUt to U.S. and U.K. standard it barely makes a school grade D, if at all.
Arduino and the 4 digit 7 segment led display - Anything Arduino Ep 21
18:39
Kristian Blåsol
Переглядів 380 тис.
Visualizing Data with 7-Segment Displays
34:26
Sebastian Lague
Переглядів 1,2 млн
MINHA IRMÃ MALVADA CONTRA O GADGET DE TREM DE DOMINÓ 😡 #ferramenta
00:40
Парковка Пошла Не По Плану 😨
00:12
Глеб Рандалайнен
Переглядів 12 млн
I Trapped Myself in a Box with Colored Smoke!
00:50
A4
Переглядів 15 млн
LED Displays with Arduino - 7-Segment & Dot-Matrix
44:43
DroneBot Workshop
Переглядів 196 тис.
Designing a 7-segment hex decoder
15:33
Ben Eater
Переглядів 3,6 млн
You can learn Arduino in 15 minutes.
16:34
Afrotechmods
Переглядів 9 млн
inventor aw - This Device is very helpful ,, you can make at home
6:47
All About TM1637
8:58
Crazy Couple DIY
Переглядів 16 тис.
Learn How 4 Digit 7 Segment Displays Work
2:28
STEM Basics
Переглядів 104 тис.
MINHA IRMÃ MALVADA CONTRA O GADGET DE TREM DE DOMINÓ 😡 #ferramenta
00:40