Archives

All Posts Tagged Tag: ‘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 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

Electronic Dice

Dice Banner

This was actually one of my assignments and it’s a pretty simple project with a couple of LEDs to make an electronic dice. When turned on, all the LEDs will light up and the user have to press and hold on the button to roll the dice. Once the user lets go of the button, the rolling will stop and …

Read More

7 Segment Display

7segment Banner

If your project needs to display simple digits or even words/alphabets, you don’t need an LCD. It’s not cost-effective. 7 segment displays come into play here. Essentially there are 7 LEDs placed together in a figure of 8 that if you light a few of them up you can display the digit that you want. As shown above, there are two …

Read More

Microchip PIC Delay Calculator

Delay Calc Banner

Delays are very essential in the operation of a microcontroller. Because microcontrollers execute instructions at a very fast rate (in microseconds), programmers need to apply delay so that it can interact properly with humans, for example, delay must be used to create software debouncing. Unfortunately, the MPLAB IDE does not have a built-in delay function unlike the Arduino IDE (Arduino …

Read More

Page 2 of 3«123»