BS1 and SHT1x Temperature Sensor
shawnerz
Posts: 6
All,
Short version: Can the BS2 SHIFTOUT command be bit banged on the BS1?
Long version: Several years ago, I ordered a SHT11 temperature and humidity sensor for use with a BS1. It's been sitting around doing nothing for almost 8 years. I had some idle time and thought I'd play with the SHT11 and Stamp. I ordered 2 BS1's. Then, I found the SHT11 was made to talk to the BS2-not the BS1.
The example code uses BS2 commands. Specifically, SHIFTOUT. SHIFTOUT isn't supported in BS1. Can the BS1 manually preform the same function as SHIFTOUT? If show, is there some example code?
Thank you,
-Shawn
Short version: Can the BS2 SHIFTOUT command be bit banged on the BS1?
Long version: Several years ago, I ordered a SHT11 temperature and humidity sensor for use with a BS1. It's been sitting around doing nothing for almost 8 years. I had some idle time and thought I'd play with the SHT11 and Stamp. I ordered 2 BS1's. Then, I found the SHT11 was made to talk to the BS2-not the BS1.
The example code uses BS2 commands. Specifically, SHIFTOUT. SHIFTOUT isn't supported in BS1. Can the BS1 manually preform the same function as SHIFTOUT? If show, is there some example code?
Thank you,
-Shawn
Comments
As to the SHT1x, there should be no problem to read in the raw data and to get the temperature. The humidity on the other hand takes some fancy math that is probably beyond the capability of the Stamp 1.
Thanks,
-Shawn