Ir al contenido

¡Bienvenido!

Comparta y comente sobre el mejor contenido y las mejores ideas de marketing. Construya su perfil profesional y conviértase en un mejor mercadólogo.

Inscribirse

Debe estar registrado para interactuar con la comunidad.
Esta pregunta ha sido marcada
2 Respuestas
2648 Vistas

Hello

I've got a dimmer with temp control from you but there's no information on how to use it. Could you please explain? If it's just a thermistor between VCC and TEMP ping then please provide it's characteristics to read data with ADC.

Avatar
Descartar
Mejor respuesta

Pretty brutal support here. I was able to reverse it out of this repo: https:/github.com/robotdyn-dimmer/rbdimmerThermalESP32

It looks like its an NTC thermistor with B constant of 3950 at 25C at 10kOhm.  If you want to use it in ESPHome you could do it like this:


sensor:
  # Read raw voltage from the pin
  - platform: adc
    pin: ${ntc_pin}
    id: ntc_voltage
    attenuation: 12db
    update_interval: 5s
    
  # Convert Voltage to Resistance
  # Circuit: 3.3V -> 10k Resistor -> Pin -> NTC -> GND
  - platform: resistance
    id: ntc_resistance
    sensor: ntc_voltage
    configuration: DOWNSTREAM
    resistor: 10kOhm
    name: "NTC Resistance"
    internal: true # Hide from Home Assistant if not needed

  # Convert Resistance to Temperature (Steinhart-Hart / Beta)
  - platform: ntc
    sensor: ntc_resistance
    name: "Measured Temperature"
    id: current_temperature
    calibration:
      b_constant: 3950
      reference_temperature: 25C
      reference_resistance: 10kOhm
Avatar
Descartar
Autor Mejor respuesta

Anyone?

Avatar
Descartar

Su respuesta

Intente dar una respuesta sustancial. Si desea hacer un comentario sobre la pregunta o la respuesta, utilice la herramienta de comentarios. Recuerde que siempre puede revisar sus respuestas, no es necesario responder dos veces a la misma pregunta. No olvide votar, ayuda a seleccionar las mejores preguntas y respuestas