Shall we build a Breath Controller?

Give it a look, it’s fiendishly clever and offloads repetitive I/0 related tasks to eight whirling dervishes which will chew throu’ input data and churn out results to python or DMA across the USB to a host.You slow them up to do USB…
And people have written SVGA Drivers with it.

and there’s a second core….
In fact there are four but you choose between Arm Cortex M33 world and RISCV5 cores, which make it’s appeal very wide and supports you in the Qualcomm swallowing of Arduino.

I would have to say I’ve never used a Teensy.

Just wait for the A4 core over the current A2. The AtoD in PIO has issues.

@wyleu This is FAR beyond my comprehension…:zipper_mouth_face:

This project started with an Arduino Pro Micro… but it needed a separate interface. It works great with the pressure sensor, but not with the membrane. Poor control, and condensation ends up inside the sensor.
Then I switched to the optical sensor with a reflective membrane.
With the Teensy, it works great; with the Pico, it has poor sensitivity and a nasty “tongue” effect. The problem is definitely in the firmware, because the mechanics are the same and work great.

1 Like

This is how we learn.

Des the Teensy run off 5V or 3.3V. I notice you are driving a 0- 5V analog input

1 Like

AFAIK only Teensy 3.5 is 5V compatible.

Yes, the 4.0 works at 3.3Volts

Raspberry Pi PICO version completed.

5 Likes

Excellent! No soup for you tonight!

1 Like

Looks great, I like the engraving of BC-1. What happened between 2/25 and 3/1 - did you find and fix the firmware or accept the ‘poor sensitivity and nasty “tongue” effect’ or ?

1 Like

I’ve improved the sketch using AI, but it still doesn’t work as well as the Teensy. Since I hate having boards with soldered wires on my desk, I’ve finished printing the case, but I’m not at all happy with the result so far.

I’m testing different pullup resistors (which made a difference in the Teensy), but I eliminated the trimmer, which would have been more convenient, but 2 cm of wire was enough to make it uncontrollable.

If anyone wants to take a look…

I used the “reverse printing” technique with my 3D printer. But it’s not a BC-1, but a BC-L (Breath Controller - Lanfranco). :smiley:

Breath_controller_PICO_NUOVO.ino (5.9 KB) I used Arduino IDE 1.8.13 which for me remains the best.

2 Likes

I wanted to build a breath controller that would sit on my desk and add an encoder to adjust the “hardness” of the controller. BC-L2

3 Likes