Search found 6 matches

by muh89
Sun May 23, 2021 10:39 am
Forum: General discussion
Topic: Crosstalk and sample frequency issues on a pressure sensor matrix
Replies: 16
Views: 6833

Re: Crosstalk and sample frequency issues on a pressure sensor matrix

Thank you all for the help. It seems I have a lot of work to do:

-pulldown resistors on all columns
-optimize the code
-learn to use HAL or LL functions for analog readout (may you show me some examples?)
-(and maybe shift registers...)

Give me few weeks and I'll come back to check!
by muh89
Sat May 22, 2021 3:52 pm
Forum: General discussion
Topic: Crosstalk and sample frequency issues on a pressure sensor matrix
Replies: 16
Views: 6833

Re: Crosstalk and sample frequency issues on a pressure sensor matrix

Here your code updated to use the digitalWriteFast. Thank you, really appreciated. I just tried your code but nothing changed, always around 1500ms for one scan. :? One resistor to ground before the multiplexer, the series diode should not be needed. The walue of this resistor should be adjusted to...
by muh89
Sat May 22, 2021 10:12 am
Forum: General discussion
Topic: Crosstalk and sample frequency issues on a pressure sensor matrix
Replies: 16
Views: 6833

Re: Crosstalk and sample frequency issues on a pressure sensor matrix

Strange , I would have thought the pulldown resistors should be placed on the line inputs to the sensing multiplexors. Thus crating a voltage divider: Column 3V - velostat rsistance - Out put Row sensor line to ADC - row resistor - ground. Do you mean one single resistor between the sensing multipl...
by muh89
Sat May 22, 2021 10:05 am
Forum: General discussion
Topic: Crosstalk and sample frequency issues on a pressure sensor matrix
Replies: 16
Views: 6833

Re: Crosstalk and sample frequency issues on a pressure sensor matrix

You can try to use digitalWriteFast but you have to use the PinName instead of pin number. Ex PB6 becomes PB_6 This will be faster but don't know if it would be enough. https://github.com/stm32duino/Arduino_Core_STM32/blob/01a1aa3ff3c1eb768389fb0b3f4b97b154e63c99/cores/arduino/stm32/digital_io.h#L9...
by muh89
Sat May 22, 2021 8:43 am
Forum: General discussion
Topic: Crosstalk and sample frequency issues on a pressure sensor matrix
Replies: 16
Views: 6833

Crosstalk and sample frequency issues on a pressure sensor matrix

Hello! I made a pressure sensor matrix that has a first layer of 96 copper tape strips (rows), a velostat (semi-conductive material) layer and 176 copper tape strips (columns) for a total of 176x96=16896 sensors! I based my work on this two designs: https://www.youtube.com/watch?v=0uPZwMg5B3k and ht...
by muh89
Mon May 17, 2021 7:59 pm
Forum: Let us know a bit about you and your projects
Topic: physio-electronics
Replies: 1
Views: 1879

physio-electronics

Hello everybody!! I'm a new member from Italy.. Actually I'm not that good in electronics, I'm a physiotherapist that is learning the ropes of electronics to create some cool stuff that could be useful for my job. After some small projects with Arduino Uno and Mega, I finally met stm32 but... i need...

Go to advanced search