This page presents the CrcConnect module that allows controlling a CrcDuino board using a remote controller.
Introduction
The CrcConnect is a device that allows to send commands to a CrcDuino using a remote controller. The CrcConnect serves as a data relay; it takes information from a controller (using a wire), and send this information to a CrcDuino wirelessly using Xbee Radio Frequency Modules.
Compatible remote controller
The beauty behind CrcConnect is that it allows a robot to be controlled using off-the-shelf, popular gaming console remote controller. This way, each team can use whatever controller it’s the most comfortable with.
Compatible, ready to use controllers:
PlayStation 3 wireless (Official)
PlayStation 4
Logitech F130
Wired Xbox 360
Havit HV-G69 wired PS3 knockoff
Un-compatible remote controllers
Wireless Xbox 360
Xbox One
Most knockoff Wireless PlayStation 3
When using a wireless controller, it must be connected to the CrcConnect using:
A USB-A to Mini-B wire (for PlayStation 3 controllers), like this one.
A USB-A to Micro-B wire (for PlayStation 4 controllers), like this one.
Storage Mode
Like almost every electronic gadget, there is a very small current that leaks from the battery of the CrcConnect when it’s not in use. This undesired battery drainage can be avoided by putting the CrcConnect in Storage Mode. We recommend to put the CrcConnect in Storage Mode when you know it won’t be used for 2+ weeks. This will extend the CrcConnect battery life! Storage mode physically disconnects the battery from the control board, effectively cutting any possible leakage current.
Storage mode is enabled when the jumper is removed from the board, or when it is plugged into the left and center pins.
Jumper removed; CrcConnect won’t work
Jumper in storage mode; CrcConnect won’t work
Storage mode is disabled when the jumper is plugged into the center and right pins.
Jumper OK; CrcConnect will work
Pairing with a CrcDuino board
Ports
Buttons
Status LEDs
Power management
The CrcConnect module can be recharged throught the Micro-USB port. It can even be recharged when in use!
No need to worry about recharging the remote controller itself. The remote controller, when connected to a CrcConnect module, is powered by the CrcConnect internal battery pack.
Auto-shutdown function
Button and joystick mapping
The remote controller buttons and joysticks state can be retrieved using CrcLib::ReadDigitalChannel() and CrcLib::ReadAnalogChannel() using the appropriate nomenclature.
The following pictures show the physical mapping of the different members of the enum classes.
Related articles
-
CrcConnect Module Details (Système CrcDuino System) —
This page presents the CrcConnect module that allows controlling a CrcDuino board using a remote controller.
Introduction
The CrcConnect is a device that allows to send commands to a CrcDuino using a remote controller. The CrcConnect serves as a data relay; it takes information from a controller (using a wire), and sends this information to a CrcDuino wirelessly using a pair of Xbee Modules.
-
CrcLib: How to access the remote controller buttons (Système CrcDuino System) —
This page presents how CrcLib functions can use a remote controller buttons and joystick states. It details the different types declared in CrcLib.
Analog
-
IsCommValid() (Système CrcDuino System) —
Purpose
Know if a remote controller connected to the CrcDuino via a CrcConnect module.
When to use
-
ReadAnalogChannel() (Système CrcDuino System) —
Purpose
Get the value of an Analog Channel (joystick) on a remote controller connected to the CrcDuino via a CrcConnect module.
When to use
-
ReadDigitalChannel() (Système CrcDuino System) —
Purpose
Get the value of a Digital Channel (button) on a remote controller connected to the CrcDuino via a CrcConnect module.
When to use
Add Comment