RC Tractor Guy

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 113 total)
  • Author
    Posts
  • in reply to: RC Controller V2.0 and V2.1 Code #1940
    RC Tractor Guy
    Keymaster

    Hi Giovanni,

    Some of the menus aren’t finished so they might freeze. I have been very busy for the last few weeks so haven’t had much time to work on the controller or the tractor code for that matter. I didn’t do any coding on for the touch screens yet so they aren’t implemented in any menus. Yes I had been hoping people would be able to contribute to the code but I had hoped to get the time to explain it better and do some commenting in the libraries.

    in reply to: RC Tractor Guy Controller PCB #1939
    RC Tractor Guy
    Keymaster

    I’ve been really busy over the last few weeks and haven’t had the time to work on any controllers. I have most of the parts but not all so I will have to do a stock check and order the remaining parts before I can sell any more controllers.

    in reply to: Introduce Yourself #1938
    RC Tractor Guy
    Keymaster

    Welcome to the forum Noel and Giovanni.

    Sounds like you have a lot of experience in conventional RC components Noel, it will be good to see your ideas.

    I can definitely relate to the difficulty to find time Giovanni, the last few weeks have been crazy busy for me!!

    in reply to: First build. #1934
    RC Tractor Guy
    Keymaster

    This is a great build, I can’t wait to see how the conventional electronics fit into the small model. Thanks for sharing your build here. How did you connect the Siku steering gear to the servo? That is something I usually have trouble with.

    in reply to: Comms between arduinos #1741
    RC Tractor Guy
    Keymaster

    Well have you considered extending the wires to the LEDs rather than the communication lines? That way you just need to spec the LED resistors to account for the voltage drop of the longer wires. Also extra Arduinos may be overkill, have you considered using a chip like a PCF8574 i/o expansion chips.

    Great job starting on a model farm especially with the automation, I meant to add lots of automation to mine but haven’t managed it yet.

    in reply to: Arduino + NRF24L01 Radio Module RC Control Tutorial Code #1740
    RC Tractor Guy
    Keymaster

    Yes, write one of the data values to a servo and it should work.

    in reply to: New V2 controller #1725
    RC Tractor Guy
    Keymaster

    That’s great that you have found a solution, there must be something in your libraries folder that isn’t in mine. That will be the first suggestion for others who are having similar issues.

    The Syma S107 code isn’t working, I started working on it but didn’t get it to work. I’ll hopefully get round to trying again the future.

    in reply to: New V2 controller #1721
    RC Tractor Guy
    Keymaster

    Thanks for letting me know about the link.

    That’s good news that all the tests say the wiring is perfect but why the code isn’t working for you is a mystery to me. Are there any warnings from the IDE when you upload the vehicle code, if there are maybe copy them and post them here. Maybe another library is interfering for some reason or maybe we’ll see something else that could be our problem.

    A simple test to rule out the libraries interfering would be before starting the IDE open the libraries folder and cut and paste all the libraries except mine temporarily to another folder. Then open the IDE and upload the vehicle code and controller code.

    What version of the IDE are you using by the way? I’m using 1.6.6 maybe there is something in that.

    in reply to: New V2 controller #1715
    RC Tractor Guy
    Keymaster

    That is very strange. You the NRF on JD9560R and Massey 8680 are wired differently so code wouldn’t be directly interchangeable.

    Massey: RF24 radio(8,10);
    JD: RF24 radio(9, 10);

    I added a new tool to the vehicle library over the weekend, it will run the same NRF test as the controller except it outputs to the serial monitor as there is no screen. Maybe that will at least tell you the library is functioning.

    in reply to: New V2 controller #1705
    RC Tractor Guy
    Keymaster

    I updated the NRF test tool in a new library so now it should run a sequence of tests by sending commands to change NRF setting and then testing the response from the NRF to confirm the settings have changed. It should be very clear now if the NRF is working/connected or not.

    Here is the new library http://rctractorguy.com/wp-content/uploads/2016/05/RCTractorControllerV2-2.zip

    in reply to: New V2 controller #1702
    RC Tractor Guy
    Keymaster

    Nishitoku

    The indicator decaying away is correct with no vehicle because it is basically counting the failed responses so initially there are no failed responses and the indicator is full. I should change this to start with a large number of failed responses so that the indicator is empty and when a connection is made it will fill.

    The 1 second of response is very strange, I haven’t experienced anything like that. Maybe the power supply in the vehicle is struggling to continually supply the NRF with smooth power. Maybe adding a 10uF capacitor to the power pins of the NRF would help or maybe lowering the data rate would be easier on the power supply. I’m not sure.

    AWtruck

    That all sounds good. Have you tested more than one NRF and all are reading 000? Are you sure the NRF is getting 3.3V on its power pins?

    in reply to: New V2 controller #1699
    RC Tractor Guy
    Keymaster

    The signal indicator indicates how long since you last received a reply from the vehicle you have chosen so it shouldn’t be full unless there is a vehicle there and it matches the ID you selected. It is full when you first select the vehicle but should quickly start to disappear as it fails to get responses. I looked more into the NRF test program and it was working correctly you shouldn’t have all zeros because we set the PA level to 1 elsewhere in the code. How are you powering the controller? The USB on the Meduino doesn’t power the NRF in case you were just using that. Also when you select a vehicle can you see the needles move as you move the joysticks?

    in reply to: RC Controller V2.0 and V2.1 Code #1694
    RC Tractor Guy
    Keymaster

    Thanks for letting me know about the missing files, I’ve added them into an updated version of the library. I think it will solve your screen not working issue, your screen has the R61526 driver and ID is 0x1520 I think. I also fixed the screen rotation issue discussed earlier and added driver IDs 0x9328, 0x6809 and 0x9335. Here is the new version of the library.

    in reply to: New V2 controller #1687
    RC Tractor Guy
    Keymaster

    The variant value should be a 1 for an nRF24L01+ or 0 for nRF24L01 I think.
    The data rate is suppose to be 1 for 250kbps, RF24_1MBPS for 1Mbps and RF24_2MBPS for 2Mbps.
    The PA level is supposed to be the level in dBm.

    When I test mine I get 1 0 1 so I think the first value is right but the others don’t make sense to me, I possibly have the variable I store the second and third values in defined wrong and they are appearing strangely as a result but I think the first one should be correct.

    in reply to: RC Controller V2.0 and V2.1 Code #1683
    RC Tractor Guy
    Keymaster

    That is annoying I am using 1.6.6, I’ll have to test with 1.6.8 when I get a chance. I hadn’t heard of UECIDE before, it looks good.

    I have uploaded a schematic to the site now, here is a link: http://rctractorguy.com/wp-content/uploads/2016/05/RC_Controller_mini_mega.pdf

    The rotation was set to 2 for the R61520 driver which seems to be upside down, I previously used an S6D0154 driver screen and the rotation had to be set to 0 for that one.

    Yes I didn’t figure out how to get the touchscreen working, the upside down screen will be because on line 5989 of RCTractorControllerV2.cpp the code I was working from sets the screen rotation to 2 again.

    Thanks for the input on the code.

Viewing 15 posts - 16 through 30 (of 113 total)