Is there a way to get data directly from the HEGduino using something like Python? I haven‘t figured out a good way to do this and was wondering if anyone has tried.
Yes any serial interface will work fine. I used pyserial or another python package (can't recall which, pretty sure it was just 'serial' but they are all the same just different syntax for your preferences) no problem before, the baudrate is 115200. I use Arduino for debugging and programming which has its own serial monitor.
I am now able to use the Web Serial API that is provided in the latest chrome versions which is letting me write USB apps hosted on the web now, which you can demo at https://hegalomania.netlify.app :-) and see the code at https://github.com/moothyknight/netlify_test. This doubles as a downloadable mobile app (it works on android) but is still being reformatted to be better looking for mobile and hopefully iOS compatible.
You can also find in HEGwebAPI.js from my webapp how the event source or BLE calls work. Bluetooth Classic connections will also work via serial interface. Be sure to update your device as it can now be switched to different modes on boot if you reset it at the right time (there are now LED blinks to indicate settings if you check the changelog, am still documenting/improving this feature).
Hey Eirik,
Yes any serial interface will work fine. I used pyserial or another python package (can't recall which, pretty sure it was just 'serial' but they are all the same just different syntax for your preferences) no problem before, the baudrate is 115200. I use Arduino for debugging and programming which has its own serial monitor.
I am now able to use the Web Serial API that is provided in the latest chrome versions which is letting me write USB apps hosted on the web now, which you can demo at https://hegalomania.netlify.app :-) and see the code at https://github.com/moothyknight/netlify_test. This doubles as a downloadable mobile app (it works on android) but is still being reformatted to be better looking for mobile and hopefully iOS compatible.
You can also find in HEGwebAPI.js from my webapp how the event source or BLE calls work. Bluetooth Classic connections will also work via serial interface. Be sure to update your device as it can now be switched to different modes on boot if you reset it at the right time (there are now LED blinks to indicate settings if you check the changelog, am still documenting/improving this feature).
Cheers!
Josh