New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serial Monitor #10

Closed
DArtagan opened this Issue Aug 5, 2014 · 6 comments

Comments

Projects
None yet
2 participants
@DArtagan

DArtagan commented Aug 5, 2014

I've been enjoying platformio immensely, thank you for doing so much work in such recent time. I'm curious whether you consider including a serial monitor as a future goal or outside the scope of this project? If you consider it a goal, I could perhaps create something using screen.

@ivankravets

This comment has been minimized.

Member

ivankravets commented Aug 5, 2014

Thanks a lot for your feedback!

  1. In which way "serial monitor" should work? It should use "native" terminal from OS or PlatformIO should have it like a package?
  2. Which are types of terminals? I know:

Unix:

Windows:

  • HyperTerminal

I think need to split current $ platformio serialports command to separated:

$ platformio serialports list  # list available serial ports with detailed information
$ platformio serialports monitor --port /dev/USB0 --baudrate 9600

@ivankravets ivankravets added this to the 1.0.0 milestone Aug 7, 2014

@DArtagan

This comment has been minimized.

DArtagan commented Aug 8, 2014

Because Platformio requires Python anyways, we may be able to use pySerial across all platforms. http://playground.arduino.cc/interfacing/python

I'll keep looking to see if someone has already made a complete arduino-like serial monitor in python.

I agree with splitting the serialports command.

@DArtagan

This comment has been minimized.

DArtagan commented Aug 8, 2014

Possibly this is an implementation: http://shallowsky.com/blog/hardware/ardmonitor.html
I'll get my board out later and give it a try.

@ivankravets

This comment has been minimized.

Member

ivankravets commented Aug 8, 2014

If we decide to use Python for terminal emulation, I propose to look in to Miniterm. It is well tested and should work on Unix/Win platforms.

I'm going to test it today. If it works good, I will implement it on "$ platformio serialports monitor" command.

I would be grateful, if you test Miniterm for your platforms.

@DArtagan

This comment has been minimized.

DArtagan commented Aug 11, 2014

I'm impressed how quickly you brought this together, thank you. It's working exactly as I'd expect, +1 for testing. Tonight I tried it with Arch linux and an Uno. I'll post if I try another platform.

@ivankravets

This comment has been minimized.

Member

ivankravets commented Aug 11, 2014

Thanks a lot for this request and testing 👍

Don't forget about documentation for platformio serialports monitor

@ivankravets ivankravets modified the milestone: 1.0.0 Feb 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment