how many serial tx rx inputs

Status
Not open for further replies.
Ok I finally have a working model.
It uses different codes including parts of
potatotrons help which was vital.
so thanks to all who have assited on this project
I will continue to tweak it and post my findings
but again thanks it is actually working!!!!
 
Sorry for the delayed response, but very glad you got it working. I checked out the video and it looks great, I look forward to more from you.
 
Question, so I tried it with the arduino pro mini 3.3v 8mhz
then with the arduino uno r3 16mhz and it is smoother
IT goes from the uno or mini to the teensy which converts it to midi.

Is mhz the only or best way to get it to update faster.
so If I went to the teensy at 72mhz it would improve that much? (This means teensy for imu fusion sent to teensy for collection and translation to midi)
 
Question, so I tried it with the arduino pro mini 3.3v 8mhz
then with the arduino uno r3 16mhz and it is smoother
IT goes from the uno or mini to the teensy which converts it to midi.

Is mhz the only or best way to get it to update faster.
so If I went to the teensy at 72mhz it would improve that much? (This means teensy for imu fusion sent to teensy for collection and translation to midi)

Sorry if you already explained this but I'm on my phone and having a hard time reading the whole thread.

So you have one Arduino (pro mini or uno) connected to the sensor and reading its measurements, then you send that data via serial to a second Arduino to convert it to MIDI?

I would think that you would be able to combine everything into a single Teensy, and yes if you used a Teensy in place of the Pro Mini or Uno you would be able to sample the hardware much faster.

If you want to post the code to one, or both, of the Arduino/Teensys I will look over and would probably have a better idea.
 
OK sorry I may have sounded all mixed up.

This is how it works
IMU connected to Arduino r3 for fusion
Arduino r3 sends "!85.5,90.66,125.66" out through Serial
Teensy3.1 receives on hardware serial 1 the "!85.5,90.66,125.66"
seperates the float values to 3 seperate whole numbers(integers)
then translates that integer to midi values.

I started by using the 8mhz arduino pro mini for the fusion math because of its size and cost.
but then tried the arduino r3 and saw that it ran the fusion math better.
I havent tried the teensy for math fusion, not sure if all the code works yet, but i will try.
 
Status
Not open for further replies.
Back
Top