Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling humidity sensor doesn't work #3

Open
benadler opened this issue Feb 5, 2014 · 1 comment
Open

Enabling humidity sensor doesn't work #3

benadler opened this issue Feb 5, 2014 · 1 comment

Comments

@benadler
Copy link

benadler commented Feb 5, 2014

Helllo Mike,
this is a cheap shot to make you look at http://e2e.ti.com/support/low_power_rf/f/538/p/311948/1097759.aspx

I cannot get the humidity sensor to work with my SensorTag, using either gatttool or sensortag.py. Could you please verify that it works on your SensorTag using both sensortag.py and show me a log of how you do it manually using gatttool?

If you could get it to work, I'd assume that mine is broken and just order a new one.

Thanks for your help!
ben

@mvartani76
Copy link

Hey Ben,

Thanks for the email. I took a look at the TI post and was able to read 4 bytes from the humidity sensor as shown below...

pi@raspberrypi3 ~ $ sudo gatttool -b 34:B1:F7:D1:40:56 --interactive
[34:B1:F7:D1:40:56][LE]> connect
Attempting to connect to 34:B1:F7:D1:40:56
Connection successful
[34:B1:F7:D1:40:56][LE]> char-write-cmd 0x3c 01
[34:B1:F7:D1:40:56][LE]> char-read-hnd 0x38
Characteristic value/descriptor: 28 64 ce 4c
[34:B1:F7:D1:40:56][LE]>

If there is anything that you want me to try on my sensor tag to help you debug your issue, I would be glad to help.

Thanks,
Mike

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants