I have now adapted both circuits for WiFi. (So the transmitter has a WiFi 
master and the receiver a slave)
  The data received is identical to the transmitter
. However, the servos only move half a turn. Apparently the Servo-lib can't 
handle the pic. Or I have to set something else. The programs are attached 
again.

Op zaterdag 4 november 2023 om 10:50:22 UTC+1 schreef Hans van Veldhuizen:

> Hi Rob,
> It has to do with the pin A2. If i change it to C2 the both are working
>
> Op zaterdag 4 november 2023 om 07:56:20 UTC+1 schreef Rob CJ:
>
>> Hi Hans,
>>
>> The only difference that I see is the looptime.
>>
>>  Instead of 1 second it is 1 ms but it depends on how fast the data is 
>> received. If that is too fast will that disturb the servo movement?
>>
>> Kind regards,
>>
>> Rob
>>
>>
>>
>> ------------------------------
>> *Van:* [email protected] <[email protected]> namens Hans van 
>> Veldhuizen <[email protected]>
>> *Verzonden:* vrijdag 3 november 2023 22:13
>> *Aan:* jallib <[email protected]>
>> *Onderwerp:* Re: [jallib] Camera_Gimbal 
>>  
>> Have changed with attached basic. Same result. Changed 325 for 324 same 
>> result
>>
>> Op vrijdag 3 november 2023 om 21:27:23 UTC+1 schreef Hans van Veldhuizen:
>>
>> Hi Rob, 
>> If I add this before the original forever loop then just servo 2 moves. 
>> Changed servo's same result
>> forever loop
>>
>> servo_move(60,1)
>> servo_move(60,2)
>> delay_1S(2)
>>
>> servo_move(150,1)
>> servo_move(150,2)
>> delay_1S(2)
>>
>>  end loop
>>
>> Op vrijdag 3 november 2023 om 19:11:13 UTC+1 schreef Rob CJ:
>>
>> Hi Hans,
>>
>> I cannot see any errors. So the data is received correctly but the 
>> servo's do not work?
>>
>> Have you tried to get the servo's working without the receive routines? 
>> So just hard-code some values to see if the servo's are working?
>>
>> Kind regards,
>>
>> Rob
>>
>>
>>
>> ------------------------------
>> *Van:* [email protected] <[email protected]> namens Hans van 
>> Veldhuizen <[email protected]>
>> *Verzonden:* donderdag 2 november 2023 13:09
>> *Aan:* jallib <[email protected]>
>> *Onderwerp:* [jallib] Camera_Gimbal 
>>  
>> Hello all,
>> My question again. I'm trying to make a two-way camera Gimbal. I have 
>> modified working programs. The transmitter now has two ADC inputs and the 
>> receiver must control two servos. The signals arrive correctly at the 
>> receiver in fits and starts. I can't get the servos to work. Attached are 
>> the two files.
>> Please respond again,
>> regards
>> Hans
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "jallib" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jallib/ff970ccd-ffb8-473f-991f-1441f768da3cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jallib/ff970ccd-ffb8-473f-991f-1441f768da3cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "jallib" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jallib/8093b573-4fb8-492a-ab0f-5db352424ffcn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jallib/8093b573-4fb8-492a-ab0f-5db352424ffcn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/778843ff-97d4-4959-9b63-7629f92eabb4n%40googlegroups.com.

Attachment: 16F15325_ WIFI_ontvanger.jal
Description: Binary data

Attachment: 16F15325_ WIFIl_zender.jal
Description: Binary data

Reply via email to