Notifications
Clear all

What kind of uC do you prefer/advise to control a bot

20 Posts
5 Users
0 Likes
757 Views
ElectricRay1981
(@electricray1981)
Member
Joined: 1 year ago
Posts: 119
Topic starter  

Posted by: @byron

Posted by: @electricray1981

@byron 

So that would mean I should start learning Python instead of C++.....right?

I do not wish to give such advise, but if you are musing as to whether to invest the time and effort required to lean python, and you have a few hours to invest on doing a little research to see if it may be what you wish to do, then I suggest you have a read of the following introduction to python to see if  you want to go down that route. 

https://thepythoncodingbook.com/

 

 

 

I understand it is all subjective ...what does want to do and how much time does one have to invest. I personally prefer to stay at C++ I took this journey and it i a language that if I understand it will help me in many areas. I also think if I understand all youtube videos correctly is something one could use with ROS so if I could choose I would stay at C++. But if I really would need to yes I would take the time to learn more about Python. 
On the other hand I'm not a professional programmer I have basic understanding of programming so dive into many languages Would make my life pretty difficult. I think it is better to stay at one language....I think.....

 

Grtz,
Ray


   
ReplyQuote
robotBuilder
(@robotbuilder)
Member
Joined: 5 years ago
Posts: 2042
 

@electricray1981 

C++ is the best language to be able to use and is the one Python is actually written in. It is the closest you can get to the hardware without using Assembler. The reason I added Python to the computer languages I could use  is because a lot of robot examples are written in Python.

 


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

@electricray1981 Yes, IF the robot is sophisticated enough. If it is very simple then you can get away with one of the larger (more pins) uC like an ESP32 or even the latest V3 board an ESP32-S3 with Bluetooth 5 and other improvements. Just google esp32-s3 and click the espressif link (probably the first hit) You could even go all Raspberry with a Pi 4B brain, and PICO or PICOW as the uC's.

Your problem will be buying a Pi4. Before the chip shortage, they were about $100 with all the usual options, but now if you can get one it is $245 in Canada. Either go with another SBC or go with just uC. Good luck.

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: 6963
 

@electricray1981 There are several ways, like WiFi and Bluetooth but I would not recommend the latter for sure and WiFi seems like overkill, so instead check Bill's video HERE  and be sure to click the more link and then the blog link so you can read instead of trying to find something in the video. I think Bill even provides a pdf download of the article now as well.

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
ElectricRay1981
(@electricray1981)
Member
Joined: 1 year ago
Posts: 119
Topic starter  

@zander 

Thanks for your opinion it is much appreciated.I did not post this topic because I as looking for someting right now.But im curious how others do things which controller or which approach they use in order to get a more general view of all other forum members.

 

me personallshould contue what im doing cause I need to learn a lot about C++, soon I will stat with a new course about uC (microcontrollers and C++) but first I need to finish the course im doing now about analouge electronics. 

I just posted this topic to get an idea about hwat other people use...foor the sake of curiosity

Grtz,
Ray


   
ReplyQuote
Page 2 / 2