lastchancename:
But I believe that example is minimal understanding - a relay or a LED are simple two-state devices (on / off) they are interchangeable when visualising actions or simulating control. A switch is (usually) a two-state input device - same rules.
this is all well and good, but the amount of understanding of a coil is staggering for a newbie.
first off, it is just a long wire. why is not a short circuit ?
has to do with magnetic fields and induction and capacitance.......
how much power do you need to charge the coil, then how much to keep it charged ?
inductive spike ?
collapsing magnetic field ?
steppers are coils, but you charge them with 30 times move voltage than they are rated for, but you charge a relay coil with the nameplate voltage.....
when you get into a simple part like a coil, it takes a week to cover all the aspects on broad general terms, then another week to understand how to run a stepper coil or choose an electromagnetic coil or a metal detector coil
while it is true that you have to have some grasp of the concepts of your parts, and while it is true that sometimes a complete understanding eliminates the need for a micro-controller in the first place, the depth of understanding to do a thing is often not important to get results.
have a how-to guide for a new project is like writing a business plan. you have to have someone hold your hand each step of the way. and you will make mistakes along the way.
a simple template with simple instructions on how to do a flow chart would help some people greatly, and confuse the heck out of others.
I would propose that a simple 10-step guide to a new project would help newbies in ways we have yet to imagine.
#1 what is your end goal ? don't get lost trying to figure if you need to cut the blue or the red wire... what is the END goal ? make sure you have that pretty clear.
#2) mysteries are just questions we have not answered and knowledge is based on understanding, TRUE understanding, not superficial glossing over some text or web page. we often focus on the mystery, not the goal.
#3) if you have a mystery, a block or a chasm that you cannot see the other side, DO NOT MAKE ASSUMPTIONS and DO NOT RULE OUT anything. if you were able to make such decisions and rule things out, you would not need help. and often the answer is the thing you ruled out, see #2
#4) anything you can make, be it software or hardware, can be represented by a drawing with pencil and paper.
make a sketch, as you try to connect things, you can put in blocks and label [ magic happens here ] if you do not know.
your sketch, call it a diagram a schematic or a flow chart, will be helpful to others who might offer help, and may answer your questions as you figure things out.
#5) search for something like that. often a garden sensor is exactly like a weather station and is exactly like a clothes dryer control. you measure, decide, control. sometimes the answers are in front of you already.
#6) figure out how you can break your project into baby steps. do the ones you know about as a module. make it work,
you may want to have a light flicker and blink, but that is really just turning it off and on with some timing. make it turn on and off first, then add the timing.
#7) make sure things work together. using your 12 volt motor with a 5 volt sensor and a 3.3 volt micro powered by a 230 volts is not hard, but you have to attempt to purchase the things that work together easier. this is like putting the load on the cart, before having either the horse or the cart.
#8) mistakes will be made, expect that. if you make small ones, it is easier to fix.
#9) expect that your first attempts will dump the wagon, then fill it and the horses will run in circles. take pride that you could get the horse to run in the first place, getting things to work together has been the goal of Churches, governments, businesses and parents for centuries. don't expect to get it ring the first time.
#10 ) maybe the most important, it is better to make a foolish question than a foolish mistake.
IGNORANCE gets you into trouble PRIDE keeps you there.