Go to Post Having the ability, opportunity, and inclination to do manual labor makes you a better engineer. - MrForbes [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 14-01-2006, 17:11
chadbarbe chadbarbe is offline
Registered User
FRC #1450
 
Join Date: Jan 2006
Location: Rochester, NY
Posts: 4
chadbarbe is an unknown quantity at this point
Wiring for CMU and Easy C

I am trying to run the Easy C Tutorial 7 but have run into a wall. The code is written and downloaded to the RC but when we turn the power on, the pan servo turns completely to the left (if you're facing the camera) and jams. From then on, the pan and tilt mechanism does not move at all. My guess is that we have not set up the wiring correctly. Right now we have the tilt and pan servos hooked into their respective PWM ports on the camera sensor board, power going from PWM 16 on the RC to the power port on the camera sensor board, and the TTL connection is going from the TTL port on the camera sensor board to the ttl-232 chip and then into the ttl port on the RC.

Another debate came up with some members of my team... should the pan and tilt mechanism work with the servos connected to the sensor board or do they need to be connected to PWM outputs on the RC?

What exactly should the robot do if the code from tutorial 7 is correctly working? Should the camera pan and tilt? Should the robot follow the target light? Will it just move straight or should it actually turn the robot in the direction of the target if the target is off to the side? I just want to know what to expect if the code is working properly and we have everything hooked up correctly?

One last question... do we need to run the MPLab initialization stuff or does the default config file in Easy C suffice?

CHAD
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scouting Made Easy - Announcing the FIRST Scouting Network Adam Richards Scouting 24 17-11-2007 14:58
Limit switch in easy c? chadbarbe Programming 6 02-02-2006 09:51
Has any one used Easy C and what do you think? N3OW Programming 2 10-01-2006 16:31
easy game? JulieB General Forum 0 12-01-2005 09:29
MnM EASY Question of the Day Winners! Mike Bonham General Forum 22 03-05-2002 21:21


All times are GMT -5. The time now is 18:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi