|
|
(3 intermediate revisions by the same user not shown) |
Line 85: |
Line 85: |
| |10440 3.7v lithium battery(optional)||1||Power supply | | |10440 3.7v lithium battery(optional)||1||Power supply |
| |- | | |- |
− | |Micro-USB cable(optional)||1||Program download |} | + | |Micro-USB cable(optional)||1||Program download |
| + | |} |
| + | |
| | | |
| ==Step-1 Programming== | | ==Step-1 Programming== |
Line 153: |
Line 155: |
| *'''Step 4''': | | *'''Step 4''': |
| *Connect the other end of the line in Microduino-TFT to the corresponding interface in the baseboard. | | *Connect the other end of the line in Microduino-TFT to the corresponding interface in the baseboard. |
− | *将附送的八组'''尼龙柱'''两两相连成四组加长版 | + | *Make the eight '''nylon columns''' connected between every two and to make up an extended edition. |
− | *在底板四个角用'''尼龙螺母'''固定住加长版'''尼龙柱''' | + | *Use '''nylon nuts ''' to fix the extended edition of '''nylon column''' on the four corners of the baseboard. |
| [[File:Joypadstep4.jpg|center|800px]] | | [[File:Joypadstep4.jpg|center|800px]] |
| *'''Step 5''': | | *'''Step 5''': |
Line 216: |
Line 218: |
| *Choose “System Config-MCU Voltag” to configure the reference voltage of MCU. | | *Choose “System Config-MCU Voltag” to configure the reference voltage of MCU. |
| ===Body Feeling Configuration=== | | ===Body Feeling Configuration=== |
− | *Choose “Cyroscope Config” to configure the switch of the body feeling mode (needing [[Microduino-Module Motion]] to support) | + | *Choose “Cyroscope Config” to configure the switch of the body feeling mode (needing [[Microduino-Motion]] to support) |
| | | |
| ===End Configuration Mode=== | | ===End Configuration Mode=== |
Introduction & Overview
Background
- Joypad perhaps is born for rc controller.
- Joypad can remotely control not only the Robot, but also the quadrotor.
- It can support for multiple communication methods through stacking different Microduino modules .
- It can also configure a variety of function through the TFT color screen.
- Hope you can read this tutorial, and use Joypad to play your robot, little car, and quadrotor.
Bill of Modules
Component |
Number |
Function
|
Joypad mainboard |
1 |
Mainboard
|
Core module |
1 |
The core
|
Communication module |
1 |
To communicate
|
TFT screen |
1 |
To display
|
- The freedom degree of the Joypad is very high, and you can just choose core and modules according to the required functionality.
- YOu can refer to the following function/compatibility to choose the corresponding core module, communication module, and function modules.
【Function】module/【Function】core
|
【Don’t support communication】 Core
|
【Don’t support communication】 Core+
|
【Communication/Quadrotor】 CoreRF
|
【Communication/Robot】 nRF |
YES |
YES |
YES
|
【Communication/Quadrotor】 BLE |
YES |
YES |
NO
|
【Somatosensory】 Motion |
NO |
YES |
YES
|
Modules Selection
- Application scenarios:Control Robot remotely
- Use Core as the core module.
- Use nRF as the communication module.
- Application scenarios:Control Quadrotor remotely
- Use CoreRF as the core module.
- The core brings 2.4G communication function with it, so it needs no other core to cooperate with it.
- Application scenarios:Body feeling control Quadrotor remotely
- Use CoreRF as the core module.
- The core brings 2.4G communication function with it, so it needs no other core to cooperate with it.
- Use Motion as the body feeling module.
- Application scenarios:Body feeling control Robot remotely
- Use Core+ as the core module.
- Use nRF as the communication module.
- Use Motion as the body feeling module.
Bill of Material
Component |
Number |
Function
|
Joypad panel |
1 |
Panel
|
Nylon screw |
8 |
To fix
|
Nylon nut |
8 |
To fix
|
Nylon column |
8 |
To fix
|
White button cap |
4 |
Buttons
|
Rocker |
2 |
Rockers
|
1.27mm 8P connecting line |
1 |
To connect the TFT screen
|
10440 3.7v lithium battery(optional) |
1 |
Power supply
|
Micro-USB cable(optional) |
1 |
Program download
|
Step-1 Programming
Download the Source Code
At first download the program from the following address
[Joypad_RC]
Stack Modules
- Use cable to connect Microduino-USBTTL, and stack it together with your core to prepare to upload the program.
- Note:You’d better upload the program before stacking all modules together.
Configure the Environment
- Open Arduino IDE for Microduino environment(Reference for setting up:AVR Core:Getting started)
- Confirm the “board card” and“processor” is chosen correctly, and choose the corresponding port number (COMX).
Program Download
- Open the “Joypad_RC.ino” program in the programs that you have downloaded.
- Click "→" to download the program to the development board.
Step-2 Reference Voltage
- In order to fitting for the input devices of Core and Joypad under any voltage:Rocker and the reference voltage of the switch are adjustable.
- If you have chosen CoreRF or the Core with 3.3V power source such as Core 3.3V and Core+ 3.3V.
- You need to reset the reference voltage of the mainboard of Joypad through the jumpers.
Step-3 Battery powered
Specifications of the Supported Battery
- The specifications of the batteries that are supported is as following
Function/Type of battery
|
10440 lithium battery (3.7V)
|
AAA battery(1.5V)
|
Whether to support one piece |
YES |
NO
|
Whether to support two pieces |
YES |
YES
|
Whether to support charging |
YES |
NO
|
- We recommend to use 10440 lithium battery(3.7V)
Active the Power Management Circuit
- Referring to the following picture, according to the use of the battery, switch the battery mode switch to the correct position before access to the battery.
- After connecting the battery, you must plug the USB, to active the battery management circuit of Joypad.
- After activing, you can control the power source switch of Joypad.
Electric Quantity Reminding and Charging(Limited to the 10440 Lithium Battery)
- When you use two 7 batteries,you can’t use USB to charge, and it will destroy the battery
- When the LOW indicator light lights close to the USB, the electric quantity of the battery is insufficient.
- When you use AAA battery, the light will be lighting all the time due to the insufficient voltage.
- Plug the USB, then it begins to charge.
- The CHRG indicator lamp close to the USB will light when charging, and the brightness will be lower or go out when the battery is fully charges.
Step-4 Assembly
- Step 1:
- Clip Microduino-TFT in the Microduino-Joypad panel from the back.
- Use nylon screws and nylon nuts to fix, and pay attention to the installing direction of Microduino-TFT.
- Step 2:
- Inset lines to the Microduino-TFT.
- Step 3:
- Install the communication module and the core module to the UPIN27 interface of the baseboard of the Joypad.
- Confirm that the “battery”, the" two rocker caps", and the "four white keys" have been installed to the corresponding position.
- Step 4:
- Connect the other end of the line in Microduino-TFT to the corresponding interface in the baseboard.
- Make the eight nylon columns connected between every two and to make up an extended edition.
- Use nylon nuts to fix the extended edition of nylon column on the four corners of the baseboard.
- Step 5:
- Use nylon screws to fix the four corners of the panel.
- Step 6:
- After the assembly of the antenna, you can fix it on any position of Joypad with the double sides adhesive tape on its back.
- So far the Joypad is completed.
Step-5 Description of the Keys
- Two rockers:Joystick L、Joystick R
- Two dial switches:Switch L、Switch R
- Four keys:Key1、Key2、Key3、Key4
- one light sensor:Lightness
Step-6 Channel/Operating Instruction
- Joystick L controls YAW[3] and THROT[4] channel,and Joystick R controls ROLL[1] and PITCH[2] channel.
- Key1, Key2, Key3, and Key4 are respectively corresponding with AUX1[5], AUX2[6], AUX3[7], and AUX4[8] channel.
- Switch L is responsible for locking the throttle.
- Switch R opens the small rudder model, and the rudder quantity will be smaller in this model.
Enter the Configuration Mode
- Within around the 4 seconds after opening Joypad, press down the Key1(the key on the bottom left), and it will enter the configuration (Config) mode.
- Note:You must enter before entering into the operation interface(around 2S). If not enter, restart to enter.
- According to the color in the picture, they are Key1~Key4 from left to right.
- Press Key3 and Key4 to make the cursor move up and down. And Key1 is to return, and Key2 is to confirm.
Rocker Configuration
Rocker Calibration Setting
- Choose “Joystick Config-Joystick Correct” to enter the rockers calibration mode.
- After entering, it will display the interface as shown in the third picture. And the initial state is two crosses.
- At this time, shake the two rockers to the top, the bottom, the most right, and the most left, four limitation state.
- (The recommended operating mode:Shake the rockers in a circle.)
- After shaking, you will see circles appears in the four directions of the cross, and when the circle expands to the largest state, the position where it is is the limitation position.
Rocker Dead Zone Setting
- Choose “Joystick Config-Dead Zone config” to set the dead zone of the rockers.
- The bigger the values of the rockers you set, the less sensitive the rockers are.
Communication Protocol Configuration
Communication Model
- Choose “Protocol Config-mode” to enter the communication protocol configuration.
- The “Quadro.” is on behalf of quadrotor model in it, and “nRF24.” is on behalf of nRF model.
Quadrotor Model Channel Configuration
- Choose “Protocol Config-Quadrotor Channel” to set the communication channel of the quadrotor.
NRF Mode Channel Configuration
- Choose “Protocol Config-nRF24 Channel” to set the communication channel of nRF .
System Configuration
The Themes of the Screen Configuration
- Choose “System Config-TFT Theme” to switch the themes of the screen.
The Screen Flipping Configuration
- Choose “System Config-TFT Rotation” to flip the angle of the screen.
MCU Reference Voltage Configuration
- Choose “System Config-MCU Voltag” to configure the reference voltage of MCU.
Body Feeling Configuration
- Choose “Cyroscope Config” to configure the switch of the body feeling mode (needing Microduino-Motion to support)
End Configuration Mode
- Choose “Exit” to end the configuration mode.
FAQ
- Q:Does Joypad support AAA battery?
- A:Yes, it does. And two pieces are needed, but the AAA battery is not recommended.
- Q:Why does Joypad not recommend to use AAA battery?
- A:The battery protection and the low electric quantity indicator of Joypad are designed for 3.7V lithium battery, and the voltage of the two AAA batteries will quickly trigger the protection circuit to cause the false scent of no electricity.
- Q:Which battery is recommended for Joypad?
- A:Single or two 10440 3.7V lithium batteries.
- Q:Which core module should I use to control the quadrotor remotely?
- A:CoreRF. CoreRF brings its own communication function, so other communication modules are needn’t.
|