RC KRISYS Robot

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
240 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jul 3, 2010

I used a JRSport Transmitter and receiver to control a KRISYS v4.1 motor driver board. The board has a dsPIC33 that controls the motors with a PWM signal and (2 channels per motor) and 2 ADC channels to read the PWM signal from the receiver. The receiver outputs a small pwm signal to control a servo. The signal is fed into a low pass filter to smooth out the signal so it can be read with the ADC channels. I tried reading the PWM signal as is and had issues with some directions. The filter and analog read fixed those issues.

This setup will be used to control a much larger robot for display to High School students. The students will then go through several workshops to learn how to program and assemble the robot to follow a line on the ground.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (Spanky85)

  • If you need to get rid of the lag, you can use the capture-compare module on the PIC to measure the duty cycle of the PWM out of the receiver. You could just get rid of the low-pass filters then.

    Nice work though!

  • @oehrlein49 I actually got rid of the lag in a different way. I had a 500ms delay that would occur when going from forward to reverse so I decreased it to 50ms. Now the platform has no noticeable lag. I also removed the hard right and left turns that had the motors go in opposite directions. Now one motor goes to 0% duty cycle while the other goes 100%. I was told about the input capture by a co-worker and it sounds like it will be faster and allow for proportional control.

see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • If I had to buy a ready made 4 channel transceiver module of 2.4 Ghz and use it for an rc toy that has servos that need PWM then how do I go about building the whole thing?

    Do I need to make programming?

    How to upload data that I have programmed into the Transceiver module?

    Is the transceiver partly a micro controller, in which data can be stored?

  • was it proportinal?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more