Probably don't start with a self-balancing cube as the first project though. Get an Arduino or ESP board, make some leds blink and go from there.
Probably don't start with a self-balancing cube as the first project though. Get an Arduino or ESP board, make some leds blink and go from there.
Find a project online that tickles your fancy, and then recreate that. If your thing doesn't work, you know it is something you did incorrectly as the project has been built successfully by others. During the course of that project, you will pick up on so many little things.
As an example, I had a project with more buttons than pins. Just something as simple as adding a few resistors to each button allows multiple buttons to be connected to the same pin. You just have test the voltage to know which button. Sounds simple, but I learned it from someone else's build.
Nobody likes walking through tutorials for tutorials sake, but it's still useful and rewarding if you can build something functional as a tutorial.
One of the things I find paralyzing about electronics is the fact energy is involved. Software just outputs garbage to the terminal if I screw it up. Circuits though? Isn't it possible for components to be literally destroyed, fires started?
What you'll find though is that, as a result of everyone before you making the same kinds of mistakes, there exists protection circuitry for almost everything you would want to do. For example, Lithium-Ion batteries are quite unsafe if you treat them without the respect they deserve, but that's what e.g. the DW01-P IC is for, and many Li-Ion charging ICs feature NTC thermistor inputs (e.g. the LTC4053) to stop charging if the cell is outside of some safe temperature range.
If you're really worried, a CO2 extinguisher and a bucket of sand go a long way.
It's to make sure that the environment is set up right. Is the device getting flashed? Does it start up at all? If you make a change (blink at a different rate), do you see your change?
https://twitter.com/thepracticaldev/status/76048012124142796...
Then you can make something that can turn off or on "real things" and work from there.
If it can do 120v, it can usually to 12v, and that's the next step - directly controlling components.