Skip to main content

Giving up on MSP430

  • MSP430's poor floating point performance makes the butterworth filters take >2ms. Too long for the 1000hz baseline frequency, but even too slow for the 500hz alternative.
  • Moving to using a 16bit 4 channel adafruit adc and a raspberry pi.
    • Grabbed a 9axis imu while as part of the order.
  • Planning to use an nrf 5340 or at least a nrf52840, either of which have a dedicated fpu and should be able to process the signals and run a very lightweight model.
    • Attempting to install the nrf sdk on my raspi and use vscode to interface with it from my desktop.

Comments

Popular posts from this blog

HM-10 clone fun

As part of my early eskate endeavors, I bought a bluetooth dongle for my board to get telemetry from rides. I bought what I thought was an hm-10, but it turned out to be a clone. I originally managed to salvage the situation by following  this guide  to flash the official hm-10 firmware onto the clone. I slightly deviated from the guide by using a raspberry pi and its gpio pins to do the flashing instead of a ftdi-adapter. Fast forward to today, with newer and faster bluetooth modules in existence for eskate, the hm-10 has been replaced and sits unused. So the plan was to repurpose it as a wireless serial connection for my cnc. The cnc runs smoothieware, which support uart serial output directly, and all I had to do was hook up the right pins and configure the baud rate. The default baud rate is 9600. A bit slow. In fact, probably too slow for cnc situations where many small movements are happening while the smoopi controller is attempting to stream information back. So I trie...

Researching how to use the nrf5340

 Figuring out 2 things currently: How to do multipoint pairing for bluetooth Looks like someone else asked this question before: https://devzone.nordicsemi.com/f/nordic-q-a/29575/switch-between-paired-central-devices and solved a similar issue in https://devzone.nordicsemi.com/f/nordic-q-a/2915/how-to-change-the-mac-address-when-the-system-boots-up I'm not clear on what this is exactly solving but looks promising to change the mac address as a way to pair to multiple devices, non-simultaneously. Running ml models on the nrf chip Looks like the nrf5340 supports this platform called Edge Impulse. I'm not familiar with it, but seems like they're a model training/deployment platform that specializes in microcontrollers and sensor data. I'll need to figure out a sensor configuration I'm satisfied with and then I'll look into using this to get some model data.