Search found 18 matches
- Wed Oct 12, 2022 7:15 am
- Forum: General discussion
- Topic: Serial communication hardware
- Replies: 13
- Views: 2596
Re: Serial communication hardware
You are right, my bad. The problem is that I have to communicate with 12 other microprocessors (Arduino and STM) over UTP/FTP cable. Longest distance is about 15 meters. Network is in a star topology so I was thinking of using RS485 for communication for such a distance. So I need 12 UARTs and the b...
- Tue Oct 11, 2022 8:01 pm
- Forum: General discussion
- Topic: Serial communication hardware
- Replies: 13
- Views: 2596
Serial communication hardware
Hello, I need some help finding the right hardware which I could use with Arduino IDE. I need a board with as much as possible UART (don't want any software serial etc) There is STM32 BlackPill with up to 3 UART connectors but is there any other hardware with more UARTs? Or maybe there is some kind ...
- Sat Aug 01, 2020 3:00 pm
- Forum: STM32F4 based boards
- Topic: USART on STM32F411 BlackPill
- Replies: 12
- Views: 35152
Re: USART on STM32F411 BlackPill
Thanks GonzoG for the link. I omitted this info somehow ... But thanks to this I was able to redirect USART1 to different pins. At the begining I was doing this wrong. SteveStrong You are right, thanks for the correction. I've made a mistake in first post putting wrong pin names. Now HW Serial is wo...
- Fri Jul 31, 2020 8:46 pm
- Forum: STM32F4 based boards
- Topic: USART on STM32F411 BlackPill
- Replies: 12
- Views: 35152
USART on STM32F411 BlackPill
Hi, Could someone explain me why on earth on the board diagram of the blackpill there are three USART1 ports (rx1 on pins PA10,PB3,PB7 ant tx1 on pins PA9,PA15,PB6). I was able to run USART1 on PB6 and PB7, USART2 on PA3 and PA2 and the USB-C is on the PA11 and PA12. Are the other USART1 pins some h...
- Sun Jul 26, 2020 8:33 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Softwareserial issue on stm32 f411re
- Replies: 8
- Views: 9368
Re: Softwareserial issue on stm32 f411re
Unfortunately it doesn't print anything. Setting jumper between PB0 and PB1
- Sun Jul 26, 2020 6:58 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Softwareserial issue on stm32 f411re
- Replies: 8
- Views: 9368
Re: Softwareserial issue on stm32 f411re
I copy paste Your code and still the same. No communication. BTW I'm using USB to TTL for USART communication on pins PB0 and PB1 so I'm sure the USB to TTL is working because it is working on hardware serials.
- Sun Jul 26, 2020 5:07 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Softwareserial issue on stm32 f411re
- Replies: 8
- Views: 9368
Re: Softwareserial issue on stm32 f411re
As I mentioned before I have more USART hardware then USART ports on stm32f4 (USART1,USART2 and USART6 is not enough for me). So I need to get the software serial running - it can be anything like SoftwarSerial, NewSoftwareSerial, SoftwareSerialCC etc
- Sat Jul 25, 2020 8:34 pm
- Forum: STM boards (Discovery, Eval, Nucleo, ...)
- Topic: Softwareserial issue on stm32 f411re
- Replies: 8
- Views: 9368
Re: Softwareserial issue on stm32 f411re
I have the same problem on BlackPill stm32f411eu. I have downloaded newest Arduino IDE (1.8.13) and made a clean install stm32 boards (1.9.0) from board manager (with a portable folder). Even the simplest code is not working #include <SoftwareSerial.h> SoftwareSerial mySerial(PB1, PB0); void setup()...