Archives

All Posts Tagged Tag: ‘VB’

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

Arduino + Visual Basic : Servo Control

Vb Servo Banner

To start off, here is a demo video on how the program works. Servo motor provides angular control to users, and unlike normal DC motors, it can only rotate from 0 to 180 degrees. It is very accurate and are often used in robotic applications. Normally every servo motor has 3 connections, 5V (Red), Ground (Black) and Signal (White). The …

Read More

Arduino Controlled by Visual Basic Program

Arduino Vb Banner

Before this I’ve always used the Serial Monitor of the Arduino IDE to communicate with the Arduino. Actually what the Serial Monitor does is basically reading or sending data through the Serial interface. In my future project, I want to create an application in the computer that allows the user to click some buttons to control the Arduino. Currently, the …

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