Jump to content

Dmitry Key

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

3 Neutral

About Dmitry Key

  • Rank
    Newbie

Profile Information

  • Location
    Russia

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. WheelLog 2.0.28 crashes when trying to connect to euc.world. Report attached. wheellog.txt +++ It happens only when GPS in turned off.
  2. I've made a wireless link (stm8+nrf24) to my PC and was able to capture more data (see attached file). Wonder if I'll be able to decode it. ewheel.log
  3. An attempt to read locked MCU will erase it. Thanks!
  4. It will most certainly brick my controller, so no.
  5. I've bought cheapest nameless (though, sometimes referred as Hoverbot S2 or some Airwheel) EUC for training and decided to try to add a Bluetooth feature. I'll describe my path here. Our two main goals are software and hardware. For software I decided to stick to Wheel Log, as it is open source and I can get all UUIDs and data formats I need from the code. The hardware is a bit tricky. It consists of two parts - sensors and microcontroller. Implementing sensing circuitry is hard - high voltages and currents, small and noisy signals from shunts. I'd better avoid it. So let take a look at the controller board and see what it has. I've marked most important components and connectors. Board name is swk02 and it is build on GD32F130C8T6 MCU and (probably) MPU6881 gyro. There are two empty connector places - F_WRITE and DEBUG. F_WRITE is definitely an SWD interface and is of no use since MCU is locked (I have not tested, though) and can only be erased. DEBUG connector could probably help us a lot. If it will provide required data, there will be no need in building sensing circuitry. Lets connect USB-UART converter and check. Here is the dump I got at baud rate 115200. It has some patterns in it: I'm not sure if baud rate is correct, but at least the dump is not complete garbage like I got at 57600 or 9600. My next step is to make Bluetooth UART to dump data directly to PC for processing. Maybe I'll be able to figure out what bytes stand for what. Two more photos attached.
  6. Would it be possible to add some collect/dump feature, to get UUIDs and binary data from other models?
×
×
  • Create New...