Page 1 of 1

Interfacing with computer via serial

Posted: Wed Jul 08, 2020 11:10 am
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!!

Re: Interfacing with computer via serial

Posted: Wed Jul 08, 2020 1:28 pm
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.

Re: Interfacing with computer via serial

Posted: Wed Jul 08, 2020 3:53 pm
by SphericalSound
Great, I´ll look into monitors. Thank you so much, Steve =D