Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

GregNau

11
Posts
4
Topics
A member registered Aug 04, 2016

Recent community posts

Wireless RC Adapter

Wireless RC Adapter v2.1

馃幃 Arduino USB-Joystick adapter for RC receivers with PWM and PPM modulations up to 8 channels.

Making possible to play wireless by connecting the RC receiver directly to the computer/console/tablet/smartphone device like a regular joystick or game controller. It is already supporting the PWM and PPM protocols at 16bit resolution and without any lag. There is no need to hook the radio transmitter with cables to the simulator anymore, just plug your receiver with this adapter in the USB port and play! It is compatible with a wide range of devices, like the ones running Windows, Mac, Linux or Android/iOS, literally almost anything whats have an USB port. Aimed to be fast and simple to use.

Since the last update it is not just one board supported anymore, so i suggest you to visit the https://wireless-rc-receiver.github.io for more! This is a completely free and open-source stuff with an extensive Wiki, which is easy to build for anyone! No soldering skills needed at all 馃槑

Wireless RC Adapter

Wireless RC Adapter v2.1

馃幃 Arduino USB-Joystick adapter for RC receivers with PWM and PPM modulations up to 8 channels.

Making possible to play wireless by connecting the RC receiver directly to the computer/console/tablet/smartphone device like a regular joystick or game controller. It is already supporting the PWM and PPM protocols at 16bit resolution and without any lag. There is no need to hook the radio transmitter with cables to the simulator anymore, just plug your receiver with this adapter in the USB port and play! It is compatible with a wide range of devices, like the ones running Windows, Mac, Linux or Android/iOS, literally almost anything whats have an USB port. Aimed to be fast and simple to use.

Since the last update it is not just one board supported anymore, so i suggest you to visit the https://wireless-rc-receiver.github.io for more! This is a completely free and open-source stuff with an extensive Wiki, which is easy to build for anyone! No soldering skills needed at all 馃槑

(2 edits)

Wireless RC Adapter

Wireless RC Adapter v2.1

馃幃 Arduino USB-Joystick adapter for RC receivers with PWM and PPM modulations up to 8 channels.

Making possible to play wireless by connecting the RC receiver directly to the computer/console/tablet/smartphone device like a regular joystick or game controller. It is already supporting the PWM and PPM protocols at 16bit resolution and without any lag. There is no need to hook the radio transmitter with cables to the simulator anymore, just plug your receiver with this adapter in the USB port and play! It is compatible with a wide range of devices, like the ones running Windows, Mac, Linux or Android/iOS, literally almost anything whats have an USB port. Aimed to be fast and simple to use.

Since the last update it is not just one board supported anymore, so i suggest you to visit the https://wireless-rc-receiver.github.io for more! This is a completely free and open-source stuff with an extensive Wiki, which is easy to build for anyone! No soldering skills needed at all 馃槑

Take a look on this commit: https://github.com/wireless-rc-adapter/wireless-rc-adapter/commit/48b4f95b1d0053...

It was done to improve compatibility and seems a solution for your issue. Reading your post i assume you don't need further explanation, but if you do than i'm glad to help, just open a issue on the git repo.

On Leonardo or Micro boards only the 8-9-10-11 are usable, so only 4 channels you have and have to modify the source code according. Not just the pins, but watch out for the array sizes and so. Right now i'm working on a solution, where also these boards can have 6 channels working, without any modifications to the source code. In case you are interested, look for the dev branch on github in a few days from now.

(1 edit)

Glad to see it is so popular and hoping it is not too late for giving some support!

The pins were selected based on the manual of the PinChangeInterrupt library, which is being used in place of the pulseIn() function. It is a very nice, lowlevel interrupt library and makes it possible to use the code on more different boards. Although not every port register is supported on every board, especially on the 32u4 ones (like Pro Micro, Leonardo, etc), so that is why pins are not in order. For example on a Leonardo or Micro (not the Pro Micro!) only 4 channels can be found on the side of the boards, the rest two is on the ICSP header. It would be only possible arrange the pins on 328p (Uno,Nano) or Mega boards, but those are missing the USB-HID support.

Slight play comes from the adapter, since it have to process those values, while acting also as a joystick for the computer or tablet. Usually this shaking is very low, i would say acceptable until the diff is not more than 1 or 2. With pulseIn() i managed to get a concrete-stable input, but that was working for only 4 channels at a time.

The issue on Windows is seems like calibration is necessary, but make sure you have not made some mixing or so on the transmitter. Most of the time weird errors come from forgotten mixes.

EDIT: Ok, i've just read Freerider's comment and it is a great idea to check!

I'm afraid that is not available anymore.

You can use instead the source from https://github.com/gregnau/wireless_rc_adapter

(1 edit)

Simply connect the pro micro with the usb cable, as you would for uploading a sketch from the arduino ide. It is recognized as a game controller, you can check it on joy.cpl in windows.


Or if you mean the extra usb connector on the wiring.png, thats for extra power. Earlier i was trying to fit it with 8ch receiver, but there were power issues. I'm going to remove that extra connector soon from the wiring.

I'm glad you like it.

Freerider is also awesome simulator!

(5 edits)

Wireless RC Adapter v2.1

馃幃 Arduino USB-Joystick adapter for RC receivers with PWM and PPM modulations up to 8 channels.

Making possible to play wireless by connecting the RC receiver directly to the computer/console/tablet/smartphone device like a regular joystick or game controller. It is already supporting the PWM and PPM protocols at 16bit resolution and without any lag. There is no need to hook the radio transmitter with cables to the simulator anymore, just plug your receiver with this adapter in the USB port and play! It is compatible with a wide range of devices, like the ones running Windows, Mac, Linux or Android/iOS, literally almost anything whats have an USB port. Aimed to be fast and simple to use.

Since the last update it is not just one board supported anymore, so i suggest you to visit the https://wireless-rc-receiver.github.io for more! This is a completely free and open-source stuff with an extensive Wiki, which is easy to build for anyone! No soldering skills needed at all 馃槑