I have a sensor system which is working perfectly on an Electron. Pin definitions etc all good, works a treat. It puts out temp / humidity, PIR, light and a few other sensors no problem at all, currently routed through Particle’s cloud.
I dropped that firmware over to a Photon so that I’ve got it setup on WiFi and not on cell. Got the firmware on, fired it up - all works fine, but sensor values are all over the place.
One sensor seems to work fine, but temp / humidity are 0 and light is up and down all over the place.
All sensors are powered separately with the DO / AO running into the pins defined on the Photon. It’s the same sensors into the same pins so no idea why I’m getting it working fine on the Electron but not on the Photon?
Also the code seems to not be the issue - is compiled, flashed and publishing as it should. All sensors are the same so all libraries should suit - honestly can’t think why something is interfering with the sensor values.
Anyway, help much appreciated!
Thanks in advance, all the best.