Where to start in programming microcontrollers?

Has 4 years of experience developing web applications. Long-standing desire to touch microcontrollers. Technical education. The relative willingness to hardcore. Basic knowledge of C/C++ and assembler.
I want to try to do things for the systems like smart home. That is, the automation control of various things, devices, and interaction with communications systems.
I do not want to collect fees from 0 independently, to look under, transistors, resistors, etc.

Expect a certain fee, which allows you to quickly develop and deploy in a wide range, relatively simple to learn, well documented, its development environment and community. However, you do not want to charge jammed the fundamental understanding of "how it all works", so relative to the Arduino there is concern, and besides it is very expensive. In General as always the Golden middle. Those who have experience, please advise how to spend the money to pacify his curiosity in this area.

UPD: Ordered the following set Ultimate-UNO-R3-Starter-Kit-for-Arduino
July 12th 19 at 20:23
8 answers
July 12th 19 at 20:25
Welcome. Web developer and as a hobby play iron. To operate the microcontroller at least required some knowledge of electronics and circuitry. Then I would advise to take arduino. It is very a lot of lessons and schemes plus the ide is easy to understand. At a price not agree. Can the Board take 500 rubles with China. To it even starting radiodetali - LEDs, resistors, buttons, etc. - also not expensive. All of this can be collected for the 1000-1500P - in our time is not much.
As a more complex level, I would advise you to take some simple stm32. To it will also be necessary components.
For 2000 you can assemble a good kit.
On this site there are cheap scarves
July 12th 19 at 20:27
Will need the following set, so it was interesting to do something:
  • *duino Board (preferably Uno or Mega) - 1pc.
  • A solderless prototyping Board (solderless breadboard) - 2pcs.
  • Resistors - 10 PCs of each value from 1ohm to 22МОм on a number E12
  • A set of LEDs at 20mA 3mm. - pieces 5 different colors better
  • Clock button - 4-6 pieces
  • Potentiometers of different values - a couple Grand
  • Photoresistors - a couple Grand
  • Semiconductor diodes - 10 pieces
  • Bipolar npn transistors 222 (key) - 10 pieces
  • Field logic transistors for motors and LED strips - 2 pieces
  • Blocks relay for switching 220V - a few pieces optional
  • A set of electrolytic capacitors - pieces 10 of different denominations to 12-35V
  • Voltage regulators 7805 or 317 - optional
  • Battery type Krona - optional

With this set you something to do if I have some idea. Just buy the Arduino pointless, tired the next day.

Plus most likely you will need minimal tools:
  • Soldering iron 30W
  • Any multimeter
  • Tweezers
  • Usagency
  • A bunch of Shoe boxes to store it all

You can buy everything in one kit, for example: amperka.ru/product/matryoshka-z put 4 of the cost components of the kit, either all in one piece to buy on eBay.

Arduino is good as a start. You can ignore the Arduino Framework and programming MC in C, looking datasheet. But to start I with it did not, because there's a chance to wallow in the configuration registers to be disappointed and quit.
Dmitry, as an analogue of this set on aliexpress can tell, but not
>put 4 of the cost components of the kit - Saige_Bi commented on July 12th 19 at 20:30
Once everything is hardly required. Order by pieces. First set of resistors to take, a breadboard, buttons, and LEDs. When everyone out there will have some ideas, you can order it will. By the way, given the growth rate, about the same price now can all be on the radio or find in stores electronics. - julien.Corwin65 commented on July 12th 19 at 20:33
July 12th 19 at 20:29
Of Course Arduino.
For starters, you can buy a kit for a bigger play.
Don't know your level of overall development in the plan recommend this book to Young hams Borisov V. G. Young and Cybernetics Atroshenko Y. M. children's Books and old, but the theory there very well described
Borisov already hard to read, IMHO. The construction of the first crystal radio in our time is a fairly trivial task - alone headphones not find. Plus all the circuitry mentioned in the book has long lost its relevance. Most of the examples uses Nski that only the Museum can be found.
I would recommend reading MAKE: Electronics. There are both English and in translation. English is quite simple, easy to read. All the examples are interesting and easy to play. - Saige_Bi commented on July 12th 19 at 20:32
: I'm not saying that the detector receiver need to "build". The main thing in these books are not designs that have been given obsolete, and the available description of the General principles of electronics and Cybernetics which are relevant today and tomorrow. Perhaps there are more modern equivalents of these books, I don't know. - julien.Corwin65 commented on July 12th 19 at 20:35
I would rather recommend to listen to a couple of courses on coursera on microelectronics. There and modern component base and illustrative examples. - julien.Corwin65 commented on July 12th 19 at 20:38
Courses it is one of the ways to "honest obtaining money from the population". Free "video" is nothing more than a show-off - beaulah_Kreiger97 commented on July 12th 19 at 20:41
Controversial statement. - julien.Corwin65 commented on July 12th 19 at 20:44
July 12th 19 at 20:31
Hi. All right, commentators are saying - to start with Arduino is quite reasonable. And don't listen to those who say that Arduino guano because [there are different and vague arguments]. Aguinsky in most grow in hounokidaira not because Arduino is bad, but because not even trying to develop further. Typical problem is low barrier of entry(as in 1C for example). That is the problem in the people, not Arduino.
You have the same, judging by the text of the question, motivation is )

For Arduino there is a bunch of childof and code examples on your simplified language(although it is still C++), that for the start very well - if you have the desire to understand how things work before take up the soldering iron.
And nobody's stopping you, when you reach a certain level, move on to programming of controllers using other compilers, except for the Arduino IDE and lazy coding. While at first you can still use the Arduino boot loader and not to be soared with all the problems at once.

Immediately in addition to Arduino I recommend to buy in future something like the STM32 Nucleo. This Board is compatible with Arduino-silami, mbed-loader(fill firmware is simply copied to the virtual USB flash drive), as well as complete STLink programmer with pin for programming external controllers - this means that in consequence you can bring in your own device on STM32 microcontroller, and using the built in SLink Nucleo-programmer to program it simply by connecting a couple of wires(SWD).

And then, if not will lose the desire to grow, it will be able to create your electronics and at the same time, for example if you stay on STM32 controllers still use from Nucleo STLink for programming their devices.
It will look something like this:
There are two Nucleo-boards on the left are used as STLink-programmers for two boards to the right, respectively )

Well and further all depends only on you.
Good luck )
July 12th 19 at 20:33
Arduino and forth, master I2C, SPI, 1-Wire, and so on.
July 12th 19 at 20:35
On shop.easyelectronics.ru you can purchase a debug Board with strapping, really easyelectronics.ru find articles training courses on ARM and AVR, and a lot more useful for a beginner.
July 12th 19 at 20:37
Charles Platt electronics for beginners download
July 12th 19 at 20:39

Find more questions by tags MicrocontrollersSmart homeArduino