Arduino UNO R3 to i.c. 74LS47 for 7 segment A.C. Display
code help for Hexa to 74LS47
Thanks
Arduino UNO R3 to i.c. 74LS47 for 7 segment A.C. Display
code help for Hexa to 74LS47
Thanks
Hello jack-eu
What is your question ?
Hello paulpaulson
Does the sketch exist ?
UNO R3 to c.i. 74LS47
Take a search engine of your choice and ask the WWW for 'UNO R3 to c.i. 74LS47' to collect some data to be sorted out to get the needed information.
The 74HC595 is a serial in parallel output shift register. It will do whatever you tell it to do with its capabilities. From your question you want somebody that is clairvoyant to determine what you want and what your problem is.
I'm sorry, my glass ball is in the dishwasher.
That is a question for Mr. Google.
If he says it does not, you can create one. If your sketch does not work properly, come back with all your questions and doubts, and I'm sure you'll get the help you need.
What is your level of knowledge in electronics and programming?
The 74LS47 IC is relatively easy to use.
It transforms a half byte into a value on the 7-segment display.
This library can help you build your own code.
It has examples of using this CI.
Good luck.
Tks, well for 1 to 9 it's ok; but to read on display 7seg the number 3 only , how select a number ?
Jackeu
Can you draw for us a picture of what you want to see?
Hello toddnz
Yes, I draw the synoptique for the next week.
In first time, A0 A1 A2 A3 off 74LS47 go to D2 D3 D4 D5 on the Arduino UNO Card;
but I want stop the scroll 0 1 2 3 4 5 6 7 8 9.
In input on UNO card, with others Enters , I want to be able to choose a number that will be displayed to it permanently.
But a reset also .
Big program .
Jack-eu
You want numbers to scroll on the 7 segment display. Then something happens to the Arduino, like a button push. Then the scrolling stops, and a number stays on the display.
Do I understand correctly?
I found some PDF information for you:
MespremierscircuitspilotsparArduinoUnoR3.pdf (321.6 KB)
I don't think it is perfect, but hopefully it helps. It shows Arduino and 74LS47.
toddnz tks for yours informations,
I going record your pdf and see this evening;
With the sketch from Post Nr #8, the numbers scroll on display ; I can read 10 numbers. 0 at 9.
That is well.
But with UNO R3 my plan is different :
display a number among 10.
For that, I want select this number in four inputs Pins (enters ) on UNO Card; I can use BCD code also.
Then no scrolling, but a number remain permanent; a switch Reset will be compulsory.
Good week-end
Jack-eu
If you tried the example sketch from Post #8, and it works for you, your solution is very close.
Look at this part:
void loop()
{
for (int i = 0; i >= 9; i++)
{
sevenSegDisplay.setNumber(i);
}
}
The code says "set number", from 0 until 9, keep looping.
You should move the "set number" line, out of "loop", and into "setup".
This changed code will say "set number only once, when reset".
For the Arduino to find which number to set, using your inputs, you should use digitalRead()
.
If you would like some information on digitalRead()
, I think there is a good tutorial at carnetdumaker.net
I understand that your requirement is to use 74LS47 and Uno R3.
To achieve your goal with Arduino is very possible, but there may be a more direct solution.
I am no expert, but I believe that CD4543B is similar to 74LS47. It has some technical differences, but importantly, it has a "latch".
You can set BCD on four input lines, but the display will not change until you set the "latch" pin. The display will remain, even after you release the latch pin.
Am I wrong or is the example wrong?
for (int i = 0; i >= 9; i++)
should be
for (int i = 0; i <= 9; i++)
Less than or equal to
Well spotted! It seems wrong in the original source.
Hello toddnz,
I read all yours links in French language. Post 12.
for the beginning of the sketch did you download this library ?
<BCDDecoderDriver74LS47.h
Jack eu
For this one:
No, it does not use BCDDecoderDriver74LS47.h
It explains how to use Arduino and 74LS47 manually.
Instead, BCDDecoderDriver74LS47.h
takes the same sort of technique from this pdf, but it makes it automatic, so there is less programming work.
Both methods are good options.
Hello toddnz
J'ai lu vos détails PDF
Vos textes sont traduits par google oĂč vous parlez le Francais car je traduit le francais. 5 annees en France at BREST City.
je vois les A0 A1 A2 A3 qui sortent de UNO Arduino vers lafficheur. C'est un défilement de chiffres permanent.
Moi je veux une solution en entree de UNO en broches 14 15 16 17 Analog enter déclarées Digital input et là je choisi un chiffre et je le vois sur l'afficheur 7 segments.
Peut-ĂȘtre vous avez compris.
je cherche une solution pour cela.
merci
Jack EU
Vos textes sont traduits par google oĂč vous parlez le Francais car je traduit le francais. 5 annees en France at BREST City.
Ah, sorry. My French is very poor. I only noticed that you used the word "synoptique", so guessed that it would be helpful to find French language resources.
je vois les A0 A1 A2 A3 qui sortent de UNO Arduino vers lafficheur. C'est un défilement de chiffres permanent.
Moi je veux une solution en entree de UNO en broches 14 15 16 17 Analog enter déclarées Digital input et là je choisi un chiffre et je le vois sur l'afficheur 7 segments.
Please post the entire code you are using, which generates scrolling numbers. Hopefully we can work together to modify it.