Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
I often find myself looking at projects of amazing simplicity (i.e. adjustable timers, simple logic and even line followers) that rely on expensive MCU
i think maximizing your circuit without an mcu is a really good skill to learn [...]
since you can reduce the cost of a circuit from lets say $12 for a protoboard arduino setup (or other mcu) or even $35 for the cost of a full on arduino
to mere pennies with the cost of 74 series shifters, multiplexers, logic gates and 555 timers if you're clever enough.
plus you don't have to do any programming which in most cases means a more reliable circuit with few exceptions.
essentially you'd only be limited by your soldering ability.
now there are many things that mcu's can do much better and i'm not saying that mcu's are useless but i do find that allot of projects could be made simpler and cheeper when a little thought is put into the design. opinions?
Hi,MCU's aren't expensive. They were back in the old times, but nowadays, a lot of power can be had for less than $4, as long as you don't need the exotic stuff.Let's assume eg. a timer that must give a 15 minutes pulse each hour. It would be quite expensive and take up a lot of real estate in discrete logic and the precision will be all over the place if you try it with a 555 (which is actually more analog than digital). a $0.30 PIC processor can do it without working up a sweat.Consider another timer function, to make a couple of pulses like: 10µs pulse, 10µs pause, 30 minutes pulse, 10µs pause, 10µs pulse, 10µs pause and finally a 50µs pulse.Would you rather do that in discrete logic, than a cheap controller?
Analog and HF design is a better place to start, as this is the basis for all things digital.
Arduino is NOT a microcontroller, but a microcontroller board (the difference is quite large).If your view of your world is to buy a fully populated gigantic board for each little app, then I can understand your wish to go discrete. I silently shake my head each time I see a project involving eg. an Arduino to eg. control a timer or a remote among others, and sadly, the web is full of this kind of misuse and lack of understanding.
Since when did it take "clever" to use simple logic?Clever... That's knowing when to go with an MCU, when to go with discrete logic and when analog is the better solution and knowing how to Mix 'n' Match.It's not either/or and besides very small circuits, most (professional) apps will be a blend of technologies.
With a whole lot of exceptions IMO. Lots of hobbyists care way too little for the basics - like a sound power supply (just read a bit here if in doubt) - as they "all" wanna start out with an android that can do their biddings, an autonomous spybot than does video recognition or similar advanced stuff - no wonder so many fail.Get the basics down first, then build upon that (which goes for both learning in general and a physical robot).
Oh, I could name lots of other limitations, like not having the above mentioned basics in order.And using discrete logic has its own can of worms to negotiate - for starters, you need; proficiency in synchronous as well as asynchronous logic, know how to deal with eg. race hazard, know how to troubleshoot extra pulses appearing, and then we haven't even started on the PCB which can be a challenge when speeds go up, etc. etc.
Don't see it as either/or - there's a reason that you can get logic gates in singlets and I often make gates with diodes or transistors to avoid having a larger IC if I don't have single gates in stock and I often use a microcontroller for some logic app, as that is cheaper than using discrete logic or programmable logic (PAL, PEEL PLD etc.)Controllers are cheaper than discrete logic, but you have to select the parts you need and not just use eg. an ATmega999999 for each little job.As it goes... The guy that only have a hammer views every problem as a nail - get a full toolbox and rule the world (well a small part of it at least )