Changing and modifying Code

Status
Not open for further replies.

divit

New Member
I found this site which satisfies everything i need for my project but the only thing is tht instead of using connecting to a PC i want to give the values from a ADC. i am posting the site and the codes can u plz help me editing it aacording to the circuit diagram in the next post




and also i will be using 5k ohm potetiometers as sensors in the circuit if any other sensor is better plz help me
 

Attachments

  • fig3.pdf
    34.5 KB · Views: 131
  • 16csscnt.zip
    14.6 KB · Views: 114
heres wat i need to change it too
 

Attachments

  • schematic.jpg
    136.8 KB · Views: 138
  • Dex1.jpg
    125.6 KB · Views: 138
Port 0 isn't going to work very well without pullup resistors. Where do all the identically name nets called "SERVO" go to. Where do forward and reverse come from. You gotta a lota work to do.
 
Papabravo
the forward and reverse are for another gear motor for the wrist and the servo names go to servo motors control pin as pwm signals
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…