Archives

Author Archive for: ‘waihung’

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

Bluetooth Controlled Robot

Btrobot Banner

Recently I’ve bought a robot base kit from eBay for around RM 50. Similar ones sold here will cost around RM 100. The kit comes with the robot base, two motors with gearbox, two wheels and some mounting accessories. The tamiya motor with gearbox. It’s rated at 230rpm @ 6V. The wheel with matching key slot as the gearbox shaft. …

Read More

Line Following Sensor (DIY)

Line Following Banner

This is my attempt to create a simple line following sensor on my own. These sensors can be easily bought but it can be quite expensive considering that the components on it are quite simple. It’s been some time since I’ve played with passive components and analogue design. I will be using the humble op-amp (operational amplifier) to compare the …

Read More

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