Skip to content

Latest commit

 

History

History

Xany2Sounds

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Xany2Sounds

Xany2Sounds is a sound module that use the X-Any feature for command a JQ6500-16p.

For use it, you need:

  • An OpenAVRc Transmitter with the X-Any feature:
  • A PCF8574 board.
  • Height switch.

See our documentation here for all connections: OpenAVRc Documentation

Each X-Any switch command one sound. With 8 switchs you can command 8 sounds. But the JQ6500 has 5 inputs that can be used for command 5 other sounds. Add if you use as input CPPM, SBUS, SRXL, SUMD, IBUS or JETI, you can play 8 sounds in same time you move your throttle stick.

So, it's possible to command 21 sounds. The JQ6500 inputs commands sounds from 1 to 5 , X-Any switchs command sounds from 6 to 13 and with throttle 14 to 21.
You can select this mode or not (shift mode) when your are in the configuration mode.
Exemple as use, connect the K1 to K5 inputs to 5 relay and you can use the JQ6500 as alarm in a boat.
K1 to K5 are active with a ground connection.

The module accept several input mode.
PWM, CPPM, SBUS, SRXL, SUMD, IBUS or JETI.
You can select also these modes in confuration menu.

Upload the HEX file

We don't give sources, because X-Any libraries are not Open Source for the receive side.
You can found binary file here.

The Arduino Pro Micro board use a particular method for upload a code.
You can use the program 32u4_hexuploader.

Configuration mode

Connect the USB connector of your Pro Micro board to your PC.
Select the console window, define 115200 bauds and NL and CR mode.
You have 5 seconds for click on the ENTER key.
When you are in the configuration mode, type h key and ENTER for see all options:

H Help  
Q quit  
N=4 or 8 or 16 Sounds mode  
C=5,6,7,9,10,11,12,13,14,15 Xany Channel  
P=1 Play sound 1 (Config Mode)  
S=0,1 set shift mode On/Off  
M=P set PWM mode  
M=C set CPPM mode  
M=B set SBUS mode  
M=I set IBUS mode  
M=X set SRLX mode  
M=D set SUMD mode  
M=J set JETIx mode  
M? Read Sensor & servo values  
R set RESET mode   	 

The configuration is saved into the EEPROM.
So, you need to do this configuration just one time when you want change your settings.

Add sounds files in your JQ6500 module

Follow the JQ6500 documentation.

Schematic

here

Good use.

Pierre