Search found 9 matches

by demJanus
17 Jun 2023, 16:31
Forum: ESP Easy: Software
Topic: Howto debug TCS3472 not working
Replies: 11
Views: 1707

Re: Howto debug TCS3472 not working

Hmm, an Arduino board is often 5V I/O Not all I2C chips can handle that well. The TCS breakout board has an LDO onboard and some level shifting. I would be running it on 3V, thats how it is documented on various places with the espeasy setup. At least the chip supply voltages in deed look fine with...
by demJanus
17 Jun 2023, 00:28
Forum: ESP Easy: Software
Topic: Howto debug TCS3472 not working
Replies: 11
Views: 1707

Re: Howto debug TCS3472 not working

Support for this sensor is already quite old, so you could try to install an older version of ESPEasy to see if that might work on your board. If it does, then at least you know the sensor is working and then we can look into whether something else might be broken in the software. Either in a newer...
by demJanus
16 Jun 2023, 23:25
Forum: ESP Easy: Software
Topic: Howto debug TCS3472 not working
Replies: 11
Views: 1707

Re: Howto debug TCS3472 not working

Is it possible the task will get disabled on its own? If so, then the device may not respond within its timeout. On the tools->Advanced page you may want to uncheck "Check I2C devices when enabled" and see if that makes a difference. How can the task get disabled on its own? How does that...
by demJanus
16 Jun 2023, 23:18
Forum: ESP Easy: Software
Topic: Howto debug TCS3472 not working
Replies: 11
Views: 1707

Re: Howto debug TCS3472 not working

Is the device address (0x29) shown when looking at the I2C Scan results? If not it may be a wiring issue. yes, it is shown there. I am sure that the wiring of the I2C connection is fine. How does the detection of the I2C devies work? If the device address is listed there, does that mean that one ca...
by demJanus
16 Jun 2023, 00:14
Forum: ESP Easy: Software
Topic: Howto debug TCS3472 not working
Replies: 11
Views: 1707

Howto debug TCS3472 not working

Hi, I have a D1 mini running ESP_Easy_mega_20221224_collection_A_ESP8266_4M1M.bin (mega-20221224_35f2ff8) I connected a TCS3472 breakout board (besides an ADC1115 and I have a custom pcb for my setup with reliable connectors, no breadboard or something, so I2C is working fine) I added "Color - ...
by demJanus
28 Apr 2023, 09:03
Forum: ESP Easy: Software
Topic: Formula >40 char with log()
Replies: 12
Views: 1330

Re: Formula >40 char with log()

Not sure what has precedence, ln or / That depends where/how you use it. Imho it should be out of question in that case. ln(x)/y == (ln(x))/y At least from a mathematicians view I think no one would expect the observed behaviour? When running ESPEasy on an ESP32, you have, besides more GPIO pins, m...
by demJanus
27 Apr 2023, 22:15
Forum: ESP Easy: Software
Topic: Formula >40 char with log()
Replies: 12
Views: 1330

Re: Formula >40 char with log()

Thanks, that works. The only Problem with that is that it fills up a slot and I am running out of them already :roll: Can one have more than 12? Btw. is this a bug in the rules parser? I need a parenthesis around the ln... this returns a wrong value: ln((10000*%eventvalue1%)/(3.3-%eventvalue1%)/1000...
by demJanus
27 Apr 2023, 18:24
Forum: ESP Easy: Software
Topic: Formula >40 char with log()
Replies: 12
Views: 1330

Re: Formula >40 char with log()

It is an ADS1115, and yes, some kind of filter would be nice there too. So in my case I have a "Device ADS1115_CH0". For the "Voltage" value I use the formula to calculate it as %value%*4.096/32768 I then add a Rule as follows (parenthesis was mising, you are right) On ADS1115_CH...
by demJanus
25 Apr 2023, 10:27
Forum: ESP Easy: Software
Topic: Formula >40 char with log()
Replies: 12
Views: 1330

Formula >40 char with log()

Hi, I would like to use a formula to convert an NTC reading to a temperature. The formula would be: T = (1/(log(%value%/(32768-%value%))/3988+0.003354)-278.4235 The isses are a) > 40characters b) log() needed and at least du to the doc not available. What are the best options to solve this? Preferab...