Hardware Development with KMP and Compose Desktop
summary
Project builds a hardware guitar-pedal switcher that actually routes analog pedals and proves the whole stack works end to end: a custom PCB with an ADG2188 crosspoint with I2C controlled from a Raspberry Pi, a Kotlin Multiplatform + Compose Desktop UI running on the Pi, and a Java BLE server plus REST ideas for companion apps. Uses Py4J DSL for I2C and Pi4J for GPIO to drive LEDs and footswitches; demo shows presets switching live and the firmware + UI integration functioning.
AI-written summary · about
chapters (20)
- 0:00Guitar pedals and KMP intro
- 3:19Project requirements and hardware
- 7:57Mobile to embedded skills
- 9:26Raspberry Pi for hardware control
- 10:10KMP and Compose for embedded UI
- 11:58Raspberry Pi to switcher connection
- 13:04Py4J for hardware communication
- 13:46I²C protocol for pedals
- 16:17Switcher config with Py4J
- 18:06Pedal matrix state management
- 19:34First app version on Raspberry Pi
- 20:17Buttons and LEDs for control
- 21:44Button debouncing in hardware
- 22:06LED control with GPIO
- 23:09Bluetooth with BLE
- 25:36BLE server in Java
- 27:46Live demo pedal switching
- 30:18Project progress and plans
- 32:06Companion app and MIDI ideas
- 33:09Summary and Q&A
related talks
30mModern Compose Architecture with Circuit
51mDiY Android Kiosks: Turning a Raspberry Pi into a Modular Workhorse
19mAgile hardware development (as an Android dev)
34mBeyond the UI: Compose as a Foundation for Multiplatform Apps
45mThe Adventures of Kotlin And Compose Through the Multiplatform World
44mThe Adventures of Kotlin & Compose Through the Multiplatform World
36mCoupling Compose- Interoperability in a Legacy Codebase
41mEco-friendly hardware hacking with android
