Notifications
Clear all

Help Esp32 book

12 Posts
5 Users
0 Likes
120 Views
(@videogame95)
Member
Joined: 3 years ago
Posts: 55
Topic starter  

Hi need help with my esp32 project I need a book on how to use esp32 to make car with code to download I've tried using a joystick on esp32 and one as trasmiter one as reciver but don't understand the now wifi esp32 to esp32 . I've seen Bill's video still not understanding how it works . A good book with different car project in it would help.

If you have a book that covers ESP32 projects this subject please let know. 

Thank eveyone 

 

 


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

Posted by: @videogame95

Hi need help with my esp32 project I need a book on how to use esp32 to make car with code to download I've tried using a joystick on esp32 and one as trasmiter one as reciver but don't understand the now wifi esp32 to esp32 . I've seen Bill's video still not understanding how it works . A good book with different car project in it would help.

If you have a book that covers ESP32 projects this subject please let know. 

Thank eveyone 

 

 

I do not know of any books and doubt there are any of this type. Any esp32 books would cover the basics not a specialized project.

Let's see if I can decode what you are saying.

You want to use 2 esp32's, one as a transmitter, one as a receiver.

You want to use ESP-NOW protocol.

If that is correct, then Bill's Mecanum project does cover the subject but it is likely a challenge for someone new to programming unless you are simply copying Bil's code.

I do not understand what you mean by

make car with code to download

Can you rephrase that?

 

 

I also do not understand what you mean by

I've seen Bill's video still not understanding how it works

is it the funky wheels that you don;t understand (me neither) or the message protocol, what exactly?

 

 

 

 

 

 

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
(@davee)
Member
Joined: 3 years ago
Posts: 1694
 

Hi @videogame95,

Your best bet is to start searching on Internet. For example:

You might find the Random Nerd Tutorials have something helpful. As a starting point, have a look at this

https://randomnerdtutorials.com/esp-now-esp32-arduino-ide/

and also look around their website.

Good luck, Dave


   
ReplyQuote
(@sam_uk)
Member
Joined: 4 weeks ago
Posts: 5
 

Depending on your aims something in Microblocks or Micropython might get you up and running quicker


   
ReplyQuote
(@videogame95)
Member
Joined: 3 years ago
Posts: 55
Topic starter  

@davee Thanks if put up my joystick trasmiter code and the reciver code could someone check it out for me.

How do I actually register both devices is it in my code or is the a additional steps ?


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

@videogame95

Posted by: @sam_uk

Depending on your aims something in Microblocks or Micropython might get you up and running quicker

In the future either click the reply link or manually add the nickname so the person you are directing your comment to is notified. Otherwise they may never see it.

 

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
(@videogame95)
Member
Joined: 3 years ago
Posts: 55
Topic starter  

@zander yes your correct i would have on esp32 as a receiver with joystick and one esp32 as receiver on the car 

i have download the code from a YouTube video would you like me send the link to see what I'm following,

i can also send you the code. I have found the mac address from both esp32  boards I've copied them into my note pad. i added the receiver mac address into the transmitted code. 

i"m having difficulty to pair them to each other.

please let me know what you think or suggest.  i am a very patient and work this out in time i had to be in my job. i was a swimming instructor for over 35 years one of challenging pupil it took him 3 years to swim 20m but i helped him get there he went on to get to stage 7 and could swim over 400m. i have had very quick swimmer as well getting to top classes under the age of 8 years club ready.

i did started to fill i should give this all up but then said to my self it only time i managed to get the skull working and the simple burglar alarm on the pi pico. ive doing this since 2011 mainly raspberry pi.

thank you for your help I've become very ill with a muscle wasting condition so i may have give this up at some point.

As my finger will not be able to use a screw drive or hold things. i can stand but i'm use a wheelchair all time.

i'm not asking for sympathy. just give me time thanks. 

 

 


   
ReplyQuote
(@davee)
Member
Joined: 3 years ago
Posts: 1694
 

Hi @videogame95,

PS. Whilst I was typing this response, I see you have replied to Ron @zander, including information about yourself. Again, I apologise for the sermon side of my response, but I hope you will read it knowing that I have only written it to try to help you, not chastise you. I am sure you remember the patient steps you had to take to help that swimmer who took a long time to learn, but succeeded in the end. Well done to both of you!! This is another case of the same basic story. Very best wishes, and I hope you can continue to cope for many years.

