I need to use 4 displays in only one decoder and dont know how to do it, im really new. If anyone could help pls
Which decoder are you using?
4511
apparently its called multiplexing, found a video by a indian guy and m gonna try
You need to know if your displays are common anode, or common cathode.
Then you can sequence the ‘common’ pin to select which digit you are driving
Once you look at the code involved, you might want to consider another IC,
x
which kind of help do you need?
- show your schematic
- show your code
- show the error message you get
- describe what it is not working
- link to all modules, displays ICs you have used
already find my way, if anyone have this problem, this video is very helpfull
(4) 7 segment display 4 digit by using multiplexer #sevensegmentdisplay - YouTube
The circuit in that video is bad, it will damage the Arduino. If you are interested in not damaging your arduino, we can help you understand what the problem is and how to fix it.
it works only in simulator. good luck.
The key to success with any microcontroller project, is to understand WHAT you’re doing - and WHY you’re doing it that way.
thats the project
Components:
4 7-segment displays.
1 7-segment decoder 4511.
1 DIP switch.
1 Temperature Sensor (for example, an LM35 or DHT22 temperature sensor).
Arduino Board (for example, Arduino Uno).
System functionalities:
The temperature sensor will measure the ambient temperature and send the data to the Arduino board.
The Arduino board will convert the temperature from Celsius to Fahrenheit or vice versa, depending on the position of the DIP switch.
The converted temperature will be displayed on the 3 7-segment displays, while the fourth 7-segment display will show "F" for Fahrenheit or "C" for Celsius, indicating the current unit.
The values on the 7-segment displays should be continuously updated to reflect changes in temperature and unit.
The DIP switch will allow the user to switch between Fahrenheit and Celsius, updating the display unit in real-time.
Assembly Instructions:
Connect the 7-segment displays and the 4511 decoder to the Arduino board to display the temperature values and the unit.
Connect the temperature sensor to the Arduino board to measure the ambient temperature.
Connect the DIP switch to the Arduino board to switch between Fahrenheit and Celsius.
now im having some trouble connecting the 4 displays on decoder, its turn on the first 2 and show the number 8, like lightining all doors
im doing on tinkercard first
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.