Skip to main content

Posts

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.
Recent posts

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.

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...

First Post, setup blog

 Obligatory "first post" post. Setup a blogger since it's conveniently tied to my google account. Acquired a domain name from Freenom, which used to just be dot.tk way back when. The process was a bit finicky, had to disable/enable vpns and fill out all the profile information, etc. But it seems to have worked in the end. Currently waiting on the dns records to update so I can add it to Blogger.  I was going to get a .tech domain, since I remember them being free a couple years ago, but I guess the tech boom has changed their minds about that. This blog will likely be a documentation of both my electric skateboard hobby and cnc hobby. Hopefully any information I learn throughout will be useful to someone besides me.