-------------------------

RE:  "if put up my joystick trasmiter code and the reciver code could someone check it out for me.

How do I actually register both devices is it in my code or is the a additional steps ?"

  I am sorry, my answer will sound harsh, but I don't think this is a wise question to pose on a forum. I'll try to explain why, with exaggerated examples of 'good' and 'bad' forum questions:

------------------

Forum's can be an excellent place to resolve specific questions, like

'Please explain how I correct a syntax error in the short programme I have attached to this message. The compiler error message is "Line 5: Syntax error  x xxxx  xxx .... ".

But general questions, of the following type, are a nightmare for both the questioner and the person trying to provide an answer.

I have a development board, driver board and a motor that doesn't work. How do I fix it?

This question gives no clues as to types of units. Are any of them faulty or incompatible with each other? How have they been wired up? What software is being used? ... The list of possible problems is endless.

------------------

Please remember, you are likely to be the only one with your particular kit of joystick, dev board, etc., so, in general, it is difficult for anyone else to diagnose any difficulties in your system.

Plus, assembling some unfamiliar parts together, and expecting to make it work, is setting yourself up for lots of heartache and failure. So please consider taking a slower, but in the end probably more rewarding path.

I recommend you take a few moments to sketch out a progression of steps that starts with now, (your present knowledge and experience, parts you have available, etc.), and gradually works towards the final goal. Each time you start using something new, like a development board, a new programming language, a new library to drive a sensor or actuator, etc., plan in one or more 'side steps', so that you become familiar with that particular aspect. The tutorials provided by Bill (@dronebot-workshop) and others are excellent for assisting with these 'side steps'. Of course, you may need to ask some questions at each of these steps, but these are likely to be more specific, and get better answers. 

I realise you may find this a little more daunting, and less exciting, but perhaps consider how others have achieved sufficient knowledge and experience to be able to competently answer questions posted on this and other forums. I think you will usually find the best answers come from others who have spent a lot of time and effort getting familiar with the 'basic' components, tools, etc., as well as applying that knowledge in larger projects.

------------------------

In addition, before posting a question on a forum, think about drafting it in an editor like LibreOffice Writer (and is a free download), or Word, which includes spelling and grammar checks.

Then, having drafted it, take a break for a coffee or similar, before re-checking it with fresh eyes, copying and pasting into the forum box, and posting it.

It is a little more work, but better questions get better answers!!

------------------------

I am sorry if this reads like a harsh and scary sermon, but I have written it with the best possible intentions for you. I am not trying to make you scared of ambitious projects, but rather learn how to divide them into small 'digestible' bites, that progressively build into a long term success.

Please don't be afraid to ask questions, but rather, take a little time before posting to think. Can I make this question clearer and more specific? Have I provided enough information for the reader to imagine my situation?

----

Best wishes and good luck, Dave


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

@videogame95 Yes, send the video link. Yes, send the code.

We have a bit in common, I passed the Royal Life Saving test. I think it was the first level, but not sure. I was at church camp and our lifeguard was a Royal Life Saving Instructor so in our spare time he tested me. In came in handy years layer when I foolishly decided to swim across a lake. About halfway I realized it was further than I thought. Fortunatly I remained cool and just turned on my back and kept afloat with minimum effort strokes. I did eventually get all the way, but I walked back.

Since I will be doing some work with joysticks soon, I think we can collaborate BUT I may recommend a different base, I will not know until I see what you are following.

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
noweare
(@noweare)
Member
Joined: 4 years ago
Posts: 120
 

Have you run the esp32Now sample code ? That is probably the easiest way to get started. If you have downloaded the esp32 development files it will be under Libraries ESPNOW /examples. Once you get two of them talking then that should get you on the right path. Good luck.


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

@noweare You need to read ALL his (videogamer95) posts, you are missing some important info. I am sending you a PM.

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
(@videogame95)
Member
Joined: 3 years ago
Posts: 55
Topic starter  

@noweare Hi Dave is the development code in Arduino ide libaries ?  If not were can I get the development code from sorry for being so dumb.


   
ReplyQuote