If you’re looking for the best language to learn for robotics and IoT then embedded coding is a must!
Embedded coding is the creation of software built for the purpose of specific small computers.
The two languages that instantly come to mind here is Lua and C/C++.
Some really cheap and easily available project boards can be bought today.
The nodeMCU (ESP8266) developer board for example, is programmed using Lua and is said to be a relatively easy language to learn.
Another cheap dev board is the Arduino.
This uses the C programming language.
Arduino offers an excellent IDE which is cross platform (available over many operating systems) and also supports many boards, not just Arduino!
I think These are excellent ways of learning to code.
The reasons here being that there’s a huge community for Arduino that offers a huge range of projects from people around the world who give away their code.
If you would like more information about what an Arduino is then you can check out my post: “What Is Arduino? A Beginner’s Introduction“.
Another reason these project boards are great for learning to code is that the electronics communicate with the real world by using sensors for inputs and components such as LED’s and motors for outputs and you can see your code in action that doesn’t belong on a computer screen only.
Don’t be afraid of learning a little electronics here either as I see so many developers turn white when ever the word ‘electronics’ is mentioned.
When I was young I wanted some micro-controllers to play around with.
But at the time, the only option was PIC micro-controllers and the basic beginner’s kits for these PIC’s were way out of my price range as a kid.
Now with these open-source hardware boards and clones which are built with commercial-off-the-shelf components it’s possible to build entire projects for under $10!
Check out the Arduino project hub over at Arduino.cc and just look at the variety of projects that others are creating and providing you with guides and code.