Controlling Mechanical 7-Segment Displays?! How RS-485 and UART works! || EB#43
HTML-код
- Опубликовано: 19 окт 2019
- 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 RUclips 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 Наука
That sound of listening to mechanical clicks of these displays and even hearing the clicks of relay array is always a pleasure to hear🙌
More like a therapy.
Yep I'd be looking for excuses to add needless extra segment flips just to make it click - non numeric spinning wheel effects etc.
Poly-rhythmic relay click patterns are enjoyable to hear.
if you want to see some mechanical display + relay awesomeness, proto g engineering made a cool thing: ruclips.net/video/sk-_zzovMGY/видео.html
here is more: ruclips.net/video/sk-_zzovMGY/видео.html
This video isn't sponsored by JLC-PCB
Reality is often disappointing
This video is sponsored by ALFAZETA
@@labiadh_chokri It doesn't have the same ring to it.
Boring without JLCPCB commercial 😂
Hardik Monga I know
He's getting more and more insane with that "I will see you next time" thing. :D
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 ! 🤯
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.
Haha true :-)
Lol that's funny.
Lol
Very funny 😂
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.
Zev Hoover
Yup.
Zev Hoover
Yup.
I scream NOOOO every time!
True!
ajjaja me too
I don't know why, but the highlighter smearing your ink really bothers me on some fundamental level. Great video though!
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.
Yes, I wonder which rail enthusiasts managed to nab them. They used to make very solid clonking noises indeed.
@@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.
@@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!
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?
_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.
SarkyBugger I felt that way exactly
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.
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.
@@hackerman7835 at those prices why don't they just put a PayPal button on or something! I'd buy!
Absolutely brilliant - glued to the screen! Your patience and commitment is inspiring.
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
hackerman 7 Seg is 6.50 EUR for any qty...
Solitary Midnight for limited time they sell any qty for 1000+ price which is 6.50 EUR
@@marcinpkrysinski any quantity 1000+.... Yeah that's not any quantity if it's over a quantity.....
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"
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"
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.
@@hackerman7835 they are cool but too pricey just to buy to play with
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)
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.
You are THE BEST at this out right now. Thanks for all your work. Awesome! 👍
your vids are the best, man. can't believe i hadn't found your channel sooner
So cool those displays :) As always - nice video! And sound of switching.... lovly...
10 digits will never be enough for you GreatScott !
Billions of subscribers
Yeah, when the human population reaches 10 000 million, he will need an extra digit. Until then, it’ll be good enough.
This could’ve made a really bad ass 80s dashboard speedometer
This is pretty interesting especially since we just started messing with USART for our microprocessors course. I might make one of these some time.
Thank you for making this kind of videos it's priceless!
I want to use this as a clock on a school library. Great video!
That was amazing project you took scoot i just loved it.
I need those things in my life! So functional and direct.
Very Nice.
Also your explanation lead me to understanding another things as well. Thanks.
Kinda cool retro style tech, reminds me of the old alarm clocks!!
Liked the new fusion way of project and electronics basics video in one. Makes it quite interesting.
Thanks for the feedback :-)
I learn a lot with ur videos even many of them are for avanced dudes. Thanks brother
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.
Machst Sehr gute Videos. Einfach erklärt. Gefällt mir sehr💪🏽
you did really lots of work on this project
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.
Neato! Thanks for showing this in action.
The soul of the Marco Reps is in us.
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.
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.
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.
How much did you pay for it?
And is there a shop?
i think you have to contact them
@@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.
@@StreuPfeffer thank you!
And now you have red "black" highlighter... :) super video :) greetings from Poland :)
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?
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!
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.
Pondered the same thing! Figured I missed something (which, I obviously did but still happy I'm not the only one lolol.)
Very good! Really Nice Work! Congratulations!
one of the awesome videos i have ever seen!!! :)
Thanks! great video, now you made me want to have those mechnical displays too ;)
I must say, those displays are quite charming.
I love that sound.
Well I can use it as notification for great Scott video upload
Correct :-)
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.
Great Video Great Scott
Great project. Great scott
More than college education your channel gives me more information.
I have to say it is satisfying to look at.
Finally a new sponsore!!!!!!!!!
nice video teacher, always waiting for next, keep up, thanks
Another interesting video. I look forward to your uploads 😋🍺
Thanks :-)
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.
They look really nice
ohhh that was soo cool need a clock made like that with the secs displace clicking away
This video was awesome!
i got a electrical meter with rs485 output and 2 rs485 to ttl converters, but i cant figure the code for the mega 2560 or nanos out
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.
I thought the same thing.
SirBudrick they probably require a quick and rather insignificant pulse of current to toggle like most electromechanical displays of its type
Very Great explanation, thank you so much :)
OK, that's pretty cool. It just seems to me these displays call out for an analog driver. Thinking about how to do that.
Why the \xFE before \x00 ?
I have limited understanding, but isnt the port continously sending high when idle, and then begins when it encounters a low? So i get x00 but why the xFE?
Best
Amazing Video as always :)
This video is fantastic!!!
Your videos will be exciting!
Love these mechanical display... I'm working on a project that needs a bigger display, 10" - 12" height. Any recommendations?
With source driver common to all electromagnets, and sink driver to each segment, it's not clear how the coil polarity reverses in order to reset (darken) the segment.
This channel should have more Subs.
Alpha zeta is great, they sent me some displays to make a sub counter with as well. I designed my own controller as I wanted a challenge and ended up open sourcing the design.
Hey great scott, I would love your help with creating a DC voltmeter with bluetooth that sends its readings to a raspberry bi or arduino.
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...
Yeah, a new Video!
I personally preffer the look and sound of the Split-Flap displays, but this looks interesting and are quite a lot simple.
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 doesn't explain how the drivers supply reverse voltage / current to the segments you want to turn from ON to OFF though.
Presumably that is handled by the controller board. He is just programming to get a serial output.
@@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.
Yes every segment must have a H bridge or be connected between tow Logic output that can source and sink the appropriate current .
Hey, wich Multimeter do you currently use? Would you recommend it? And do you maybe have a recommendation for a meter for around 100€?
Orrrr, ....just tell the man!!!
Somebody need a snickers perhaps???
(
@@danielvalle3789 ikr I can't find the video
Can someone explain how the electromagnets keep their polarity without a power supply? Is there another magnet inside which gets flipped inside each of the coils?
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!
I hope you make a video of you making a custom enclosure for this!
What components do you usually buy like in the facebook post "refilling the bins". I am really curios because i want to buy components from Aliexpress. In my city an IRLZ44N is 1.8€
Hi nice display did you know how many cycle will last , and can you make a circuit to read the state of the display like old Magnetic-core memory
Great, now I have to get myself some of those :D
Really, really interesting! 😃
Your source circuit and darlington sink cannot reverse polarity of the magnets ?
is there any way to pull the exact subscriber count from RUclips? not the first 3-digit one
Please Upload a Video in Twitter where i can hear the clicking sound
It sounds so awesome
There already is one on twitter.
Oh man finally a real thumbnail
Muito legal esses displays.
GREAT 👍 SCOTT !!!
That sound for mi is beautiful
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.
Still being used in the show and theater industry for the DMX lighting protocol
Would love to see something like this in an alarm clock style.
so good video!
Hey, what about your wind turbine that you posted on facebook
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.
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
Hi.
Can build an ammeter(ac) and voltage(ac) wireless .
With arduino.
1:48 - 1:52 that's a great idea!
The sound that it makes so.........gooooooodddd
3:00 - what is the source IC used? It's very hard to find good source ICs! :(
Is there a cheap way to transmit rs485 signal?
Sorry for the kinda stupid question😅