Rc car with steering and pedal control

TomGeorge:
Hi,
Good to hear.

You need to add some serialprint in you TX code to show on the IDE monitor what the pot value is that you are sending.
At the moment it just says sending pot data, but not the value.

Tom... :slight_smile:

Added code for AnalogRead for pot value. It is reading the pot value (491, 122 are the pot analog values) but I guess the problem is with transmission

Send pot data by NRF
Now sending - Transmit Failed
Send pot data by NRF
Now sending - sent16544, Got response 12264, Round-trip delay 4280 microseconds
491
Now sending - Transmit Failed
Send pot data by NRF
Now sending - Transmit Failed
Send pot data by NRF
Now sending - sent16476, Got response 12264, Round-trip delay 4212 microseconds
122
Now sending - sent123804, Got response 119600, Round-trip delay 4204 microseconds
122
Now sending - Transmit Failed

The problem is that once the transmit delay happens I have to reset that board to resume it...Is it something to do with the code?

Found the issue it seems...There is a loose connection for pin13 on the board. Hope it works now.

TomGeorge:
Move them apart , say a metre, they may be overloading the Rx front-ends.

I have never had a problem even when mine are only about 10cm apart.

sagargarg:
Yes I had. It was working fine yesterday but today I again tried with (hasHardware) = false; to identify whether it is the pot which is causing the problem or something else. The serial output was

Send pot data bmit Failed
Send pot data by NRF

That serial output did not come from my programs.

...R

Hi,
I think we need a picture of your project, including the power supplies.

Thanks.. Tom.. :slight_smile: