Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

Drive Stepper Motor Using USB

We all know how complicated it’s to run stepper motor using a microcontroller without any use of external libraries. This project allows you to control a stepper motor using a simple USB interface. They have use PIC18F4550 microcontroller which has an in built USB (USB 2.0) functionality which allows to connect with any computer with a USB port and Windows OS. The USB is made to run at full speed of 12Mbps, however it can also be run in low speed of just 1.2Mbps. The whole setup is very cheap to build. The only thing that would add cost is the stepper motor which itself will be very costly then the entire project setup.The stepper motor used here is a 5 wire Stepper motor (M35SP-8) which is going to be operated by an application written in C#, (visual studio) which will communicate with the microcontroller board via USB. Also, you can use any other stepper motor but some numeric value has to be changed in the code since different motor will have different step size. The entire code including the… Continue reading

AVR based Stepper Motor Controller

I know many of you have faced a numerous number of issues in controlling even the simple stepper motor and try to get the basic code to work.  This was also the case with the designer of this project. With his project you just have to plug in your stepper motor and whatever power supply you have and you are ready to go without any need for breadboard or any driver. The motor is controlled by using a potentiometer and also features a set of buttons to fast forward or fast reverse. The input to the driver can be anywhere between 8V and 24V and is built around a Attiny10 controller by Atmega running at a variable frequency in between 8MHz and 12MHz. Also, the driver can be programmed according to your needs with the help of the programmer port attached to the backside of the driver.  As per the current revision, if by chance you have plug the step stick the wrong way, it will zapp the attiny as well as the step stick. So you have to be… Continue reading

How to Use a DC Motor as a Servo with PID Control

Printer machine is one of the essential gadgets, in either home or office. However, have you ever opened up any printer before and maybe do some modification on it? Well, if you never try it before, today’s the perfect time to perform the task, as you’re learning on how to use a DC motor as a servo with PID control! Did you know that the newer ink jet printers are mostly use a combination of a DC motor and an optical encoder? The main purpose of using the two components is to take the place of stepper motors for print head positioning and paper feed. PID motor control with an Arduino from Josh Kopel on Vimeo. Normally, the motors themselves are a very good option, if you want to make something move and control its speed. When you’re combining it with the encoder, you can use them as a free alternative to a hobby servo. For this project, you must pay attention on some of the following fields: You have to figure out the simplest way to use the difference… Continue reading

The Astounding Nickel-O-Matic Robot!

Robotic is always a very fascinating stuffs, as it can be used to perform different kind of tasks after you’ve well-programmed it. If you’re one of the loyal fans of robotic, then you must check this Nickel-O-Matic robot. The main goal of this Nickel-O-Matic robot is to print a cool message on a wooden token. It’s as easy as ABC to develop this Nickel-O-Matic robot. It uses inkjet technology to print a custom message on both sides of 1-1/2″ diameter blank wooden nickels. A BASIC Stamp 2 is being used to control the mechanical movement while a Propeller Chip is for controlling the inkjet system. Both of the controllers run a total of four hobby servos, three stepper motors, one DC motor, one DC vacuum pump, one inkjet head and five IR sensors. In this project, the inkjet system is the most complex part of the modules. A spindle rotates the wooden nickel under the inkjet head right at the center of the inkjet module. Beside that, a Propeller Chip is requiring to control all the elements of the inkjet… Continue reading

Stepper motor controller on PIC

Stepper motors seems to be always interesting topic. And there is a lot of information about controlling them around the internet. Albert La also has been playing with steppers using PIC microcontroller. He constructed simple circuit with PIC16F84 microcontroller, TIP120 Darlington transistor pairs, and 4050 buffer IC for circuit protection. Wrote simple program which is able to run stepper motor with 7.5 degrees per step. This circuit can serve as stepper motor tester for instance picking right wiring, measuring revolution speed and so on. [via] Continue reading

Control stepper motor via USB

sixca has compiled nice example on how to control devices via USB interface. Simple solution is to take microcontroller with USB interface built in. PIC15F4550 has full speed USB interface with full speed capability. Microcontroller uses on chip USB driver which is pretty easy to program.   Firmware is programmed compiled with MPLAB C18 compiler tools. You may want to edit source in order to interface different devices like LCD, relays etc. PC software part is written with Delphi 6. It has three commands implemented: “Turn Left”, “Turn Right” and “Stop Motor”. This software can also be modified for your needs and recompiled with Delphi6 compiler. Continue reading