Make a Flight Sim Radio! | C172 #48

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello and welcome to Captain Bob today we'll be building a radio [Music] for this build your prop wash Sim DIY radio kit an Arduino Mega DS Dupont connectors a rotary encoder or a potentiometer with a switch and you can have either a combination of these you'll also need these three M3 six millimeter screws and these 3D printed Parts you'll also need some pizza because Pizza is yummy and the dog to keep you happy sorry I she wants the pizza let's start off by clipping the ears I have these side Snips and I'm just getting half of the time you should be relatively far from any of the important traces just make sure not to snip this resistor or this capacitor if you need to you can leave a little bit of the ear on you just want to make sure that it fits all the way through and it shouldn't be flush right here because when we put this panel on now it'll be flush like that do the same thing with the five digit display foreign in about like two months I'll clean out everything and then I'll find these little ears everywhere it'll be fun it'll be like a scavenger hunt don't cut yourself on these edges uh because you might do that now you can press this in our last step here is to have these two buttons for this we're going to get these screws right here push them into their little holes and then screw them down we should now be able to press this button and hear the button click that is a good thing the button clicking you know do it on the same other do the same on the other side move on to the face plate the face plate will just go on in the end like this so that's proof that it won't look very stupid now I have these two Electronics there's a potentiometer with a switch and I chose this because it's a potentiometer with the switch for the volume so you click it on and that sends a switch signal that it's on you can adjust your volume in the simulator or in real life if you want to do all the wiring for that or something and then the switch turns it off for the right I chose a rotary encoder because of the push function I know you can find potentiometers with the push function uh I just didn't have any so I'm using a rotary encoder and then we should be able to choose the volume here too so click to ident or toggle I10 I guess even though technically it's a pull maybe a later version or something I'll implement the poll and the channel buttons or something but right now we're keeping it simple kiss keep it simple silly goose person dude no I guess that's kissing the potentiometer there's a little hole that clicks into the back with I don't even need a washer for this the washer is too big it'll cover up the text so I'm tightening down the nut I have these small knob covers and this will just show you where your volume is which is pretty nice we also have the Dual encoders so these just take off the covers and push them through the screw holes now I can tighten down these dual encoders put the cap on now we have three screws that tighten these this face plate to the back panel one two and four no I'm joking three we'll use a rotary encoder like this you won't have that problem right there and you can still assign the off function to the press to toggle it if you want I wouldn't do that though that's stupid it's kind of too nerdy so here we are we just have the rotor encoder and the second dual encoder I was about to set this to the zero position but I realized that would take a while you can just keep going last of all the Dual encoder here's our radio all we have left to do is use a paint marker and illuminate the text careful it might be easier to do this before the knobs either way though I'm doing it after as you can tell my favorite part is The Branding King Bob now it's probably a good time to peel off the displays this is good mistakes are proof that you're trying and not really doing great I guess I won't ever be a professional paint marker I'm going to apply this window tint to the seven segment displays so you don't see the display part while they're off yes I should have done it before I wired it all up and got it in but it's better late than never usually with these videos I give you a detailed rundown of the wiring what to stick where but this video I won't exactly do that uh I will show you this wiring diagram right here now I have to go make it the wiring diagram save these things Trevor and I'll run through my pin out right here your pin out will be different my pinout is incredibly stupid I basically just stuck these into empty pins from my generic radio here so the pin out isn't exactly chronologically friendly or whatever I'll just go through here the wiring here just make sure din Cs and CLK go to din Cs and CLK as well as a press function use some more press functions uh some switches some buttons it's Trevor from the future make sure all of your prop wash Sim encoders are set to this first two detents per cycle right here if uh yours is wrong then play around with it see what's right really want to follow along there you go click upload and we're good to go click OK and let's start off with the seven segment display an important thing to note about the seven segment display is that the number of displays right here is four you can also change the global hey who asked you can also change the you can also change the global intensity right here so that uh say you want it brighter or dimmer you can do that all right now under this we're actually going to make four of these seven segment rows this will be seven segment com that is active or standby active is first active right here I haven't flown in a while I forgot and for this we're going to use whatever you want to use here your sim connect flight Sim 2020 or your mobile or your uh X-Plane data ref we're going to use um active it's been a long day I haven't it hasn't even been that long going to sort with generic and find active frequency this will be the first radio if you want the second radio you can do that as well their com active frequency one and then under display we're going to use our display module with one two sorry with six uh digits right here one two three four five six if we click test it's really it's really close I swear it's so close but so far what we're gonna do is click this reverse digits button it starts at three that's a bug just ignore that one two three decimal four five six is the format you'll want for each of these frequencies click test and you'll see one two three whoop decimal actually goes after the third digit not after the fourth digit so one two three decimal four five six and you can change which display this is on through here if you click run our frequency will be one two four decimal eight five zero and if we go into our Sim yeah you should make my own airport like it would be the captain Bob airport what if it was just the Cessna 172 sitting in my living room oh that'd be a pretty cool airport and right here already the frequency is great and if we swap it it swaps wonderfully let's go duplicate this row and then this time we'll just have it Dan Dan bye Right Here and Now under display no under Sim variable we will go com ment I swear it was right here calm standby frequency right here index of one unless you want it the second radio then you can do index of two and we'll switch this to the second Radio Ready all right now we have this going on for us duplicated again we have seven segment nav active now this time oh we're gonna do the same thing now let's uh take the nav frequencies it's it's got to be somewhere here okay and then our next one is nav active nav active frequency index of one again and then display two three this time we have something a little different and you'll notice it's flickering right oh you just ignore that we'll set it to three and then there are five digits on this display it'll be one two three decimal four five click OK and we'll realize we have our active frequency here duplicate it one more time and this will be active standby so it should be just below here q r s standby there now display one two three four five here we have our radio okay but this is uh giving us some strange results uh it's giving us eight nine eight nine one and I'm pretty sure that is right here eight nine eight nine one so what we're going to do is round this this is all well and dandy but when we look at our displays it reads one one zero five decimal zero that's close we'll give it that but this one reads two five eight seven nine what's going on there first let's understand what it's trying to do it's trying to read the last digits of our frequency and it's trying to give that um in its the first slot so it's like last second to last third to last four to last fifth the last usually that's how we like it that's usually useful but for a frequency um for some reason it's rounded to the like mil billionth of a Hertz so you see right here two five eight seven nine two five eight seven nine is the last digits here we'll start with the first one we're going to enable the transform field right here and click uh round I guess type dollar sign times 100 comma zero so this means we're going to multiply this variable by a hundred so this gives us a chunky number so it says multiply this number by a thousand and then round it so it has zero decimals after uh the decimal so that's what it does if we click OK you'll see it has zero digits after the decimal and it's multiplied by a hundred we're going to do that to the exact same thing here and once we apply this rounding round dollar sign times 100 comma zero we multiply it by a hundred and it's all good to go it now displays the only digits it can one one three decimal nine let's go bonus round if you want to have words in your seven segment displays go to edit and in the transform field use an apostrophe open the apostrophe put your text and then close the apostrophe click OK and then when you click run right here the output value will be text if you want to have other words I believe you can even just go text plus one and that'll just give you the one right there you can even have symbols inside the text this allows you to do a lot of cool things we won't use in this radio right now but you can do fun things like uh sending secret messages all right tip over now let's interact with the digits in the inputs tab let's start with our com rough roof scan for input just turn this comref Microsoft Flight Sim 2020 and com generic uh where is it wow there's a lot calm radio uh whole decrease copied over paste it and calm radio whole increase this is assumed to be com1 because uh it doesn't say two or three that's the way we do it all right now if we click this button it increases it right here that's awesome now if we click run 19 20 21 22 and it goes down as well let's duplicate this and do the same for fine scan for input confine and then we're just going to select a whole Frac decrease copy on right paste it and Frac increase okay now let's work on the switch so the switch should just be switch calm so the switch will be calm under module we'll select everything we want to com Swap and this will just be our switch or swap can't remember what it is swap it must be swap then that gave us some results calm freak a standby radio Swap all right right there now if we click this button our radio will swap that's the the entire purpose of the button we'll also hook it up to Nav Now when we press this our now frequency changes and that is the basic functionality of the radio for the ident button you'll do the exact same thing um in this case you can could be the nav Vol press right here and then I believe you just search ident generic and this would be under nav pretty good all right I now the printer finishes now that I'm done fill uh done filming that's that's great at least it's cool print so for the ident this will be radio VR vor1 ident uh it will be ident enabled for press and on release it'll be disabled that way you can hold it down and while it's holding down it'll give us the nice noise of the the the the and once we release it'll release if you want it to toggle instead which might be more useful you can instead just have it toggle right here radio VR1 ident toggle and then on release just have nothing this is the other method you press it it holds down press it again it releases either way uh either way works I think this toggle method might be more practical but the ident method on press and on releases it's up to you now we have everything working if you want to have a global dimming variable that that sounds like a you problem functioning radio we can change the frequency here make it all sorts of crazy stuff swap it and we have it all ready to go look at that this is pretty fun real quick if you want to change the volume look at my potentiometer video but it would be under and this would be a potentiometer I'm just clicking buttons at this point search for volume under generic and find com1 volume decrease increase or if you want to use a potentiometer use set and then have one decrease and increase right here so those are your options proportion wanted to support the development of this project and offered up the seven segment displays so a huge thank you to prop wash SIM for helping make this video possible thank you to everyone who makes this channel possible especially our patrons and supporters altimeter motives Chris David EC Drew Juan Fortis and Morgan thank you so much for all you do thank you for watching and have a fantabulous rest of your day stay spicy
Info
Channel: Captain Bob
Views: 2,343
Rating: undefined out of 5
Keywords: Home Cockpit, Captain Bob, FSX, Flight Simulator, C172, Flight Simulation, Homecockpit, Cessna 172, Flight Sim, Building, FS2020, FSX-SE, X-Plane
Id: YGrNcZI5cK0
Channel Id: undefined
Length: 20min 18sec (1218 seconds)
Published: Wed Jul 12 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.