I'm kind of new to microcontroller science and programming, but do some small project with ESP 8266 . I want to create a anti theft reliable system with some sensors like microwave sensors. Could someone please help me that which methods i should Observe for this project?

I just want a summary of the things i should to observe. Also what's kind of test I should use for this?

I will be very thankful if somebody help me and show a road map to me.

  • \$\begingroup\$ This question is too broad and it solicits opinions. Both are off-topic. To become good in something you have to practice, but the ways to professionalism differ vastly. Concerning your project there are hundreds of aspects and pitfalls. I recommend to try some project management first. Define your (S.M.A.R.T.) goals and environments and then ask specific questions. Then you will have gained reasonable knowledge to proceed on the path that fits yourself best. \$\endgroup\$
    – Ariser
    Dec 4, 2020 at 15:40

1 Answer 1


It would be impossible to do this justice in a single answer. In a nutshell you should start small and work your way up.

Get a reliable hardware/software setup for the device you're going to work with.

Choose a simple programming set e.g. arduino (vs micropython vs lua) to get started. Be prepared to switch to more advanced tooling as you gain experience.

Fully understand the programming model and libraries in use along with the capabilities of the device e.g. sleep mode, connecting to wifi, writing to serial connections, ...

Start out just using switch for input, multimeter or LEDs for output to check your understanding and use basic hardware.

Then once you are comfortable and know how to program the device to get the outcomes you want you will be in a position to start to incorporate more complicated setups including sensors.

If you try to go to complex to quickly you'll get frustrated as a result of lack of experience and lose interest...

Good luck!

  • 2
    \$\begingroup\$ Absolutely. Start with flashing a LED. Then controlling the LED with a switch. \$\endgroup\$
    – Neil_UK
    Nov 3, 2020 at 5:30
  • 1
    \$\begingroup\$ thanks a lot for your answer ... for example one thing make me confused is how i can automatically restart Esp 12 when errors comes after one day of work , how i should detect this \$\endgroup\$
    – hossein
    Nov 3, 2020 at 5:33
  • 1
    \$\begingroup\$ @hossein. That is a different question. Don't add requirements into the comments. If its relevant to your question then edit the question. Otherwise ask a new question and link to this if it's relevant. \$\endgroup\$
    – Transistor
    Nov 3, 2020 at 7:29
  • \$\begingroup\$ For any readers who want to know, that new question has been asked by the OP here. \$\endgroup\$
    – SamGibson
    Nov 3, 2020 at 13:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.