Difference between revisions of "Robot Drummer"
(→Set Up) |
|||
Line 38: | Line 38: | ||
===Schematic=== |
===Schematic=== |
||
[[Image:high_speed_schematic.jpg|left|High-speed Motor Control Schematic|thumb| |
[[Image:high_speed_schematic.jpg|left|High-speed Motor Control Schematic|thumb|750px]] |
||
<br clear=all> |
<br clear=all> |
||
Revision as of 20:33, 12 March 2009
Team Members
- Bobby By: Senior in Electrical Engineering
- Agatha Lee: Master Student in Biomedical Engineering
- Dan Niecestro: Senior in Mechanical Engineering
Overview
This project consisted of creating motor control PICs that will make it easy for anyone to do high-speed encoder-based feedback control of brushed DC motors with only a few dollars of hardware and a cable to connect to Matlab on a PC. The "master" PIC commnicates with the PC and any number of "slave" PICs, two in our case. The master PIC takes the takes program written in Matlab and communicates it to the slave PICs and to coordinate the initiation of moves by the slave PICs. To demonstrate motor control, a drumming device was created.
Mechanical Set-Up
Circuitry
Component List
Part | Part No. | Qty |
---|---|---|
PIC18F4520 Prototyping Board | --- | 3 |
Microchip 8-bit PIC Microcontroller | PIC18F4520 | 1 |
Microchip 8-bit PIC Microcontroller | PIC18F4431 | 2 |
Pittman Motor with Encoder | GM8224 | 2 |
Hex Inverter Chip | SN74HC04 | 1 |
H-Bridge Chip | L293D | 2 |
10K Resistor | --- | 2 |
Set Up
All of the components, except the Pittman motors, were powered with 5V DC. The Pittman motors were powered with 12V DC.
PICs
The PICs used were one "Master" 18F4520 and two "Slaves" 18F4431. The three PICs communicated via I2C, which enabled us to control the two motors by telling the master PIC what to do through Matlab.
H-Bridge
Hex Inverter
Schematic