Search found 34 matches

by Shing
Thu Mar 17, 2005 9:51 am
Forum: General Discussion
Topic: Linux & Stamp 2
Replies: 3
Views: 1979

Re: Linux & Stamp 2

The Serial Port on Linux definitely receives the data from the Stamp 2. I use a program called Minicom which is like Hyperterminal, and it displays the data correctly.<p>I am just having problems storing the data into a simple text file. Although I would like to implement flow control to the system,...
by Shing
Wed Mar 16, 2005 3:50 am
Forum: General Discussion
Topic: Linux & Stamp 2
Replies: 3
Views: 1979

Linux & Stamp 2

Hi,<p> I am trying to successfully interface the Stamp 2 with a computer running Linux.<p> I am trying to send data from the Stamp 2 to the computer via the Serial Port. And I would like the computer to store the received data in a file.<p>In the Stamp code, I send the data using:<p>SEROUT 16,16468,...
by Shing
Sat Feb 26, 2005 2:14 pm
Forum: General Discussion
Topic: Stamp 2 & DS1620
Replies: 9
Views: 4019

Re: Stamp 2 & DS1620

Found the problem. Circuit was built on breadboard and noise was corrupting readings.<p>Thanks for your help and sorry for wasting your time.<p>Regards,
Wai Shing
by Shing
Sat Feb 19, 2005 2:49 am
Forum: General Discussion
Topic: Stamp 2 & DS1620
Replies: 9
Views: 4019

Re: Stamp 2 & DS1620

RSTnot is pulled low after the 9 bits are sent. I don't know what the state of the CLK is. How do I find out?<p>Regards,
Wai Shing
by Shing
Thu Feb 17, 2005 7:23 am
Forum: General Discussion
Topic: Stamp 2 & DS1620
Replies: 9
Views: 4019

Re: Stamp 2 & DS1620

But I am pulling the RSTnot pin low after shifting the 9 bits in.<p>So the 9 bits should be stored in a variable on the Stamp 2. I still don't understand why it prints out the temperature and then a zero for each<p>DEBUG SDEC tempC, " C ", CR<p>command.<p>Regards, Wai Shing
by Shing
Wed Feb 16, 2005 12:35 pm
Forum: General Discussion
Topic: Stamp 2 & DS1620
Replies: 9
Views: 4019

Re: Stamp 2 & DS1620

But doesn't the following command in the code shift in all 9 bits into a variable in one go?<p>SHIFTIN DQ, Clock, LSBPRE, [tempIn\9]<p>The calculations are then made on that variable. And then that variable is printed once to the debug terminal.<p>Does the debug terminal only display 8 bits at a tim...
by Shing
Wed Feb 16, 2005 2:17 am
Forum: General Discussion
Topic: Stamp 2 & DS1620
Replies: 9
Views: 4019

Stamp 2 & DS1620

Hi,<p> I am trying to interface the Stamp 2 with the DS1620 Thermometer. I'm using the circuit diagram and the code described by the StampWorks Experiment #28: Measuring Temperature.<p> Unfortunately, the temperature being sent via serial cable to the Debug Terminal Window in the Basic Stamp Editor ...
by Shing
Tue Oct 19, 2004 12:27 am
Forum: General Discussion
Topic: Stamp 2 ECAD Library
Replies: 1
Views: 1460

Stamp 2 ECAD Library

Hi,<p> Does anyone have, or know where I can get, a Stamp 2 library for ECAD. I plan to incorporate a Stamp 2 on a PCB that I am going to manufacture myself and I know that if I try to make the library myself, I'll end up making loads of errors.<p>Regards,
Wai Shing
by Shing
Sat Sep 25, 2004 11:15 pm
Forum: General Discussion
Topic: Simple Water Detection Circuit
Replies: 10
Views: 7771

Re: Simple Water Detection Circuit

Thanks for all the replies. I'll have to explore all the different possible solutions. Thanks again!<p>Regards,
Wai Shing
by Shing
Thu Sep 23, 2004 3:05 pm
Forum: General Discussion
Topic: Simple Water Detection Circuit
Replies: 10
Views: 7771

Re: Simple Water Detection Circuit

Thanks Colin and Haklesup for the response.<p>It's a project for college. It's meant to be able to detect the presence of water in the case of a flood, so the body of water would be substantial.<p>As for the problem with electrolysis, the probes would rarely have the chance to conduct water (hopeful...
by Shing
Thu Sep 23, 2004 12:55 am
Forum: General Discussion
Topic: Simple Water Detection Circuit
Replies: 10
Views: 7771

Simple Water Detection Circuit

Has anyone any ideas on how to implement a simple circuit to detect the presence of water with the Basic Stamp 2?<p>I'd imagine that it'd involve two probes, and the water would conduct the electricity and therefore complete the circuit.<p>Regards,
Wai Shing
by Shing
Fri Dec 12, 2003 6:55 am
Forum: General Discussion
Topic: Converting Decoders
Replies: 2
Views: 1797

Re: Converting Decoders

Super! That's just perfect. Thanks very much.<p>Regards,
Wai Shing
by Shing
Wed Dec 10, 2003 7:02 am
Forum: General Discussion
Topic: Converting Decoders
Replies: 2
Views: 1797

Converting Decoders

Is there an easy way of converting two "2 to 4 decoders" (74HCT139N) into a "3 to 8 decoder"?<p>Regards,
Wai Shing
by Shing
Wed Dec 10, 2003 6:58 am
Forum: General Discussion
Topic: Stamp 2 Traffic Light
Replies: 11
Views: 5645

Re: Stamp 2 Traffic Light

Thanks very much for the ideas. As always, they are greatly appreciated.<p>Regards,
Wai Shing
by Shing
Fri Nov 28, 2003 5:50 am
Forum: General Discussion
Topic: Stamp 2 Traffic Light
Replies: 11
Views: 5645

Re: Stamp 2 Traffic Light

Thanks for the response.<p>In my case, there are four LEDs per traffic light.<p>- Red - Amber - Green - Green Arrow Light<p>In addition to that, there needs to be a traffic light to facilitate pedestrians.<p>- Red - Amber - Green<p>Ideally, this would be implemented using 7 of the input/output pins....