Re:Microcontrollers Not Allowed – Trolling a college instructor
by sepetoner on Thursday January 01, 2015 @01:19PM
(#8823676)
Relatively new EE here with a quick question. You can, technically, make a system with the same output (spelling penis, etc.), without a microcontroller, correct? With the proper frequency dividers, timers, and logic gates? Or am I wrong here?
[ Parent
| on HN ]
Re:Microcontrollers Not Allowed – Trolling a college instructor
by shawnz on Thursday January 01, 2015 @03:03PM
(#8824071)
You could reproduce the whole microcontroller with just those things, if you wanted. So inherently the answer is yes. If you mean to ask if it can be done without software, the answer is still yes.
Re:Microcontrollers Not Allowed – Trolling a college instructor
by wiml on Thursday January 01, 2015 @05:45PM
(#8824625)
Definitely. You could make a small hardwired state machine and decode its various states into the behavior you wanted, for example. It would probably take a dozen or so 7400-series logic chips (depending on how complex the easter-egg behavior is).
That kind of small, non-microprogrammed machine is really common, but people don't build them out of discrete logic any more, or probably even design them by hand. They're written in VHDL or something, and synthesized into silicon or a gate array. They're how a programmable controller is implemented (something has to be under the bottom-most layer of microcode), but they're also used for lots of other little peripheral tasks.
I'd guess the student in the article will be formally taught about them in another quarter or two.
Re:Microcontrollers Not Allowed – Trolling a college instructor
by kelvin0 on Thursday January 01, 2015 @01:21PM
(#8823684)
Of course, but then the instructor would have noticed the extra hardware and it would have ruined the fun ...
Re:Microcontrollers Not Allowed – Trolling a college instructor
by TheLoneWolfling on Thursday January 01, 2015 @02:52PM
(#8824036)
Expert mode:
Make the discrete-component circuit to do this inside the logic gate.
(Especially hard as there are components that physically cannot be made small enough (large caps / inductors, etc))
Re:Microcontrollers Not Allowed – Trolling a college instructor
by wiml on Thursday January 01, 2015 @05:52PM
(#8824646)
Intermediate mode: You could program the discrete logic onto a tiny CPLD and probably still hide it inside the 74'193. That way you'd still technically be complying with the "no microcontrollers" constraint.
Re:Microcontrollers Not Allowed – Trolling a college instructor
by makomk on Thursday January 01, 2015 @08:14PM
(#8825078)
Sadly, it's probably a little hard to fit a CPLD in that kind of space without wire-bonding equipment. They also tend to lack the infernal clocks that most microcontrollers have these days.