Switch things on and off with your Betaflight FC pinio and pinio_box in depth tutorial

  Рет қаралды 31,642

Joshua Bardwell

Joshua Bardwell

Күн бұрын

Пікірлер
@DerDirkBelana
@DerDirkBelana 3 жыл бұрын
After all these years of learning from your greate work, I realized today, that you are left handed. It's about the little things, that make me happy :-D AND AS ALLWAYS: ""Great job Joshua!"
@sunshynff
@sunshynff 2 жыл бұрын
Thanks sooo much Joshua, this video is proof positive for me that the more of your tutorials someone watches as they get into the hobby, or just learn a new skill, the better off they are down the road learning more in depth stuff. You're tutorial on re-mapping motors a while back, helped me in so many situations, and have gotten very comfortable doing so. Watching this video, everything seemed like a natural continuation from the re-mapping video, and I got my naked GoPro 8 on a Aux switch in no time at all. Thanks for all you do!!
@lezartvert
@lezartvert 3 жыл бұрын
You're the only one best FPV'S teatcher, Joshua ! 👍 🏆
@colbiecallister2307
@colbiecallister2307 3 жыл бұрын
Really love the “under the hood type content” thanks man 🤘
@dermechaniker9950
@dermechaniker9950 6 ай бұрын
Thanks man had a problem to recreate and resource the led light function for my cinebot30 o3 after switching from betaflight 4.3 to 4.5...but now i got it ! Love your vids! So go on...😊 And thanks for introducing me in the hobby 4 yesrs ago ...have built 6 quads until now and its always fun👍🏻👍🏻👍🏻 Best wisches from Germany
@StuckOnAFireHydrant
@StuckOnAFireHydrant 3 жыл бұрын
Is that a pilot metropolitan I see JB? I see your a fan of your pens as well! Great, informative video as always man!
@patricksharp3355
@patricksharp3355 3 жыл бұрын
that's what I saw. Blew my mind scary how he likes all of our hobbies
@rluxon
@rluxon Ай бұрын
Love your videos, so informative but not at all dry. Thank you so much. Is there a way to connect a relay to the flight controller? Got a project where I want a 12-24v led light on a drone. More power than the FC can handle for sure.
@johnk8825
@johnk8825 3 жыл бұрын
Clear as mud until you sprayed the mud off. This is really neat, I luv stuff like this, well done Joshua.
@sabat66
@sabat66 Ай бұрын
You are awesome man! I have pin "RGB LED Extended" on my FC, but resource led strip is dosen't work on it, so i'm used a TX2 pin, and now my led strip is perfectly working :)
@juliannojungle
@juliannojungle 3 жыл бұрын
I have an og Runcam dvr that doesn't have an uart on it, but the start/stop button on it connects signal to gnd. I just soldered a wire from button's signal pin to the buzzer's gnd pin on flight controller. The buzzer's gnd pin is the only one that switch gnd rather than signal on a flight controller. Than I now can start/stop recording on the radio using pinio beautifully! 🙌🏻🎉🚀👍🏻 In fact using this method you can turn on/off almost any device. You just need to figure out what are their power buttons doing (connecting signal to gnd or signal to vcc) to know where to put it on the FC.
@rubenvaneupen7327
@rubenvaneupen7327 6 ай бұрын
Can you also switch betaflight parameters on/off with a radio switch? anti-taz runaway_takeoff_prevention parameter ON/OFF on a radio switch? Nice to not have an auto-disarm when you are stuck on a roof with 3 blades of grass around one prop. Being able to spin up to full throttle no matter what can save you an unsave trip to the rooftop. I noticed my quad was often not able to take of with just minor entanglements of one motor/prop, that I'm sure would be cut off if the prop was allowed to spin up properly (putting the throttle stick to full).
@Gosuminer
@Gosuminer 3 жыл бұрын
Is this camera smart enough to finish saving the recording before powering off? If not we could use a logical switch in OpenTX to delay powering off (folks using a DJI or Flysky radio are out of luck). Also I propose to add an (advanced mode) user interface for PinIO in BF configurator. It is too useful to be hidden within the CLI.
@jeffcopus
@jeffcopus 3 жыл бұрын
LOL, I just wired up my SMO 4K on Saturday Evening. I must have been channeling my inner Joshua. I pieced the steps together from a couple of other videos you did a while back.
@paulblase3955
@paulblase3955 Жыл бұрын
Thanks. One of the problems with software like Betalight is that the people writing the manuals assume that you know what you're doing. It took me three days to figure out that "Pinio" is a CLI function! If you're writing manuals, don't assume.
@Kriselice
@Kriselice 2 жыл бұрын
Truly clear and complete. As always. thx.
@mikulik86
@mikulik86 Күн бұрын
Very good explanation. Thank you!
@Joe_Hannsen
@Joe_Hannsen Жыл бұрын
Hi Joshua, thank you for the great video and the explanations. My current task for our drone project is to get our SMO 4k Camera to work without using the Betaflight FC controller and after listening to your 20 minutes of explanation the task looks a bit less overwhelming!! Am I getting it right that the ON/OFF and the record pins of the camera are controlled by just high signal for ON and low signal for OFF? Like in my theory it should work by first putting 3.3V continously on the ON/OFF pin, then 3.3V continously on the Record pin as long as I wanna record. In the firsts tests the camera recorded unreadable video and the LED turned red (Solid), which indicates a battery signal(???). Do you have an advice? Update: I guess I figured it out. The blue ON/OFF wire of the camera needs a short impulse of 3.3V to turn the cam on and a long impulse (~2 sec) to turn it off. While the cam is active the yellow Rec wire of the camera first needs a short impulse to start the recording and again a short impulse to stop recording. The only thing that confuses me still is that you could measure constant 3.3V signal on the ON/OFF wire with your multimeter when your aux channel turned it on. My camera turns off after a few seconds when I keep up the High signal. Anyways, thanks again for the great video!
@aldimetech1134
@aldimetech1134 Жыл бұрын
Gratitude!
@aLDimeDevUAV_FPV
@aLDimeDevUAV_FPV Жыл бұрын
ATTENTION! DO NOT try to set this up for BetaFPV SMO 4K - it will never work properly!!!
@alexburrows202
@alexburrows202 3 жыл бұрын
That's awesome - on a related note is there anyway to use the peripheral controls on the DJI controller such as the shoulder buttons, or can we only use the aux switches? Guessing the peripheral controls are not exposed to betaflight, reserved for DJI FPV.
@rcaddict9558
@rcaddict9558 2 ай бұрын
Thanks geezer! I thought this was the case with the mamba 4th generation fc vtx power, you have just confirmed its a boleon high low for the vtx power to be off whilst im getting a good sat fix , thanks very much 🫡👍♥️
@MCsCreations
@MCsCreations 3 жыл бұрын
Pretty interesting process, Joshua! 😊 Thanks a lot!!! Stay safe there with your family! 🖖😊
@preaudetjeanjason357
@preaudetjeanjason357 Жыл бұрын
nice Joshua, i was struggling with this you are the boss
@flowstate_link
@flowstate_link 3 жыл бұрын
Thanks for the information. I am curious to know what the reliability of this is like. I had everything setup and working. They it just stopped. Osca Liang mentioned problems with reliability what has your experience been long term? Also thank you for diving into various bits covered in this video. Great work!
@RichardAFPV
@RichardAFPV 3 жыл бұрын
If it stops working then a setting has changed or hardware issues like a broken pad or cable.
@xrxfpv1994
@xrxfpv1994 3 жыл бұрын
I only connected the stop/start recording .... and it also powers on the SMO 4k. kinda cool, not sure as it doesn't seem the intention.
@ShaneKnudsen
@ShaneKnudsen 2 жыл бұрын
Coming from the land of Arduino, I figured there had to be a way to do this. Now I know. Thanks!
@justfpv9475
@justfpv9475 3 жыл бұрын
Great video, Joshua! Thank you so much for all your work! Cheers
@mightyminer4001
@mightyminer4001 2 жыл бұрын
Great video, but I'm having an issue. Dohe all the steps above and the red light on my naked gopro is always red. the fc im using is blitz mini f7 and i have the yellow wire connected to T3, any help please
@dittobimaputra
@dittobimaputra 3 жыл бұрын
But u cant directly control cam since it was logic 1 aka 3.3v/5v. U have to add transistor or scr or similar to givr power to cam
@f0xvibes
@f0xvibes 3 жыл бұрын
I've a jhemcu f722BT. it has 2 cam Input which can be switched with user 1. unfortunately i made a solder bride from vin to 5v. now the ic labeled 3108 is dead. do you know what part this is? 6legs: 1 goes to cam1 2 goes to cam2 3 gnd 4 goes user 1 pin on the f722 5 goes to the osd vin via 75ohm resistor 6 probably NC i could directly solder 1 cam to the 75ohm resistor and it works, but i like to replace the IC. but for this i need to know what ic it is which is labeled 3108....
@Cre8ionz.
@Cre8ionz. 3 жыл бұрын
10:36 min - auto Bluetooth off when armed - does this need to be set up ?!
@Cre8ionz.
@Cre8ionz. 3 жыл бұрын
Gonna check later if mine has it pre configured...
@ccdevil773
@ccdevil773 2 жыл бұрын
Thanks for the useful infos Josh, but what about if we would like to switch the VTX on/off without using external device ? Is it possible to use this method ? Thanks
@maddercat
@maddercat Жыл бұрын
I have a fc I bought second hand, my tx3 and rx3 are set to none, how do I put the uart back on them? Any ideas? When I typed that in google it led me here, I guess this has the commands to do it but I need to know the pinout for my chip and which one its not using I guess, and I need to assign that pin a box value I guess?
@playnow9
@playnow9 3 ай бұрын
I'm moving into quads from the heli world so I'm new to a lot of this, Would it be posable to turn the DJI-03 air unit off and on with an aux switch?
@laurynasagejevas1200
@laurynasagejevas1200 3 жыл бұрын
Woah so powerful! You could hook this up to some transistors and diy yourself a cheatercam switch or some laser tag shooting thingy or repurpose your fc to a 500hz expresslrs light switch!
@laurynasagejevas1200
@laurynasagejevas1200 3 жыл бұрын
Or finally make my tarsier start/stop recording in flight!
@JoshuaBardwell
@JoshuaBardwell 3 жыл бұрын
With this function, wired properly, you can basically emulate a button press on a device like a Tarsier or a typical vTX. Back in the day, people would use this function to change band/channel on vTX that didn't have smartaudio.
@laurynasagejevas1200
@laurynasagejevas1200 3 жыл бұрын
@@JoshuaBardwell yep, but with some transistors and pull up/down resistors on a prototyping board you can switch basically anything :D
@RichardAFPV
@RichardAFPV 3 жыл бұрын
Or get yerself a 3.3v relay and drop parachutes or turn on lights or control your garage door from your drone. The sky is the limit!
@PAYNEFPV
@PAYNEFPV 3 жыл бұрын
Works great with my 95x and smo! Not sure why BetaFPV didn’t wire it like this from the get-go, it was pretty much plug and play.
@RichardAFPV
@RichardAFPV 3 жыл бұрын
Great info! I'm totally confused as to why those soft serial pins were pre-assigned to motors as well though. Seems like you would have met confusion if you either wanted to use motors 5/6 or the soft serial. Or maybe only an issue if you enable both?
@JoshuaBardwell
@JoshuaBardwell 3 жыл бұрын
Correct. You could use a hex mixer with those pads as motor outputs.
@1spiralout
@1spiralout 3 жыл бұрын
I learned the Xilo Stax FC can switch power on and off to a VTX with pinio by flashing Emuflight, where it was off by default. Took a while to figure out why there was no power to my VTX.
@thejeffhendrix
@thejeffhendrix 3 жыл бұрын
Saving this in my play list.
@neekfpv7131
@neekfpv7131 3 жыл бұрын
great info as always
@illusionistsam
@illusionistsam 3 жыл бұрын
So that means we can also make two pads as rx and tx for additional port maybe is i understand it right
@speedracerjg
@speedracerjg Жыл бұрын
So I just got the defender 25 with the dji o3 and I have a few dji remote 2 grey controllers so I figured I would just try out the remote 2 pnp option. I’m thinking that may have been a mistake because the way this looks to operate, without a second uart controlling rtx, I can’t shut the unit off via remote and still have rx connectivity…doesn’t the rrx and vrx run through the air unit when it’s configured this way? Should I just add a nano rx and get rid of this sbus wire so I can use my tango 2? I tried to configure the dji remote 2 to turn off vtx, but it killed the vtx permanently until I reloaded the config and cycled power….it’s like the FC couldn’t power the o3 back up without the remote command. And if the o3 is powered down, I get no radio. Is there a way to make it work?
@JoshuaBardwell
@JoshuaBardwell Жыл бұрын
No there's no way to make it work. If you shut down the O3, you also lose controller link.
@speedracerjg
@speedracerjg Жыл бұрын
@@JoshuaBardwell yeah…I’m going to add the nano. I really feel like I should have known this was the case before I ordered it, but they could easily add a note to the product page that the pnp option will limit vtx power mode functionality…but I should’ve known lol…
@speedracerjg
@speedracerjg Жыл бұрын
@@JoshuaBardwell Thanks. Got the nano rx installed and kept the sbus from the o3 wired up and the tango 2 works fine. Very easy and clean. Now to tune it. The PIDs on this out of the box seem crazy high.
@alexhalemba1484
@alexhalemba1484 3 жыл бұрын
The reallity is: Digital data are decoded with on / off. That's where the name came from. Motor outputs using pulse width modulation as example to tell the ESC how he should power the motor. Simplified saying. PWM keeps the signal high for a specific percentage of an specified time frame. Analog signals are not just on/off. But they are "constructed" with an digital/analog converter they also have a resolution (8bit or 12bit...). Meaning, they can not output every value...
@baggszilla
@baggszilla 3 жыл бұрын
Could you use this as a pit switch to switch off/on your VTX?
@GRANOLAFPV
@GRANOLAFPV 3 жыл бұрын
AFAIK, for a VTX, this requires a switchable power output - whereas this video is using switchable signal outputs. That means the FC itself has to support power output switching, since otherwise the power pads are permanently and physically connected to power. That said, FCs with built-in power switching _do_ use the pinio function to assign the User 1 mode to the switchable power output. (JB mentions this briefly at 17:20 as well.)
@baggszilla
@baggszilla 3 жыл бұрын
@@GRANOLAFPV thanks makes sense!
@banabread1113
@banabread1113 3 жыл бұрын
Great video, very informative!
@GoatZilla
@GoatZilla 2 жыл бұрын
Kind of wish they would implement IOCFG_OUT_OD. Not sure why it's not supported...
@MaDnBaD
@MaDnBaD 2 ай бұрын
seems like it only works with signal ports? What if I need a power 9v port to turn on\of remotely from the controller. Is it possible?
@JoshuaBardwell
@JoshuaBardwell 2 ай бұрын
You can't switch power this way. You need a real pit device.
@MaDnBaD
@MaDnBaD 2 ай бұрын
@@JoshuaBardwell thanks. Seems like it’s hard to get it in my country 😓 looking for a circuit scheme to diy. It looks like there is a pnp transistor and some other smd components I can’t understand what are and what for 🫣
@KifScheuer
@KifScheuer 2 жыл бұрын
I'm trying this path but running into an issue - when I try to check and see if there's anything assigned already and type get pinio_box or get pinio_config, I'm getting ###ERROR: INVALID NAME### I think I should get a return even if nothing is assigned (255,255,255,255) Does this mean my fc (an older spracing F3 Neo) can't do this?
@JoshuaBardwell
@JoshuaBardwell 2 жыл бұрын
Yes correct. The F3 isn't running a version of Betaflight that supports this.
@KifScheuer
@KifScheuer 2 жыл бұрын
@@JoshuaBardwell Ah well. Thanks for confirming. And more importantly, thanks for all your work in this space. You are a pretty amazing teacher. As someone who often struggles my way through the technical side of quads, I always know your videos will make it easier to understand. I've learned so much from you. Blows me away you that you directly responded here so quickly. What an awesome human you are!
@Fz.adrenaline
@Fz.adrenaline Жыл бұрын
Hello joshua , need ur help . i have LeD for my drone and its only 2 wire. + and - only . it is possible to make a switch or we must need 3 wire led to make it switch on and off using pinio ?
@Fz.adrenaline
@Fz.adrenaline Жыл бұрын
Mines was 24v led , connect via bat pad on the fc , i wonder can it make a switch using pinio ? only have 2 wire .
@JoshuaBardwell
@JoshuaBardwell Жыл бұрын
You need a "realpit" device to switch that led in and off using pinio.
@Fz.adrenaline
@Fz.adrenaline Жыл бұрын
@@JoshuaBardwell what do you mean real pit ?
@JoshuaBardwell
@JoshuaBardwell Жыл бұрын
kzbin.info/www/bejne/pYSQdph3pJpmo5o
@flyingquad
@flyingquad 2 жыл бұрын
Can this be used to turn on/off the led lights ? Want to turn them on/off and change their color once it is on
@JoshuaBardwell
@JoshuaBardwell 2 жыл бұрын
If the LEDs are programmable then use Betaflight led tab to turn them on and off and change their color. The LED LOW aux mode will turn off all LEDs. If the LEDs are not programmable, the a pit switch and pinio can turn them on and off.
@flyingquad
@flyingquad 2 жыл бұрын
@@JoshuaBardwell Thank you so much, want to be able to turn off LEDS so as to not freak out the neighbors, yes i have programmable LED's
@alwayshathbeen3340
@alwayshathbeen3340 3 жыл бұрын
I’m so ready to learn somethin’ today. I’ll finally be able to get my RunCam DVR-S board to start/stop recording.
@kendalackron3093
@kendalackron3093 3 жыл бұрын
Thank you i was wondering what that was!
@ianpataky
@ianpataky 2 жыл бұрын
What about the ppm pad
@starman5565
@starman5565 3 жыл бұрын
Thanks was really stuck not now though Thanks an love your channel
@anthonyechevarria5485
@anthonyechevarria5485 3 жыл бұрын
Damn wish this video came out before I smashed my SMO4k. Still, great video Bardwell.
@hateeternalmaver
@hateeternalmaver 3 жыл бұрын
THANKS, Joshua!
@its_AlphaSloth
@its_AlphaSloth 3 жыл бұрын
That's a nice pen
@JekleFPV
@JekleFPV 3 жыл бұрын
Great video! I do have one question though: isn’t the GoPro set up so that you have to have the switch to ‘ON’ for about a second, then back to ‘OFF’ to get it to start recording? And same thing to get it to stop?
@JoshuaBardwell
@JoshuaBardwell 3 жыл бұрын
Yes that's correct. I go I to more detail in my naked GoPro tutorial but since this is a pinio tutorial I left that detail out.
@JekleFPV
@JekleFPV 3 жыл бұрын
@@JoshuaBardwellok, so for a GoPro, make sure you use a momentary switch! And preferably with a timer on it to make sure it’s working correctly.
@user-eq2ug7in7b
@user-eq2ug7in7b Жыл бұрын
Can this be used to turn off the VTX?
@JoshuaBardwell
@JoshuaBardwell Жыл бұрын
Yes. If you have a pit switch device.
@michelepistolesi2050
@michelepistolesi2050 3 жыл бұрын
Can you use pinio to control a servo?
@JoshuaBardwell
@JoshuaBardwell 3 жыл бұрын
No you would use Betaflight's servo function for that.
@FPVMATE
@FPVMATE 3 жыл бұрын
Can I do this on runcam5 such that I can record the footage and turn on blackbox recording on the same instant?
@Gosuminer
@Gosuminer 3 жыл бұрын
There is no easy way to do that. In theory you could open your Runcam 5, solder wires to the start/stop button and use a relais connected to a PinIO pad. If your goal is to sync your video to your blackbox recording this wouldn't help much because the Runcam needs a little time before actually starting the recording. It's easier to start the recording manually and then giving the quad a small bump that you will be able to see in the video and in the gyro movement in blackbox.
@FPVMATE
@FPVMATE 3 жыл бұрын
@@Gosuminer thanks a lot for replying man, yeah I agree with your point ,it's hectic to do this, I opened the cam and learned that inside the switch there are three terminals the middle one is at 0V and to its right and left the terminals are at 1.78V each. If the switch is pressed the 1.78 V pins are brought to 0v so I thought I will assign a button in tx such that at its normal position the blackbox is recording but if I do the above mentioned steps shown in video and assign that when the switch's state is changed the blackbox recording will stop and as soon as I leave the switch it will spring back to its original position making the camera to start recording and the blackbox will start a new log. But as you said if the camera has some inbuilt delay after the button being released then this won't work.
@CopterBeeFPV
@CopterBeeFPV 10 ай бұрын
I want this t-shirt 😮😂
@JR-kk6ce
@JR-kk6ce 3 жыл бұрын
I haven't forgotten. You called us all "sons of bitches."
@trevorimpulsebuyguy6398
@trevorimpulsebuyguy6398 3 жыл бұрын
I like it alot
@marianh69
@marianh69 3 ай бұрын
Very nice, now I have the ability to turn off my audi headlight on my 7inch
@orga7012
@orga7012 3 жыл бұрын
Are the live streams over or Joshua's just taking a break?
@johnk8825
@johnk8825 3 жыл бұрын
He's been out of town.
@orga7012
@orga7012 3 жыл бұрын
@@johnk8825 good to know (: Thanks.
@jtcustomknives
@jtcustomknives 3 жыл бұрын
Oh fancy pen
@Kriselice
@Kriselice 2 жыл бұрын
Merci !
@raps55
@raps55 3 жыл бұрын
Lol hes using that flair ink pen. Man of culture i see
@madegowdar8190
@madegowdar8190 3 жыл бұрын
I can contact you
@da_bits
@da_bits 3 жыл бұрын
Lefty with a fountain pen. brave man...
@cloudninjaphotography6304
@cloudninjaphotography6304 3 жыл бұрын
First like 👍
@Epic501
@Epic501 3 жыл бұрын
nifty
@JazzXP
@JazzXP 3 жыл бұрын
Triggered by "Pin Number" even though in this case it's correct.
@madegowdar8190
@madegowdar8190 3 жыл бұрын
Hi
@computation9815
@computation9815 3 жыл бұрын
First
@aLDimeDevUAV_FPV
@aLDimeDevUAV_FPV Жыл бұрын
ATTENTION! DO NOT try to set this up for BetaFPV SMO 4K - it will never work properly!!!
@somerandomvideos645
@somerandomvideos645 3 ай бұрын
pinio is overcomplicated bs.
Your new daily driver: Radiomaster GX12 DOES IT ALL!
31:46
Joshua Bardwell
Рет қаралды 20 М.
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Boat Racing1221
6:32
미스틱(Mystic)
Рет қаралды 84
Betaflight GPS Rescue Mode | COMPLETE HOW TO
27:56
Joshua Bardwell
Рет қаралды 305 М.
NGAD First Flights with NO Control Surfaces!
26:26
BUILT FAST
Рет қаралды 1,1 МЛН
Build Your Own Drone Tracking Radar:  Part 1
20:08
Jon Kraft
Рет қаралды 599 М.
"Dynamic Idle" the most useful Betaflight feature you never heard of
17:34
Control the LEDs on your model easily using a MenaceRC switch
6:26
Betaflight 4.3 Power and Battery Tab | COMPLETE WALKTHROUGH PART 7
25:18
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН