Waaaaaaaaaa!
Lately, I’ve been busy finishing our research project with the great help of Kuya Franz. Our graduation is over but still I lack some requirements which I need to get my high school diploma.
During the process of finishing it, I started to love microcontrollers, again, for the second time in my life. It was a really fun experience; especially the learning process. I learned a lot of things from kuya Franz; from Hi-Tech C (a C compiler for embedded systems) to active pull-ups and pull-downs, to Proteus VSM and a lot more.
Before, I only knew programming PICs and 8051s using assembly language; now I can do it in C (in just three days; but I’m still not that good at it). I found it lot easier to do it in C rather than doing it in assembly because there’s no need to worry on 16-bit to 32-bit operations, no need to assign variables to RAM addresses. It’s also a lot better ’cause it saves you a lot of your previous development time (that’s the best thing in programming microcontrollers with C).

It was also my first time to see an oscilloscope work. I was amazed of its function and how it measured the period of the signal’s transition from high to low and vice versa brought by the counting of the microcontroller’s internal timer. We (kuya Franz and I) were able to make the timer accurate (not precise) up to the fourth-decimal-place (0.0001) as attested by the Philips oscilloscope.
I also learned how NOT to make a spaghetti circuit in a breadboard. I was able to put some stuff in the breadboard in a much neater way than I used to. (in the picture, kuya Franz cleaned up some of my dirty connections).
I also saw an In-Circuit Serial Programming (ICSP) programmer, again for the first time in my life. It was a nifty useful. With ICSP, there’s no need to remove the microcontroller from the circuit to program it thus reducing the risks of microcontroller breakdown. I also saw a Zilog development board; which according to kuya Franz costed approximately PhP 90,000.00 when it was still out in the market (fortunately he got one for free courtesy of Zilog).
I also found a PIC Simulator alternative; it’s called Proteus. Proteus is a package of ISIS (circuit designer and simulator) and ARIES (circuit [the real one] CAD). With Proteus, you can test a lot of microcontrollers. It also gives you the freedom to simulate your own circuit. It has a wide library of microcontrollers, resistors, transistors, power sources, LCDs and other electronic components.
It’s the best simulator and circuit design tool I’ve ever met in my entire lifetime.
I got a lot more jargon to say, I warn you. Another thing, I used to be familiar only with Atmel products specifically its 8051 line. But our research study forced me to learn PICs. I studied its white-paper thoroughly just to get familiar with its SFRs or special function registers. I’m amazed cause I learned that PIC products’ timer0’s don’t have a timer run bit. It’s a free-run timer and runs all the time. I also learned that their operating voltage ranges from about 4.5 to 5.5 volts. Amazing!
I also loved the way we ate our merienda. Yesterday, we ate our merienda with a calculator. We discussed on what prescaler to use for timer0. We ended NOT using prescaler so we had to set a bit to a particular logic just to realign the prescaler to the WDT (watchdog timer). It was a nerdo moment!
Hahaha. I really learned a lot from kuya Franz, and it was a nice experience. He told me that I can go to their house if I want to learn something new from his projects. He encouraged me to continue learning embedded systems; which is a part of my plan for this summer. Weeeee, microcontrollers are the best.
That’s all for now!