Shop OBEX P1 Docs P2 Docs Learn Events
BS1 no signal on pin P7! — Parallax Forums

BS1 no signal on pin P7!

AnunakinAnunakin Posts: 9
edited 2009-05-10 02:43 in BASIC Stamp
shakehead.gif
I just got my BS1 working with serial cable, but I cant get any signal on pin P7...!!! shocked.gif
any hope??

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-04-22 14:22
    You need to post a schematic of what you have and you need to post the program you're using, both using the Attachment Manager (click on Post Reply).
  • AnunakinAnunakin Posts: 9
    edited 2009-04-24 18:59
    My code
    ' PULSOUT.BS1
    ' This program blinks an LED on for 25 ms at 1-second intervals. Connect an
    ' LED (active-low) to I/O pin 0.
    
    ' {$STAMP BS1}
    ' {$PBASIC 1.0}
    
    
    Setup:
      HIGH 7
      HIGH 6
      HIGH 5
      HIGH 4
      HIGH 3
      HIGH 2
      HIGH 1
      HIGH 0
    
    Main:
      PULSOUT 0, 10000
      PULSOUT 1, 10000
      PULSOUT 2, 10000
      PULSOUT 3, 10000
      PULSOUT 4, 10000
      PULSOUT 5, 10000
      PULSOUT 6, 10000
      PULSOUT 7, 10000
      PULSOUT 6, 10000
      PULSOUT 5, 10000
      PULSOUT 4, 10000
      PULSOUT 3, 10000
      PULSOUT 2, 10000
      PULSOUT 1, 10000
      PULSOUT 0, 10000
      'PAUSE 1000
      GOTO Main
      END
    



    All leds on test works, but nothing on pin P7, can this be a hardware problem? PIC16c84 problem?
  • Mike GreenMike Green Posts: 23,101
    edited 2009-04-24 19:51
    It could be a hardware problem or a wiring problem. You might increase the PULSOUT time since it's only 100ms. Try a simpler program that only blinks the LED on pin 7.
  • AnunakinAnunakin Posts: 9
    edited 2009-04-24 19:57
    On DEBUG screen the pin P7 value not changing too [noparse]:([/noparse]
  • ercoerco Posts: 20,256
    edited 2009-04-24 20:32
    Per Mike, run a simpler program to test the pin, such as:

    abc:toggle 7[noparse]:p[/noparse]ause 500:goto abc

    and you'll find out pretty quickly using an LED or a multimeter to test it. Output will change every half second.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·"If you build it, they will come."

    Post Edited (erco) : 4/30/2009 6:05:40 PM GMT
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2009-04-29 14:56
    Worst case scenarion you could build a simple test circuit and use the code at the following link. This is how we test BASIC Stamps. Also, in your case one RC circuit is all that would be needed for one pin.

    http://forums.parallax.com/showthread.php?p=759839

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • AnunakinAnunakin Posts: 9
    edited 2009-05-10 01:49
    I have one board like this, I tested with a multimeter ... nothing on P7 ...
    shakehead.gif

    Can I buy a new PIC16C56, and program this (I have a pickit2 lol.gif)? if yes where can I find the hex file for it? can I use a PIC16F? I have SMD kit too! lol.gif
  • Mike GreenMike Green Posts: 23,101
    edited 2009-05-10 02:39
    You can't buy a PIC16C56 and program it yourself. The BS1 interpreter program is Parallax's property and they don't make it available to others. They do sell a preprogrammed version for only $9 www.parallax.com/Store/Microcontrollers/BASICStampOEM/tabid/135/CategoryID/10/List/0/SortField/0/Level/a/ProductID/11/Default.aspx.
  • AnunakinAnunakin Posts: 9
    edited 2009-05-10 02:43
    Thank!! [noparse]:)[/noparse]
Sign In or Register to comment.