Project is a Bait boat (takes bait out to a specified position where it releases a hook the open the door to let bait out)
The controller is std LHS throttle, ive added a spring to centre the left stick though. Skid steer was moved to the left stick for both throttle and steering by swapping 3 and 2 in the RCMAP.
works great in manual. navigate fine range is goo all is good.
Now… the final things too add are as follows.
LIGHTS (plain on off with be great)
HOOK release: want the on forward movement of the LSH stick (CH3)
Bait release: want that on left movement of the RSH stick.
SW-A set to record WP
SW-B arm
SW-C 3/6 modes
SW-D mixed to SW C to provide all 6
VAR-A=nothing
VAR-B=nothing
THE PROBLEM:
I can get the relays to trigger… and i cant assign CH4 or CH3 to trigger those even if i could looking at the info … Channels 7 and 8 are already used for record WP and arm.
sorry but that got me nowhere im really getting confused now and starting to forget where i started at… just to recap and so i have it down for my own memory
SW-A set to record WP (CH7)
SW-B arm (CH8)
SW-C 3/6 modes (CH5)
SW-D mixed to SW C to provide all 6 (CH6)
VAR-A=CH9 would like to have this powering the light but i CANNOT get a signal to show up at all in the radio calibration and the servo list only goes to 8
VAR-B=nothing
CH2 and CH3 have been switched in the parameters to get all movement control onto the LHS
leaving me channels 3 and 4 with which to control the two relays which for the life of me i cannot seem to work out how to do.
not that it really matters at the moment CANNOT get my damn relays to work bench tested anyway.
dont suppose you know anything about these things do you? if triggering 12V solenoids.
the left hand terminals are NO … it feeding power through a separate UBEC to the DC+ and DC-
if i feed the CH connection a +5v the light on the relay block comes on but the connection does not switch to NC … if i feed the CH connection an earth again the light comes on and i still get no state change. whatever i do i cannot get those relays to change to NC
any and all help appreciated even if its to point out how silly i am for missing something.
The attached will configure relay outputs on AUX 1&2 (Pixhawk) from RC input channels 3&4 respectively. That will put 3.3V on these outputs which no doubt will not work with those relays.
A pair of those switches look like a very easy solution to powering 5v to the relays. i think ill go for that option.
Many thanks to everyone for their replies.
had a test run at the weekend and everything looking good in relation to steering and handling in manual. Now i have to get my head round how to log things and view the logs too
Those PWM switches ARE relays. You can switch the load directly with them if its withing the 10A.30V spec. What do you need the other relays for? I mean you could switch the coils of one relay with another but what’s the point unless the PWM switch’s can’t handle the load.
Also, do you have a spec sheet for those relays? Not all solid state relays will switch DC loads.
I think the relay contact is just a SPST with contact ON with PWM>1800us and contact OFF somewhere a bit <1800us (assuming some deadband). I’m not actually sure of the PWM threshold level but it’s likely to be in this range.