Could you provide more information please?· How did you determine this?· What is your power supply and what code are you running?· And, more importantly, what's connected to the I/O lines?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage Parallax Tech Support csavage@parallax.com
discovered the problem when doing Chapter 3 ReadPushButtonState.BS2 on page 77 of What is a Microcontroller Student Guide:
DO
DEBUG ? IN3
PAUSE 250
LOOP
Have used both 18v power supply and 9v battery.
Ran the program with nothing attached to the I/O pins and debug terminal displayed 1's instead of the expected 0's. Checked the I/O pins with a multimeter and they showed approx 2 - 3 volts. Also, Vdd only reads 3.8v
thank you, that explains the voltageson the io pins , but i have another problem with vdd. its putting out only 3.7 v and any excercise from the guide that i do involving vdd fails........led's dont light, the pushbutton excercise doesnt respond to the push button
thanx again
the sheet that came with the oem bs2 said 6-24 volts on the vin but regardless i disconnected everything and got 4.9 volts (with 9v battery)at the vdd pin on the board, i guess there is an issue with the ribbon cable i used to connect it to the breadboard. btw a 40 pin ribbon cable from a computer mates nicely to the oem bs2's 20 pin connector, i just cut off one connector and soldered it to the bread board
do you think the small diameter of the wires could be causing my problem?
It could be, or you could have bad connections. I never use that stuff -- big pain in the patootie [noparse][[/noparse]sp?]. Better to stick with 22/24 gauge wire and use female crimp sockets.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Jon Williams Applications Engineer, Parallax
Sybil said...
the sheet that came with the oem bs2 said 6-24 volts on the vin but regardless i disconnected everything and got 4.9 volts (with 9v battery)at the vdd pin on the board, i guess there is an issue with the ribbon cable i used to connect it to the breadboard. btw a 40 pin ribbon cable from a computer mates nicely to the oem bs2's 20 pin connector, i just cut off one connector and soldered it to the bread board
do you think the small diameter of the wires could be causing my problem?
thanx jon
Sybil,
·· The BS2-OEM can run up to 24VDC on the Vin pin only.· This is okay on the OEM models of BASIC Stamp since they use the same regulator as most of our Development Boards.· My question is, is this a kit you built?· If so, perhaps there is another problem on the board.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage Parallax Tech Support csavage@parallax.com
Understood, but regardless of his power input...Either something's wrong with the supply or something's wrong with the board.· That or you are reading the voltages incorrectly (Or bad meter) but your readings are not only incorrect, but the interpreter shouldn't be running at those voltages.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage Parallax Tech Support csavage@parallax.com
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
DO
DEBUG ? IN3
PAUSE 250
LOOP
Have used both 18v power supply and 9v battery.
Ran the program with nothing attached to the I/O pins and debug terminal displayed 1's instead of the expected 0's. Checked the I/O pins with a multimeter and they showed approx 2 - 3 volts. Also, Vdd only reads 3.8v
This is a OEM BS2 that I hooked to a breadboard.
Post Edited (Sybil) : 10/27/2005 3:28:58 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Post Edited (Jon Williams (Parallax)) : 10/27/2005 3:43:44 AM GMT
thanx again
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
What are you using for a power supply, and how is it connected to the Stamp carrier board?
Regards,
Bruce Bates
i get the 3.7 v on the vdd with nothing attached to the output pins
Post Edited (Sybil) : 10/27/2005 5:14:48 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
do you think the small diameter of the wires could be causing my problem?
thanx jon
Post Edited (Sybil) : 10/27/2005 6:00:05 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
I am hitting the sack so i wont be a pain in your patootie anymore tonight
thanx again,
sybil
·· The BS2-OEM can run up to 24VDC on the Vin pin only.· This is okay on the OEM models of BASIC Stamp since they use the same regulator as most of our Development Boards.· My question is, is this a kit you built?· If so, perhaps there is another problem on the board.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax