|
Advice for my son looking at learning programming, which language? - Printable Version +- MHH AUTO (https://mhhauto.com) +-- Forum: Suggestion, Selling & Damaged Links Box (https://mhhauto.com/Forum-Suggestion-Selling-Damaged-Links-Box) +--- Forum: Gossip Forum. (https://mhhauto.com/Forum-Gossip-Forum) +--- Thread: Advice for my son looking at learning programming, which language? (/Thread-Advice-for-my-son-looking-at-learning-programming-which-language) Pages:
1
2
|
Advice for my son looking at learning programming, which language? - sask3500 - 06-06-2019 My 10 yer old is pretty excited about programming and robotics. We homeschool our kids and are looking into courses or textbooks for him. We’ve found the Kahn Academy to try out this year and played around with a raspberry pi as well, using python to control and sequence led’s. The first time he got one to blink he looked like he was hooked for life lol! Any input on languages, particularly for robotics? Also courses or books? Thanks Sent from my iPhone using Tapatalk RE: Advice for my son looking at learning programming, which language? - Jonny Rotten - 06-06-2019 Rosetta stone? I hear it is really good Advice for my son looking at learning programming, which language? - sask3500 - 06-06-2019 I’ll check, thanks. I thought they just did spoken languages... Any input on which languages, especially some common to industrial products, equipment etc? And does the amateur robotics world have a mhh equivalent? I’ve been collecting used actuators, solenoids etc for him. Sent from my iPhone using Tapatalk Maybe rosettacode.org? That looks interesting... Sent from my iPhone using Tapatalk RE: Advice for my son looking at learning programming, which language? - hahn181 - 06-06-2019 Programming is such a huge and interesting topic, that it can be realy hard to decide what specific topic you want to do. But all have a few things in common. The programming languages are free to learn and well documented. So I personally would prefer the whole open source knowlagdes in the Internet. I am an professional IT-Specialist and programming with devices like Arduino and Raspberry too. For an very first start you could look at HTML. It's a quite simple language and you dont need anything exept your internet explorer. But even in this modern days HTML is still present everyvere. From there you could go further on to PHP / CSS /Python programming because it directly attaches to the HTML theme. For electronics I would prefer the Arduino boards like Arduino Uno, Mega , Nano... There are pretty cool starting sets with all you need. They get programmed in "C". You can just look at arduino.cc Raspberry is possible as well, but not that easy for beginners and too powerfull for beginner experiments. My last test project for example were two arduino boards functioning as wifi RC TX and RX boards with an webpanel, were you could move the vehicle over your webbrowser too. Thats were the connection of HTML/PHP/PYTHON/C programming happened in total. Yea... thats it so far i think. If you have some questions you can also write me an pm. I can give you tons of information even in game programming. best regards, michael Advice for my son looking at learning programming, which language? - sask3500 - 06-06-2019 When we looked at the raspberry pi vs arduino before buying it looked like the pi was more beginner friendly, maybe I got that wrong? What makes the arduino easier? Just the use of c as the language? Sent from my iPhone using Tapatalk RE: Advice for my son looking at learning programming, which language? - jwth - 06-07-2019 Basic is a good first and leads into all C++ Java Then where do his interest lie? Industrial would be Allen Bradley, Siemens, Fanuc, Mitsubishi for industrial Controls. Then there are individual languages for specific applications. Hexadecimal to Binary conversion is up there for a lot of minor I.T. 37 years into it and I am still learning. RE: Advice for my son looking at learning programming, which language? - hahn181 - 06-07-2019 (06-06-2019, 08:20 PM)sask3500 Wrote: When we looked at the raspberry pi vs arduino before buying it looked like the pi was more beginner friendly, maybe I got that wrong?Well for example the Arduino Uno Board (China ones are about 10€ per piece) needs no previous preparation to use it. You connect it with an USB Cable to your PC, start the Arduino IDE Software (nothing more than an programming editor like Visual Studio but simpler). Standard Programm is for example "Blink". Just a few lines of C code which will let the onboard status Led blink. You just click on the "run" button in the Software and the code gets "flashed" fully automatic to the arduino board. The code gets checked before if there is some kind of syntax error. There are tons of projects and librarys on github etc. (you can search there for .ino files thats the file format of the IDE software) The biggest difference is that an Arduino Uno (Based on Atmel Mega MCU's) is an 8Bit chip and the Raspberry is an complete ARM 32Bit Multicore Processor PC. I do a lot with raspberrys (I use them as little servers) but just the preparation like installing an Linux OS etc. takes some time. And after that you have to know Linux and Shell scripting to just do the simplest things. For experiments from simplest beginner things up to very complex electronics the Arduino Boards deliver all you need. (a really nice experiment is an 8x8x8 3D Led cube btw.) And there are a lot of compatible boards like the ESP8266 (which can host a tiny webserver!) In total... with an arduino you are ready to go by just put it into your USB-Port and look at the first example scripts. You will get fast learning process because you can directly see what it does... like "if i write an 1 here than IO Port Nr.15 will provide 5V, if i write an 0 here than it will provide GND" Even for Automotive things, because most sensors there are 5V too. With the Arduino you can for example read Hall-Sensor data (Analog or Digital) with few text lines. It is really worth a look i think
Advice for my son looking at learning programming, which language? - sask3500 - 06-07-2019 So will it be too confusing for him to work with a raspberry pi and arduino stuff at the same time? Should I get an arduino board to replace the pi? The pi we got had the rasbian? OS preloaded, with a screen and keyboard it’s a functional computer. Can it run the software you use to program an arduino board? Edit:never mind. Yes you can. But will learning on two systems be too confusing? Sent from my iPhone using Tapatalk RE: Advice for my son looking at learning programming, which language? - megastang - 06-07-2019 I'm looking at getting a 3d printer for the older kids. For a couple of hundred dollars you can get one decent enough and Fusion360 CAD is free for hobbyists. Have you seen what some of the new additive manufacturing technology can do with direct metal laser sintering? Building up a part from nothing then machining it!! |