Since the time measurements of RCTime weren't too impressive, I thought I would try it with a pulsout duration of 100.· Results were much better.
At the 0 volt baseline pulse width was 82us.
At the 5 Volt line pulse width was 77us.
Rise time was 3us.
Decay time was 2us.
Pulse width at the 2 volt line was 80us.
Depends on where you measure it, but I would say the time·period of
.8us was pretty darned close.
I looked at it on my 'scope, too, and compenstated for the 40 microseconds taken by the HIGH 15:
{$STAMP BS2P}
{$PBASIC 2.5}
factor CON 230 ' 0.9
' factor CON 204 ' 0.8 try different multipliers
' factor CON 192 ' 0.75
DIRS=$FFFF
DO
HIGH 15
HIGH 0 ' 'scope trigger
RCTIME 15,1,wx ' channel 1, can see where drop begins
HIGH 15 ' observe this for end of RCTIME, -40 uS
LOW 0
DEBUG DEC wx*/factor, CR
LOOP
With these BS2p's, which were all version 1.2, the time oI bserved on the oscilloscope was much longer than the time displayed by the DEBUG computed with the 0.9 multiplier. However, the results were best when I used the 0.75 multplier. That is, 0.75 microseconds per count, instead of 0.9 microseconds per count.
The funny thing is, the 0.75 uS per count agrees better too with the published figure for the BS2pe (1.89 microseconds, 0.75 * 2.5 = 1.875).
C hris, I went out and bought a ditial camera yesterday, so here is a picture of the USB powered Stamp I've been talking about.
The two big leads you see are going to my multimeter so I can monitor the total current from the USB port.· If I like I can remove the leads and plug in the little red shunt you see laying on the bottom of the board.
This is working out quite well.· I jumpered Vdd and Vss from the USB board to two other Stamps, one running a DS1302 program and the other the Stamp Tester program, then plugged another DS1302 board into the USB board.· With all three Stamps running total current was about 50ma.
Really tidied up my workbench.· Got rid of two wall warts and their power leads.· I'm working on a DB9 harness now that goes through a
4-pole 3-pos rotary switch and connects to all three Stamps.· Then I will be able to·connect anyone of the three Stamps to the PC with the rotary switch.
Unless somebody has figured a way around it, express pcb files are difficult to use to etch your own board.
When you print the layout, the background is grey with black dots. So you get the traces pads etc, but also get a background that will not allow you to use press & peel type methods to put the artwork on your board.
Chris Savage said...
Newzed said... I thought you knew - ExpressPCB.
Sid
Yes, but I didn't know if you etched them yourself, or if you sent them out...
Ken, if you drag the three corners of the layout to x = 0 and y = 0 then the dark background does not print.· You can also change the color of the grid dots to white and change all· corners to black, or whatever color you are using for the layer you are printing.
Well, it's just that I've laid out plenty of circuit boards in ExpressPCB as a guide, then etched them myself...Not by printing out the board, but by hand...Using what I laid out as a guide...I have used their services before...But on simpler boards I used to do it myself...I am growing tired of that though, and I am sure they will see more of my business soon...What I need to do is get more Custom Parts.· Do you know a place where you can get more Custom parts for ExpressPCB?· The other day I was using it for something, and I can't remember what, but it didn't have the part I needed...I know there are sites that have the parts files, but Google doesn't seem to give me what I want on such a search.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage
Knight Designs 324 West Main Street P.O. Box 97 Montour Falls, NY 14865 (607) 535-6777
Ken, if you drag the three corners of the layout to x = 0 and y = 0 then the dark background does not print.· You can also change the color of the grid dots to white and change all· corners to black, or whatever color you are using for the layer you are printing.
If you are not already aware, you can make custom parts in express pcb.
Chris Savage said...
Well, it's just that I've laid out plenty of circuit boards in ExpressPCB as a guide, then etched them myself...Not by printing out the board, but by hand...Using what I laid out as a guide...I have used their services before...But on simpler boards I used to do it myself...I am growing tired of that though, and I am sure they will see more of my business soon...What I need to do is get more Custom Parts.· Do you know a place where you can get more Custom parts for ExpressPCB?· The other day I was using it for something, and I can't remember what, but it didn't have the part I needed...I know there are sites that have the parts files, but Google doesn't seem to give me what I want on such a search.
I'll have to look and see what was in there, but the other day I was going to do soemthing for someone, and didn't have the parts...The obvious stuff to have would be the BASIC Stamps, the DS1302, the DS1620, the ADC0831, oh heck, I have some chips that probably nobody else uses, such as the PIC-an-LCD, EDE1144, MT8880, the OEM Emic Speech Modules (Which are not SIP).· There must be a facility to create your own parts, I may have to figure it out...I'll take anything you have that applies above though!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage
Knight Designs 324 West Main Street P.O. Box 97 Montour Falls, NY 14865 (607) 535-6777
No Ken, I wasn't truly aware of it...I guessed there had to be a way, what with it being free software and all, and everyone talking about it.· But everytime I have used it has been in kind of a hurry, with me trying to focus and get something done in a hurry (Without making mistakes).· I never really paid attention to anything else.· But I should, since as I said, I will need to start using it more.· I am tired of the slow tedious process of hand-etching boards and not having plated-through holes...As much money in parts as I put on some of these boards, I might as well spend the money having quality boards made.· I posted one board on my website in the older projects section that I built for an Audio Controller prototype...Oxidation and corrosion ate the traces off...Killing the board.· Thanks for the info.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage
Knight Designs 324 West Main Street P.O. Box 97 Montour Falls, NY 14865 (607) 535-6777
Making custom components is really painless. But you have to read the help file.......but I know EXACTLY where you are coming from when you say every time you used it you were in a big hurry.
Aint that the truth!!!
Chris Savage said...
No Ken, I wasn't truly aware of it...I guessed there had to be a way, what with it being free software and all, and everyone talking about it.· But everytime I have used it has been in kind of a hurry, with me trying to focus and get something done in a hurry (Without making mistakes).· I never really paid attention to anything else.· But I should, since as I said, I will need to start using it more.· I am tired of the slow tedious process of hand-etching boards and not having plated-through holes...As much money in parts as I put on some of these boards, I might as well spend the money having quality boards made.· I posted one board on my website in the older projects section that I built for an Audio Controller prototype...Oxidation and corrosion ate the traces off...Killing the board.· Thanks for the info.
Yeah, because by the time I have gotten to where I need to use ExpressPCB, I need the project done yesterday!· Or in some cases, I know that if I don't get the PCB finalized ASAP, there will be more changes made and the project will never be done!· I will checkout the help file, and see what I need to do...Meanwhile, if anyone has a load of custom parts, I wouldn't mind getting hold of them...No sense in re-doing it if someone else has.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Chris Savage
Knight Designs 324 West Main Street P.O. Box 97 Montour Falls, NY 14865 (607) 535-6777
Chris, we just got a note from Jeff Martin at Parallax.· He confirms that the RCTime for the BS2P is indeed .75us.· The .9us in the Help file and in the Stamp Manual is a documentation error.
I guess we discovered something unexpected with the pin tester!
So, here are the new numbers from Engineering at Parallax:
RCTIME Resolution:
BS2, BS2e, BS2pe* -- 2 us **
BS2sx -- 0.8 us
BS2p -- 0.75 us (same as pulsin)
(** In version 1.0 BS2pe, the resolution was 1.89 us, changed to 2.0 in v1.1.)
That would make the */ for the Stamp-tester program as follows:
#CASE BS2, BS2E, BS2PE
Adjust CON $200 ' x 2 us per unit
#CASE BS2SX
Adjust CON $0CC ' x 0.8 us per unit
#CASE BS2P
Adjust CON $0C0 ' x 0.75 us per unit
And I just updated the Help file with those very numbers....
Tracy Allen said...
I guess we discovered something unexpected with the pin tester!
So, here are the new numbers from Engineering at Parallax:
RCTIME Resolution:
BS2, BS2e, BS2pe* -- 2 us **
BS2sx -- 0.8 us
BS2p -- 0.75 us (same as pulsin)
(** In version 1.0 BS2pe, the resolution was 1.89 us, changed to 2.0 in v1.1.)
That would make the */ for the Stamp-tester program as follows:
#CASE BS2, BS2E, BS2PE
Adjust CON $200 ' x 2 us per unit
#CASE BS2SX
Adjust CON $0CC ' x 0.8 us per unit
#CASE BS2P
Adjust CON $0C0 ' x 0.75 us per unit
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Jon Williams
Applications Engineer, Parallax
Dallas Office
Files get automatically HTTP linked from root.· For example, if you upload to %root%\stamps\newzed\file.txt, the·hyperlink would be http/68.11.58.106:69/ftp/stamps/newzed/file.txt
p.s.· bought another stamp today (funny how everytime seems like christmas)
Yes, Chris.· I will be revising the code.· It will be posted here as soon as I get it finished.· Right now I'm trying to debug my MCP23016, getting ·ready for Frances, doing laundry and a couple of other things.
Comments
At the 0 volt baseline pulse width was 82us.
At the 5 Volt line pulse width was 77us.
Rise time was 3us.
Decay time was 2us.
Pulse width at the 2 volt line was 80us.
Depends on where you measure it, but I would say the time·period of
.8us was pretty darned close.
Sid
With these BS2p's, which were all version 1.2, the time oI bserved on the oscilloscope was much longer than the time displayed by the DEBUG computed with the 0.9 multiplier. However, the results were best when I used the 0.75 multplier. That is, 0.75 microseconds per count, instead of 0.9 microseconds per count.
The funny thing is, the 0.75 uS per count agrees better too with the published figure for the BS2pe (1.89 microseconds, 0.75 * 2.5 = 1.875).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
The two big leads you see are going to my multimeter so I can monitor the total current from the USB port.· If I like I can remove the leads and plug in the little red shunt you see laying on the bottom of the board.
This is working out quite well.· I jumpered Vdd and Vss from the USB board to two other Stamps, one running a DS1302 program and the other the Stamp Tester program, then plugged another DS1302 board into the USB board.· With all three Stamps running total current was about 50ma.
Really tidied up my workbench.· Got rid of two wall warts and their power leads.· I'm working on a DB9 harness now that goes through a
4-pole 3-pos rotary switch and connects to all three Stamps.· Then I will be able to·connect anyone of the three Stamps to the PC with the rotary switch.
Sid·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
When you print the layout, the background is grey with black dots. So you get the traces pads etc, but also get a background that will not allow you to use press & peel type methods to put the artwork on your board.
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
Sid
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
VERY NICE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
KEN
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
Pluggable Serial Backpack
http://hometown.aol.com/newzed/index.html
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
Aint that the truth!!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
TWS/RWS RF Modules
http://hometown.aol.com/newzed/index.html
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
If you wouldn't mind, I'd like a copy of your custom components as well.
tom dot walker at ameco dot com
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If at first you don't succeed
...you're about average...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
TWS/RWS RF Modules
http://hometown.aol.com/newzed/index.html
·
Sid
So, here are the new numbers from Engineering at Parallax:
RCTIME Resolution:
BS2, BS2e, BS2pe* -- 2 us **
BS2sx -- 0.8 us
BS2p -- 0.75 us (same as pulsin)
(** In version 1.0 BS2pe, the resolution was 1.89 us, changed to 2.0 in v1.1.)
That would make the */ for the Stamp-tester program as follows:
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Knight Designs
324 West Main Street
P.O. Box 97
Montour Falls, NY 14865
(607) 535-6777
Business Page:·· http://www.knightdesigns.com
Personal Page:··· http://www.lightlink.com/dream/chris
·
Feel free to use my public FTP server for sharing files.
ftp://68.11.58.106/
Files get automatically HTTP linked from root.· For example, if you upload to %root%\stamps\newzed\file.txt, the·hyperlink would be http/68.11.58.106:69/ftp/stamps/newzed/file.txt
p.s.· bought another stamp today (funny how everytime seems like christmas)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"OIOOIOOO OIIOOIOI OIIOIIOO OIIOIIOO OIIOIIII OOIOOOOO OIIIOIII OIIOIIII OIIIOOIO OIIOIIOO OIIOOIOO OOIOOOOI"
http://68.11.58.106:69/ircchat2/jicra-1.2.2/index-js.html
Sid