Search found 408 matches
- Sun Aug 09, 2020 5:27 pm
- Forum: General discussion
- Topic: [SOLVED] Powering STM32F1
- Replies: 2
- Views: 2998
Re: Powering STM32F1
1) You can use 3.3 or 5V pin to power board. 5V pin is wired with USB 5V. Voltage limit depends on voltage regulator used on board. Blue pills will work with up to 5.5V but not less than 3.8V. 3.3V pin powers MCU directly so all is in datasheet: https://www.st.com/resource/en/datasheet/stm32f103c8.p...
- Sun Aug 02, 2020 8:04 pm
- Forum: General discussion
- Topic: how to use multiple serial ports in stm32f103
- Replies: 4
- Views: 5313
Re: how to use multiple serial ports in stm32f103
Yes, but that's Roger Clarck's core.mrburnette wrote: ↑Sun Aug 02, 2020 3:44 pm also:
https://stm32duinoforum.com/forum/wiki_ ... USB_Serial
- Sat Aug 01, 2020 8:12 am
- Forum: General discussion
- Topic: how to use multiple serial ports in stm32f103
- Replies: 4
- Views: 5313
Re: how to use multiple serial ports in stm32f103
More information would be nice...
What core, port, speed, sensor...
And to your main question:
https://github.com/stm32duino/wiki/wiki ... wareserial
What core, port, speed, sensor...
And to your main question:
https://github.com/stm32duino/wiki/wiki ... wareserial
- Sat Aug 01, 2020 7:19 am
- Forum: STM32F4 based boards
- Topic: USART on STM32F411 BlackPill
- Replies: 12
- Views: 35240
Re: USART on STM32F411 BlackPill
Those are alternate pins.
PA9 and PA10 are used with USB,
PB6 and PB7 are used with I2C1
so if you cannot use them you have 3rd pair: PA15 and PB3 but you need to change pin assignment:
https://github.com/stm32duino/wiki/wiki ... wareserial
PA9 and PA10 are used with USB,
PB6 and PB7 are used with I2C1
so if you cannot use them you have 3rd pair: PA15 and PB3 but you need to change pin assignment:
https://github.com/stm32duino/wiki/wiki ... wareserial
- Fri Jul 31, 2020 12:29 am
- Forum: General discussion
- Topic: Measuring the battery with a blue pill
- Replies: 5
- Views: 5840
Re: Measuring the battery with a blue pill
In datasheet they say that recommended max. input resistor is 50k but with 100k you should still get good reading.
I've tested this with 3V lithium coin battery (3.157 on my mulitimeter V) and got this:
I've tested this with 3V lithium coin battery (3.157 on my mulitimeter V) and got this:
Code: Select all
1M:
1M:
1995 = 3.294V
100k:
1982 = 3.168V
47k:
1971 = 3.157V
no divider:
3941 = 3.156V
- Thu Jul 30, 2020 10:50 pm
- Forum: STM32F4 based boards
- Topic: WEACT STM32F411CE SUPPORT AND I2c
- Replies: 6
- Views: 8709
Re: WEACT STM32F411CE SUPPORT AND I2c
There are only 3 I2C. By default only one is available (I2C 1). To access more you'll need to declare TwoWire objects ( eg. TwoWire Wire2(SDA_pin,SCL_pin); ) STM32duino Wiki: https://github.com/stm32duino/wiki/wiki/API#i2C Unfortunately some Arduino libraries are hard coded to "Wire" name ...
- Wed Jul 29, 2020 7:06 pm
- Forum: General discussion
- Topic: Measuring the battery with a blue pill
- Replies: 5
- Views: 5840
Re: Measuring the battery with a blue pill
You must have wired something wrong.
it works without any problems for me.
Check reading using 3.3V from board.
Also, if you use too high value resistors in voltage divider you'll get inaccurate reading (lower).
it works without any problems for me.
Check reading using 3.3V from board.
Also, if you use too high value resistors in voltage divider you'll get inaccurate reading (lower).
- Sat Jul 25, 2020 10:00 pm
- Forum: STM32F4 based boards
- Topic: F411 (and F401) bootloaders
- Replies: 34
- Views: 211821
Re: F411 (and F401) bootloaders
Does it work with Arduino IDE ??
- Sun Jul 19, 2020 11:15 am
- Forum: STM32F4 based boards
- Topic: F411 (and F401) bootloaders
- Replies: 34
- Views: 211821
Re: F411 (and F401) bootloaders
Their (WeAct) bootloaders do not work with Arduino and stm core.
HID bootloader upload searches for device 1209:BEBA and WeAct set their to 0483:572a
HID bootloader upload searches for device 1209:BEBA and WeAct set their to 0483:572a
- Sun Jul 19, 2020 10:48 am
- Forum: STM32F4 based boards
- Topic: libmaple F401 pill board gives usb-serial speeds almost 1.2Mbps
- Replies: 3
- Views: 5386
Re: libmaple F401 pill board gives usb-serial speeds almost 1.2Mbps
I get speed up to 5-6 Mbps on F103 blue pill and 1.7Mbps on Arduino Nano (serial speed set to 2Mbps) so 1.2 Mbps for F401 isn't even fast.
There is no baud rate for USB. You can put "Serial.begin(1);" in code and it still will work as fast as possible.
There is no baud rate for USB. You can put "Serial.begin(1);" in code and it still will work as fast as possible.