Adafruit Industries
Collapsing Zombie Hand #3dprinting #timelapse #adafruit
updated
Thanks to dcd for timecodes:
0:00 Getting started
1:00 hello and welcome
6:20 STM32G0 Cortex M0_
7:58 Digikey Evaluation boards
9:28 Digikey microcontrollers
12:30 Setting the wifi credentials in the .toml file via installer or repl
14:15 back to
14:40 JLCPCB for fully assembled
15:41 Board design - github tannewt stemaG0
18:15 Scotts projects JLCPCB mention of Metro M7 modification with trace
20:55 SVD file processing "cmsis-svd" into C header files
22:09 Keil STM32G0 .svd file
26:14 pack manager python tool
26:56 Espressif svd files on github
27:20 svd2rust tool for embedded rust
28:50 generated i2c.h from .svd
31:06 Open-CMSIS pack for .svd rules
32:00 SVDConv Utility tool
33:22 Github / copilot
34:00 # define vs clang structures
35:20 building linker scripts from .svd ??
36:30 looks like submodules needed to be updated
39:55 embedded.compiler.Clang addition to build.py
1:17:19 gdb and svn_load github.com/bnahill/PyCortexMDebug
1:20:10 trace.json only showed subcommands / check out viztracer
1:22:30 python asyncio run in thread
1:25:50 adding async TaskGroup in python 3.12
1:31:25 hide some of the complexity with a decorator
1:44:00 a better visualization using ui.perfetto.dev
1:53:30 pdsc files that assist generating linker scripts
1:54:30 svd might not have enough information for linker scripts
1:56:45 git commit and push
1:58:15 last minute look at the traces
2:00:56 wrap up
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
adafruit.com/product/5924
10 Pack Clearance - 26-pin GPIO IDC Ribbon Cable - 2x13 - Black with
White Stripe (0:45) adafruit.com/product/5928
Raspberry Pi M.2 HAT+ (1:28) adafruit.com/product/5902
Adafruit 2.9" Red/Black/White eInk Display Breakout - THINK INK -
UC8151D Chipset (2:18) adafruit.com/product/1028
Adafruit Chainable DS18B20 Extender Breakout - STEMMA JST PH 2mm
(3:16) adafruit.com/product/5971
Adafruit Pixel Trinkey - USB Key for NeoPixel / DotStar Driving (6:39)
adafruit.com/product/5953
-----------------------------------------
New nEw NEWs New Products, News, and more: adafruit.com/newsletter #newnewnew
Shop for all of the newest Adafruit products: http://adafru.it/new
Visit the Adafruit shop online - http://www.adafruit.com
Adafruit on Instagram: instagram.com/adafruit
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
We use the Espressif family of chips (digikey.com/en/supplier-centers/espressif-systems) in tons of our designs: they're inexpensive, powerful, have excellent low-power sleep modes, and all come with fast and secure WiFi functionality, so they make for excellent IoT devices. Starting with the ESP32 in 2016, a follow-up to their 'accidental microcontroller' the ESP8266, Espressif has focused on Tensilica-based microcontrollers with built in WiFi and/or Bluetooth radio. By combining the silicon for radio and processor, they've been able to come in at disruptively-low pricing (en.wikipedia.org/wiki/Disruptive_innovation) - with chips ranging from $1-$3 and modules from $2-$6.
Over the years they've branched out to include improved BLE, native USB, and many other peripherals like CAN and TFTs. They've also dabbled in RISC-V, adding a co-processor to the ESP-Sx series and finally going 'full RISC-V' in the ESP-Cx series. Now, with the C6, they're adding a new protocol to the mix: in addition to updating to WiFi 6 and BLE 5, the C6 also can talk 2.4GHz 802.15.4 which means it can communicate with Zigbee devices (en.wikipedia.org/wiki/Zigbee) including Thread and... Matter (en.wikipedia.org/wiki/Matter_(standard)) an open-source connectivity standard for smart home and Internet of Things devices from the Connectivity Standards Alliance (csa-iot.org) formally the ZigBee Alliance.
Matter is, hopefully, not just the latest, but the last attempt at creating a unified standard for home/business/industrial IoT and automation. It is a higher level protocol that runs on top of WiFi, BLE, or Thread - Thread being a replacement for Zigbee that also runs on 802.15.4 radios. That means that if you want to create a Matter device, you can use any of the three transports (learn.adafruit.com/alltheiot-transports) supported by the ESP32-C6: WiFi is medium range, medium cost, high power, medium complexity and high data rate: once you set up the access point, and as long as it's plugged into the wall, it tends to work very well. BLE is lower range, low cost, low power and medium complexity since you still need to pair to another device. Thread/ZigBee is medium range, low power, low cost, and high complexity since you need a gateway to use.
As of this post/video, the Matter API for Espressif chips is only available through the ESP IDF SDK (github.com/espressif/esp-matter), and not in Arduino yet, although there is an open issue being worked on (github.com/espressif/arduino-esp32/issues/7432). However, if you aren't up for using the ESP-IDF for programming, you can check out ZeroCode (zerocode.espressif.com) Espressif in-browser code generation, compilation and uploading system. At this time only '2-chip' setups are available for code generation, the 'bare' ESP32-C6 support is coming soon, but we tried out the IoT ExpressLink configs (espressif.com/en/solutions/device-connectivity/esp-aws-iot-expresslink) which have UART commands for setting up and tearing down the Matter device. After filtering for ExpressLink, we selected the C6 Mini module we have on our Feather prototype. A schematic is generated to show how the module will need to be wired for the UART access. Then you can program it directly in the browser. The unique Matter identifier is turned into a QR code: you can scan this with your mobile phone to add the device to your home's Matter-hub. Finally - check out the AT command reference (docs.aws.amazon.com/pdfs/iot-expresslink/latest/gettingstartedguide/expresslink-gsg.pdf) for how to start the Matter subsystem and send/receive data.
As Thread/Matter gets adopted as the next-gen IoT transport protocol, the Espressif ESP32-C6 (digikey.com/short/8vj302rf) is positioned to be the perfect module for fast integration and low cost. With pre-certified and encased modules, plus a ready-to-go SDK, you can spin up a prototype product in just a couple days. We recommend starting with the ESP32-C6-WROOM-1-N8 module to start, with tons of flash memory, you can always downgrade if you end up only needing 4MB of Flash. There's also an affordable ESP32-C6-DevKitC (digikey.com/en/products/detail/espressif-systems/ESP32-C6-DEVKITC-1-N8/17728861) that has all the basics on already for instant bring-up. Order from DigiKey today to get your ESP32-C6's by tomorrow afternoon so you can be ready for the future of IoT with WiFi, BLE 5 and Thread/Matter support baked in.
Together they've created what we think is the best nRF52840 module, the Raytac MDBT50Q-1MV2 (digikey.com/short/t8hvw1bt). Historically you've had to pick this up direct from Raytac, but now it's stocked by DigiKey which is excellent news for anyone who wants to integrate the powerful nRF52840 with little fuss.
The Nordic Semiconductor nRF52840 (digikey.com/en/products/detail/nordic-semiconductor-asa/NRF52840-QIAA-R/7725407) is not a new chip, we've been selling the Feather nRF52840 (digikey.com/en/products/detail/adafruit-industries-llc/4062/9843410) since 2019 and the chip itself was announced in mid 2017 (nordicsemi.com/Nordic-news/2017/05/Nordic-Semiconductor-introduces-latest-nRF52-Series-SoC). It builds on the popular nRF52832 (digikey.com/en/products/detail/nordic-semiconductor-asa/NRF52832-QFAB-R/6051565), a chip with an Arm Cortex M4-F / 512K Flash / 64K SRAM, but with a ton more memory: the '840 has 1MB Flash and 256K SRAM. It also comes with native USB device support, which is new to the nRF series but makes product design easier because DFU and computer-interfacing doesn't require a second chip. The only challenge is that the nRF52840 itself is in a funky QFN package with pads underneath, and multiple rows, which requires either very fine traces, 4-layer boards, plugged vias, or a combination, in order to get to the 'inner' traces. Also, you have to get your antenna tuning right - even though the nRF is very forgiving, it's still extra effort!
That's why at Adafruit we have been using Raytac's MDBT50Q-1MV2 Module (digikey.com/short/t8hvw1bt) for years, in our Feather nRF52840 (digikey.com/en/products/detail/adafruit-industries-llc/4062/9843410), ItsyBitsy nRF52840 (digikey.com/en/products/detail/adafruit-industries-llc/4481/11497502) and CLUE board (digikey.com/en/products/detail/adafruit-industries-llc/4500/11594501). We like that it pick-and-places cleanly and easily on 2-layer PCBs with 8/8 rule DRC, comes with certifications, and has a couple different built-in antenna options, all tuned and ready.
In particular, if you want a larger and/or external antenna check out the MDBT50Q-U1MV2 (digikey.com/en/products/detail/raytac/MDBT50Q-U1MV2/13968055) but we like the chip-antenna version the most. Either way, the module footprint is much easier to work with - you still have pads underneath but they're large, and you can easily fit vias in the unused spots. Just make sure you keep ground clearance around the antenna if you're using an on-module version. If you need tips on schematic and layout, just use our open source hardware design files to guide you - or check Nordic's devZone (devzone.nordicsemi.com/).
If you've wanted to use the Nordic Semiconductor nRF52840 chip (digikey.com/en/products/detail/nordic-semiconductor-asa/NRF52840-QIAA-R/7725407) for your ultra low-power Bluetooth LE products, but have hesitated due to the effort of integrating the QFN chip, we can't recommend the Raytac MDBT50Q-1MV2 module (digikey.com/short/t8hvw1bt) enough! And now that it's for sale through DigiKey, you can pick up some at a great price. Order today and you can BLE-ify your next design by tomorrow afternoon.
The news comes from the Python community, Discord, Adafruit communities and more. It’s part of the comprehensive newsletter we do each week.
The video playlist of episodes is here:
http://adafru.it/pohepisodes
***************************************************
Sign up for the Python on Microcontrollers weekly email newsletter here:
adafruitdaily.com
***************************************************
Read the newsletters past and present at
adafruitdaily.com/category/circuitpython
Learn all about CircuitPython here:
circuitpython.org
adafruit.com/circuitpython
---------------------------------------------------------------
Join us on Discord! https://adafru.it/discord/
Visit the Adafruit shop online, we're open for business - http://www.adafruit.com
Adafruit on Instagram: instagram.com/adafruit
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
These are items or concept products that may/might/could be introduced into the Adafruit store in the future (or not)! It's not out yet, so please don't ask questions or ask when it'll be available....
Check out the Adafruit store for all the great products that are available and for coming soon products you can sign up to be notified when they are in stock. adafruit.com/new
Visit the Adafruit shop online - http://www.adafruit.com
Also visit DigiKey for Adafruit products at http://www.digikey.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: instagram.com/adafruit
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
#adafruit #askanengineer #diy
METRO
adafruit.com/product/2488
Feather M0
adafruit.com/product/2772
Finishing up this week with some hand soldering
DC Motor + Stepper FeatherWing
adafruit.com/product/2927
#adafruit #manufacturing #nyc
-----------------------------------------
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
Learn Guide
learn.adafruit.com/usb-rotary-media-dial
YouTube Video
youtu.be/Cie6gOXQ2rM
QTPy RP2040
adafruit.com/product/4900
Rotary Encoder Stemma QT
adafruit.com/product/5880
Mini Skinny NeoPixel Strip 60/m
adafruit.com/product/2959
Feather RP2040 PropMaker:
adafruit.com/product/5768
NeoPixel Side Light Strip 120/m
adafruit.com/product/3634
Timelapse Tuesday
Floppy Piggy Bank By BB11
thingiverse.com/thing:6604353
youtu.be/lRCdrD-cMzg
Visit the Adafruit shop online - http://www.adafruit.com
adafruit.com/product/1559
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
JP’s Product Pick of the Week 5/21/24 Flora NeoPixel v3 Sheet
Deep discount during livestream:
adafruit.com/product/1559
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: instagram.com/adafruit
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
You can single-click to play and pause media, double-click to skip to the next track. If you long press, it’ll mute the speaker's volume.
The electronics are housed in our 3D printed snap fit enclosure that features a new design. The knob features a built-in LED diffuser with textured knurling on the outer edge.
We used the filament swap technique to make a multi-material print so there’s no need for a multi-extruder. Just use white PLA filament to diffuse the LEDs.
Code, libraries and assembly instructions are documented in the project Learn Guide links below.
Learn Guide
learn.adafruit.com/usb-rotary-media-dial
QT Py RP2040
adafruit.com/product/4900
STEMMA QT Rotary Encoder
adafruit.com/product/5880
NeoPixel Side Light Strip 120/m
adafruit.com/product/3634
STEMMA QT Cable
adafruit.com/product/4399
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
Floppy Piggy Bank
By BB11
thingiverse.com/thing:6604353
CR10S Pro V2
Purple PLA
18hr 13mins
X:262 Y:180 Z:139mm
.25mm layer / .4mm Nozzle
6% Infill / 1mm Retraction
200C / 60C
186g
60mm/s
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: instagram.com/adafruit
Shop for parts to build your own DIY projects http://adafru.it/3dprinting
3D Printing Projects Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOWD2dJNRIN46uhMCWvNOlbG
3D Hangout Show Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOVgpmWevin2slopw_A3-A8Y
Layer by Layer CAD Tutorials Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOVsMp6nKnpjsXSQ45nxfORb
Timelapse Tuesday Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOVagy3CktXsAAs4b153xpp_
Connect with Noe and Pedro on Social Media:
Noe's Twitter / Instagram: @ecken
Pedro's Twitter / Instagram: @videopixil
-----------------------------------------
Visit the Adafruit shop online - http://www.adafruit.com/?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
Adafruit Monthly Deals & FREE Specials
adafruit.com/free?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
Join our weekly Show & Tell on G+ Hangouts On Air: http://adafru.it/showtell
Watch our latest project videos: http://adafru.it/latest?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
3DThursday Posts: blog.adafruit.com/category/3d-printing?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
Music by Bartlebeats soundcloud.com/adafruit
-----------------------------------------
Join here for the chat all week: http://adafru.it/discord
The CircuitPython Weekly normally is held at 2pm US ET/11am us PT on Mondays. Check the #circuitpython-dev channel on Discord for notices of change in time and links to past meetings. Meeting times are also available in iCal format using the following link: raw.githubusercontent.com/adafruit/adafruit-circuitpython-weekly-meeting/master/meeting.ical or view it in your browser: open-web-calendar.herokuapp.com/calendar.html?url=raw.githubusercontent.com/adafruit/adafruit-circuitpython-weekly-meeting/master/meeting.ical
CircuitPython development is sponsored by Adafruit. Please support them by purchasing hardware from https://adafruit.com.
Reminders: Podcast available on most services. Let us know if we’re missing some.
-----------------------------------------
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
Let's search for a battery holder that comes on tape - so we can pick and place it - but is SMT and is a proper holder that has small positive and negative pads. We want a slim and unobtrusive style if possible, and low cost so we can keep our BOM minimal.
See the chosen part here digikey.com/en/products/detail/assmann-wsw-components/A-BAT-CH-C8-EA-ZSR3/19721188
-----------------------------------------
Visit the Adafruit shop online - http://www.adafruit.com
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
github.com/tannewt/circuitpython/tree/embedded-build
github.com/tannewt/embedded
Thanks to dcd for timecodes:
0:00 Getting Started
1:56 Hello - welcome to Deep Dive w/Scott
3:00 Adafruit Feather nRF25840 bluefruit feather example
3:09 We will talk about Bluetooth Low Energy today
4:47 Join #live-broadcast-chat on Discord at http://adafrui.it/discord
5:15 BLE vs Bluetooth "Classic" (older devices)
6:06 ESP32-S2-DevKitC-1 V1.o S2 SOLO N4R2 (bad example, no BLE support :-) )
6:16 ESPS3 BLE + WiFi
7:43 LED Glasses nRF52840
8:42 Creating Servers and Dynamic Services - from two weeks ago
10:00 Pull Request to add ability to create services (e.g. HID services )
10:45 Pairing & Bonding / services / characteristics (create a keyboard)
12:20 esp-matter protocol - hamslabs
13:35 PR: Add ESP BLE GATT server support #9222
13:46 also issue Add ESP BLE GATT server support #5926
14:41 Code review process inner workings
15:29 ESP32-H4 and ESP32-P4 annonuncement on espressif.com (not available yet) - but see ESP-IDF SDK
16:14 also added C2 support to circuitpython ( but it ran out of memory ) maybe only one of WiFi or BLE at a time
17:08 and C6 - no RMT neopixel support, but it does have BLE
19:45 using TinyUSB on devices with SPI but no USB
21:03 BLE_EXT_ADV ( extended advertising feature of BLE 5)
24:39 yesterdays ESP32 issue - better debugging by enabling better debug logging
25:40 pondering interrupt handlers and weak functions
26:27 Review files changed in PR9222
26:35 Trade-off OTA for BLE on new 4MB boards
28:00 adding -u to LDFLAGS to deal with weak symbols
29:18 Pairing and Bonding not supported yet
29:50 then maybe look at building CP with new build systems
31:29 Pairing and Bonding ...
33:35 ESP IDF stores bonding information in NVS partion
34:03 look on github circuitpython/tests/circuitpyton-manual for example code (but no BLE code)
34:14 adafruit/Adafruit_CircuitPython_BLE/examples/ble_hid_central.py ( all commented out)
36:13 adafruit/Adafruit_CircuitPython_BLE/examples/ble_current_time_service.py
36:37 iPhone pairing can deliver time
37:08 github espressif/esp-idf/examples/bluetooth/nimble blecent and bleprph
38:38 bleprph/tutorial bleprph_walkthrough.md
41:35 watch running CP and BLE and updating time
43:38 view example for bleprph/main/main.c code
44:14 CP repo ports/espressif/common-hal/_bleio/PacketBuffer.c
44:26 and ports/espressif/common-hal/_bleio/Connection. ( TODO:Implement this )
46:58 using copilot to make printf debugging faster!
50:54 also Adapter.c
53:39 refer to online CP docs for _bleio
56:20 git switch ble_bonding
58:03 clangd feature for genertated tags in editor ( mentioned a few weeks ago )o
59:54 S3 WROOM-2 N32R8V
1:01:02 set up window for serial output capture and CP serial REPL
1:06:21 update code.py - start test / paired - decode connections
1:09:20 CP doesn't have audio over BLE
1:17:36 use chatgpt to convert C #defines to switch statement function
1:25:54 save the work in process and switch to embedded-build git repo
1:27;20 fetch and pip install the build tool
1:31:28 review the build code in build_circuitpython.py
1:34:44 build tool uses python asyncio to get parallelism
1:35:38 return to the perfetto.dev chart of the threads to see basic trace information
1:43:02 when you call an async function, it doen't even begin to execute it - it just wraps it so you can run it later1:44:20 discussion of zig build system
1:45:30 rerun the build - this time with some more parallel tasks
2:01:43 TODO: add memoization to the build system in the future
2:04:01 push the code tannewt embedded build and wrap up
2:11:10 have a great weekend
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
CircuitPython Parsec
Learn Guide Recap
Gear Report
Retro Gear
more!
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: instagram.com/adafruit
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
adafruit.com/product/5941
On-Off Key Lock Switch - 12mm Diameter (0:39)
adafruit.com/product/5926
2.54mm / 0.1" Pitch Press-Fit Male Pin Header (2:16)
adafruit.com/product/5938
Adafruit Proto Tripler PiCowbell for Pico and PicoW (4:51)
adafruit.com/product/5967
Adafruit TRRS Trinkey - USB Key for Assistive Technology (8:35)
adafruit.com/product/5954
-----------------------------------------
New nEw NEWs New Products, News, and more: adafruit.com/newsletter #newnewnew
Shop for all of the newest Adafruit products: http://adafru.it/new
Visit the Adafruit shop online - http://www.adafruit.com
Adafruit on Instagram: instagram.com/adafruit
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
The Infineon PSoC™ 4000T series of microcontrollers are based around the classic Arm Cortex M0+ core, running at 48 MHz and with 64K flash, 8K of SRAM. So, a great microcontroller for simple products/white goods that don't need USB or a graphical display, like headphones, rice cookers, tea kettles or electric toothbrushes. The chip is optimized for capacitive touch sensing, with timers and lots of capsense inputs, but not a ton of other peripherals: there's only two serial blocks that can be configured as I2C/UART/SPI, and no ADC/DAC or USB or CAN. As long as your product is intended to be low-cost, and simple, that's probably just fine!
The real star of the show on these chips is the CapSense peripheral (infineon.com/cms/en/product/microcontroller/sensing-controller/capsense-controllers/capsense), which has up to 16 inputs - out of 21 GPIO! These can be configured as "CSD-type" self-capacitance sigma-delta buttons or sliders, or as "CSX-type" mutual-capacitance X-Y grids (youtube.com/watch?v=SOOZII8cvT4). Capacitive sensing is great when you want products that react to touch without needing large and breakable tactile switches. For example, touch sensors on headphones can determine when they are inserted into the ear and when a finger is touching the body to pause or adjust volume (infineon.com/dgdl/Infineon-The_touch_sensing_HMI_in_wearable_and_IoT_devices-Whitepaper-v01_00-EN.pdf?fileId=8ac78c8c8a44f57b018a5f0711243a0f). Unlike buttons or encoders, there's no risk of eventual mechanical failure, rending a product useless: with a smooth clean surface you can still provide a full UI with low cost and maintenance.
The Infineon PSoC™ 4000T series comes with the 5th generation of CapSense, which features autonomous DMA function in deep sleep, great responsivity, and moisture resistance. One downside of classic capacitive touch solutions is false 'ghost' triggering or sluggish 'touch blindness' when the touch surface is wet. This is a common issue with products that end up being used in a kitchen, bathroom, laundry room, while exercising or outside. That's because droplets of water have capacitance on the order of the human finger and so each droplet looks like a touch. Most capacitive sense implementations have a slow self-zeroing drift calibration procedure, but they don't handle sudden water sprays. CapSense 5th gen, by comparison, will maintain the same raw capacitive count even when there's spray, mist or droplets!
Another neat feature is the autonomous sensing block, which allows ultra low deep sleep current of 6uA with touch-to-wake. Instead of powering up the whole core to do the capacitive touch reading and averaging in the main process thread, readings are done in a zombie mode so that we only wake up when touches are detected.
If your next product design needs a reliable capacitive touch interface, the CapSense 5th gen-powered Infineon PSoC™ 4000T series (digikey.com/en/products/detail/infineon-technologies/CY8CPROTO-040T/22158824) is an excellent low-power Cortex M0+ chip that can act as the main processor of your product with high integration for a tiny BOM at an attractive price. You can get started fast by picking up a CY8CPROTO-040T eval board (digikey.com/short/j5hfb704) that has a programming/debug interface as well as button, slider and proximity sensing CapSense element. Order today and your CY8CPROTO will ship immediately, so that you can get started with your development by tomorrow afternoon!
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
The news comes from the Python community, Discord, Adafruit communities and more. It’s part of the comprehensive newsletter we do each week.
The video playlist of episodes is here:
http://adafru.it/pohepisodes
***************************************************
Sign up for the Python on Microcontrollers weekly email newsletter here:
adafruitdaily.com
***************************************************
Read the newsletters past and present at
adafruitdaily.com/category/circuitpython
Learn all about CircuitPython here:
circuitpython.org
adafruit.com/circuitpython
---------------------------------------------------------------
Join us on Discord! https://adafru.it/discord/
Visit the Adafruit shop online, we're open for business - http://www.adafruit.com
Adafruit on Instagram: instagram.com/adafruit
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
#adafruit #askanengineer #diy
Adafruit Metro M4
adafruit.com/product/3382
Adafruit Metro M4 Express AirLift
adafruit.com/product/4000
-----------------------------------------
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
Learn Guide
learn.adafruit.com/halo-energy-sword-rp2040
YouTube Video
youtu.be/l13BLTXoWiU
Feather RP2040 PropMaker:
adafruit.com/product/5768
Mini Skinny NeoPixel Strip 60/m
adafruit.com/product/2959
QTPy RP2040
adafruit.com/product/4900
Rotary Encoder Stemma QT
adafruit.com/product/5880
Massive Arcade Button
adafruit.com/product/1187
NeoPixel Side Light Strip 120/m
adafruit.com/product/3634
Timelapse Tuesday
Crate with Flexi Legs By Audi
printables.com/model/862547-milk-crate-with-flexi-legs
youtu.be/FjWQABUVM-Q
Community Makes
printables.com/model/7271-heat-set-insert-press/comments/1787187
printables.com/model/7167-octoprint-raspberry-pi-rig-35-pitft-touch-display/comments/1785878
printables.com/model/872992-infinity-mirror
printables.com/model/7271-heat-set-insert-press/comments/1784663
JP’s Product Pick of the Week 5/14/24 STEMMA IR Receiver Breakout RECAP
adafruit.com/product/5939
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
JP’s Product Pick of the Week 5/14/24 STEMMA IR Receiver Breakout
Deep discount during livestream:
adafruit.com/product/5939
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: instagram.com/adafruit
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
learn.adafruit.com/halo-energy-sword-rp2040
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: instagram.com/adafruit
Shop for parts to build your own DIY projects http://adafru.it/3dprinting
3D Printing Projects Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOWD2dJNRIN46uhMCWvNOlbG
3D Hangout Show Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOVgpmWevin2slopw_A3-A8Y
Layer by Layer CAD Tutorials Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOVsMp6nKnpjsXSQ45nxfORb
Timelapse Tuesday Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOVagy3CktXsAAs4b153xpp_
Connect with Noe and Pedro on Social Media:
Noe's Twitter / Instagram: @ecken
Pedro's Twitter / Instagram: @videopixil
-----------------------------------------
Visit the Adafruit shop online - http://www.adafruit.com/?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
Adafruit Monthly Deals & FREE Specials
adafruit.com/free?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
Join our weekly Show & Tell on G+ Hangouts On Air: http://adafru.it/showtell
Watch our latest project videos: http://adafru.it/latest?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
3DThursday Posts: blog.adafruit.com/category/3d-printing?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
Music by Bartlebeats soundcloud.com/adafruit
-----------------------------------------
Crate with Flexi Legs
By Audi
printables.com/model/862547-milk-crate-with-flexi-legs
CR10S Pro V2
Purple PLA
4hr 55mins
X:259 Y:184 Z:57mm
.2mm layer / .4mm Nozzle
6% Infill / 1mm Retraction
200C / 60C
27g
60mm/s
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: instagram.com/adafruit
Shop for parts to build your own DIY projects http://adafru.it/3dprinting
3D Printing Projects Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOWD2dJNRIN46uhMCWvNOlbG
3D Hangout Show Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOVgpmWevin2slopw_A3-A8Y
Layer by Layer CAD Tutorials Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOVsMp6nKnpjsXSQ45nxfORb
Timelapse Tuesday Playlist:
youtube.com/playlist?list=PLjF7R1fz_OOVagy3CktXsAAs4b153xpp_
Connect with Noe and Pedro on Social Media:
Noe's Twitter / Instagram: @ecken
Pedro's Twitter / Instagram: @videopixil
-----------------------------------------
Visit the Adafruit shop online - http://www.adafruit.com/?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
Adafruit Monthly Deals & FREE Specials
adafruit.com/free?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
Join our weekly Show & Tell on G+ Hangouts On Air: http://adafru.it/showtell
Watch our latest project videos: http://adafru.it/latest?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
3DThursday Posts: blog.adafruit.com/category/3d-printing?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/?utm_source=youtube&utm_medium=videodescrip&utm_campaign=3dprinting
Music by Bartlebeats soundcloud.com/adafruit
-----------------------------------------
Join here for the chat all week: http://adafru.it/discord The CircuitPython Weekly normally is held at 2pm US ET/11am us PT on Mondays. Check the #circuitpython-dev channel on Discord for notices of change in time and links to past meetings. Meeting times are also available in iCal format using the following link: raw.githubusercontent.com/adafruit/adafruit-circuitpython-weekly-meeting/master/meeting.ical or view it in your browser: open-web-calendar.herokuapp.com/calendar.html?url=raw.githubusercontent.com/adafruit/adafruit-circuitpython-weekly-meeting/master/meeting.ical CircuitPython development is sponsored by Adafruit. Please support them by purchasing hardware from https://adafruit.com. Reminders: Podcast available on most services. Let us know if we’re missing some.
0:00 Housekeeping
2:50 Community News
7:36 State of CircuitPython, Libraries and Blinka
16:18 Hug reports
21:54 Status Updates
34:01 In The Weeds
42:42 Wrap-Up
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
adafruit.com/product/5824?utm_source=youtube&utm_medium=videodescrip&utm_campaign=newproducts
1.54" 152x152 Tri-Color eInk / ePaper Display - SSD1681 (0:55)
adafruit.com/product/5925?utm_source=youtube&utm_medium=videodescrip&utm_campaign=newproducts
Adafruit Qwiic / Stemma QT Breakout Board (1:30)
adafruit.com/product/5961?utm_source=youtube&utm_medium=videodescrip&utm_campaign=newproducts
Adafruit 555 PWM Output STEMMA - 1.4K~25 KHz or 1.4~250 Hz - STEMMA
JST PH 2mm (2:28) adafruit.com/product/5963?utm_source=youtube&utm_medium=videodescrip&utm_campaign=newproducts
Adafruit SEN54 or SEN55 Adapter Breakout - STEMMA QT / Qwiic (5:26)
adafruit.com/product/5964?utm_source=youtube&utm_medium=videodescrip&utm_campaign=newproducts
-----------------------------------------
New nEw NEWs New Products, News, and more: adafruit.com/newsletter #newnewnew
Shop for all of the newest Adafruit products: http://adafru.it/new
Visit the Adafruit shop online - http://www.adafruit.com
Adafruit on Instagram: instagram.com/adafruit
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
For a new design, there are 4 configurable switches but we wanted to keep the board nice and compact - so using 'full sized' 2.54mm SMT DIP switches (digikey.com/en/products/detail/te-connectivity-alcoswitch-switches/1-1825059-3/1021562) would take up half the PCB. Then we saw a design with a tiny SMT switch and realized that these handy components come in a compact 1.27mm size too! Let's go find one for our breakout at DigiKey.
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
So we drafted up a prototype for an HX711 design, based on the OSHW Sparkfun (sparkfun.com/products/13879) breakout - but with a few twists! While we're at it, we'll update the NAU7802 since folks asked us to expose the secondary bridge.
Next up, we got a tip on the CH9328 (wch-ic.com/products/CH9328.html) - it's a funky chip that is basically a programmed microcontroller that enumerates as a HID keyboard and can convert ASCII or 'hex report' strings read over UART into keypresses. So, you can emulate a keyboard even if your chip doesn't have native USB.
And see The Great Search - SMT DIP Switch in 1.27mm pitch
digikey.com/short/31d730rd
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
use a cap touch rotary wheel in CircuitPython.
code example here:github.com/jedgarpark/parsec/blob/main/2023-05-10/code.py
tindie.com/products/todbot/touchwheel0-capacitive-touch-wheel
Learn about CircuitPython: circuitpython.org
blog:
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
CircuitPython Parsec
Learn Guide Recap
Gear Report
Retro Gear
more!
Visit the Adafruit shop online - http://www.adafruit.com
-----------------------------------------
LIVE CHAT IS HERE! http://adafru.it/discord
Adafruit on Instagram: instagram.com/adafruit
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
New tutorials on the Adafruit Learning System: http://learn.adafruit.com
-----------------------------------------
We're huge fans of ams's light sensors, one of our first sensor breakouts was the TSL2561, (digikey.com/en/products/detail/ams-osram-usa-inc/TSL2561T/3095179) a wide-input-range light sensor with an I2C interface. We followed that up with a breakout for the TCS34725 which can detect separate red, green, blue and clear channels. With a little math, color reflected off of objects can be calculated into RGB color-space - we used it to make an umbrella that matches whatever color it touches! (learn.adafruit.com/florabrella)
Since then, ams OSRAM has worked to create better light sensors that reduce the need for end-user calibration or a lot of microcontroller lifting. The chips have carefully tuned PN diodes to not only be able to report correct color values, but ideally also have little variation from sensor-to-sensor.
The TCS3530 (digikey.com/short/qwt595fh) is the latest color sensor from ams OSRAM, and it's also their newest with XYZ color output! This means you can read CIE XYZ color values out directly from the driver, which is going to be the best way to model what a human eye sees (en.wikipedia.org/wiki/CIE_1931_color_space) - not just an optimal concept based on 'pure' RGB photodiodes. This makes it ideal for use with cameras, monitors, printers/copiers and other devices that have humans that are looking at the colors. By detecting ambient light temperature, monitors and camera sensors can adjust their white balance to have their color gamut appear more 'natural' even in yellowish incandescent or halogen, or blueish fluorescent light.
The TCS3530 (digikey.com/short/qwt595fh) does this by having 8 separate PN diodes, each tuned to a specific frequency band, to cover from about 400nm to 750nm. The diodes are normalized by the ALS engine so that you don't get over-sensitivity to green or IR. The diodes are arranged in a 4-way symmetric array to get fully balanced readings across all frequencies: there's probably some reasoning to how the layout is done to avoid signal from one diode from affecting a nearby one, something ams has decades of experience with. A modulator and flicker detection system can sense light pulses such as those from incandescent bulbs (at 120 Hz) or monitors (30 to 60 Hz) so that we can sample at the same times during the wave, or sample long enough to capture a full waveform worth of light.
Interfacing is fairly simple, although there are a few things to watch out for during integration. The sensor supports both I2C and I3C (youtube.com/watch?v=hC4zkvdVag4) so it's good for legacy or modern microprocessors. Note the chip requires no greater than 1.8V power and logic, so for 3.3V systems - a shifter will be necessary. Finally - the chip has a massive number of registers to tweak the settings. So while you could write a driver, you're probably best off using ams OSRAM's TCS3502 linux C kernel driver to base your implementation if you are not just using Linux/Android directly.
If you want to add precision color sensing with pre-calibrated CIE XYZ outputs to your next design, the ams OSRAM's TCS3530 True Color Sensor (digikey.com/en/product-highlight/a/ams/tcs3530-true-color-sensor) is a top choice from a world leader in light sensing. And best of all, it's in stock right now at DigiKey for immediate shipment! Order today and you will get this compact all-in-one devices shipped to your door so you can start letting your true colors shine by tomorrow afternoon.