Connecting Axo and Arduino


#1

Hello, I am not very good at English, so I apologize in advance.
I want to connect my Axo and Arduino, and send the gyro data to Axo from Arduino.
But I'm a novice at Axo, so I have no idea to realize this.
What patch? How program?:disappointed_relieved:
This might be basic, but I could you tell me how to do.


#2

Best place to start is the voltage of your Arduino 5v or 3.3v, the Axo iis 3.3v so if you have 5v, you will need a converter between them.

Next bit is how you want to send data to the Axo, UART, SPI, etc, there are object in thhe Axo gui to select that will be a start for you to get the data from your serial connection.
If you want to send the data from the Arduino as midi data, you can connect with midi over USB if your arduino does that, or you can connect the Arduino Uart to the Midi din input on the Axo. There is alot of info on the forum for choices etc..

What is your preference for sending data to the Axo from Arduino ?


#3

Thank you for your reply!
I think that want to use UART.


#4

if you use Johane's help file for serial uart, you'll see how it is setup as well. And you can just copy the objects you want to use.
This is how you navigate to the help file..


#5

I tried to connect using serial communication with reference to your advice, but I couldn't understand how to use this...
I attach my program, so could you advise me?


#6

And, I may use i2c communication future, so I'd appreciate it if you could tell me about i2c, too.


#7

Have you tried Serial write.
Serial3.write(i);


#8

Hi @mo-chan_jp

I experimented with this a week ago with a Mega... considering CPU power and voltage issue, I have ordered an Arduino Due. I'll resume my UART experiments when i'll get the Due. Something interesting with the Due is its "Native" USB port that can be used for MIDI USB :slight_smile:


What happens when you click on the Edit button of the script2 object ?
Is there a script there ?
You should not use PA2 and PA3 as analog GPIO if you use them as UART, maybe it messes things.


#9

Thank you very match!
I could be connect each!:ε–œγ³:


#10

Thank you for your reply!
It is troublesome about CPU power and voltage issue...