Search found 4 matches

by InXoconochtli
Tue Feb 23, 2021 11:45 pm
Forum: General discussion
Topic: Port manipulation STM32F411
Replies: 6
Views: 140

Re: Port manipulation STM32F411

This is the relevant part of my code I'm trying to improve. In the pumping loop, there is always an analogRead, and only if there is a change greater than a tolerance, then it recalculates the delay and refreshes the LCD. Else, it goes into the pumping function (it is 8 high low switching steps, but...
by InXoconochtli
Tue Feb 23, 2021 9:46 am
Forum: General discussion
Topic: Port manipulation STM32F411
Replies: 6
Views: 140

Re: Port manipulation STM32F411

Thank you, fredbox. This should solve the main problem. Pin number conversion is not really that inconvenient. But now my limitation becomes an AnalogRead. I couldn't find a faster alternative before, so I just ran with it. I was thinking about using a counter to only read every 10 loops, for exampl...
by InXoconochtli
Tue Feb 23, 2021 1:24 am
Forum: General discussion
Topic: Port manipulation STM32F411
Replies: 6
Views: 140

Port manipulation STM32F411

I am building an open-source peristaltic pump. My first prototype was using an Arduino nano, but I was quickly limited by its capabilities, so I switched to an STM32F103 bluepill. I originally wrote the code with Roger Clark's core. Now I am migrating to an STM32F411 blackpill and the STM32duino cor...
by InXoconochtli
Tue Feb 23, 2021 1:14 am
Forum: Let us know a bit about you and your projects
Topic: Hello from Mexico City
Replies: 0
Views: 134

Hello from Mexico City

I'm a chemical engineer trying to develop open source lab equipment. My first project is a peristaltic pump and I'd love to share my progress. I'm using an STM32F411 MCU.

Go to advanced search