08/23/2019 at 00:22 •
Just a quick update on this project of mine :)
I haven't forgotten about this project, however a lot of the development for the software of this one is intertwined with my #DIY SamplePad Controller project as well; both will use the same code to read the pads and then just process them differently. This project's Arduino Mega uses a single serial port to pass data to the Pro Mini for turning into MIDI output, and the SamplePad's Mega uses four software serial ports for sending commands to four DFplayer mini boards.
There's a strong chance Id like to leave an option for MIDI output on the SamplePad in the future, so it makes sense to develop the Megas code for both projects as one, with options to turn features on/off in the sketch.
03/21/2019 at 00:50 •
Just a little update tonight, testing out my i2c premise.
The Mega successfully passes data to the Pro Micro, which is great news.
Now I just need to tighten it up and make sure it's fast and robust, then tidy up the Mega's pad reading code.
Then it'll be time to stick a load of Jack sockets in a box with lots of Arduinos ha ha!
03/19/2019 at 00:32 •
First draft of code written, ready to test tomorrow:
I have taken some working test code I had written for the Pro Micro and splits out its functions; the pro micro now becomes an i2c master, converting receive data into MIDI commands, and the slave device will focus on reading pads and sending values back to the master. In this example I'll be putting the slave code onto a Mega, giving 16 analog inputs (enough for 8 pads).
If this works I'll be a happy man, as it'll allow me to easily add more slaves to give me the number of analog inputs needed, or allow me to use clusters of smaller boards, such as Nanos.