Search found 6 matches

by InXoconochtli
Fri Mar 12, 2021 10:44 pm
Forum: General discussion
Topic: Read String from EEPROM on STM32F411
Replies: 3
Views: 218

Re: Read String from EEPROM on STM32F411

Thanks mlundin! Just what I was looking for.
by InXoconochtli
Fri Mar 12, 2021 10:21 am
Forum: General discussion
Topic: Read String from EEPROM on STM32F411
Replies: 3
Views: 218

Read String from EEPROM on STM32F411

I'm using this code to burn the initial configuration for my peristaltic pump which my main program uses when loading up. It includes Khoi Hoang's library. #include <FlashStorage_STM32.h> int i; int currentConfig = 1; bool saveCheck = false; bool flagDir = false; float calibration = 1.8251; float fl...
by InXoconochtli
Tue Feb 23, 2021 11:45 pm
Forum: General discussion
Topic: Port manipulation STM32F411
Replies: 6
Views: 347

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: 347

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: 347

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: 1
Views: 437

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