-
Notifications
You must be signed in to change notification settings - Fork 973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PWM speed channel not working #244
Comments
Have you wrongly done the auto calibration maybe? You can check debug output when executing this procedure. |
yes, but also seems to read always 0. Input calibration started... If i force PRI_INPUT1 and PRI_INPUT2 to type 2 instead 3(auto) i get; Input calibration started... but Speed still not working. Note the TYP:0 for input 2 and the "NOK" (i set both input type to 2) |
The firmware works for sure, I have tested pwm myself. You are saying ADC works but ADC variant is using left cable, and PWM variant is using right cable by default (shorter). Have you tried pwm on left cable to make sure you don't have a problem on the right cable? |
Yes, tested on both right and left cable by "#define CONTROL_PWM_LEFT/RIGHT", same result. I don´t know why the debug shows always Input2 as TYP:0, although I defined it as type 2 . Also tried to erase flash before upload. |
You don't have to change the type. |
Same result, full chip erase, redownload the sources, set to PWM mode, and upload. |
It's weird. |
The board looks similar. |
Yes |
But If the latest firmware is working on other boards i will assume a faulty board |
The code hasn't changed for a while, and other community members shared videos of their setup with pwm. |
this one yes, but in will try another one PPM capable |
Tested the PPM variant with a PPM receiver (used the IN2 wire acording to wiki -green wire-), no any signal detected, always shows IN1=0 and IN2=0, so i assume a faulty board in both left/right ports with the same issue!? |
Are you sure you use the right number of channels? |
In PPM i tried first with16 channels and second select only 4 channels in the Taranis TX configuration. |
No beeps ? You should get beeps if the number of channel is incorrect. |
So even after matching the channels, you get beeps, and from both sides ? |
yes, tried both sides and both wires on each side. |
However if i enable DEBUG_SERIAL_USART i should be able to send commands is correct? I can read data like the calibration result, but if i send a command don't get any reply. IE i send HELP and no any reply |
No it's not enough for sending commands, this should be also enabled. |
Sorry, i mean enable DEBUG_SERIAL_PROTOCOL and no get any reply |
Yes then it should work. |
is there any way for using as PPM input the blue wire instead the green one? |
Modified this line in the defines.h file and got a fine PPM input in the Right side-blue wire. #define PPM_PIN GPIO_PIN_10 //GPIO_PIN_11 |
👍👍👍 |
Many thanks!. I will try to get another board for testing. |
Please check USART variant in the wiki. |
Hi, after some tests, R23 and R26 are faulty, some resistance but much more than 100ohm, so its a faulty board. I think probably some time ago in early tests i used the red wire of the port (15v) by mistake instead the 3v3 and fried resistors, with the pots i get reads but very noisily. The left channel survived after replace resistor but the right one didn't. |
Hi everyone. New to this project.
I'm testing the PWM variant but while the steering works, the speed dind't it. Tested the ADC variant and works as expected with the two potis.
In the PWM variant the "in2" always reads 0 when serial debug. The output train of the RC receiver is ok on both channels.
Thanks
The text was updated successfully, but these errors were encountered: