Part 1 reverse engineering the interface on the LED display of the Banshee Ultrasonic gas leak detector to make a MacGyver type countdown timer THING (for demonetisation purposes).
This will be a choose your own adventure project, I don't have anything planned, so let me know what you want to see!
Full video with reverse engineering journey: https://www.youtube.com/watch?v=GybWs0U8nAU
Forum: https://www.eevblog.com/forum/blog/eevblog-1491-the-macgyver-project-part-1/
Support the EEVblog on:
Patreon: http://www.patreon.com/eevblog
Odysee: https://odysee.com/ @eevblog:7
Web Site: http://www.eevblog.com
EEVblog2: http://www.youtube.com/EEVblog2
EEVdiscover: https://www.youtube.com/eevdiscover
AliExpress Affiliate: http://s.click.aliexpress.com/e/c2LRpe8g
Buy anything through that link and Dave gets a commission at no cost to you.
Donate With Bitcoin & Other Crypto Currencies!
https://www.eevblog.com/crypto-currency/
T-Shirts: http://teespring.com/stores/eevblog
#ElectronicsCreators #MacGyver #Project
This will be a choose your own adventure project, I don't have anything planned, so let me know what you want to see!
Full video with reverse engineering journey: https://www.youtube.com/watch?v=GybWs0U8nAU
Forum: https://www.eevblog.com/forum/blog/eevblog-1491-the-macgyver-project-part-1/
Support the EEVblog on:
Patreon: http://www.patreon.com/eevblog
Odysee: https://odysee.com/ @eevblog:7
Web Site: http://www.eevblog.com
EEVblog2: http://www.youtube.com/EEVblog2
EEVdiscover: https://www.youtube.com/eevdiscover
AliExpress Affiliate: http://s.click.aliexpress.com/e/c2LRpe8g
Buy anything through that link and Dave gets a commission at no cost to you.
Donate With Bitcoin & Other Crypto Currencies!
https://www.eevblog.com/crypto-currency/
T-Shirts: http://teespring.com/stores/eevblog
#ElectronicsCreators #MacGyver #Project
Yeah, the timer is set to tilt the dish with the mercury. Four and a half minutes. Yeah, we got to get inside and stop that timer. Hi quite a lot of people wanted me to do a follow-up video to this uh, gas leaky jar detector, tear down which got a lot of views and uh, I asked in the comments there if you'd like me to see me.
Actually, I'm doing a project actually getting this uh display in here. this uh, five digit seven segment Led display to light up and well, I'm not going to use the magic bomb word because that could get detected by the Youtube algorithm and demonetize me. So anyway, I'm that's this is what I'm going to do. Uh, we're going to do a project actually driving this display and uh, seeing if we can have some fun having that like a countdown timer and a lot of really good uh suggestions in there for all sorts of stuff like you know, if you try and move it or whatever movement sensor it, it counts down quicker and stuff like that and it ticks and does all sorts of, uh, weird and wonderful things.
So yeah, we can, um, call it the Macgyver uh project I guess at this stage. but if you've got a better name, leave it in the comments down below for this that a better name. that's not going to get me flagged on the Youtube algorithm. So anyway, this is, uh, part one where we're going to reverse engineer the board in here and see what the interface is because we might as well reuse the board.
like I could design a new board that goes in there. But what's the point? Like, we've already got the board, it's already done and dusted. so we can just design a board that actually plugs into here. But we need to know what the pin out here is and like how to actually drive this thing.
So that's the point of this video. and it just sits in here. and we've already got like this nice little foam surround here like this. We've got an infrared, um, a transmitter and an infrared receiver as well so we can actually, uh, control this remotely.
And of course, there's tons of room in here for like a huge amount. like a big large primary battery. None of that rechargeable rubbish is even though they're lead displays. If you've got a large primary battery pack in there, it'll last for like, you know, well, a decade.
Well anyway, we can measure the current. That'll be another video and you know, just seeing how much up power this thing's actually going to take. But we've got a five digit, seven segment Led uh, display there. This is part one.
a video. We're going to look at reverse engineering this and you can see due to the shine on the board, that means it's conformally coded. Anyway, I'm going to whack this in the do-it-yourself light box, which I'll link in up here and down below if you haven't seen it. Um, and we'll get some high-res photos of this and then we'll do some reverse engineering.
Let's go. Okay, so we've got the board out here and as it so happens, this is actually the second time I'm recording this because I recorded a full 50 minute version of this video. I was going to release it, but I thought maybe it's too long because there's probably two types of people who are watching this video. One is those that want to see like my process actually reverse engineering this and that's what's in that 50 minute video. And there's quite a few surprises in here actually. and I'll talk briefly about them here. But if you want to fully see the full reverse engineering 50 minute video, I'm going to release that on my Eev blog 2 channel. so that'll be linked in down below and up here.
Go and check it out. And I'm releasing a ton of content recently on Eevblog2, so if you're not subscribed over there, I've already passed 100 000 subscribers, but there's a ton of content over there you're missing out on. Anyway, here is the board here. There we go.
isn't it cute? And we're going to drive this sucker. So we need to reverse engineer and get the pin out for uh, this connector up here which is a 10 pin flat flex jobbie and as you can see here, um, each seven segment display here gets its own driver chip and these are seven four Hc 164s. These are classic jelly bean serial shift registers so these are not latched as we'll go into in a minute. So each one of those is dedicated to a seven segment display plus the decimal point.
So where it was, we need eight outputs and this is an eight bit shift register. So you feed data in and actually this is the data input pin over here, pin one and two on the chip and then you can see that it actually cascades out to the next so from the previous chip out to here. So you have to feed in serially, eight bits into here and then shift it, shift it. So if you want to turn on eight segments over here, you've got to feed in your 8 bits into this chip and then clock it all the way through until it gets over to here and there's no output latches so you have to blink the display which we'll talk about shortly.
But anyway, so there's not much on here. So this connector basically has clock and data for uh, these five driver chips here and uh, we've got an infrared uh receiver here and an infrared transmitter led here. This here is just one of those modules so it's got the modulation circuitry or demodulation circuitry and everything built in and it's just a single data line out of that thing and we've got some filtering here. This is filtering for the digital rail, this is filtering for the Uh receiver and this is uh, just some decoupling filtering for the Uh Led drive because they actually have separate supplies and we might go into it.
Then we've got a driver there which just drives the Um infrared transmitter lead here and Bob's your uncle, right? So it's very simple now and all this shiny stuff here. this is actually conformal coat and you'll see in the other video. I had a bit of problem actually probing these. You need really sharp probes to pierce through the conformal coating. otherwise you can't actually get chemicals to actually, um, you know, strip it away either selectively or the entire board. but just sharp probes to get through so you could come a gutsy there if you don't Really, you know you could miss probing points when you're reverse engineering something like this. So a brief look at what we've got here: the 74hcr164 Classic Jelly Bean 8-bit serial shift register and it does not have an output latch like you might get on, say, the 595 for example, which is much better. So as you can see here, we've just got two data inputs here.
That and gate just helps here for various circuit configurations, but in this particular case, you saw it there. The two pins were tied together and the data just gets shifted through from the D input to the Q output on this flip floppy here. every time your clock pulse goes positive and you can tell you don't even have to look up the table above here which is the state table here to. Actually, I get this because the clock pulse input there's no knots on there.
There's no not on there and not is a that little circle with an inverter like you can see here on the Mr and the master reset pin here. so you know if there's no, it's just buffering straight through into the clock. It's positive edge triggered. so on the positive edge, the data on the input pins one and two here gets shifted to Q0 and then you do another clock pulse.
it gets then whatsoever is on Q0 here gets shifted through to Q1 and so forth. It just gets shifted through and through until you get to the output. Now the problem with this of course is that when we actually, uh, want to drive this thing, um, when you're shifting data through, if you've got this connected to your Led display and it's on, then you're going to see this data shift through Now of course you can actually shift it through like really quickly like in a millisecond and then you could like have it displayed for 999 milliseconds for example and then shift it through again. You know, however quickly you want to update the data in the display or you can only update when it's changing.
But yeah, technically You will actually see that data shifting. so you want to actually do some sort of display blanking usually. And the seven segment displays for those playing along at home are some old Hp jobbies Hd Sp U113, and if we go over to here, we can actually see that here we go. Here's the data sheet.
these are Hp ones, and we've got the U113, which is this one here? Like this, their common cathode, right hand decimal, black surface, and sure enough, yep, right hand decimal black surface. That's exactly what we've got now. of course, the one thing you won't find on this board are any dropper resistors for the lead display. And here is one of the first quirks with this design and interfacing with this: because we want to design a board that just you know, interfaces over here. But it's not that simple. There's no lead dropper resistors in here. Look, there's none. So it's connected directly up to the chip and spoiler.
alert. Here is the schematic and well, you know it's it's. the pin out for this finished board here. So this is the 10 pin connector here.
Pin one here. Pin 10 over here and we've got Vcc data and clock and ground here on two, three, and four. So they all go to the Vcc, goes to the rail and chip. I don't know whether it's not three point three, or five.
We'll talk about that in a minute because it's going to make a difference how we actually power this thing. So this isn't a full schematic. What I haven't shown here is that the infrared transmitter has got its own Vcc. It's got its own Vcc pin.
Um, and then that's actually filtered. That's got one of these uh filter cap. I think it's that one there. and that 47 ohm resistor there.
Um is the filter for the infrared transmitter. And then that. we get the data back on. Uh, pin six here.
So that's the infrared data coming back in like this. Actually, that should be Ir Tx on there. Um, so what happens here? Here's here's my original one, which you'll see in the other 50 minute video here. They've actually this is the driver transistor over here.
Q1. Okay, and they're driving that. I don't know why they have a pull down resistor there. It's kind of redundant.
But yeah, Pin one up here is actually supplying the power separate power to the infrared lead up here. So maybe they're actually driving those at their five volt rails. And the digital uh chip is the Vcc. The Vcc here is Uh.
3.3 I don't know. I haven't actually measured the main board which we've got here. So anyway, and I also didn't draw the common cathode pin there. So the common cavito pin.
These are all joined together. Okay, so all the displays from the common cathode pins, they're all joined together on the five displays and they're going back to pin eight here. which is, um, the common cathode lead. So there's no dropper resistors at all on this board.
So so if we supplied our Vcc and our ground and we did clock and data, we'll be able to shift data into here and and the displays will light up. Um, they could be a bit bright or a bit dim depending on how many segments we actually have turned on. Because in a good design you want you would have an individual Led dropper resistor on here and I they've got room on this board. They could have added a lead dropper resistor on there.
I don't know what they didn't they've got Smd here. They could have added like little Smd dropper resistor arrays and stuff. Like you know, price has no object for this uh, product as you've seen in the tear Down. So yeah, so that's really piss-poor design by not adding the lead dropper resistors in there. Um, and then you could have had one, uh, lead dropper in. You know, it's not that uncommon to find just one dropper resistor in series with each display. so you could have had like, if you didn't want 40 resistors on there, you could have had just five resistors and just had one series lead dropper on here. But the thing is, it depends on how many segments you turn on here, as to how many segments turn on, and if you've got the one dropper resistor.
Well, the current has to be shared between the different segments. So if you turn all eight segments on, including the decimal point, then you're going to get 1 8 of effectively 1 8 of the current that you get if you just turn on one segment, because like, they're all essentially the same voltage drop. So the series resistor would be calculated on the voltage drop and the supply voltage and any Rds on on the output mosfets inside here. But so you could do it that way.
But they haven't even done that. They've got. No, they've just connected all the common cathodes together and taken them back here and what they've done over here very briefly. More detail on the uh, other video is this: uh, they've got an another Npn uh, transistor here, right? which goes down to ground, and then they've just got a series, uh, base resistor there and that's on the common cathode pin.
I don't know what that part number is, what that part is. Anyway, it's basically an Npn transistor that goes down to ground with a base resistor on there. And yeah, you could actually bias that. So it's like partially on.
So in theory you could, actually, um, you know, control. It's not constant current. Okay, it's This is not a constant current circuit, but you could actually control the current. But as I said, all that current is shared between all five displays on here.
Forty five eight to forty forty different lead segments have to be shared through that one transistor there. So yeah, and this is supposed to be an outdoor readable display as well. So you would think that they want you know a decently high current, so I don't know how the heck they're doing it. But anyway, because this is under software control, you can actually, uh, pulse with modulate this thing so they could be doing some sort of Pwm in, but you would have to blank it when you actually, um, shift the data in.
The problem with the Hc-1664 is you can see the Q output here. It just goes to the output buffer. This is not designed. this chip's not designed for.
um, have a cascadable output. Okay, which some good, uh, shift registers that are designed to be cascaded. They will actually have that pin will go out to another pin so it's buffered. Um, so it'll go out and you know, cascade to other chips.
But in this case, no, we have to take the output from Q7. So what we have to do here is the data has to be tapped off here for the next chip and then so on for the next chip. But if you're driving current out of this segment here, then you're going to get a voltage drop on there which could impact the data that's being read by the next chip. So you want to be careful with that. So what is the output? uh, resistance, output resistance of the Uh output high side mosfet Um, inside these things? Well, data sheets like this and for 74 series logic, they won't give you or 4000 or whatever it is. they won't give you an Rds on because that's just not a thing. These are not designed to draw a significant amount of current, but you can actually calculate it using Voh, which is the high level output voltage here. And if we go, say take 4.5 volts here for example.
Okay, why that might give you five. It's really annoying Anyway, if if we got a 4.5 volt supply voltage, okay, the typical output here, we could actually take worst case of 3.98 But let's let's actually take the typical figure of 4.32 volts so we can actually get our confuser out and we can go 4.5 volt which is the supply voltage minus 4.32 which is 180 millivolts, 0.18 volts and then divided by 4 milliamps which is our output drive which is specified for and that's 45 Ohms. So yeah, it's 45 ohms effective output resistance at 4 milliamps drive like this, but this can change depending on how many Uh outputs are being driven and at what current it's being driven and all sorts of things. so you know, as and so as I said, like at worst case, if you want to take worst case, it's you know, almost f you're four and a half volts is dropped.
half a volt to four volts here. Um, and the thing is, here's another trap for young players. Okay, if you might look at your data sheet and go, Oh, look at this. continuous output current I can drive plus minus 25 milliamps I can have.
I can drive these leads on here. I can drive 25 milliamps per lead. Whoa. that.
Yeah, we'll really see those in daytime doesn't work like that. Yeah, one single output can supply 25 milliamps. But what's the continuous current? Next line here. Continuous current through Vcc.
50 milliamps. You can only drive two outputs at the full rated I O current. there. you can't drive all eight, so that's really annoying.
Okay, so so when we drive this thing, okay, we have to, um, keep in mind how much current we're taking per pin and the entire like. the whole chip can only take 50 milliamps. That's its absolute absolute maximum ratings. So if you exceed those, you can come a gutter.
Don't do it. So yeah, they're the things that we have to consider. Now that we've got our pin out and being able to, uh, drive this thing, we have to decide what we're going to do with the constant current. Lead Drive here.
Um, how we're going to actually do that? As I said, you can't just hook up like a constant current circuit because well, that's fine if you want to drill one lead. But then if you turn all 40 leads on, let's say you have a constant current at 20 milliamps. Okay, nice bright lead, right? No worries. Um, you turn on all 40 of them. That current has to be shared. Kirchhoff's law must be obeyed. Kirchhoff's current law must be obeyed. I've done a video on that.
Um, so that 20 milliamps gets divided by 40 and suddenly you've got half a milliamp per segment. And and they're just piss weak output. So honestly, I don't know how in this actual original Banshee ultrasonic gas leak detector design, how they're actually getting like the all five displays on for, um, like at an outdoor brightness level Like you know you'd want to be driving these at like at least 10 milliamps or something per segment. And if they're like, you just can't even you know Pwm in isn't going to save your bacon.
If you got all those segments on, you could easily exceed the maximum current of your 164 chips. So yeah, this is. this is a really bad design. This is really piss-poor Like, at the very least, you would have had one drop a resistor per uh, you know, segment, right? So like you'd have five resistors on there for the for the sake of five resistors.
I don't know what drove them to. I'm here all week. What drove them to, uh, like implement it this way. It's it's just nuts.
So we can actually get the specs here for the lead here and you can see it. 20 milliamps there. The voltage drop is 1.8 volts and that goes down to 1.6 volts forward voltage drop at a lousy one milliamp here. So if we go over to what we've actually got here, as I said, we've got the five displays like this, which go up to the output pins of the 164s.
Okay, and they go directly to Vcc, so let's just ignore that. You know, on resistance, uh, kind of thing, right? Let's just assume that you know the nice and grunty output drive and it's going to give us exactly 5 volts or 3.3 volts output, right? And we've got 1.8 volts and even 20 milliamps down to one point. and it goes down a little bit with, uh, current. And but they've tied all of these pins together like this and so we've only got the one pin output that we can do something with and you just like.
And this is what they've got on the board. Here is just they don't even have this resistor here. Okay, they've just got this. and of course.
um, you know if you want to shift the data, this can be used as a blanking. so you switch the transistor off, pull this low, it's not turned on, and then the displays don't display anything. so you've got your blank in there so you can shift in your data. and Bob's your uncle, right? But as I said, you've got 40 segments, eight leads in each one times five, forty of them.
And as you saw in the data sheet, you can only have 25 milliamps maximum output. So let's say 20 right to make the numbers easy. so you can have your 20 milliamps here. Okay, you've got because you've got to a like worst case. Okay, you can't exceed that one pin. Worst case up here. Okay, the one pin can. I know it can drive more? Okay, it's not.
It's not a hard and fast limit, but look, you know, come on right? Um, let's just say it's 20 milliamps though. Let's just say you got it. The magic smoke's going to be released if you go over 20 milliamps. so you can't have more than 20 milliamps coming out of one pin.
And if you decide that you want to turn all the segments on at once, then that 20 milliamps has to be shared between 40 pins. So they can stand a half a milliamps. There's no way around it. And then you've got to rely on the matching of the matching of the voltage drop because you've got no current sharing resistors in there.
Even although you effectively do, it's called the output on resistance now you know. So the output on resistance of the 164s is kind of like an acting like a like a ballast resistor as it's called a series ballast resistor which helps share the current. You know. as a general rule, it's naughty to put just leads in parallel because they don't share current evenly.
They have to be matched at the semiconductor level and there can be differences in the doping and all sorts of you know, semiconductor physics, physics-y things. Um, but if you get them from the same batch, they're reasonably matched and stuff like that. But yeah, generally you want a series resistor in there, a ballast resistor to at least help share the current evenly between the leads. But yeah, like there's no way around it.
If you want to turn them all on at once, then yeah, you're down a half a milliamp per segment. Um, it doesn't matter what you Pwm here, you can't just go. Oh, I'm going to Pwm and drive these at hundreds of milliamps and okay, you want to blow the output if you're 164. go for it.
And even if you do some constant current circuit like this, you know. constant current. Dummy load. I've done the video on that's very popular.
everyone's almost certainly seen. Even if you do constant current, it makes no difference. I mean, it's just there's nothing going on here. now.
It might help of course to power the 161s from 3.3 volts instead of 5 volts because they can work. Hc series could work out at 2 volts, so no worries there. So what value do you have to like? A drop a resistor down here for one segment? Just one. If you power it from uh, 3.3 volts here, then you've got the ballast resistor up here.
But let's just ignore that. Let's say you've got 3.3 volt supply. It's a one point. so 3.3 volt supply minus your 1.8 volts on your lid.
So what does this resistor here have to be? Well, let's say you want 20 milliamps current flow? then divide 20 milliamps and get your confuser out. Uh, work out that and that's equal to 75 ohms like that. So yeah, you know, so you want a 75 ohm resistor in there to give you that, uh, nominal 20 milliamps at 3.3 volts ignoring any drop in your 161? But um, then as I said, you start turning on the other segments and the current must be shared. Kirchhoff's current law. Yeah, so this kind of like, really sucks. We're sort of like stuck with a meh, um, display, so I don't know. Like the only other way to do it would be, well, not turn on all 40 segments at once. They might actually be multiplexing the displays.
You could actually multiplex them. You might go, um, well, okay, let's multiplex one display at a time. and then you're just constantly shifting stuff all the time. You blank shift, blank shift, blank shift, and then uh, you know, and then turn on.
You know you might turn on each one of these for 100 milliseconds or something like that. You know, 200 milliseconds For example, you might turn on each one of these digits and then shifting the data real quick. So I think, um, that's really the only way where the only way forward really is to like, like, multiplex these displays to ensure we don't have all 40 on at once. Like if we can limit it to one, uh, like, one segment, one display at a time, then we've uh, reduced our complexity our, uh, problems by a factor of five.
So you know, one, one fifth the problem. So then we could, easily. you know. But yeah, if you just have them all at once with 40, you, you're screwed.
I mean, there's nothing we can do really. So yeah, um. so if we want to use this actual display unless we redesign it or budget in with dropper resistors or whatever, um, then yeah, I think we're probably going to have to drive. You know, if we want decent brightness out, we're going to have to drive like one entire segment and then multiplex And that makes it more complex and interesting I guess.
Um, especially if you're doing it with uh, discrete logic. But yeah, cool huh? So anyway, um, we want to do a project reusing this board. So yeah, we we we have to deal with this thing so we're going to decide how we're going to do that. Leave it in the comments down below.
how you think we should best approach this. I know there's people that say, just read it, re-spin this board, Just re-spin it. What's what's the big deal like? I think it's the principle of the thing. Um, that we want to reuse it Anyway, thoughts and comments down below.
Please and I want to know which direction you want me to take this project. Uh, we're just talking about this on the Amp Hour this morning with Chris Gamel and we can go several directions. In fact, we don't have to pick one. We could pick multiple.
We could do multiple projects. You can have one project over here which is all all discrete. We can drive this discretely using discrete 74 series logic. or we could. Well, that's option one. We could do option two, which is, uh, use a Pld or an Fpga or something like that to actually drive it. Once again, you're using discrete gates to actually do that. Option three is just a mic and throw any Joe Blogs micro controller.
Do you want to see the three cent pedal? Do you want to see a bloody armed thingamabob? Do you want to see a pic? Do you want to see an Avr? What do you? What? do you want to see? Um, an interesting fourth one, which was brought up on the Amp hour today, was that we could do like a that Raspberry Pi microcontroller that new Joby, not the raspberry Pi itself, but the micro controller version was Rp 40 something. and that's actually got, um, logic output. Um, like a little configurable thing of logic output. So maybe this might be an interesting project for something like that.
So it's not just entirely software driven. We're kind of like you're doing a little hardware output thing. Let me check the data sheet on. Yeah, here it is here.
Um, there are two identical Pio blocks. Each Pio block has dedicated connections in the bus fabric. So yeah. okay.
so we've got like state machine Zero. So they've got little state machines here. Looks like they've got four state machines and then you can map those over to um, Gpio. just your regular I O outputs.
you know? So maybe you know maybe we could do something like that? I don't know. Anyway, leave it in the comments down below. How you want me to take this project. I may, of course, uh, decide to ignore the crowd and I just do my own thing.
Whichever interests me. But don't know. Please leave it in the comments down below. If you've got where do you think, Like if everyone says I should take it in A, you know, yeah, Discreet? Yeah.
74 series logic? Yeah, um. and we can just drive it with 74 series logic. or uh, yeah, I you know. And no, no Internet of Things Wankery? please.
No freaking Wi-fi either. No, none of that rubbish, right? Um, I just want to drive this thing and maybe have a couple of you know interesting things like a tilt thing if it you know counts down faster if you tilt it or rock it anyway, leave your ideas down below what I can do with this thing. So anyway, I hope you liked that video. As I said, there's a 50-minute version um of this which basically is me going through reverse engineering this and going through a bit more detail in the data sheets and um, other design aspects and um, stuff like that.
Because this was interesting. When I finally like, I assumed that this thing was designed a certain way and and it wasn't like I I did not see this coming like that. It would have common cathode, you know all this and then be driven over here and it's just yeah. um very interesting Anyway, like it.
Give it a big thumbs up. as always, discuss down below. catch you next time.
Unfortunately Youtube has gotten past that stage where spelling the word out has any affect: The auto-captioning clearly understood as it didn't have any spaces in between the letters!
microcontrollers are easy, do it all analog. Make your own logic using discrete transistors or ICs, just like the old days. Even a generic uC like one on Pi pico or Arduino nano or the stm32f103 bluepills have enough gpios that you can get away with using all the gpios for driving each segments and not using any shift registers at all, or other multiplexing magic. so that's that. Unless youre using a uC to run a program that is used to drive 7segments to consume least possible current for displaying the best lit number in bright sun, using every bit of processing power to multiplex, then that makes sense, otherwise for fun, go all analog.
Id just take some ribbon cables off of the LED display segments over to a new driver board. So "technically" the original board was reused, and would allow different types of driver boards, with what ever fun features to be built. Easy.
Wipe off the crappy driver chips, solder on ribbon cable and do the seven segment drive in a non hacky way on the board for whatever microcontroller will probably run the thing.
Keeping the brightness constant is an interesting problem for this board. One way is to have the uP work out how many segments are on and adjust the pwm from the CC for the number of segments on at any one time – a look up table or a on the fly counter bit of code. Still no compensation for variation between segments but better than nothing.
I'd love to see the solution Dave tries (Chances are it will work well)…this is my DYSS (Daves' Youtube Solution Simulator) at work! Its full of RI (Real Intelligence) and other automation stuff. Its great!
I would like to see it done with discreet logic .that would be interesting. Hmm don't you have a classic chip. Maybe make it audibly count down to .
Build a simple Z80/6800/6502 system (CPU, RAM, ROM, IO port). Retrocomputing is quite popular these days.
Conformal coating. Get a UV flash light. I have one from Amazon that has 100 LED's. The coating glows blue. To remove the coating use Toluene available in the paint dept. of your local hardware store.
Flip-floppy??? I think it's more like a flopity-flip!!!😂😂😂
I guess "(not) a doomsday device project" is out. youtube are so sensetive 🙂
It would be really interesting to put a large weight mounted on a motor inside so that it could move by itself.
Cry Key ~
Either an STM32 (blue pill?) or one of those cheap as chips micros.
STM could be kind of cool if you made a circuit to program it over the IR? STM32s are good as they are above Arduino with a good dev set that is in C or C++ and the blue or black pill boards are super cheap.
Discreet would also be interesting.
I guess whatever you are most interested in would make the most interesting video as your heart will be in the project.
I'd look at bodging a resistor for each digit. I do not know how hard that would be, but that at least solves some of the display issues, and there is no way you'd want to do 40 droppers. The Pi Pico uses a 2040 chip, should be interesting to go that way.
Dave if this board doesn't have wifi, bluetooth, LoRa, and 8 different wireless protocols, I'm unsubscribing
Would love you to try out the PIO on the raspberry pico
Drive it from ~2.3V or as low a voltage as you need to drive them directly, it would probably do the trick considering the voltage drops of the cc transistor and the 40ishΩ would give a healthy 5 or 6mA to each lead and not exceed the maximum current of the shift register. Brightness would likely be enough and it would be as simple as it gets. If you do need higher voltage for some reason pwm the CC so it gets there. You can't get more brightness than that even if you multiplex the driver, as would only be on for so long.
With pwm it could get a bit brighter unless you are displaying an 8 in one of the digits, but in software limiting the duty cycle for the maximum segments in at the time in a single digit. Unnecessary complexity, and brightness changing depending on the displayed number, not cool.
In any case, I want it working anyhow!
You must do a prank with this one 😂
You could chuck in one or more solenoids for an interesting clicking sound. Maybe make them hit the inside of the enclosure!
If it is driven by a micro then you can count the number of segments that will be on once you finish shifting all the data in. That number of segments could be used to control PWM on the current control transistor. With 40 segments on = 100% so 40 x 20mA, and 1 segment on being 2.5% or 20mA.
I understand maintaning the original display and PCB as challenge, but i would like to see a nixie tube or another old type of display, like the ones they used in really old james bond movies.
My least favorite video honestly
My guess is that they drive a single segment at a time for each digit in a multiplexed fashion for a 1/8 duty. This would allow for much better control of the current/brightness of the display, while allowing for the maximum possible current to be delivered.
As for the direction of this project, you can probably throw it together with a Arduino tiny… that's what I'd do. If you want to show alternative solutions, once you get that working you can go another route knowing you got it with the Arduino…
Call it Hot Potato, Dave.
arduino micro of some form would be easiest…could add the IR sensors, to switch on/off/modes and will allow to run a movement sensor..needs proximity sensor too!… would be cool if ya could put some leds in the knob bits and have it light up when someone is close…and have the timer start etc…(rgb leds for more effects?!)
its probably both PWMed and multiplexed.. at quite a high frequency..so current and brightness changes are minimised..could always cut the traces on the shift registers input and break up the cathode to add resistors…and then drive them all with seperate gpios from micro..
The re-shot was a good idea, it's much easier to understand whats going on now.
Some stuff I thought on the second watch through:
– Q1 that drives the IR LED has to be an n-channel MOSFET, those 100 series and 10k parallel gate resistors are best practice to prevent sharp rise times and it turning on when the gate input is floating, no clue why they could afford resistors there.
– Looking at pictures and videos of the thing operating, the display is decently bright but not crazy > 15 mA DC average per segment bright, part of their 'sunlight readable' claim may merely be the fact the display is shaded on the bottom of the unit.
– I can also see the brightness doesn't change with different numbers of segments illuminated both across the same digit and the whole display, but I couldn't find much footage.
– The only way I can think of them achieving this is if they were counting through the segments A to DP and shifting them out no matter what and using that blanking BJT on the main board if it should be shown on that digit, you would get a constant 1/40th duty cycle for each segment, and minimal flicker at 1 – 10 kHz and the BJT with the 10k resistor could be biased for 90 mA for a single segment within pulsed operation limits. Although it's a super weird implementation if the display is driven directly from that Xilinx FPGA we saw in the teardown I can see it being easier to implement this way than the traditional way on an MCU which I think if this is the case you should do your B 0 M 8 project with an FPGA and recreate this rippled one segment at a time driving logic.
But I could be very wrong, might also be worth checking the ICs and 7-segments actually work, for all we know the reason it ended up in the mailbag for teardown was because the display failed…