propeller plug+clip to send data backt to pc
HI..
Quick question: can I use propeller plug or clip to send back data to the PC?
After all it is a·serial port, right?
Thanks
Nicola
Quick question: can I use propeller plug or clip to send back data to the PC?
After all it is a·serial port, right?
Thanks
Nicola
Comments
Yes you can...but be advise that sometimes your PC could reset the propeller, specially when you open and close the serial port on it.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.
I do see the Prop reset every time the computer is turned on. and every time the USB interface is connected...
But, I've never seen the Prop reset upon just opening/closing the port.
Edit:· Turns out my laptop does reset a protoboard when closing the port...
Post Edited (Rayman) : 3/31/2008 6:47:41 PM GMT
http://forums.parallax.com/forums/default.aspx?f=25&m=156644
also a lot of other good information in that thread.
Sorry, I mean about the "demo board" connected to the PC serial port , with a dedicated PC serial software. Using "visual fox", it hapends although you turn the handshaking = none in the MScomm properties.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.
Well, I need to retract my earlier comment...
I was just doing some testing with my laptop and it does reset a protoboard when closing the connection with Hyperterminal.
I don't think the desktop's I've tried do this, but now I need to double-check...
It's all right, I've just only comment my experience with that situation in visual fox, and my demo board...after your comment, I think that could be my visual software responsible of that.
Now, like you said, maybe is better to double check, or simply be carrefully at the time to use the propplug-clip... and only "be advised" that could be some inesperate "reset". (to avod a headache)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Regards.
Alberto.
thanks
Nicola
For applications which do cause reset, I added an additional PropPlug connector with the RES pin removed. An alternative is to put a Molex link in the RES line so it can be removed when reset isn't desired, and that consequently works as a firmware write-protect as well.
The attached program, "Simple Serial Transmit.spin", just sends a "9" character to the PC every quarter second.· With Hyperterminal you can log this using the Transfer/Capture Text menu item.· This uses Parallax's "Simple_Serial.spin" object.
I intend to use the serial line to log data on the PC for debugging transient events such as motor direction reversal speed/PWM data.
Eric
Surprise, surprise, surprise!
115200 baud is the top baud rate that works with the Demo Board.· The Education Kit only works up to 57600 baud though.
The attached post, "Full Duplex Serial Transmit.spin".·contains comments about that.· Note that you would only get 19,200 baud maximum with 'Simple_Serial'.
Eric
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Eric
Eric
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Eric