iy3xk ftc9ky lscsucks

CH9141 BLE Chip


April 2026 (c) RLamb

The $4 bluetooth chip/modules trivialize making your UART wireless. Essentially just connect TX and RX pins to your hardware UART and go. Ive even just put the raw chip (+ 32mc xtal no caps needed) right onto many of my dev PCBs.

Howto:

You have established a two way serial connection. Read the manual for other functions such as saving configurations.

But, wouldnt it be nice if I could use a console app for the host side instead of a second ch9141 and serial to usb adapter, i.e., a BLE terminal app. Looked around the net and there seemed to be many of these but none that would just give me a terminal screen after connecting to the particular ch9141 protocol. I probably just missed something, but it would also be nice to have the source/build environment for the app so that I could adapt to my own particular products (eg, like adding additional encryption and custom UIs). So decided to re-embark down that dreaded road of ios/android/non-C app/UI development. But wait, I keep reading about this AI thing...

Claude IOS BLE Terminal app for CH9141

Sheesh!
$ claude -p "please write an ios ble terminal app."
Uh...WTF...after about 10min Claude just dumped on my terminal screen 6 source code files and short setup instructions to build the app here! Didnt ask me any questions. Seemed to know exactly what I was looking for. Sure there were a few hurdles* to compile and get it onto my ipad/iphone but wow! This would have taken me - an un-experienced app/swift/apple hating old school C programmer - a long time (Ive done it before for NFC).

F.U.D was followed by - hmm.. I hate writing this sort of user facing code. Its tedious and boring (unlike writing embedded systems, net protocols, device drivers). So this AI-thing may be a godsend for folk like me though a problem for some. The true implications will take months and many beers for me to comprehend.

*yeah, spent a day just trying to update my apple xcode, certificates, etc. Ended up bricking an old mac mini and then had to buy a throw away macbook neo; and then relearning counter intuitive (for me) apple device usage. Then just a few simple SWIFT coding errors by claude. But then worked!


'I no longer wish to be limited to the clouds.' - Star Trek 1969 'The Cloud Minders'
"I no longer wish to be limited to the clouds." - Star Trek 1969 "The Cloud Minders"
Copyright © 2026 Department C Inc