two way serial transmiting

Post here first, or if you can't find a relevant section!
Post Reply
0joze0
Posts: 1
Joined: Mon Jan 29, 2024 9:26 pm

two way serial transmiting

Post by 0joze0 »

Hello,
I want to establish two way serial comunication between bluepill and nano , could also bluepill to bluepill, to exchange values of defined variables.
I have working stuff with UNO and nano , using struct data.
would arduino struct data libriris work on stm32 bluepill?

On A side i have stm32 conected to tft display, it uses tx rx 1 and 2 pins , so i need to use tx rx 3 pins, but i am not familiar to set up this with cube MX, also dont have enough knowledge to use HAL libraries. On B side i have nano or can use also bluepill, conected sensors to collect data.

distance is abot 12 meters so i want use serial , maybe also rs 485 converter between.
so , i need to setup tx rx 3 pins on bluepill and want use struct data ( it is eaay to do with struct data, and as i can see, it is reliable transmitting,
better than..if serial aaliable and ent , stop caracters.)

thank you for your help
joe
Post Reply

Return to “General discussion”