Controlling Mechanical 7-Segment Displays?! How RS-485 and UART works! || EB#43
Ғылым және технология
Visit flipdots.com/en/products-serv... to get your own mechanical 7-segment displays! (flip-digits.com/)
Previous video: • Trying to build a crud...
Multiplexing video: • Electronic Basics #5: ...
SPI video: • Electronic Basics #36:...
I2C video: • Electronic Basics #19:...
Facebook: / greatscottlab
Twitter: / greatscottlab
Support me for more videos: www.patreon.com/GreatScott?ty=h
Useful websites which were shown/used during the video:
www.ti.com/lit/an/slla272c/sl...
www.circuitbasics.com/basics-u...
github.com/witnessmenow/ardui...
In this video I will be having a closer look at commercial mechanical 7-segment displays and find out how they work. Afterwards I will be creating a KZread subscriber counter with them and an ESP8266 by not only finding out how the control PCB for the display works, but also by learning about the RS-485 and UART interface. Let's get started!
Thanks to Alfazeta (flipdots.com) for sponsoring this video!
Music:
2011 Lookalike by Bartlebeats
Пікірлер: 556
That sound of listening to mechanical clicks of these displays and even hearing the clicks of relay array is always a pleasure to hear🙌
@sarmadrafique4472
4 жыл бұрын
More like a therapy.
@joinedupjon
4 жыл бұрын
Yep I'd be looking for excuses to add needless extra segment flips just to make it click - non numeric spinning wheel effects etc.
@reggiep75
4 жыл бұрын
Poly-rhythmic relay click patterns are enjoyable to hear.
@bexpi7100
4 жыл бұрын
if you want to see some mechanical display + relay awesomeness, proto g engineering made a cool thing: kzread.info/dash/bejne/pZ9hwdyzn9mzd7w.html
@MrQuanticox
4 жыл бұрын
here is more: kzread.info/dash/bejne/pZ9hwdyzn9mzd7w.html
This video isn't sponsored by JLC-PCB
@Rainbow__cookie
4 жыл бұрын
Reality is often disappointing
@labiadh_chokri
4 жыл бұрын
This video is sponsored by ALFAZETA
@josephhacker6508
4 жыл бұрын
@@labiadh_chokri It doesn't have the same ring to it.
@hardikmonga
4 жыл бұрын
Boring without JLCPCB commercial 😂
@anonymouspuppy
4 жыл бұрын
Hardik Monga I know
He's getting more and more insane with that "I will see you next time" thing. :D
@ArnaudMEURET
4 жыл бұрын
Those punchlines gimmicks are usually the last straw that pushes me to unsubscribe when a channel’s content gets repeatedly disappointing... Not that it has been the case yet with GreatScott but I still would love if he got rid of that annoyance ! 🤯
@PassiveDissimulation
4 жыл бұрын
Arnaud MEURET I think it’s funny! At least it isn’t the same every time. It’s his catch phrase.
How to stress out children taking a timed exam.
@greatscottlab
4 жыл бұрын
Haha true :-)
@AnthonyGoodley
4 жыл бұрын
Lol that's funny.
@girishradhakrishnan2699
4 жыл бұрын
Lol
@Glasshopper
4 жыл бұрын
Very funny 😂
@rich1051414
4 жыл бұрын
Gradually increase the volume, but slow enough to make the kids think they are going insane :) This is why I am not a teacher... the kids would need professional help after my class.
I can’t be the only one who starts twitching slightly every time he runs the highlighter over the black pen enough times that the black ink starts to run. Love your videos though man.
@glennlawrie-smith8570
4 жыл бұрын
Zev Hoover Yup.
@glennlawrie-smith8570
4 жыл бұрын
Zev Hoover Yup.
@DarkThanosGr
4 жыл бұрын
I scream NOOOO every time!
@TheInCaver
4 жыл бұрын
True!
@gglovato
4 жыл бұрын
ajjaja me too
I don't know why, but the highlighter smearing your ink really bothers me on some fundamental level. Great video though!
@martincerny3294
4 жыл бұрын
He does this on every video, it's triggering lol!
These kind of displays always remind me of the old clocks and departure boards in Britain, under British Rail.
@CTCTraining1
4 жыл бұрын
Yes, I wonder which rail enthusiasts managed to nab them. They used to make very solid clonking noises indeed.
@izzieb
4 жыл бұрын
@@CTCTraining1 I'm sure many did. I have fond memories of the old boards at places like London Bridge, making the distinct sound as the boards updated.
@SheeplessNW6
4 жыл бұрын
@@izzieb those departure boards are called 'split-flap' or 'Solari' displays, and there are at least a couple of companies who will sell you a new one. Well, I'm not sure whether Vestaboard ever stopped being vapourware, but Oat Foundry are certainly shipping. If you google for 'split-flap display' you'll find various hobbyists who have made their own!
@samuell.foxton4177
3 жыл бұрын
The station clocks in the UK were these, not split flaps
And to get a price you have to ask for a quote. :( why couldn't they put at least an MSRP or estimated price per digit? It would be good for them to offer a DEV kit for $XX dollars with 4 digits and uart board?
@sarkybugger5009
4 жыл бұрын
_If you have to ask, you can't afford it_ is the usual approach of companies like that. Screw them! They must be out of patent, so I'm sure there's a factory in China churning them out by the thousand, for a dollar or two a piece.
@PabloAymerich
4 жыл бұрын
SarkyBugger I felt that way exactly
@StephenHoldaway
4 жыл бұрын
Search for "ebay Ferranti Packard" on Google - I found it slightly cheaper to buy new-old-stock or used original displays. Alfa Zeta is manufacturing new stock of an existing design which is great for industrial customers, but for hobbyists the supply chain aspect doesn't matter. When I got a quote from Alfa Zeta in 2018, it was cheaper per unit to buy a dozen on ebay including shipping than to buy 500 new units.
@hackerman7835
4 жыл бұрын
to quote another comment: The pricelist i got when ive asked was 9 Euro for a 7 Segment without controller (as shown in the beginning) 24 Euro for a single digit controller (didnt ask for code to controlle it, wanted to use it as a base for my own design). And the Simple flipdots were from 4-12 Euro available. Just mail them, the reply was fast and informative when i asked some questions reguarding shipping and price. Hope this helps. Their page also shows some cool Projects they did with artists.
@beware_the_moose
4 жыл бұрын
@@hackerman7835 at those prices why don't they just put a PayPal button on or something! I'd buy!
PRICING FOR OCTOBER 2019: 7 seg modules: 9 EUR apiece for 1-99 pcs controllers: 21 EUR for 1-99 pcs 190 EUR for a bundle of 1x10 digits with controllers
@marcinpkrysinski
4 жыл бұрын
hackerman 7 Seg is 6.50 EUR for any qty...
@marcinpkrysinski
4 жыл бұрын
Solitary Midnight for limited time they sell any qty for 1000+ price which is 6.50 EUR
@dwild92
4 жыл бұрын
@@marcinpkrysinski any quantity 1000+.... Yeah that's not any quantity if it's over a quantity.....
Absolutely brilliant - glued to the screen! Your patience and commitment is inspiring.
You are THE BEST at this out right now. Thanks for all your work. Awesome! 👍
Hi Scott, I am debugging an RS485 design-driven by raspberry pi, before coming to this video I was tired upset because it was not working and it was 3AM in the morning. In your video you mentioned that the baud rate must to matched, then it dawned upon me that I must modify it and it worked. I guess when your frustrated you mess up even the most trivial things. Your video gave my cluttered mind a hint. Thanks a Ton, Scott, never stop making these videos.
your vids are the best, man. can't believe i hadn't found your channel sooner
This could’ve made a really bad ass 80s dashboard speedometer
Thank you for making this kind of videos it's priceless!
So cool those displays :) As always - nice video! And sound of switching.... lovly...
10 digits will never be enough for you GreatScott !
@graphenepixel8231
4 жыл бұрын
Billions of subscribers
@GRBtutorials
4 жыл бұрын
Yeah, when the human population reaches 10 000 million, he will need an extra digit. Until then, it’ll be good enough.
Machst Sehr gute Videos. Einfach erklärt. Gefällt mir sehr💪🏽
That was amazing project you took scoot i just loved it.
Hopefully china starts making these. I'm not buying from a company that won't tell you the price without "getting in touch with a representative"
@g00st62
4 жыл бұрын
Thats basicly just another way to say "way to expensive for you and dont even try to buy them if you dont need at least 5000"
@hackerman7835
4 жыл бұрын
someone ITT commented the following: Just contect their info@alfazeta.pl email address. The pricelist i got when ive asked was 9 Euro for a 7 Segment without controller (as shown in the beginning) 24 Euro for a single digit controller (didnt ask for code to controlle it, wanted to use it as a base for my own design). And the Simple flipdots were from 4-12 Euro available. Just mail them, the reply was fast and informative when i asked some questions reguarding shipping and price. Hope this helps. Their page also shows some cool Projects they did with artists.
@doublebulbing
4 жыл бұрын
@@hackerman7835 they are cool but too pricey just to buy to play with
@geomagpsz
4 жыл бұрын
I'm afraid that most of the times it works this way with industrial products :/ every time I have to do research to purchase components for a project is the same, I have to send s thousand emails asking for quotes (Usually they answer back with a huge price xD)
I really want to commend you on a particular detail of your videos... the time and effort you take, as a non-native English speaker, to slowly and clearly pronounce each and every word in your video. So many videos from people who are non-native speakers of languages are almost unwatchable because of how difficult it is to understand what they are saying. They have poor pronunciation, they mumble, and they speak way too quickly. It can be hard enough for some native English speakers to understand other native English speakers from different countries, but non-native speakers are other level of difficulty. However your efforts are absolutely wonderful. All your videos are very easy to understand. Thank you for making the effort.
This is pretty interesting especially since we just started messing with USART for our microprocessors course. I might make one of these some time.
Very Nice. Also your explanation lead me to understanding another things as well. Thanks.
I need those things in my life! So functional and direct.
Neato! Thanks for showing this in action.
The soul of the Marco Reps is in us.
Funny. I worked with Modbus Commands sent from a PC that got converted to RS-485 in my holyday job. I was controlling an Axis that moved a camera for Image recognition. I was coding an UI for it and now you´re making a video about it. Nice.
Very good! Really Nice Work! Congratulations!
I learn a lot with ur videos even many of them are for avanced dudes. Thanks brother
I love that sound.
We use a large 3 inch set of mechanical displays on our racing sailboat for important data. It's excellent, low power and most importantly doesn't have the visibility issues like LCDs with polarized sunglasses. Old tech but still the best in some applications.
one of the awesome videos i have ever seen!!! :)
I want to use this as a clock on a school library. Great video!
Liked the new fusion way of project and electronics basics video in one. Makes it quite interesting.
@greatscottlab
4 жыл бұрын
Thanks for the feedback :-)
you did really lots of work on this project
Ive found the company a while ago through another YT vid. got myself a couple 7 Segments and some flipdots. Also got a single RS485 segement, didn't get to them unfortunatly yet. Thanks for makeing it more clear how they are driven though.
@MrKugelkopf
4 жыл бұрын
How much did you pay for it? And is there a shop?
@felixwurm1467
4 жыл бұрын
i think you have to contact them
@StreuPfeffer
4 жыл бұрын
@@MrKugelkopf Just contect their info@alfazeta.pl email address. The pricelist i got when ive asked was 9 Euro for a 7 Segment without controller (as shown in the beginning) 24 Euro for a single digit controller (didnt ask for code to controlle it, wanted to use it as a base for my own design). And the Simple flipdots were from 4-12 Euro available. Just mail them, the reply was fast and informative when i asked some questions reguarding shipping and price. Hope this helps. Their page also shows some cool Projects they did with artists.
@MrKugelkopf
4 жыл бұрын
@@StreuPfeffer thank you!
Kinda cool retro style tech, reminds me of the old alarm clocks!!
Great Video Great Scott
Amazing Video as always :)
Great project. Great scott
Thanks! great video, now you made me want to have those mechnical displays too ;)
nice video teacher, always waiting for next, keep up, thanks
Finally a new sponsore!!!!!!!!!
And now you have red "black" highlighter... :) super video :) greetings from Poland :)
I must say, those displays are quite charming.
I have to say it is satisfying to look at.
They look really nice
This video was awesome!
This video is fantastic!!!
Very Great explanation, thank you so much :)
Muito legal esses displays.
Well I can use it as notification for great Scott video upload
@greatscottlab
4 жыл бұрын
Correct :-)
Yeah, a new Video!
Your videos will be exciting!
More than college education your channel gives me more information.
First saw the display and thought... I could optimise that code by storing (buffering) the state of every segment and then just flipping the segments that have changed. Then I look at 4:06 and realise that the code is already optimised. Nice.
Your videos have been very useful for me GS so i'm gonna tell you about a problem / project i've been working on... since I started studying electronics a year ago i've wanted to reverse engineer a mobility scooter / electric vehicle ESC, its a DC brush motor which is controlled by a single potentiometer which controls reverse, forward and braking, the trigger seems to act as a desired % of maximum speed, and the vehicle automatically accelerates or brakes to meet that % target. The boards seem to utilize a microcontroller, I would like to implement a similar system without. Firstly I am trying to make it so there are 2 pedals, brake and accel which will each give a 0 to 5v signal lets say, this is then compared to see which one is higher, which activates either braking or accel mode.... there will be two 555 timers creating the duty cycle for power or regen braking seperately depending on the pedal signal intensity. The issue im struggling with right now is trying to control the PWM duty cycle of 555 timer using just a single 0 to 5v voltage ( not a potentiometer ). My idea is to use MOSFETs to control the resistance of the charge / discharge portions of the 555 timer operation, but im having trouble fine tuning it so that the mosfet works properly as a variable resister, I have to compress the voltage into a confined range of about 2v to 3.6v it seems.
The control board seems a lot like a DMX controller for entertainment industry lighting, big Clive has some great videos explaining it. But DMX uses RS-485 to be able to control up to 512 lights and the 2 RJ-11 ports on the controller board is where I got this connection from because for DMX there is always 2 ports on each light so you can connect multiple in a chain.
Really, really interesting! 😃
As always Awesome!!!!
@greatscottlab
4 жыл бұрын
Thank you :-)
Another interesting video. I look forward to your uploads 😋🍺
@greatscottlab
4 жыл бұрын
Thanks :-)
This channel should have more Subs.
Another great topic, but I missed something. In one of the the diagrams, one end of all of the magnets in a digit are connected to a common source, and the individual segments are grounded by a darlington transistor pair. How do you switch between the two states; segment displayed or segment not displayed? Removing the power retains the existing state so don't you need to apply the power for state 0 and reverse the polarity to select state 1? How do reverse the polarity in this case without an h-bridge?
@raykent3211
4 жыл бұрын
Me too. I guess he used Darlington pairs to drive leds that needed more current than an ordinary logic chip can provide and he guessed that this was done here. But, as you imply, current can only be passed in one direction through a darlington pair and the muxing won't work. Most likely there's a number of mosfet H-bridges involved. There's a lot of chips on that driver board!
@valshaped
4 жыл бұрын
You might be able to get away with pulling the common line high and pulling only the electromagnet you want to load low? I'm not sure.
@danielvalle3789
4 жыл бұрын
Pondered the same thing! Figured I missed something (which, I obviously did but still happy I'm not the only one lolol.)
ohhh that was soo cool need a clock made like that with the secs displace clicking away
GREAT 👍 SCOTT !!!
so good video!
Love this display, but the companies site does not have pricing or a way to order :( would love to use these in a project on my channel.
OK, that's pretty cool. It just seems to me these displays call out for an analog driver. Thinking about how to do that.
Great, now I have to get myself some of those :D
I personally preffer the look and sound of the Split-Flap displays, but this looks interesting and are quite a lot simple.
So good 😍
It's a good thing they sent you a 10 digit display so that it can count up to ten billion subscribers. You never know!
This is some heavy artillery compared to just a 4511 or similar 7 segment decoder, but then again you would need multiple (10x) plus some kind of transistor as I suspect those coils draw more current than the typical LED seven segment.
@graphenepixel8231
4 жыл бұрын
I thought the same thing.
@manitoba-op4jx
4 жыл бұрын
SirBudrick they probably require a quick and rather insignificant pulse of current to toggle like most electromechanical displays of its type
Awesome 👌
RS485 used to be really handy in the pre-wifi days as you can run it really long distances with no loss of signal with a data speed of 115k. A company called Lantronix also sell a Ethernet to RS45 server device (UDS10), so you can drive RS485 on a ethernet based network.
@resneptacle
4 жыл бұрын
Still being used in the show and theater industry for the DMX lighting protocol
This is awesome
I hope you make a video of you making a custom enclosure for this!
That's nice display 👍👍👍👍👍
The sound that it makes so.........gooooooodddd
That sound for mi is beautiful
Please Upload a Video in Twitter where i can hear the clicking sound It sounds so awesome
@greatscottlab
4 жыл бұрын
There already is one on twitter.
That doesn't explain how the drivers supply reverse voltage / current to the segments you want to turn from ON to OFF though.
@popcorny007
4 жыл бұрын
Presumably that is handled by the controller board. He is just programming to get a serial output.
@paulturner5769
4 жыл бұрын
@@popcorny007 I was referring to the explanation of turning segments ON at 2:58 to 4:03, It is NOT like multiplexing LEDS which turn OFF when there is no power, these segments retain their state until power is applied in reverse.
@labiadh_chokri
4 жыл бұрын
Yes every segment must have a H bridge or be connected between tow Logic output that can source and sink the appropriate current .
Oh man finally a real thumbnail
I'm currently learning how the USART works in the Atmega328p in my ICT Engineering degree. The catch is we're learning to program the microcontroller in Assembly. We've yet to learn C and other languages. Assembly is pure masochistic.
Curious, how many attempts did it take before working properly. And do you remember the mechanical display that flips through the numbers? Also a very satisfying sound
That’s pretty cool
Bohot khub 👍👍👍❤️❤️
Thank you for useful information My next project And I facing some problems with my project DIY stair case light using pir sensor and arduino
Excellent..
Great video ......try modbus using rs485
Are we going to see the subscriber counter in videos from now on? I think that would be an awesome idea!
1:48 - 1:52 that's a great idea!
Até ano que vem!!!
I was waiting for it to hit 1 Billion. Dammit
Scott is now limited to less than 10 *billion subs
@SlykeThePhoxenix
4 жыл бұрын
Well obviously he's gonna drop the LSB when he hits 10 mil.
@tomf3150
4 жыл бұрын
More like 1.999999 billion.
Nice video Scott but I was more interested in large size led seven segments... I am miopic and was planning to build a large size digital clock so even in the middle of the night I can see time without searching for my glasses first... Can you please suggest me where I can get those...
Very nice...
Very nice video, do you know if these could be used with a openEvse?
Would love to see something like this in an alarm clock style.
Love these mechanical display... I'm working on a project that needs a bigger display, 10" - 12" height. Any recommendations?