More Info


Arduino Tutorial – Stepper Motor Control with Potentiometer

This tutorial is all about tuning the speed of a stepper motor using a potentiometer. The idea is to up or down the speed of a stepper motor using with analog read. Theoretically analog input to a digital output, we’re going to use this concept to control the speed of a running stepper motor.   The Stepper motor used here is a rusty old EPOCH (5 wires) stepper motor, which is a unipolar stepper.   Use the analog input with the help potentiometer to control the delay in-between each steps of the stepper motor. Shorter the delay in-between each steps…

Arduino Tutorial – Servo Motor Control with Motor Shield

Hobby servos are the easiest way to get going with motor control. They have a 3-pin 0.1″ female header connection with +5V, ground and signal inputs. The motor shield simply brings out the PWM output lines from Arduino pins 9 and 10 to two 3-pin headers so that its easy to plug in and go. They can take a lot of power so a 9V battery wont last more than a few minutes! The nice thing about using the onboard PWM is that its very precise and goes about its business in the background. You can use the built in…

Arduino Tutorial – Servo Motor Control with Potentiometer

Servo motors have three wires: power, ground, and signal. The power wire is typically red, and should be connected to the 5V pin on the Arduino or Genuino board. The ground wire is typically black or brown and should be connected to a ground pin on the board. The signal pin is typically yellow or orange and should be connected to pin 9 on the board.   The potentiometer should be wired so that its two outer pins are connected to power (+5V) and ground, and its middle pin is connected to analog input 0 on the board.   I…

Arduino Tutorial – Servo Motor with an External Power

Servo, can be powered by another power source without Arduino power. Only thing important here is that all the GND are connected to each other. Like this you can add as many servo motors as you want.   Important! If you will use high voltage battery and you want give power to arduino with same power source, you need to put a 7805 voltage regulator in, and make a parallel circuit for that too.  

Arduino Tutorial – DC Motor Control with L293D Motor Driver

This is a very useful chip. It can actually control one motor independently. We will use in its entirety the chip in this tutorial. Pins on the right hand side of the chip are for controlling a one motor. Pins on the left hand side of the chip are for controlling second motor.   You can run four solenoids, two DC motors or one bi-polar or uni-polar stepper with up to 600mA per channel using the L293D.  

Arduino Tutorial – Install and Use Arduino Libraries (No Such File or Directory)

Arduino libraries are a convenient way to share code such as device drivers or commonly used utility functions. This guide details how to install libraries on your computer.   There are two general types of Arduino Libraries: Standard Libraries User Installed Libraries   Where to Install your Libraries? Your sketchbook folder is the folder where the Arduino IDE stores your sketches. This folder is automatically created by the IDE when you install it.   Using Libraries One of the best features of the Arduino project is the ability to add on pre-crafted libraries that add hardware support. There’s tons of…

Arduino Tutorial – digitalRead Serial Monitor with Button

Arduino Basic Tutorial digitalRead Serial Monitor with Button. Reads a digital input on pin 2, prints the result to the serial monitor.   When the pushbutton is open (unpressed) there is no connection between the two legs of the pushbutton, so the pin is connected to ground (through the pull-down resistor) and reads as LOW, or 0. When the button is closed (pressed), it makes a connection between its two legs, connecting the pin to 5 volts, so that the pin reads as HIGH, or 1.  

error: Context Menu disabled!