ppm(cppm) and lost model alarm at the
« on: February 20, 2016, 06:35:41 pm »
Hello!
I have this alarm and I wanna use my frsky D4r-ii reciever so I can get PPM and enable oneshot125 and damped light on my little bee 30amp BLheli escs. this alarm works by tapping the trottle signal from the reciever through the alarm and into the cc3d trottle channel and its triggerd by loss of signal or trottle inactivity for 30 seconds.
problem is with ppm there is no single trottle channel. is there anyway to make this work? the alarm also has the option of triggering the alarm by remote using a aux channel on the reciever but Im running a old 5 channel radio and I need to have flight mode assigned to my channel 5 switch. any ideas? thanks guys

http://www.banggood.com/MAT-NLC-Low-Voltage-Buzzer-Alarm-With-LED-Indicator-Drone-Searching-Function-p-1000413.html
Its exactly the same as this one.
http://www.banggood.com/3-In-1-Multifunctional-Low-Voltage-Alarm-Signal-Loss-Tracker-LED-Lighting-Control-p-1006321.html

<img src="http://img.banggood.com/customers_images/large/2015122314062514-1006321.jpg">

f5soh

  • *****
  • 4572
    • LibrePilot
Re: ppm(cppm) and lost model alarm at the
« Reply #1 on: February 20, 2016, 06:56:36 pm »
You can duplicate the Throttle input so the accessory0 do the same as Throttle.

This screenshot show Oplink receiver but you should can do the same with ppm.

Next affect Accessory0 to one output and set min/max in Output tab for this output like here:
https://librepilot.atlassian.net/wiki/display/LPDOC/Adding+a+buzzer+to+Multirotor+frame#AddingabuzzertoMultirotorframe-Selectoutput
« Last Edit: February 20, 2016, 07:08:35 pm by f5soh »

Re: ppm(cppm) and lost model alarm at the
« Reply #2 on: February 20, 2016, 07:33:54 pm »
Thanks man great info but then Another question pops up in my head. connecting it to pwm is easy but in ppm how do I connect it? do I need to put both Cables into the cc3d and none into the reciever or one in the cc3d and one to any of the escs? I have no idea how to connect it but I guess  I need to plug the alarm into the pin after the flight mode signal pin(last pin witch people usaly does not connect to anything)? Im not good att these things

f5soh

  • *****
  • 4572
    • LibrePilot
Re: ppm(cppm) and lost model alarm at the
« Reply #3 on: February 20, 2016, 07:57:40 pm »
I'm not sure what you ask...

Using a PPM receiver, up to 12 input channels can be send to board with only one connector/wire.

See here: https://librepilot.atlassian.net/wiki/display/LPDOC/CC+Hardware+Configuration#CCHardwareConfiguration-ReceiverPort

Previous post do a mapping between input and output.
You should connect the buzzer to one output you configured.

« Last Edit: February 20, 2016, 08:31:30 pm by f5soh »

Re: ppm(cppm) and lost model alarm at the
« Reply #4 on: February 20, 2016, 08:15:17 pm »
Thanks Im gonna read this a 10 times untill I understand it then try it, im getting confused about all input and output stuff. thanks for telling me to connect ground positive and pin 8 to my reciever to enable oneshot, i dident even know that I had no idea what pin 8 was for thanks

f5soh

  • *****
  • 4572
    • LibrePilot
Re: ppm(cppm) and lost model alarm at the
« Reply #5 on: February 20, 2016, 08:31:39 pm »
Great :)

Re: ppm(cppm) and lost model alarm at the
« Reply #6 on: February 21, 2016, 07:29:42 pm »
It is really not that complex.  You are just using your FC as a PPM to PWM converter when you set it up like F5soh said. :)

Re: ppm(cppm) and lost model alarm at the
« Reply #7 on: March 06, 2016, 07:57:42 pm »
I tryed this now for a while and I just cant get it to work. I cant setup the accessory 1 in output tab, its greyed out and I have assign the rc output to it using channel 3, one of the buzzer lead is in output 5 but I have no idea where to put the other buzzerlead. the channel 3 duplication works. Im stuck

Re: ppm(cppm) and lost model alarm at the
« Reply #8 on: March 07, 2016, 08:44:22 pm »
okay so I realized that rc output should be at channel 5 and I tryed it again and now it works but only if I turn the transmitter off. the alarm does not sound on trottle inactivity(lowest) so what I done now is to change the values in the input tab for accessory 0 to TYPE:PPM, NUMBER: channel 3, MIN:1000, NEUTRAL:1500 MAX: 2000(Before it was TYPE:PPM, NUMBER: channel 3, MIN:1130, NEUTRAL:1160 MAX: 1884). output tab accessory 0 values are MIN 1000 NEUTRAL 1500 MAX 2000. I have not tested these values yet butt I will try them tomorrow.

Re: ppm(cppm) and lost model alarm at the
« Reply #9 on: March 08, 2016, 09:05:48 am »
I tryed the new settings and now the alarm did not work at all so I changed the values in the input tab for accessory 0 back to TYPE:PPM, NUMBER: channel 3, MIN:1130, NEUTRAL:1160 MAX: 1884(exactly the same the values as the trottle). I also changed the output tab accessory 0 values to MIN 1000 NEUTRAL 1000 and MAX 2000. I tryed these values and now the alarm works perfectly on both trottle inactivity and tx off. takes Close to 2 minutes for the alarm to go off and it shuts down if I move the trottle ovver 30%. works both in armed and unarmed mode. great

anypis

  • *
  • 26
Re: ppm(cppm) and lost model alarm at the
« Reply #10 on: April 11, 2016, 02:01:11 pm »
I am using Oplink as transmitter. I tried all solutions on the wiki and checked old cc3d solutions on the youtube. But my buzzer beeps once in every 3-4 seconds unrelated to any switch or stick movement. Do you have any idea for my problem? Thanks
 
« Last Edit: April 11, 2016, 03:54:10 pm by f5soh »

f5soh

  • *****
  • 4572
    • LibrePilot
Re: ppm(cppm) and lost model alarm at the
« Reply #11 on: April 11, 2016, 03:54:33 pm »
Post your config file: File > Export UAV settings

anypis

  • *
  • 26
Re: ppm(cppm) and lost model alarm at the
« Reply #12 on: April 11, 2016, 10:56:27 pm »
Post your config file: File > Export UAV settings
Thanks

hwh

  • *
  • 1018
Re: ppm(cppm) and lost model alarm at the
« Reply #13 on: April 11, 2016, 11:43:33 pm »
I think you're mixing accessory0 and 1.

On the vehicle tab you assign accessory1 to channel5.  I'm guessing that's where the buzzer is connected, servo 5.

On the input tab you assign oplink5 to accessory0 instead of 1.

On the output tab you configured accessory 1.

I think if you change the input tab oplink5 to accessory1 it will work.

f5soh

  • *****
  • 4572
    • LibrePilot
Re: ppm(cppm) and lost model alarm at the
« Reply #14 on: April 12, 2016, 12:04:51 am »
Hank is right, you did a mistake between Accessory0 and 1

Go to Vehicle tab and change the Accessory0 mapping to Output5 ?
Redo Manual calibration to set min/max values correctly in Input tab, be sure you set the neutral for your accessory around middle.