Shop OBEX P1 Docs P2 Docs Learn Events
QuickStart module — Parallax Forums

QuickStart module

HShankoHShanko Posts: 402
edited 2011-06-10 15:55 in Propeller 1
I have a question on schematic page 3. What is the function of Q1, D12 ahead of the 3.3v regulator? Seems the '5v' point would be closer to 4 volts.

Wish list: Wishing there were space for a RCA jack and resistors for TV output. But realize that would require more board space. I suppose one can use the headers to access required Prop pins and mount parts externally. :smile:

Comments

  • HShankoHShanko Posts: 402
    edited 2011-06-02 11:37
    Since the QuickStart module was announced, for some reason only 16 'pages' of Prop forum exists. What happened to the earlier pages, did they get tossed out?

    I was looking for the information on QuickStart since its announcement, which was apparently before 2 April. Frustrating when this happens. Thanks for any assistance on this.

    Do I recall correctly that there was some 'demo' code to be used with this board? Or was that just a nice dream?
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2011-06-02 14:02
    re:Do I recall correctly that there was some 'demo' code to be used with this board?


    QuickStart Examples:

    http://www.parallaxsemiconductor.com/products/quickstart
  • HShankoHShanko Posts: 402
    edited 2011-06-02 15:28
    Thanks Bob,

    Maybe I need to carefully read those 'examples'. Maybe there are demo source code there. I looked at one or two and they appeared to bring beginners up to speed.

    Maybe I just hoped an demo to 'show off' the QuickStart module.
  • HShankoHShanko Posts: 402
    edited 2011-06-03 13:42
    Finally, QuikStart boards are IN STOCK and my order should arrive next Monday. Maybe that will resolve many questions in my mind about this board. Don't 'need' one but 'gotta have' this configuration.
  • HShankoHShanko Posts: 402
    edited 2011-06-06 19:05
    QuickStart in hand! Man, from the photos those touch point pads made the board seem larger. Whole board is smaller than a credit card. Nice clean layout. And very nice to not need a power supply/adapter for lower current drains.

    At first I tried to Brad's BST but couldn't find the Prop. Then went to Windows on the Mac and still wouldn't work. Shut down Parallels virtual engine and started over then things were OK. So went back to BST and 'woke up' to realize I'd downloaded the FTDI driver but hadn't installed it. Works now.

    One question. When the Prop isn't running a program, all the LEDs light up if I touch the pcb opposite the Prop chip. Might this be due to I/Os being inputs when Prop not running? I noticed when I programmed the EEPROM with Lesson 6, it counted up and when done, if I held the pcb with fingers on both sides of the board at the Prop chip location all LEDs would be lit. And before FTDI was installed, even its LEDs would light up. Sure sounds like floating I/Os, to me.

    Thank you Parallax for this cute Prop board design.

    Anyone else get their QuickStart boards yet?
  • Ken GraceyKen Gracey Posts: 7,401
    edited 2011-06-06 19:47
    Hey Harley,

    I'm the most biggest contributor for non-answers, but I can confirm that handling the QuickStart PCB on the back side could trigger the LEDs on the front because I noticed this myself. I'm pretty certain that you're touching the two traces that comprise the touch buttons. I'll ask David Carrier to jump in and explain what we're observing.

    We're happy that you like the design!

    Ken Gracey
  • David CarrierDavid Carrier Posts: 294
    edited 2011-06-06 20:02
    HShanko,
    The LEDs are driven by a buffer that connects to P16 through P23. The buffer is in place so the LEDs do not load the I/O pins. This also you to use the I/O pins for whatever you want, but still drive LEDs if you'd like. Since we didn't want to load the I/O pins, there aren't any pull-down resistors, so if you leave the I/O pins floating the input to the buffers will float. The 74HC541 tends to float low, so the LEDs are usually off, but you may see them all blink at once if you have noise on the power rails, or light randomly if you touch the I/O pins that connect to the buffer.

    — David Carrier
    Parallax Inc.
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-06-06 21:22
    I have to confess, I've been busy lately with other matters and haven't paid the QuickStart module much attention. But this thread caught my eye today. Wow! Parallax has really rolled out the red carpet for new Propeller users with this device! Being powered from USB is a huge advantage for engineering professionals who need to demonstrate something to their bosses quickly. The QuickStart module is a tidy, expandable, well-though-out design that deserves to be in everyone's box of dev/demo tools. For a couple sawbucks, how could anyone resist this little gem? My only concern is that systems integrators will discover this loss-leader and order hundreds of them at a pop. But, since systems integrators more often than not turn into OEMs, that wouldn't be such a bad thing in the long run, would it? :)

    -Phil
  • HShankoHShanko Posts: 402
    edited 2011-06-06 22:40
    Thank you Ken Gracey and David Carrier for your responses. I didn't think it would 'hurt' that this effect could produce, but was surprised to observe it. It doesn't happen if one has their fingers on the back side while a program runs, but does after the code finishes! Yet doesn't if one does NOT touch the board anywhere.

    @ Phil, thanks for your view point too. I've always enjoyed your comments on any thread.
  • HShankoHShanko Posts: 402
    edited 2011-06-07 10:05
    Is there any code for using the 'touch pads' of the QuickStart board??? I didn't find any thing referencing using the touch pads.
  • JonnyMacJonnyMac Posts: 9,208
    edited 2011-06-07 11:50
    There's a demo with a PASM object on the QuickStart page. I've attached a Spin-only version of that code (note that I would add some debouncing before deploying).
  • HShankoHShanko Posts: 402
    edited 2011-06-07 15:31
    Jon, Thank you for the information. I figured it might have to be something quite simple, but was surprised the main scan routine was that short, simple.

    Now to get my fingertips on a diet to fit better and not hit two at once.
  • Cluso99Cluso99 Posts: 18,069
    edited 2011-06-07 18:46
    You can achieve monochrome B&W TV output with 1 pin and 1 resistor, so the resistor can be added in the plug. For the driver, see my Debug 1pin TV driver and 1pin keyboard driver in the OBEX. The source contains the circuit diagram and IIRC there is a link to a thread where I posted pictures (if not, see the RamBlade thread).
  • HShankoHShanko Posts: 402
    edited 2011-06-09 09:00
    caskaz , I found this only occurs if there is no program running.

    The LED driver chip inputs are floating, Prop I/O is in Input state, therefore nothing is driving the LED chip high or low, so one's body probably injects power line frequency 'noise' easily.

    Apparently once a program runs and ends, the Prop returns to I/O input state. This was a new bit of info for me. Maybe I'm wrong; somebody have a better explanation?
  • JonnyMacJonnyMac Posts: 9,208
    edited 2011-06-09 09:02
    I believe that if you let your program end the cog unloads and yes, the IOs are returned to input state. You can hold the pins in the state and enter low-power mode with
    repeat
        waitcnt(0)
    
  • HShankoHShanko Posts: 402
    edited 2011-06-09 10:44
    @Jon,
    Thank you for that info and the 'hold pin state' suggestion. There is so much of a learning curve on the Prop, and so many features that Chip included in its design.

    Regarding the '5v' power, for my setup I measured 5.13v input from the USB connector, with 0.03v, 5.13v and 5.13v on the three legs of D2 and 4.85v for that '5v' power with no additional loading on the board. That leaves 0.28v drop across D12; must be a Schottky device, not silicon or germanium. Answers my initial question.

    I note at times the touchpad program, your 'jm_quickstart_demo.spin' in EEPROM doesn't seem to run. Yet later, without any prodding, it seems to be working again. Just by pressing the Reset switch can I invoke this effect. Is as if a counter has to 'wrap around' and then things are operating OK. Is this a missing initialization?
  • JonnyMacJonnyMac Posts: 9,208
    edited 2011-06-09 12:03
    I haven't had any troubles with it, though I did adjust the program so that there 100ms delay only happens when any of the outputs are on, otherwise there is a 25ms delay. This makes the program seem more responsive. I use F11 to load it into the QS board and have no problems. The Propeller does take a bit of time to start up, perhaps a little light flash at the beginning when the program is ready is worth doing.
  • HShankoHShanko Posts: 402
    edited 2011-06-09 13:11
    It appears there is an error on the schematic, page 1/3. I was checking for the 5v and 3.3v on various part pins and note that it appears that 5v and 3.3v should be swapped on pins 38 and 40 of J1 and J3. Buzzing out these power lines, at first I thought the Prop had 5v on it —— OUCH!, not good. Then realized it most likely is the schematic in error. Though I don't know how it passed the checking of the layout and schematic agreeing.

    @ Jon, maybe it is just something weird on my board. I can touch one or more pads, do a Reset, and it might take many many seconds before the LEDs light up again. Maybe my fingers are too dry. I note this doesn't seem to happen if I wet my fingers. Guess I'm too high R.

    I just noticed something else, good news. I left the board powered but slipped the bag it came in while out of the room for a couple of hours. Due to our three cats. I touched the outside of the bag just over the pads and the LEDs still worked OK. But not later on, like just after writing this! Yet now works OK again. At times. Capacitive effects?
  • David CarrierDavid Carrier Posts: 294
    edited 2011-06-09 17:19
    HShanko,
    Make sure you have the schematic from the bottom of the page at http://www.parallaxsemiconductor.com/products/quickstart; it should be titled "Rev A". You may be looking at a "Rev A2" schematic that I had posted earlier on the forums. The pinout of J1 has changed since the last prototype.

    — David Carrier
    Parallax Inc.
  • HShankoHShanko Posts: 402
    edited 2011-06-09 17:32
    @ Dave C,

    I had A3 revision. I forgot I'd printed all I could find early on after the QuickStart was announced. Thanks. Time to print another set. And to make up an adapter for TV output.
  • HShankoHShanko Posts: 402
    edited 2011-06-09 18:04
    @ Dave,

    One small detail missing is the page numbers, such as 1/3..3/3. Just a FYI. No biggie.
  • HShankoHShanko Posts: 402
    edited 2011-06-10 12:42
    Looking over the QuickStart pc board files I note the backside has a white rectangular shape similar to a signature field like on credit cards. What is its purpose? I haven't seen any reference to why it exists.

    By the way, it is a bit confusing that this board is for sale on the old Parallax web site, but much more information exists on the ParallaxSemiconductor site. Seems there should be an obvious link between the two, NO?
  • schillschill Posts: 741
    edited 2011-06-10 13:01
    HShanko wrote: »
    By the way, it is a bit confusing that this board is for sale on the old Parallax web site, but much more information exists on the ParallaxSemiconductor site. Seems there should be an obvious link between the two, NO?

    Maybe it could be a bit more obvious, but the link is in the normal place on a product page where you look to get documents, schematics, etc.
  • mindrobotsmindrobots Posts: 6,506
    edited 2011-06-10 13:04
    @Harley,

    My thoughts were the white strip was insulation for the backside of the touch buttons - to prevent inappropriate touching.

    Rick
  • HShankoHShanko Posts: 402
    edited 2011-06-10 13:54
    Rick, having done many pcb layouts over the years, it appears the 'ground plane' copper on the bottom exists under the pads. So I suppose we just sign our name on the board to say 'This one is mine; get yours at ParallaxSemiconductor a.s.a.p.'?
  • DaveJensonDaveJenson Posts: 375
    edited 2011-06-10 15:00
    HShanko wrote: »
    I have a question on schematic page 3. What is the function of Q1, D12 ahead of the 3.3v regulator? Seems the '5v' point would be closer to 4 volts.

    Wish list: Wishing there were space for a RCA jack and resistors for TV output. But realize that would require more board space. I suppose one can use the headers to access required Prop pins and mount parts externally. :smile:

    HShanko,

    D12 is there to allow you to power the board from the VIN pin on the header without damaging the USB power circuit... If a USB cable is in place, power will come from the USB. If you want to "cut the cord", you can power the board from the VIN connection. D12 prevents current from passing from your VIN power connection into the USB circuit.

    That's how I understand it anyway...
  • Duane DegnDuane Degn Posts: 10,588
    edited 2011-06-10 15:35
    HShanko wrote: »
    @ Jon, maybe it is just something weird on my board. I can touch one or more pads, do a Reset, and it might take many many seconds before the LEDs light up again. Maybe my fingers are too dry. I note this doesn't seem to happen if I wet my fingers. Guess I'm too high R.

    I've also had problems with Jon's Spin only version.

    I modified the version with the PASM driver to eliminate the flicker.

    I then tried out Jon's Spin version. It didn't seem to work as well. I also had to have slightly damp fingers in order for the LEDs to light up.

    I finally found if I launched a new cog to monitor the touch pads I had much better results.

    I'm attaching my version of Jon's Spin only code.

    I've included notes on how to switch the driver to the PASM version. Either way uses a second cog.

    @Jon, Let me know if there is a different way I should indicate this is a modified version of your code.

    Duane
  • HShankoHShanko Posts: 402
    edited 2011-06-10 15:55
    @ Dave Jenson,

    Since I asked I was told there was a later revision of the schematic. What was termed '5v' is now 'Vin'. Now it is clear; a diode to isolate the USB 5v from an externally applied voltage at 5v or greater. Wish there were a bit better explanation of what everything on the board is for. (From the writer's view, I realize it is difficult to anticipate what all user's will need/want to know about a circuit.)
Sign In or Register to comment.