Notifications
Clear all

nrf24 and nano rc car project

24 Posts
5 Users
2 Likes
1,786 Views
(@toymaker)
Member
Joined: 2 years ago
Posts: 11
Topic starter  

   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6905
 

@toymaker Do you perhaps have a power only USB cable? A simple continuity check if it's an A cable on 4 leads. The two inner are data, the two outer are G and 5V.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
(@toymaker)
Member
Joined: 2 years ago
Posts: 11
Topic starter  

@Ron

I'm thinking that because the LEDs change when I load a sketch, it downloads the sketches.

So I'm thinking it pushes data.

 I did start with one that was just a USB power cable and the nano came with the blink program in it.

It didn't change when I uploaded the sketch.

And the lights didn't blink showing when it was uploading.

 Both the nanos act like they are uploading, the right lights are blinking during the process.

 I'll try another cable or I think I'm going to have to try hooking one up to the other laptop.

 Maybe the common ground is messing with it.

 I also read that wifi might interfere with the signal and I should use channel 70 or higher. Just not sure how to do that.

This post was modified 2 years ago by Toymaker

   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6905
 

@toymaker Of course if the sketch loads then the cable is ok. If it was WiFi interference it would probably be consistent and it's not. Is it possible to test only the client and server by themselves so you can prove or disprove each part. The reason I say that is at the moment you have 2 pieces of code intimately connected so it is difficult to determine where any fault may be. I am knees deep in my own project right now but if you don't solve this soon, I have a couple of the boards and can try it myself where I might notice something when I can get some free time.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6905
 

@toymaker Just a sanity check, you do have 2 instances of the arduino IDE open at once correct?

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
(@toymaker)
Member
Joined: 2 years ago
Posts: 11
Topic starter  

 

 

@Ron 

   I understand having many projects going and

thank you so much for the time you've already spent helping me

and the patience you've shown me.

   I've been picking away at problems with these for months so no big hurry.

Get your stuff taken care of first.

   From my searching for answers I'm not the only one having problems with these:

The bottom of the tutorial page is full of others.

nRF24L01 Wireless Joystick for Arduino Robot Car | DroneBot Workshop

     Since I hope others might read this and find it helpful: 

     My first problem was a bad nano, the chip on the bottom was getting hot.

The other one wasn't getting hot. Logic?>> They aren't supposed to get hot.

Luckily I bought 3 of each, nano, nerf, adapter and antenna. The other one didn't get hot either and works better.

      Another problem was trying to upload a sketch to these nano boards without using the "old bootloader".

Which is found in tools> processor.

It wouldn't load. Bunch of orange text at the bottom.

 

  Yes I believe I do have 2 instances open.

 If I don't click on the arduino icon and bring 2 windows up that way,

then whenever I try to change to a different port on one window, 

 the port changes in the other arduino sketch too.

Me>, " Wait I just changed the client sketch window to COM3

how come it changed to COM7 when I set the server sketch to COM7.

DOH, oh I see I only opened one instance,... again"? <<

You are not the only one who checks my sanity, ha.

 

Let's see if I can attach a picture of my friends Joy and Nojoy:

nanonerfs

 The third one is just to show the breakout board. I did buy another nano. An every this time.

     

This post was modified 2 years ago by Toymaker

   
ReplyQuote
codecage
(@codecage)
Member Admin
Joined: 5 years ago
Posts: 1037
 

@toymaker 

I also have been unable to upload to any of the Nanos I own without using the "old bootloader."  Not sure what the secret behind that is, but I've now resigned myself to always use the 'old bootloader" when working with my Nanos.

Although it has been awhile I remember I was successful in getting my nrf24 and joysticks working together.

SteveG


   
ReplyQuote
Ron
 Ron
(@zander)
Father of a miniature Wookie
Joined: 3 years ago
Posts: 6905
 

@toymaker 'Old bootloader'? They have USB ports. I will see if I have a NANO or two laying around and try a blink sketch using the USB port but I was just woke up by a tree crashing on the roof of my RV. Everyone is OK, the RV appears to still be watertight but the repairs will be in 5 figures.

First computer 1959. Retired from my own computer company 2004.
Hardware - Expert in 1401, and 360, fairly knowledge in PC plus numerous MPU's and MCU's
Major Languages - Machine language, 360 Macro Assembler, Intel Assembler, PL/I and PL1, Pascal, Basic, C plus numerous job control and scripting languages.
Sure you can learn to be a programmer, it will take the same amount of time for me to learn to be a Doctor.


   
ReplyQuote
Will
 Will
(@will)
Member
Joined: 3 years ago
Posts: 2507
 

@codecage @zander @toymaker

Julian Ilett has made a video on how to load the Uno boot loader on to the NANO. This has the extra benefit of expanding usable storage by another 1/2 K. It also means that you don't have to worry about using the new or old bootloader.

The downside is that you have to mark the NANOs because they will be seen by th IDE as an Uno from that point on, despite being the NANO form factor.

Anything seems possible when you don't know what you're talking about.


   
ReplyQuote
Page 2 / 2