PLAY PODCASTS
Deep Dive w/Scott: ESP BLE and USB Host

Deep Dive w/Scott: ESP BLE and USB Host

Adafruit Industries

February 11, 20222h 9m

Audio is streamed directly from the publisher (adafruit-podcasts.s3.amazonaws.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

Join Scott as he recaps ESP BLE work, keyboards and USB host. Support him and Adafruit by purchasing Adafruit gear from https://adafruit.com. Join the Discord at https://adafru.it/discord 0:00 Getting Started 5:38 Housekeeping 10:00 Mailbag 10:55 installed the CP 7.1.1 on a Raspberry Pi Z W2 issues. / ( use latest ) 15:03 - overhead / return to mailbag 15:42 AF Data cable /4449 https://www.adafruit.com/product/4449 17:20 Multifunctional USB Safety Tester https://www.adafruit.com/product/4232 17:50 Usb CP2102N usb to serial converter / 5335 19:10 New products from UM ESP 32 Feather S3 https://esp32s3.com/ 22:20 Tiny S3 24:23 Pro S3 / PicoBlade to JST-PH 28:59 BLE - converting broadcast net ( NRF52 read sensor and broadcast ) w/bridge 31:30 Desktop / gthub CP BLE_BroadcastNet 32:05 Can an iphone work as ble key for our iot devices? key like authentication key 33:03 PR for Add native bridge example 34:01 io.Adafruit 34:22 Raspberry PI and the stock shortage that seems to have created a 50+ dollars Pi zero a thing. 35:05 BLE bridge with AIOBLE? Or similar? All Asyncio? 35:31 Bridge core ( ble.start_scan ) bls_broadcstnet*.py 37:37 adafruit io bridge dashboard 40:28 Adafruit LED plastic enables visibility of the purple blink 42:20 Bridge output 42:32 so the background BLE scans are non blocking so CPy user code is not interrupted? 43:35 Blinkng 2 different colors to know the different sensor data received 45:03 Color picking trick rainbow.colorwheel based on reversed_address 47:55 Native bridge is not in the library yet - see Learn Bluetooth LE sensor Nodes to Raspberry Pi WiFi Bridge (by John Park ) 49:45 complicated instructions to get the WiFi Bridge going 50:32 Packet Buffer examples working now PR 158 - insulate code from time sensitivities 52:15 Do you have WiFi always on, and connected to the router? Do you know your current (I) use when you are scanning and sending with WiFi? 53:50 ble_packet_buffer_client.py 55:45 ble.start_scan 56:21 NRF app for BLE advertising 58:40 how do you make a custom BLE server *buffer_service.py complex characteristic ( perhaps https://circuitpython.readthedocs.io/projects/ble/en/latest/characteristics.html ) 1:04:35 Adafruit BLE characteristics ( ble io bindings ) 1:07:38 download the two files from S3 the uf2 and bin, I need to write the bin first to the esp32-s3 then it should boot with a bootloader directory where I drop the uf2 file in. Is that correct? 1:09:35 data descriptors in python https://docs.python.org/3/howto/descriptor.html 1:11:00 Is there a way to make a raspberry pi zero run circuitpython the same way the pico does? I am trying to use usb_hid on the zero but it wont work and pico runs to slow 1:11:39 learn guide bare_metal no os https://learn.adafruit.com/circuitpython-on-raspberry-pi-bare-metal-no-os 1:13:17 USB Host Pico-PIO-USB using PIO https://github.com/sekigon-gonnoc/Pico-PIO-USB 1:19:00 Pico usb host demo 1:21:57 data + and - wires go to uart tx rx pins or any pins ? 1:24:41 github issue 5986 1:26:44 Seniply / colemake configurator qmk.fm 1:27:19 switch to overhead 1:27:45 ​In order to have a Pico or ESP32 communicated with a user space program, is Serial COM the only option? 1:28:29 ​So I followed the guide and have CircuitPython installed (no os) on the raspberry pi zero 2. But it doesn't seem to work. But my pc doesn't detect anything when I plug it in 1:29:14 interested in making a midi usb host. I hope it's not so different than what we are doing here 1:30:00 ETA of usb 2.0 HOST support for HIGHSPEED devices in TinyUSB for original rpi zero (BCM2835) ? (only Teensy 4 chip has both supported for now) 1:31:33 flashing rainbow on hdmi what does that mean? 1:32:27 TinyUSB has USB Host support for HID (keyboard,mouse) and there's a PR for MIDI, but that's it for now I think 1:32:48 pluki (sp) trackball interaction with keyboard 1:34:00 layers on CMK Configurator 1:35:10 running custom code ( not CMK or QMK ) - for colmax keyboard 1:36:02 how long did it take you to make the switch? 1:36:25 if you want more ergonomic keyboard - don’t use QWERTY 1:37:55 Split keyboards are the way to go 1:38:45 keyboardio keyboard ( previous keyboard ) 1:42:58 pimpmykeyboard.com 1:44:50 Keycap families DCS, DSA, and SA Family - ortholinear 1:46:35 keyboard can be CP or HID only 1:47:00 code.py in the keyboard 1:49:15 future refactoring… 1:49:40 “this is a bug” - editing the keyboard code using the keyboard - risky 1:52:25 other standards via and vial 1:52:32 is adafruit going to make a diy vr controller as they HAVE made a vr headset and i have it but im using terrible controllers and i was wondering if you would make some. 1:54:33 keyboard “stages” 1:57:45 any ideas for naming ? 1:58:05 Broadband update / https://wa-law.org / right to repair / share the cities slack 2:05:47 wrapping up / next week also friday / USB Host / https://github.com/adafruit/deep-dive-notes 2:08:30 pet the cat 2:09:14 have a great weekend