Archives

Category Archive for: ‘Microchip PIC’

5 Digit 7-Segment Display

5 Digit Banner

I’ve been working on a digital clock project so I thought I will get 4 units of 7-segment displays and put all of them on a PCB to show the time. When I was at the electronics store, I stumbled upon this. I bought this because it has 5 digits on a single package and it looks much neater than …

Read More

Microchip PIC16F877A ADC Configuration

16f877a Adc Banner

I’ll admit that the datasheet is very confusing especially for beginners like me. In this post, I’ll attempt to summarize everything I know about the ADC on a PIC16F877A and hopefully it will be informative to my dear readers. First and foremost, we must have a clear picture on what the built-in ADC is doing. Think of it like there’s …

Read More

Writing code for PIC Microcontrollers in C (Hi-Tech C Compiler)

Hitech Banner

I’ve always wanted to learn how to write PIC programs in C. You might think that’s odd but I was taught how to write in assembly language and not C unlike other universities or colleges. Most of the time it’s the other way around. Learning assembly code is a good thing actually because these C code will eventually be translated …

Read More

Pre-Made Jumper Cables

Jumper Banner

After a long day at work, I arrived home and found this in my mail box. I mean the physical one, not on the Internet 😛 This came all the way from…. Singapore. I bought some pre-made jumper cables on Ebay for only RM 7.50 after conversion. In the pack there are 70 pieces of jumper cables as claimed by …

Read More

Microchip PIC16F877A Analogue to Digital Conversion

16f877a Adc Banner

As mentioned in the previous post, the PIC16F877A has a built-in Analogue to Digital converter. What ADC does is basically convert an analogue voltage ranging from -Vref to +Vref (usually 0V to 5V) and converts it to a binary value. The ADC on the PIC16F877A has 10-bit resolution and this provides 1024 steps (2^10=1024) which is more than enough for …

Read More

Microchip PIC16F877A

16f877a Banner

Moving up the Microchip PIC16F Microcontroller family, we have the PIC16F877A. This is a very common MCU and it’s always mentioned in DIY projects. It’s popular among students, hobbyist and even engineers because it’s cheap. I got it for only RM23 and oddly enough that’s cheaper than its’ little brother I mentioned in a previous post, the PIC16F84A. Another reason …

Read More

Page 2 of 3«123»