New phone, old phone broke.
GPS update. I took @poastoast ’s recommendation, and ordered a couple of the M10Q units. The one from Amazon arrived first, so I installed that. Did some VHB padding to get it mounted receiver upward, but it went right in. This is the unit I ordered, from Matek:
Made a wiring bit to suit the Minnie, and gave it a test, and immediately it got several locks.
I carried the board around, just to check, and it was solid.
After getting the board back together, it seems to work perfectly right out the door.
I discovered and fixed some issues a few days ago, related to VESC Tool. On a system with dual Flipsky 75100, VESC Tool was not able to properly read and display information, there were issues with motor detection too. When you have a minute, can you please update Minnie firmware and try it again?
Would it be possible to add ADC voltage logging in the firmware for the Minnie?
It’s now implemented in 6.05 when logging using Vesctool.
I’m asking if the Minnie can be made to log it, and ideally, log IMU data as well. I’m using a Minnie so I don’t have to use a mobile device for logging.
It’s not possible yet, but you are the second person asking for it after @Oliver. Can you please tell a bit more about use case (and for IMU as well)?
It’s used in a Onewheel, and so the IMU data is the input for the motor behaviors.
Logging IMU data helps troubleshoot issues, identify bad IMU units, etc. Once they’re calibrated, it’s easy to see if an axis drifts too much, or has too much noise that the filters aren’t dealing with.
Currently, people run logs in VESC tool, but that’s people who connect to mobile and let it run. I believe it’s better to just have it log on it’s own on the Minnie and if there’s an issue, be able to see what may have happened.
Recent example of finding an issue in IMU data:
The ADC voltages are how the foot sensor switch works. They read ~3v when they’re pressed and active. 0v when there’s no contact.
Again, it’s good to see for troubleshooting. There are often cases where someone was braking and their tail side dropped down and caused a fall. In many of those cases, the likely cause was the foot sensor not sensing the rider when they lean far back enough. Knowing that info would make it much easier to see, identify patterns, etc.
Thanks for the thorough explanation. We now implemented ADC1/ADC2 logging for Megan and Minnie. To give it a try, make sure you have the latest beta apps and then install latest beta firmware on Minnie.
I gave it a try, but it doesn’t seem to be reading it. The board itself does read it, but it’s not coming through in the Minnie.
The ADC channels have to be above 2v for the motor to engage, which it does. Just doesn’t seem to show.
Going to the package UI in VESC tool, it does show that it’s reading ADC correctly.
Forgive me if this has already been answered; can it log pwm input?
Sorry, I have a question. How do I reset the trip miles, or somehow manually align them with what’s on the VESC?
I looked through the guide, but it only mentions session resets on Meagan.
I had a quick look, can you please set “APP to Use” to “ADC and UART”?
The way float package reads ADC1 and ADC2 levels is different from how we read it. The float package has access to VESC internals and can read ADC1 / ADC2 like this:
fs->adc1 = VESC_IF->io_read_analog(VESC_PIN_ADC1);
fs->adc2 = VESC_IF->io_read_analog(VESC_PIN_ADC2); // Returns -1.0 if the pin is missing on the hardware
Minnie can only request ADC1 / ADC2 via COMM_GET_DECODED_ADC
command and I think that is only populated with values when ADC app is enabled.
Thanks for pointing this out, we need to update the guide for Minnie. Since there are no physical buttons, session reset has to be done through the app. You can either do it in Metr app or Voyage Connect app.
When connected, tap on the lower part of Realtime screen:
There you should have Reset session:
I also recommend enabling “Reset session on charge”. This way session will reset after each time you charge the battery:
I can try that… I wonder if it will then use the ADC values to run the motor or conflict with the installed Package.
I’ll give it a go.
Thank you!
Make sure to set ADC Control Type to Off in VESC Tool, and it should not conflict with the float package.
@rpasichnyk - I tore the rubber boot that covers the gps antenna on my megan, anyway I can get a replacement from y’all?
Please email me at jan@voyagesystems.eu and include your full address. I will send you a replacement. Should be around $20 including shipping (with a regular slow mail).