(you are viewing a thread; or go back to
list of threads)
Analog to seven segment (by Samukelo Shezi)
I added a few lines on Jonathan's and MGP seven segment program to convert analog 0-1023 to 7 segment. Might be handy for beginers. Measure the Position of a Potentiometer.
I never constructed the circuit, but it looks ok under simulation ans oshonsoft simulation. I don't know if such a program already exists elsewhere in this webpage. If it is redundant, kindly delete this post. Thanks.
(no subject) (by Samukelo Shezi)
I added a few lines on Jonathan's and MGP seven segment program to convert analog 0-1023 to 7 segment. Might be handy for beginers. (See: Interfacing/Measure the Position of a Potentiometer.)
I never constructed the circuit, but it looks ok under simulation ans oshonsoft simulation. I don't know if such a program already exists elsewhere in this webpage. If it is redundant, kindly delete this post. Thanks.
(no subject) (by Magno Medeiros (Brasil))
Great friend for sure will be useful for many.
(no subject) (by Samukelo Shezi)
Thank you very much Magno Medeiros. Though I would have loved to make the program a bit compact by using a ladder equivalent of a
FOR....TO....STEP loop. I just haven't figured it out yet how to do that in ladder. Hopefully our wonderful, brilliant friends here will lend a helping hand.
(no subject) (by MGP)
Here you have a more compact program.
I've made this program a year ago for a speed control with an analogue tacho and have now added some commentary.
I respect your work, but you asked for it so ..
It works with all versions of LDmicro, it was made with V2.3
(no subject) (by Samukelo Shezi)
Hey MGP thank you my friend. I really appreciate. Your program is quite compact indeed. I see that it was basically a math problem. You were mindful that adding many times is multiplication, and subtracting many times is deviding. That is wHere I fell off the bus. Thank you so much.
(no subject) (by MGP)
Btw, you where asking...
".. using a ladder equivalent of a FOR....TO....STEP loop."
If you look closely at LDmicro, the "cycle time" is one big, time controlled, for-next loop.
Between the first line (for) and the end you can add, substract,X,/,...(the steps) and compare a variable to do something and then it jumps automatically to the start(next), no need to write"goto start or next".
A way of thinking.
floting point (by smei)
hello MGP HOW TO USE VOLTAGE MEASURE IN FLOATING POINT..EXAMPLE
1.200V,12.40V,24.60V.000.2V TEL ME
VOLTMETER (by smei)
hello MGP HOW TO USE VOLTAGE MEASURE IN FLOATING POINT..EXAMPLE
01.50V ,24.12V TEL ME....ITS POSSIBLE TO MAKE PROGRAM
(no subject) (by MGP)
You're going to need an amplifier to measure smaller voltages.
All you have to do is connect a 7seg.point with an output pin.
Also check this out.
http://cq.cx/interface.pl#7
(no subject) (by Samukelo Shezi)
Incredible! Again, thank you MGP.
Post a reply to this comment:
|