This is a weird problem. I didn't have it before when I used the pmod on the 3.6
Very simple setup.
This RH sensor: https://reference.digilentinc.com/pmod/pmodhygro/start
Standard Teensy 3.2
3.3v and ground from teensy (right next to the 3.3V source, above pin 23)
Tried both analog and digital grounds (GND and AGND)
Tried swapping SLC and SDA (pin 18, 19)
Tried removing the pull up resistor jumpers and no go. only works with jumpers in place.
Code is from digilent https://reference.digilentinc.com/_media/reference/pmod/pmodhygro/pmodhygro_library_demo.zip
I upload the code and check the serial monitor. I get the following repeating forever
"TEMPERATURE=-40.00 degrees Celsius; HUMIDITY=0.00 percent Relative Humidity"
if while running, I disconnect and reconnect the pmod ground, I get a real reading
"TEMPERATURE=25.52 degrees Celsius; HUMIDITY=39.71 percent Relative Humidity"
This reading also repeats forever unless I disconnect and reconnect ground.
The teensy works perfectly fine with two other devices (MS5803 pressure sensor on SPI, and the teensyview which I think is also SPI)
Very simple setup.
This RH sensor: https://reference.digilentinc.com/pmod/pmodhygro/start
Standard Teensy 3.2
3.3v and ground from teensy (right next to the 3.3V source, above pin 23)
Tried both analog and digital grounds (GND and AGND)
Tried swapping SLC and SDA (pin 18, 19)
Tried removing the pull up resistor jumpers and no go. only works with jumpers in place.
Code is from digilent https://reference.digilentinc.com/_media/reference/pmod/pmodhygro/pmodhygro_library_demo.zip
I upload the code and check the serial monitor. I get the following repeating forever
"TEMPERATURE=-40.00 degrees Celsius; HUMIDITY=0.00 percent Relative Humidity"
if while running, I disconnect and reconnect the pmod ground, I get a real reading
"TEMPERATURE=25.52 degrees Celsius; HUMIDITY=39.71 percent Relative Humidity"
This reading also repeats forever unless I disconnect and reconnect ground.
The teensy works perfectly fine with two other devices (MS5803 pressure sensor on SPI, and the teensyview which I think is also SPI)