Archives

All Posts Tagged Tag: ‘PIC’

Rotary Encoder 500ppr Resolution

Encoder 500 Banner

In this post, I’ll be reviewing the B-106-23983 Rotary Encoder. It is made by ESB and has a resolution of 500 pulse per round. This is a high-end rotary encoder and is used in critical automated applications. It is mostly found in industry machines rather than consumer electronics. It costs RM 350 as stated in the cytron website. Below are …

Read More

Pinguino PIC18F4550

Pinguino Banner

I’m trying out the Pinguino platform, which is made for Microchip PIC MCUs and it mimics the Arduino environment. It uses programming syntaxes that are very similar to the Arduino environment. It is to make the programming of PICs easier. Since it’s an open source platform, the firmware (bootloader) and schematics are openly available at their website. I’m using a …

Read More

HC-SR04 Ultrasonic Sensor on PIC

Hcsr04 Banner

HC-SR04 is a very common ultrasonic sensor and it is normally found in Arduino kits or projects. The library for this sensor is widely available for the Arduino platform but not for PIC. I’ve been asked to help to write a simple PIC code to interface with the ultrasonic sensor. It’s actually very simple by referring to the timing diagram. …

Read More

Salvaging Valuable SMD IC

Smd Banner

I’ve got a non-working Pickit 2 clone lying around. It uses the popular PIC18F2550 because it has USB capabilities. A quick check on Element 14 says that this MCU costs RM 19. That is an expensive microcontroller. Normally a heat gun is required to remove SMD components but I couldn’t be bothered to buy one just to remove a few …

Read More

Microchip PIC16 / PIC18 PWM Mode

Pic Pwm Banner

This article explains how to set up and use the PWM module on almost all PIC 16 and PIC 18 devices. Depending on the specifications, some PICs may not even have a PWM module at all and some may have 1 or 2 pins that are PWM capable. For this example, I’m using a PIC16F876A which has two PWM modules …

Read More

Persistence of Vision

POV Banner

Persistence of vision is a phenomenon where our eyes retain images for a fraction of a second. By taking advantage of this phenomenon, we can quickly project images by portions and the human eyes will still perceive it as a complete image. Persistence of vision or POV in short is commonly found in electronic projects and there are a multitude …

Read More

Page 1 of 3123»