You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to get the code working with esp8266-12e. I assume the hardware is ok... tested with esp32 and followed #13 to determine the leds are swapped...but other than that seems to work correctly, at least if you have warm hands.
issues to build, the ones mentioned in #19 plus the need to have (all happens on a linux, plarform io)
void millis_to_hours(uint32_t ms, char* hr_str);
#ifdef USE_ADALOGGER
// blink three times if isOK is true, otherwise blink continuously
void blinkLED(const byte led, bool isOK)
#endif
before setup()
now success finishes here enabling debug I endup with the same numbers as shown below. looks to me like detection of presence does not work... any help appreciated.
int is connected to gpio12 that is d6, sda on d2, scl on d1
You may have a faulty sensor that does not produce any signal.
Yours is not a bug report of the algorithm and does not belong here, on GitHub, but in related hardware forums. I going to leave it on for some time, though, so that others who have experience with esp8266-12e can comment. After that I am going to close it.
@aromring the sensor works correctly with esp32 and your code. Except the swapped RED/IR leds, I have no issue with it when used with esp32.
Also the esp8266 works as expected, so I will remove the defective hw hypothesis.
it is just a matter of porting the code to other hw.
I try to get the code working with esp8266-12e. I assume the hardware is ok... tested with esp32 and followed #13 to determine the leds are swapped...but other than that seems to work correctly, at least if you have warm hands.
issues to build, the ones mentioned in #19 plus the need to have (all happens on a linux, plarform io)
before setup()
now success finishes here enabling debug I endup with the same numbers as shown below. looks to me like detection of presence does not work... any help appreciated.
int is connected to gpio12 that is d6, sda on d2, scl on d1
The text was updated successfully, but these errors were encountered: