+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 20 of 24

Thread: New Book - Propeller Education Kit Labs: Fundamentals

  1. #1

    Default New Book - Propeller Education Kit Labs: Fundamentals

    Hi Folks,

    Thanks to all of you who submitted suggestions and requests for the individually posted Propeller Education (PE) Kit Labs. We have now compiled them into a book that will be released as a printed text early next year. The book includes updated versions of all the labs along with front matter and some introductions. Here are links to the full .pdf text and zipped source code:

    Propeller Education Kit Labs - Fundamentals
    Full Text (.pdf) Source Code (.zip)

    Please send feedback/suggestions to editor@parallax.com. Youcan also contact me directlyusingthe PM or email buttons to the left of this post.

    Have a great New Year everyone!

    Regards, Andy

    P.S. There are some references to a couple of web PE Kit applications that have not been posted yet in the book. They will be out soon, definitely before the printed text is released.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Andy Lindsay

    Education Department
    Parallax, Inc.

    Post Edited (Andy Lindsay (Parallax)) : 12/26/2008 11:14:22 PM GMT
    Attached Files Attached Files
    Last edited by ForumTools; 09-30-2010 at 09:21 AM. Reason: Forum Migration

  2. #2

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    hi Andy, I got a trouble in using PEkit. the detail is troubleshooting entry(9) on page 43. after changing code to pll8x LED flash,but changing back to pll16x it dosen't work. why?

  3. #3

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Andy,

    Things like this is why I love Parallax! Even though I was trained as an EE, I had no idea how to work with microcontrollers at first, and very nice examples like these you' ve provided are defininetly the key to getting started. I think with normal places, you'd have to buy the book to get the code, and I'm very grateful to you and Parallax for providing it for free here.
    I think it will get many more people into this world...

    Ray

    Ok, I was up late that thought this was a new post!
    Sorry Daniel, I hope somebody gets to your question
    Last edited by Rayman; 05-25-2011 at 09:57 AM. Reason: Was up too late...

  4. #4

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Daniel, Sorry if my late night love note distracted from your question to this old thread...

    Can you please post the code you're having trouble with?

    I tried looking on p.43, but don't see the code you're referring to...

  5. #5

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Rayman,thanks for your kindness though I have already figure it out。

    Can you tell me why not set parameters “pwm” and “DIR” to 6 and 7 directly but set as belows. thanks!
    “BRK = 5
    PWM = BRK + 1
    DIR = PWM + 2”
    Last edited by daniel ding; 09-19-2011 at 07:38 AM. Reason: mistake

  6. #6

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    moreover, Raman, Can you tell or show me how to display the system time on lcd 16X2. thanks a lot!

  7. #7

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Daniel,

    Have you gotten the LCD to display characters yet? have you Gotten an RTC? Try looking into this object. Even though it is designed for a 4x20, it works quite well for these displays:

    http://obex.parallax.com/objects/704/

    and look into Kye's RTC object here:

    http://obex.parallax.com/objects/420/

    Take them one step at a time. I have integrated both of these in a few projects, and after some tinkering, you should be able to mesh them together to get what you are looking for.

  8. #8

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    I get an error 404 when I try to open the text

  9. #9

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Having trouble downloading new book. Get cannot find page error. Oh well I am patient.

  10. #10

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Andy,

    When I try to download the Propeller [B]]Education Kit Labs - Fundamentals[/B .pdf file I get a "The page cannot be found" error. I'm on a iMac; but that shouldn't make a difference. Has anyone else with a iMac been able to download
    Harley Shanko

  11. #11

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Sariel,
    Thanks a lot, I have already downloaded your object. After while I will study it.

    I really appreciate your kindness and help.

    Thanks from a students of China

  12. #12

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Hi everyone who can tell me why the “potline” has the same pin with “chipsel” in the following codes. The codes come from Utilities.spin.
    high =1
    low =0
    PotLine =19
    PotLine2 =20
    repval =2
    repval2 =2
    BitsRead =12
    BitsRead2=12
    BitsRead3 =12
    BitsRead4=12
    chipSel = 19
    chipClk = chipSel+1
    chipDout = chipSel+2
    chipDin = chipSel+3
    chipSel2 = 23
    chipClk2 = chipSel2+1
    chipDout2 = chipSel2+2
    chipDin2 = chipSel2+3
    Last edited by daniel ding; 09-21-2011 at 08:02 AM. Reason: lost message

  13. #13

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Not sure, we would need to see the rest of the code. But, I suggest starting a new thread. We are really starting to hijack this one.

  14. #14
    StefanL38's Avatar
    Location
    northern part of Hessen (Germany)
    Posts
    2,136

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Hi Andy,

    the link in the first posting is wrong

    http://www.parallax.com/Portals/0/Do...nBook-v1.1.pdf

    you are already on version 1.1
    keep the documents coming
    best regards

    Stefan

  15. #15

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Thanks, Stefan

    Finally can download the PE labs book. Wow, over 200 pages. Lot of effort to get all that in place. Thank you Parallax.
    Harley Shanko

  16. #16

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Question about square wave program from exercises at end of chapter 5. Calling SquareWave with tHigh = 2717 and tCycle much larger than tHigh makes an LED glow dimly. Calling it with tHigh = 2716 makes the LED glow constantly at full on. This happens regardless of the exact value of tCycle or the clock frequency chosen. Why?

  17. #17

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Quote Originally Posted by Gwolfe View Post
    Calling it with tHigh = 2716 makes the LED glow constantly at full on. This happens regardless of the exact value of tCycle or the clock frequency chosen. Why?
    The version coming with PropTool 1.3 takes a smaller value (~2k4) to lock up but assuming your version doesn't differ significantly, it's down to waitcnt missing its (initial) target. IOW the cycle count between sampling cnt and then waiting for tH exceeds tHigh. HTH

  18. #18

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Makes sense. Thanks.

  19. #19

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Another basic question. Suppose method1 is contained in object1 and object1's start method launches method1 into cog1. Method1 appears to have direct access to object1's global variables (i.e. without needing to pass addresses as would be necessary to transfer information to or from another object). Do object 1's global variables still reside in main RAM and not cog1's RAM? What happens if the start method launches method1 into cog1 and method2 into cog2? Do both methods now have access to object1's global variables? How are conflicts resolved?

    I couldn't find an answer to this one in the propeller manual or elsewhere. Would also like to know where else to look in the future for similar questions.

  20. #20

    Default Re: New Book - Propeller Education Kit Labs: Fundamentals

    Quote Originally Posted by Gwolfe View Post
    Do object 1's global variables still reside in main RAM and not cog1's RAM? What happens if the start method launches method1 into cog1 and method2 into cog2? Do both methods now have access to object1's global variables? How are conflicts resolved?
    From context you seem to use SPIN. IOW global variables stay in hub RAM. Which also means both cogs have access. As for conflicts, built-in type access (byte/word/long) is atomic. Anything more exotic is your responsibility.

+ Reply to Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts