Light Measurement
USMCinfinity
Posts: 150
Hey guys I'm trying to measure light using the StampPlot Lite but when I try to connect the COM3 which is the one that the BS is one it says that that CON is unavailable...any help ?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
-Phil
this is my program
' {$STAMP BS2}
' {$PBASIC 2.5}
time VAR Word
DEBUG "!AMAX 1250", CR,
"!TMAX 25", CR,
"!TMIN 0", CR,
"!SHFT ON", CR,
"!RSET",CR
DO
HIGH 2
PAUSE 100
RCTIME 2, 1, time
DEBUG DEC time, CR
LOOP
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
If you convince yourself that something is impossible before you even try; you are sure to prove yourself right.
[noparse][[/noparse]HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{648A5600-2C6E-101B-82B6-000000000014}]
it the "Compatibility Flags" = 00000400
the set it to 0 and try the program again. if it works great if it doesn't set the registry back to hex 400.
Why? If it works it's because StampPlot is using MSCOMM which is blocked by newer internet explorer.
And why is it blocked - i believe some malware use activex components and this is MS's way to stop them.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR
name value
compatibility flags 1024
when I try to modify it, it won't let me
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR
Warning messing with registry can goof stuff up royally!
Backup your registry first then
Open Command Prompt.
Type
reg delete HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools
Answer y.
once you in check your run and run once registry keys under HKLM & HKLU to see if you are infected
Run an antivirus
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR
Post Edited (TechnoRobbo) : 4/6/2010 9:24:33 PM GMT
you can try this:
Copy the code below into notepad save it as fix.reg then double click on the file - it should update your registry:
Windows Registry Editor Version 5.00
[noparse][[/noparse]HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{648A5600-2C6E-101B-82B6-000000000014}]
"Compatibility Flags"=dword:0
Hopefully StampPlot will work now, if not - To put your registry back do the same with this code:
Windows Registry Editor Version 5.00
[noparse][[/noparse]HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\{648A5600-2C6E-101B-82B6-000000000014}]
"Compatibility Flags"=dword:00000400
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
g
g
g
g
0
0
0
0
0
0
g
g
g
g
DEBUG "!PLOT ON",CR
to get it to go?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
This may sound like a stupid question - but did you hit the "Connect" button and the "Start Plot" button?
I tested the plot below with your output code and it worked
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR
Post Edited (TechnoRobbo) : 4/8/2010 9:40:22 PM GMT
As you can see it works fine - is your wire connected to pin 2?
3
Im also Assuming you are using a photoresistor with a .01 microfarad cap·in parallel
post edited cause I had .001 instead of .01 and forgot the word "cap"
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Have Fun
TR
Post Edited (TechnoRobbo) : 4/10/2010 4:49:41 PM GMT
3
3
3
3
3
3
then it raises up to 40s when I block the light..