Interfacing with computer via serial

Post here first, or if you can't find a relevant section!
Post Reply
SphericalSound
Posts: 11
Joined: Sun May 17, 2020 3:59 pm

Interfacing with computer via serial

Post by SphericalSound »

I would like to develop a command console similar to the one in the arduino IDE, where you can read serial data and also send commands to the bluepill via USB serial

I know some java, so I could program it there. Im just wondering if something similar does exists that I can build on it so I dont have to start from scratch

Why do I want it instead using the console of platformio, for example? Because I want it to be easy to download and use for users that are not into programming and installing big IDEs, just a lightweit java app that controls the bluepills commands

Any information in what ports do it use, or how to interfacing the bluepill with the USB port of the computer would be quite useful

Thanks!!
stevestrong
Posts: 502
Joined: Fri Dec 27, 2019 4:53 pm
Answers: 8
Location: Munich, Germany
Contact:

Re: Interfacing with computer via serial

Post by stevestrong »

There is a difference between just sending commands or download (flashing) code to bluepill.
To upload (flash) code there are bootloaders available which do not need installation of any driver: HID or CDC.
To send commands you can use any free monitor application.
SphericalSound
Posts: 11
Joined: Sun May 17, 2020 3:59 pm

Re: Interfacing with computer via serial

Post by SphericalSound »

Great, I´ll look into monitors. Thank you so much, Steve =D
Post Reply

Return to “General discussion”