Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:proiecte:2025sric:smarthome_application [2025/05/28 23:12]
lucian_stefan.barbu [Challenges]
iothings:proiecte:2025sric:smarthome_application [2025/05/28 23:21] (current)
lucian_stefan.barbu [Challenges]
Line 69: Line 69:
 2. MQ-2 gas sensor only has a digital output so was unable to read the actual value read by the sensor (it only acts as a notifier for when the measured value passes a certain threshold). The threshold was set using the sensors datasheet and a potentiometer installed on the sensor'​s module. 2. MQ-2 gas sensor only has a digital output so was unable to read the actual value read by the sensor (it only acts as a notifier for when the measured value passes a certain threshold). The threshold was set using the sensors datasheet and a potentiometer installed on the sensor'​s module.
  
 +3. In the final configuration the photoresistor module'​s output is connected to pin 4 of the ESP32 dev board (the only remaining working pin with an ADC). It seems that pin 4 is also used for Wi-Fi communication so while the ESP32 is connected to Thingsboard the board is not able to read the sensor'​s value. However, to demonstrate that the sensor works and ESP is able to read its value a small script was attached below.
 +
 +{{:​iothings:​proiecte:​2025sric:​light.jpg?​200|}}
 ====== References ====== ====== References ======
  
iothings/proiecte/2025sric/smarthome_application.1748463169.txt.gz · Last modified: 2025/05/28 23:12 by lucian_stefan.barbu
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0