• A little ride!

    Mirko06/08/2023 at 07:45 0 comments

    I eagerly put my one and only device to the ultimate test in the vast expanse of the outside world! Armed with my newfound knowledge of FreeCAD, I took on the challenge of crafting a case using resin (with JLCPCB). Although it was my inaugural attempt, the case didn't fit flawlessly, but it was an encouraging first try. Fortunately, the attachment with the Wahoo connector functioned perfectly.

    However, a slight hiccup awaited me when it came to the device itself. It seemed to struggle with writing an ample amount of data onto the SD-Card, likely due to a code error that eluded my initial scrutiny. Nevertheless, encountering such a setback was not entirely unexpected, considering the complexity of the task at hand. It's now imperative for me to delve back into the code and meticulously analyze the situation to identify and rectify the issue.

     

    Note: the text above was written with ChatGPT because I am terrible in writing texts myself. No idea where this tool is getting all this fancy words from haha

  • Testing Success and Data-Logger Code

    Mirko12/01/2022 at 13:06 0 comments

    Testing was successfully done! 

    • ✓ ESP32 flashing and Serial works
    • ✓ Pressure Sensor works
    • ✓ BMX160 works
    • ✓ Buzzer Works
    • ✓ Debug LED works
    • ✓ Battery sense Pin ADC works
    • ✓ Battery charging works incl. charging indicator LEDs!
    • ✓ Reset and Event Button are running
    • ✓ SD-Card works

    The SD-Card Holder is pretty shitty and already kind of broke after a few times in and out. I created a 3D case which is about to be printed. With that case I can attach the device via the Wahoo connector to any bike.

    I also wrote the code for data-logging to write the sensor data to the SD-Card. With this setup I can go out and collect data of different jumps and tricks on a bike which I then can throw into some TinyML processing tool like Edge Impulse or similar. 

    I still need to lean about machine learning on microntrollers. 

  • Prototype Testing!

    Mirko04/28/2022 at 17:48 0 comments

    Prototype was soldered! 

    • ✓ ESP32 flashing and Serial works
    • ✓ Pressure Sensor works
    • ✓ BMX160 works
    • ✓ Buzzer Works
    • ✓ Debug LED works
    • ✓ Battery sense Pin ADC works
    • ✓ Battery charging works incl. charging indicator LEDs!
      • except that the LEDs are glimming if the LDO is disabled
    • ❌ forgot to add GPIO0 to a button which was needed for flashing. 
      • was able to patch it with a cable and disconnecting the btn1 button
    • ❌ SD-Card is connected wrongly! 
      • I use µSD-Card reader but connected the Pins like with default SD-Card. I thought the Pinout is the same but the default SD Card has one extra GND. Can not patch it :( 

    All in all I am happy that at least most of the things are working. I have to make new Boards to fix the SD-Card but before I am running more tests.

    I am running a battery life-time test. The device is running for 7h+ with one charge being connected to WiFi sending continous data to the cloud. That will be more then sufficient for the use-case. Somehow my code dies at around 35% Battery life which seems a bit weird. Once restarted it runs just fine but now and then stops for no reason. But that might be a different issue because the device stays connected to WiFi and is reachable - just not sure what might causing that.

  • DSP368 Driver written in Toit is done

    Mirko04/16/2022 at 08:40 0 comments

    Driver for the DPS368 in written in Toit(lang) is "done" (it does what it should do but notevery feature is yet implemented)

    https://github.com/Informaticore/toit-dps368

    next step: soldering the ESP32 prototype.. I am waiting for the solder past.