Simple USB driver which makes it possible to connect a RC-receiver and transmitter to a PC, which can be used in simulators like VRC.
You will need Arduino IDE to use this software!
https://www.arduino.cc/en/main/software
End-Point Detection (EPD)
In order to get good readings from the transmitter, you have to find the end point limits for the throttle and steering. Open the RCUSB_edp.ino file in Arduino IDE
- Make sure your transmitter is powered OFF
- Connect the Arduino to your PC
- Upload the program to the board (Press CTRL + U)
- Start the serial monitor (Press CTRL + SHIFT + M)
- Turn ON your transmitter when "[-] Waiting for transmitter!" appears
- Move both throttle and steering to their limits during the time of calibration
- When the calibration is done you will see the maximum and minimum end point values
The USB Driver
Prepare the driver with the end point values you got from the EPD step and calibrate the driver. Open the RCUSB_driver.ino file in Arduino IDE
- Update the values in the RCUSB_driver.ino file with the end point values you just got from EPD
- Upload the program to the board (Press CTRL + U)
- Make sure transmitter is ON
- Open Control panel > Hardware and Sound > Devices and Printers, right click "Arduino Leonardo" and select "Game controller settings"
- Select "Propeties" and click on the "Settings" tab, and select "Calibrate" and follow the calibration wizard.
NOTE: This program only works for ATMega32U4 boards (e.g. Leonardo) NOT ATmega328P (e.g Uno)
Wiring
This is the default configuration used by the program
Arduino | Receiver |
---|---|
5V | Throttle VCC (positive) |
Ground | Throttle Ground (negative) |
PIN 6 | Throttle PWM signal |
PIN 5 | Steering PWM signal |
Disclaimer
Use this at your own risk!
By using this you agree that all consequences that could occur from this project is your responsibility. This project is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.