Search found 5 matches

by Goey
Mon Nov 05, 2012 12:24 pm
Forum: Projects
Topic: DHT11 Humidity & Temperature Sensor
Replies: 9
Views: 45786

Re: DHT11 Humidity & Temperature Sensor

I'm sad to report that the Basic Chip gave up the ghost. It was working fine with the DHT11 code and then
all of a sudden started drawing 800ma on the Vdd Pin (21). Supply was BK Precison 1621A set to 3.3v.

Bill
by Goey
Sun Oct 28, 2012 1:52 am
Forum: Software issues
Topic: Interrupt Example Compile Error
Replies: 1
Views: 9957

Interrupt Example Compile Error

With a Basic Chip, I tried to load the example from the Manual page 272 and get the following: ============================= END FUNCTION -ERROR C:/Users/BILL/Desktop/BASFILRS/123.bas: 7: Expected LOOP, found FUNCTION END FUNCTION -First ERROR at line :7 ============================= Is there a prob...
by Goey
Fri Oct 26, 2012 6:08 pm
Forum: Projects
Topic: DHT11 Humidity & Temperature Sensor
Replies: 9
Views: 45786

Re: DHT11 Humidity & Temperature Sensor

That was fast .... I'm not sure what I/0(x) actually does compared to IO(x) but when I remove the line altogether the code still works fine. This is because the pin was changed to an input and is pulled high after the DHT is done. So the DHT11 still sees the transition from high to low and the 18ms ...
by Goey
Thu Oct 25, 2012 7:32 pm
Forum: Projects
Topic: DHT11 Humidity & Temperature Sensor
Replies: 9
Views: 45786

Re: DHT11 Humidity & Temperature Sensor

I'll have to look into why I/O(0)=1 was not flagged as an error in the compiler. Does the DHT11 conform to the Dallas one-wire protocol? If it does, try the one wire library ONEWIRE.bas That I/0(7) = 1 was due to me editing the code after the Bulletin Board reformated the margins/ spacing in the po...
by Goey
Thu Oct 25, 2012 7:09 am
Forum: Projects
Topic: DHT11 Humidity & Temperature Sensor
Replies: 9
Views: 45786

DHT11 Humidity & Temperature Sensor

As a first ARMbasic project, I thought I would try to get a DHT11 Humitity/Temperature sensor working with the Basic Chip. The DHT11 sensor is a cheap import available on Ebay and elsewhere for less than $3.00 (US). It uses a propriatary one-wire interface where after a 18ms low start signal is rece...