using the WVY for arduino type sketches

14 views
Skip to first unread message

Andrew Nolan

unread,
Aug 27, 2023, 10:16:12 PM8/27/23
to WVR Audio
Is it possible that somehow arduino sketches could be uploaded onto the WVR, in a kind of sandbox where the WVR web OS and resources (including DIO pins etc) are out of bounds? I imaging the sketch being able to call functions on the WVR part using a library. 
Of course this would mean a board with USB connectivity either native or added on. 
I hope this is not a dumb Q but it seems a lot of unused potential in the WVR  board. 

Andrew Nolan

unread,
Aug 27, 2023, 10:30:38 PM8/27/23
to WVR Audio
Oh, I see that exists already in the WVR.src. I take it that these libraries will allow access to WVR midi functions for example. 

WVR Audio

unread,
Aug 28, 2023, 3:09:21 PM8/28/23
to WVR Audio
If you look in the /examples directory there are some basic examples, and one advanced one called wvr_thames.ino.
Most of the basic Arduino functionality can be accessed through the WVR class, so you have WVR.play(), etc.. You also have access to the midi hook, which you can see how that works in the wvr_thames.ino file.

You can also always fork, clone, or otherwise modify the WVR source library, like you said its all in the wvr/src directory, but be warned, the firmware is very complex, and it is easy to create bugs. In the case of a bug, the WVR can be bricked, you wont find its WiFI to upload a fix, and so you absolutely need a usb-ftdi module, as described in the documentation, so you can flash and receive logs over USB.

The MCU on these usb-ftdi modules is included on most ESP32 dev boards, I did not put it on the WVR because it costs 2 pins, adds cost, and takes up a lot of space, it is a fairly large MCU with several peripheral parts. Luckily the modules are easy to find, and very cheap (around $10).

I am always here to support anyone hacking on custom firmwares, don't be shy to ask questions here, I always try to respond within a day or 2.

Reply all
Reply to author
Forward
0 new messages