Configure a Multi - Function Radio Panel | C172 #40
HTML-код
- Опубликовано: 29 ноя 2024
- Today we'll be making a very flexible LCD Multi-Radio Panel
🎥We made this here: • Make a Generic Multi R...
📦Buy a Kit or Pre-Built Panel Here: captainbobsim....
Please consider supporting these projects and teaching videos by becoming a patron / captain_bob
📄 Video File: drive.google.c...
📄 Full File: drive.google.c...
📄 Full File X-Plane: drive.google.c...
📄 Board File: drive.google.c...
💾Free downloads: github.com/Cap...
👉Visit the Website: captainbobsim.com
😋Enjoy the Cessna 172 Project? Watch the full playlist here: • Version 3 Cessna 172 P...
Support the Cessna 172 Project
▶ / captain_bob
▶ www.paypal.com...
▶ www.amazon.com...
LINKS
-----------
Patreon: ▶ / captain_bob
Store: ▶captainbobsim.c...
Podcast: ▶captainbobsim.c...
Merch: captain-bob.cr...
Thingiverse: ▶www.thingivers...
Website: ▶captainbobsim.com
Thank you to Altimeter Motives for being a huge supporter of the show. Check out their products at altimetermotiv...
CONNECT WITH ME
------------
Subscribe: ▶ / @captainbobsim
Instagram: ▶ / captainbobsim
Discord: ▶ / discord
Email: ▶ CaptainBobSim@gmail.com
------------
💻PC Specs: AMD Ryzen 7 5800X 8 Core CPU, 32 GB RAM, 500GB SSD, 3 TB HDD, R9 290 GPU
Thank you to everyone who has helped support this project.
This week I got 1% better at not procrastinating editing! I got it all done today!
#Cessna172sdays #flightsim #simulator
DISCLAIMER
------------
As an eBay Associate, I earn a small commission from qualifying purchases. There is NO EXTRA COST to you.
I am but a human being - You are too! As a mortal, you are responsible for your safety. To avoid injury or death, do not attempt to match the time-lapse speed shown in the video.
I am Japanese. I am studying MobiFlight using RUclips translation and Google translation. This video was very helpful! Using this method, one LCD can be used for many displays and operations. I will try to make one. Thanks!!
I'm so glad the video was helpful! I hope you enjoy!
I completed this using your RUclips video as a reference. thank you!
ruclips.net/video/UqgBaO2XgyQ/видео.html
@@CaptainBobSim
Great work mate...
Two years ago I've done something similar with two seven segments display for com and nav but now it's more simple with mobifligh updates... That's crazy... Hope in one year I'll show my cessna 172 cockpit bang on...
Awesome work! The MobiFlight updates are game changing - it's incredible what Sebastian and the team have been doing.
Awesome, and your head doesn´t explode with all that logic.
Even if your brain does explode the logic is still beautiful :)
Whatever the hell you just said to yourself around the 6 minute mark, is why I just subscribed! 🤣
Let's gooo!! 😂 I forgot I put that in there :)
@@CaptainBobSim 🤣
Already order the kit. Can't wait to build it and try it out.😁
I just lasered your panel today!
@@CaptainBobSim Awsome!!!
Awesome job yet again Trevor, thank you! I've built my version, but getting some weird results with the NAVs (1 & 2) with multiple decimals appearing - any ideas? eg shows either in 110..85 or 11.3.2 formats
Hi Rick! I think this has to do with the data padding. You can sometimes add .000001 to make sure it always ends in a zero and play around with the padding modifiers in MobiFlight Version 10. I believe this aligns with this issue: github.com/MobiFlight/MobiFlight-Connector/issues/1469
Hey, Capt Bob! Thank you for sharing this video. I made my Radio LCD work thank to your idea, and I really enjoyed that. One thing that I didn't managed how to do is how could I make the '
Hi Lucas! You can make a blinking '
@@CaptainBobSim Thank you! I'll try following the transponder video.
Thx so much for the tutorial! Really, really helpful for a Mobiflight Noob! Keep up the great work!
Thank you so much! I hope you have a great time building your sim!
@@CaptainBobSim Just a quick question. Is it possible to use the left arrow symbol which is (alt+27)? Thx.
@@exorcyst1 I have no clue, I'm assuming no but you can always copy and paste it and see!
Hi Captain Bob polease can you help me I only want to show com1 freguency for active and standby and the same for nav1 but there is no compare tab in my mobiflight and i do not know how to use the transform I can show com1 stadby no problem but when I add com1 active both show the same frequencies in the lcd display . what am i doing wrong
Hi Captain, please, in this one project how can I show QNH in Hg and hPa (according selection) in the same line and same columns (e.g QNH: 1013 or QNH: 29.94) ? Should I use "if" for this ? Thank you so much for your attention.
You'd do this like normal
If there's enough space you could do:
in##.## hPa&&&&
where ##.## is your reference in inches and &&&& is your referernced value in hPa
If you want it to be the same line and column you could have a new row that references both # and & then say if condition happens, display # else display &
if(C=1,#,&)
Then read this reference in your space.
@@CaptainBobSim , thank you so much. I’ll try this alternatives and I’ll report results later.
Hi @CaptainBobSim, I´ve tried but I couldn´t do it. In this case the LCD Display Settings had a fixed configure (e.g. QNH ####) (with 4 digits without point) and only the Reference as # will be showing (e.g result QNH 1013). How can I change the result in LCD Display as QNH 29.94 (with 5 digits and one point into) at the same position if the LCD Display Settings is the same QNH #### ?
@@acaciochezorim4035 Try using it all in one transform field. Use the ' ' characters as quotation marks for text.
Saying
if($>0, round(#,2), &)
You can use modulus (% sign), which acts as a remainder and play around with ' ' to add strings of text.
Basically make the value of # include a string value of '.' in the middle of it for 29.94
I'm tired maybe this isn't helpful. Does this make sense?
How about running through the set up with Mobiflight 10.2.1? I tried to follow your instructions but the pages are different in version 10.2.1
I think the main difference is the "modifier" tab. You add the modifiers there like transform and compare :)
I'm using a mega 2560 Pro, changed the pin numbers to the appropriate ones on the mobiflight brake out board. iv followed your video upto the adding $-1 & $+1 (just under 7 mins) go to run and nothing shows on the screen
Does MobiFlight Rocks ever show? If not it's probably a wiring/assignment eror.
Yes mibiflight rocks shows up. On the modiflight setup page when running numbers go up and down and on the LCD screen I get the test numbers
Hi Bob just letting you know I now have it running
in XPDR you can also use upper rotary for digits 1 and 2 and bottom rotary for digits 3 and 4. 😁 there are cammands and offsets for it 😁 BTW you're doing great job! thank a lot!👍
Yeah! The software possibilities are infinite!
increible video! muchas gracias capitan!
Thank you!
Hi Captain Bob! Can i use this on xplane? will it work if i will do the same and use xplane instead of microsoft flight simulator?
Yep! It's compatible with both!
Hi Captain Bob! thanks for the great video. Is there the possibility to set one line of the display on an "Output config" row and another line on another "Output config" row?
what i want to obtain is something like "Output config 1" sets Hello on first line and "Output config 2" sets World on second line.
The result should be:
Hello
World
thank you
My hunch is that you can't do this, but the only way to know for sure is to try!
I'd have first config row:
Hello
#####
with a config reference # assigned to second row
second config row:
World
@@CaptainBobSim I sent a PR to the firmware code to allow more flexibility on the display that work perfectly. Maybe will be merged soon :)
Awesome video…I’m already breaking out my laptop and can’t thank you enough, get some rest…
Let's goo!! Let me know how your display goes!
I'll try to get some rest - it takes so much more energy than it used to 😂
@@CaptainBobSim finally got it working. 3 pages, first page same as yours. 2nd page is a basic autopilot (alt/vs/hdg), 3rd page has transponder code, ident (toggle), vfr, and xpndr state.
My big issues were getting altitude to read out correctly (which I did with a transform I just kind of figured out because the default 3.38/66…. Didn’t work for me at all), and getting heading to play well (that one took digging into forums for).
Pretty happy with it now…just have to mount it into something.
My next “wishlist” for it will be getting modes to show up as words vice just digits (AP is 0 or 1, xpndr is 1 or 3).
Again, great video…can’t thank you enough for posting it so quickly.
That is so fantastic! I'm really glad to see you are adapting it to your personal needs.
To change a number to a word you need to use a nested if.
I used:
if(#=0, 'ZERO', if(#=1, 'ONE', if( #=2, 'TWO', 'ERROR')))
Where # is the row I'm referencing (replace with $ if doing it directly).
The pseudocode for this is
"If the row is equal to 0, type ZERO
but if that's not the case if the row is equal to 1 then type ONE
but if that's not the case if the row is equal to 2 then type TWO
but if none of these conditions are met just type ERROR (you could also instead tell it to type THREE).
If you just want 0 or 1 you can just use a compare setting and say
if ap = 1
set to ON
else set to OFF
Howdy Captain Bob. Hoping you can help me, I've build the unit, installed mobiflight, downloaded the file and its working .... partly :-) The rough and fine adjust and swap button all work for com1. But when I move the index to com2 the button doesnt work and the rough is changing both the rough and fine frequencies and the fine adjust doesn't work. When I move the index to nav 1 and 2 none work. Am I missing something in the setup somewhere ? Thanks mate :-)
Hi! It sounds like the preconditions are somehow not set up, or your devices are not connected to the correct knob. I'd go through each device if you haven't already and make sure it's connected to the right functions.
@@CaptainBobSim thanks mate, i'll try that :-)
All working now, thanks mate, looking forward to trying this on vatsim :-)
I'm so glad to hear you got it!
@@CaptainBobSim Next a gear lever and flap indicator :-)
What!!!... where is the epic fucking intro? I was left wanting to sing alone, hahaha.
Daaaang!! I missed the chance!!
To be fair I was operating on but a few hours of sleep. I'll try to keep this in mind for the future.
@@CaptainBobSim just kidding dude!! Be yourself no matter how
sorry I have a non related question. Have you done a video on making rudder peddles for MSFS 2020? Would really like to make a set using an Arduino Uno that I have
Check out the cadet rudders! The person who made them did a good job. If you want it on a mega, you could use my "Potentiometer" and "Advanced Potentiometer" workflow
@@CaptainBobSim greatly appreciate your quick response I will definitely check it out
Thanks again
Pb
Congratulations for your work. I just set up a radio beta and work perfectly in msfs, would you have the configuration for Xplane11?
It's now in the GitHub 👍
@@CaptainBobSim link please,I'm clumsy and I can't find it
Download everything here: github.com/CaptainBobSim/The-Cessna-172-Project-V3
to find it in this folder: github.com/CaptainBobSim/The-Cessna-172-Project-V3/tree/main/Section%202%20-%20Component%20Library%20and%20Structure/2-6-000%20Avionics%2C%20Radios%2C%20Annunciators/LCD%20Radio%20General
I guess I'll throw it on google too so it's quicker: drive.google.com/uc?export=download&id=1ceHmEKDNSnMFZyNFvsmeLjFwDKAmELR-
who is betabala ? sorry captain these are personal cannot be shared with universities who are denying me the right to work ............. I could spew words to guys who ungraciously use other people's personal mobile and personal mailing account to write rot of fellow peers ........
after all I am not employed with the vinayaka missions university who are connected with all the Anna university admissions ...and polytechnics .........I am neither admission nor ...
employee just leave the page
Amazing work, thanks for sharing in such details. I have a lot of uncompleted projects, definitively this one will be added to the list and one day it might be done ;-)
Absolutely! I love doing this! Let me know if it ever reaches your done list - I'd love to see pictures!
I, is this version using multiplexer? Thank you
Nope! It's directly from the arduino. I'm sure you could use multiplexers for the inputs (but not the display to my knowledge)
Wow this is so cool! So could I use this with MSFS? Is it plug and play?
Hi Keith! You can definitely use it with MSFS2020! "It's technically plug and play" as it requires a 3rd party software (MobiFlight) but if you just flash the Arduino and open the file setup is pretty easy :)
@@CaptainBobSim man super cool! I’m trying to put together a little bare bones VR setup, and this might be the best way to adjust coms (I don’t really want the Logitech stuff). I found your channel since I’m looking for something I can simulate a heading indicator knob. I don’t need a display but want it to feel like I’m using the g1000 equipment if that makes sense.
You should totally check out Flight Sim Maker (especially the stuff going on in the discord)
You could build one of those but neglect the screen.
I don't understand why the address of LCD display is "0x27" when you use SDA ans SCL to plug Ardouino ?? thank for vidéo
Hello! 0x27 is the address of the LCD module. This you can find on the spec sheet of the LCD module. There are also A0 A1 A2 which you can bridge with solder (Heli Mech DIY737 has a good tutorial on this) to become a different address.
@@CaptainBobSim thank you, I have build this Panel,and add "Altitude-set" "HDG-set" and "V/S-set" its work perfectly. But what is the use of the "reset" button ?
@@Ramses94420 The index reset is to put you back on the first row, especially if you have many pages. You can also set it to switch to the next page. You can also set altimeter reset to go to 29.92, or VS set to set to zero, etc.
@@CaptainBobSim Ok, for the "reset" I have one bug for the transpondeur : when the code is 0153 I read spacebar 153 or " 153" the zero is gone. Where is my error ?
@@Ramses94420 Hmm. I think this is an issue with left padding. You might be able to divide the transponder setting by 1000 to get the decimal form .0001 and not show the decimal?
Wow!
why you didn't use modulo 8 - "$%8"
What does the % sign do, I've never seen anyone use it - I'll have to try using it instead
@@CaptainBobSim Sebastian showed it in movie about xpdr, this one you have showed in your movie 😜
@@kamilsug2025 I must have forgotten 😂
Thank you for sharing it!
ruclips.net/video/EaHw1sItVtU/видео.html
This was made with one rotary encoder and one push button to run nav1 nav2 com1 and com2 but now it's more simple.,.
Great job! Do you just twist the button a lot instead of using the KHz knob?
I wonder if you used one more button - when you push down on the encoder button it affects MHz (rough)and when it releases it's just Hz (fine).
Got an additional button to switch MHz to Hz forgot that one.
Full set...
Rotary encoder to MHz and Hz
Rotary push button to switch MHz to Hz
One push button to change standby to active and another to change radios..
Two seven segments
An a LCD just to show which radio is on..
Hello I have a big problem to display NAV fréquency , Example: Freq110.10 = 110.09999847412109 by mobiflight. My LCD display 12109 . What Can I do ?
I used FSUIPC control and that all right
Make sure you round it :)
It automatically pads all the way right.
Try round($,2)
@@CaptainBobSim thank you I will try, I didn't know the formula "round( )