r/ArduinoProjects • • Apr 08 '25

How i can learn to code and build?

How can I learn to code microcontrollers like the ESP32 and more? And how can I learn electronics quickly? If someone is kind, could you create a plan for me—what I should learn, how, and in what order?

1 Upvotes

19 comments sorted by

6

u/BudoNL Apr 08 '25

Nothing comes overnight my friend.

This journey will consist of thousands of hours, sleepless nights and lots of swearing and white smokes.

Unfortunately there is no machine that can download new knowledge into your brain with a single click.

Start from the beginning by buying some starter kit and make all suggested projects from the kit booklet. After, just Google for projects and play with it, have fun, enjoy the process..... This will be a very long, tiring but rewarding journey.

2

u/user01476 Apr 08 '25

Thank you for your reply. I know that knowledge doesn’t come overnight, but what I mean is: just playing around with projects is cool, but I want a structured plan so I can learn faster. Playing around is helpful and good, but not efficient.

5

u/BudoNL Apr 08 '25

https://www.amazon.nl/-/en/gp/aw/d/1449333893?psc=1&ref=ppx_pop_mob_b_asin_title https://www.amazon.nl/-/en/gp/aw/d/1449334180?psc=1&ref=ppx_pop_mob_b_asin_title https://www.amazon.nl/-/en/gp/aw/d/1449334318?psc=1&ref=ppx_pop_mob_b_asin_title

Good books that I personally love and can recommend.

Be aware that this hobby is really based on a experience and lots of trial/errors (aka experience). The more projects you make and more things you open/disassemble/assembly and break, more knowledge and experience you will get.

Get into KiCad, EasyEDA and learn schematics, designing PCBs, etc. First of all, learn how to read schematics.

Volt meters (multimeter), oscilloscopes, logic analyzers, etc..

Learn how to PROPERLY solder stuff, breadboards, prototyping...

1

u/aztecforlife Apr 08 '25

Good decisions come from experience. Experience comes from bad decisions. You will get used to it and head off the really bad ones with some practice.

1

u/aztecforlife Apr 08 '25

Also, read the forums and learn from others mistakes as I know I can't afford to make them all myself.

2

u/deevee42 Apr 08 '25

Define a project you would want to do with that controller. Split up in smaller pieces. Go from there.

Example: I want to build a self aware robot that will earn money for me and builds a factory to build new robots.

Step 1: wheeled or walking..maybe I should try to move a steppermotor first and then decide how to build a leg. Also how do I make a dc motor turn a wheel. Step 2: it's not working but why? maybe I should have some indication on what the code is doing..how about I turn some leds on/off at certain places in the code. Step 3: leds are easy..cool. but I need a panic stop button..start button would be nice too...

At every step use an AI like chatgpt to help you. It's amazing how much this will boost your learning rate.

Goodluck! ..and a project is never finished nor abandoned.. there is only on track/on hold

1

u/user01476 Apr 08 '25

This is a wonderful community with helpful tips; thank you for this excellent idea.

3

u/old_man_kneesgocrack Apr 08 '25

1

u/justanaccountimade1 Apr 08 '25 edited Apr 09 '25

Yeah, a beginner needs that project book that's included.

But there's no quickly. You can go through that book quickly, and you'll be able to light leds and run motors, but to really learn you need to do a lot of additional research + time.

1

u/A_Wild_Noodle Apr 08 '25

This is one of those things where it's a forever learning endeavor. I'm a career electronics engineer, and there is always something else that you'll need to learn. Not sure what your intention is for a micro controller project but my advice would be to learn simple circuits first with discrete components like LED, resistors, diodes, BJT's, and the like and get a feel for basic electronics. A great YouTube channel for that stuff is GreatScott

For me starting out it was better to do build circuits and when I needed the microcontroller then I would use it and let the project dictate the hardware. If you have a project in mind of course that can work the other way around

1

u/xebzbz Apr 08 '25

There's not much specific to esp32. The principles of programming are still the same as with the Arduino chips, or rp2040, or stm32, etc.

Learn the C language, and read good books on software development. Practice, set yourself goals, and you'll be good.

For example, a project that will take about a year for a new starter: secure chat, using LoRa as a transport, and utilizing encryption, authentication, delivery confirmations, etc.

1

u/Flimsy-Egg-1565 Apr 08 '25

Just buy a board, a selection of components and sensor modules a get stuck in. Best way is by doing it, good luck

1

u/W0CBF Apr 09 '25

Buy an Ardrino Starter kit from Amazon (about $35). Then go to toptechboy.com, Paul has an excellent on-line course for free. He is an amazing instructor.

3

u/[deleted] Apr 08 '25

[removed] — view removed comment

5

u/SjeesDeBees Apr 08 '25

Good bot, thank you AI