74HC595 Shift Register Tutorial

Sr Banner

Shift register is a sequential logic circuit consisting of flip-flops. They are created mainly to store digital data in the form of bits. The basic working principle of a shift register is the user would enter data into it sequentially and the data will move from the beginning till the end of the shift register. Any bits that ‘flow’ out …

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

L298N Dual-Channel 2A Motor Driver

L298 Banner

I’m working on a new project which has two 12V DC Geared motors. Below are their specifications. Its’ rated current is 410mA but if it is stalled, it requires a whopping 1.8A. Stall current is the highest current that the motor will consume when the load is too much (causing the motor shaft to stop turning). When choosing a suitable …

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

Arduino + Visual Basic : PWM Control

Vb Pwm Banner

Pulse Width Modulation or PWM allows the microcontroller to mimic analog control by turning the voltage on and off very quickly. The Arduino has an 8 bit PWM built-in, which means it has up to 256 levels of control. ( 2^8 = 256 ). These 256 levels of control actually determines the percentage of the ON duty cycle over the …

Read More

PID Line Following Robot

Pid Article Banner

Previously, I’ve made a Bluetooth Controlled Robot (read post). By adding a line sensor to the robot, I’ve managed to create a simple line following robot and utilize the ever popular PID algorithm to navigate the robot. You can read more about my DIY line following sensor hereĀ and how I made it. Now it’s time to mount this line following …

Read More

Page 3 of 15«12345»10...Last »