Draft for Review - PE Kit Lab - Fundamentals: Objects
Andy Lindsay (Parallax)
Posts: 1,919
The Objects lab has been updated to v1.1.
New feature(s) include:·
·- Propeller chip <--> PC communication with Parallax Serial Terminal (free download) instead of HyperTerminal.·
PE Kit Labs that have already gone through the review process are available for download from the Propeller Education Kit page.· You can also find discussions for each lab along with the latest drafts on the Propeller Education Kit Labs thread.
Please send corrections to editor@parallax.com, and post suggestions and recommendations to this thread.
Previous Revision(s)
· Objects-v0.93.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andy Lindsay
Education Department
Parallax, Inc.
Post Edited (Andy Lindsay (Parallax)) : 12/15/2008 8:07:15 PM GMT
New feature(s) include:·
·- Propeller chip <--> PC communication with Parallax Serial Terminal (free download) instead of HyperTerminal.·
PE Kit Labs that have already gone through the review process are available for download from the Propeller Education Kit page.· You can also find discussions for each lab along with the latest drafts on the Propeller Education Kit Labs thread.
Please send corrections to editor@parallax.com, and post suggestions and recommendations to this thread.
Previous Revision(s)
· Objects-v0.93.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andy Lindsay
Education Department
Parallax, Inc.
Post Edited (Andy Lindsay (Parallax)) : 12/15/2008 8:07:15 PM GMT
Comments
Thanks
The lab assumes·that you are using the PE Kit breadboard platform·with the basic·setup circuit·as shown in the first lab Setup and Testing; all subsequent labs use this core circuit.·This lab also assumes one is using Windows 2K or XP, and that the HyperTerminal software came with the OS.·No additional physical connections need to be made for HyperTerminal,·as we are using it with the same port·with which·we are programming the Propeller chip. (The additional LED and pushbutton circuits for this particular·lab are shown on page 2).
Instructions for opening and configuring HyperTerminal begin on page 16 of the PDF. I will add some text there to reiterate that·HyperTerminal is depending upon the basic setup circuit and sharing a port with the Propeller chip.··The author and I have been thinking of these labs in terms of chapters in a future book;·while it is still in this format·we will·take more care to add·a prerequisite lab list to the beginning of each one - we forgot it this time.··If you have the hardware to try out the lab, please let us know if you run into any·problems with the way we have made the instructions; you may email me directly at editor@parallax.com·if you like.
Thanks so much for your feedback!
-Stephanie Lindsay
Editor, Parallax Inc.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
It's not all that hard to count the number of grains of sand on the beach. The hardest part is making a start - after that it just takes time.·· Mirror - 15 May 2007
I am doing the Boe-Bot over again using a second Bot and the new spin chip with the BOE and everything is going well so far. I am borrowing from your PE Kit Lab software wherever possible. Would you mind adding a signed decimal routine to your FullDuplexSerialPlus in the Objects Lab so I can complete the following equation :
value = value - another Value…………. which appears on page 74 of the Boe-Bot Text
Thanks
Jim
When you use Debug.dec(value), it should detect when you have a negative number and display it correctly.
Andy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andy Lindsay
Education Department
Parallax, Inc.
Ah-Soo, my problem was in defining the variables: value, anotherValue as words which produced the answer 64036. After changing them to longs, the answer is correct at -1500, just as you said.
Thanks
Jim
I am sorry to bother you again but, I am using the Stamp Debug window and not the hyper terminal for display and I cannot implement DEBUG CLS because the spin IDE will not let me output a zero to the Debug window. I was able to get around this when I used Martin’s routines for spin implementation of stamp commands, specifically it was a debug character output routine “BS2.Debug_Char(0)”. I realize this is not critical but I want to implement your Boe-Bot text as perfectly as possible. Have you considered putting a character output routine in your FullDuplexSerialPlus as Martin did. If you tell me to ignore it, Iwill.
Thanks
Jim
No problem at all.
In this case, the workaround would be
Debug.tx(0)
The FullDuplexSerial object's·tx method sends a byte of information, and in the example above, it's sending a zero.· You could also use this to send a 13 for CR, or any of the other control characters.·
Andy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andy Lindsay
Education Department
Parallax, Inc.
Post Edited (Andy Lindsay (Parallax)) : 6/8/2007 8:40:55 PM GMT
Beautiful!
Jim
Hope you are doing well. My VISTA is working great with the prop, except that hyper terminal does not exist. I am trying to use Telnet with your Objects lab with no success. What do you recommend with VISTA in place of hyper terminal.
Jim
http://forums.parallax.com/showthread.php?p=693398
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board
Or how about use a second Propeller with a TV or VGA screen and a keyboard ??
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board
Apparently there is still a free version of HyperTerminal, but it results in security warnings when you install it on Vista. The version that does not result in security warnings has to be purchased.
I'll look into some alternatives and let you know. Sorry for the inconvenience.
Andy
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Andy Lindsay
Education Department
Parallax, Inc.
Good to hear from you, for a while I was worried. I am looking forward to your Propeller II educational projects. I have no problem with purchasing what ever is required to feed my Propeller habit as long as it is recommend by you. In spite of all the bad reports on VISTA, I have been lucky with my configuration. I must admit that the Propeller Tool with all it’s colors looks beautiful on my new big screen laptop.
Jim
Being new I got alot out of this latest lab. Especially the section on passing addresses and addressing memory. I did run into one problem using hyperterminal and Full_Duplex_Serial that other have also experienced. My code kept causing resets without the usb connected until I documented out the calls to open the serial port and send characters back to Hyperterminal. Might be worth a note in the section on Hyperterminal.
Thanks, I think I've come quite a ways in a weeks studying on the Prop.
Joel
in this post i just want to attach another good terminalsoftware. It is called Brays Terminal V1.9b (original name Br@ys Terminal).
It has a special feature: you can write scripts in a language using the basics of pascal
and you can define macros to send strings by one click
the homepage is
braypp.googlepages.com/terminal
another feature is the auto connect/disconnect function
if the window of the software gains/looses focus it can auto-connect / auto-disconnect the COM-Port
This way it is comfortable to use the same serial connection as the Propeller-IDE does
Just switch between the windows and the active window gets connected to the propeller
best regards
Stefan
some ultraspecific-keywords for easy finding this thread again
terminalattached attachedterminal braysterminal br@ysterminal terminal.zip debugterminal terminaldebug terminalsoftware RS232terminal terminalRS232 V24terminal terminalV24 serialterminal RS232V24 V24RS232
serialRS232V24 serialV24RS232 RS232V24serial V24RS232serial scriptingterminal terminalscript terminalwithscript pascalscript scriptlanguage macroterminal terminalwithmacros v24 rs232 serial v24 rs232 serial
Post Edited (StefanL38) : 9/20/2008 6:19:38 PM GMT
I understand (not verified) that Hypeterminal sets DTR which resets the Prop.