Add a Display to Your DIY Project (Beginner Friendly!)

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 35

  • @kherhitesh
    @kherhitesh 2 місяці тому

    Very nice guide, superb 👍

    • @ResinChemTech
      @ResinChemTech  2 місяці тому +1

      Thanks so much! I greatly appreciate the comment.

  • @Tntdruid
    @Tntdruid 6 місяців тому +3

    Very nice guide, was looking for one for displays 👍

    • @ResinChemTech
      @ResinChemTech  6 місяців тому +4

      Thanks. A pretty long video (with a fair amount of repetition), but I figure most folks will be looking for one particular type of display or another and will skip ahead to those sections and not necessarily watch the entire thing from start to finish. Therefore I wanted each display to sort of stand on its own for those only interested in one or two different options.
      Thanks for watching and thanks for the comment!

    • @Tntdruid
      @Tntdruid 6 місяців тому +3

      Long is not a problem for me 👍

  • @maschinenorganismus
    @maschinenorganismus 5 місяців тому +1

    Like your style, right to the point. Keep it up!

    • @ResinChemTech
      @ResinChemTech  5 місяців тому +1

      Thanks... I appreciate the kind words!

  • @DaveA-sb7ue
    @DaveA-sb7ue 5 місяців тому

    What a great video! Lots of good information on the displays and use. I have a dozen temp and humidity sensors around the house and can see adding a display to the case would be a cool project . Thanks for the information and adding another project to my project list. Keep up the great work! Excellent t-shirt by the way!

    • @ResinChemTech
      @ResinChemTech  5 місяців тому

      Thanks Dave! While most the stuff we do can always be displayed on a Home Assistant dashboard, have a local display can be nice for many things as well.
      Oh... and thanks for noticing the t-shirt!

  • @k9slover
    @k9slover 3 місяці тому

    Very good video. Well explained and straightforward. I have subscribed.

    • @ResinChemTech
      @ResinChemTech  3 місяці тому

      Thanks! I appreciate it... and welcome to the channel!

  • @rachaelb9164
    @rachaelb9164 5 місяців тому

    OMG I love your shirt. It’s exactly what I said when I was having issues with my LED’s flashing and added a resistor lol.

    • @ResinChemTech
      @ResinChemTech  5 місяців тому

      Thanks! Sometimes it's amazing what a difference a little resistors can make.
      Thanks for watching!

  • @k9slover
    @k9slover 3 місяці тому

    Thanks!

    • @ResinChemTech
      @ResinChemTech  3 місяці тому

      Thanks so much! It is greatly appreciated!

  • @binarybox.binarybox
    @binarybox.binarybox 5 місяців тому

    Well presented with a lot of info. I've built projects with 7 seg and oled for GPS displays and 8x8 MAX7219 for scrolling text with bluetooth ....all using arduino but hope to try other controllers if I get the time.

    • @ResinChemTech
      @ResinChemTech  5 місяців тому

      Most of my projects that use a display of some sort are Arduino-based as well, but I have a few that use ESPHome. ESPHome is nice when you need something with native integration into Home Assistant, but Arduino generally give you more advanced features.
      Thanks for watching!

  • @derekluckhurst9406
    @derekluckhurst9406 5 місяців тому

    Very nice guide. I was doing a project previously and was trying to add static text after a home assistant value and could not figure out the syntax. I could get test before the value, but not after. I even tried using a seperate print statement, but that created layout issues.
    Is this possible?

    • @ResinChemTech
      @ResinChemTech  5 місяців тому +1

      Thanks. You can certainly add static text after the value. In fact, if you go back and watch the section where I am using the temperature from the DHT22 sensor, you'll see that I added a static °C after the value from the sensor.
      The formatting can be a bit tricky, especially if you aren't familiar with using printf in Arduino. But you can add static text before or after a format string (or both). For example, again using temperature as an example, I could do something like: printf(.... , "The basement temperature is %.1f °C", id(sensor).state);
      The value (or state) of the sensor would be dropped into the format string that begins with "%" and the output to the display would be: The basement temperature is 21.9 °C
      Just make sure you leave a space after the format string and before any trailing text. Otherwise, your static text will be seen as part of the format structure... and this will likely cause a syntax or other error. Hope that info helps!

  • @dartfrogdk
    @dartfrogdk 5 місяців тому

    Very Very nice tutorial, great job

    • @ResinChemTech
      @ResinChemTech  5 місяців тому

      Thanks! I appreciate the comment.

  • @Ron_Rhodes
    @Ron_Rhodes 5 місяців тому

    Have you checked out the CYD, the Cheap Yellow Display with an ESP32 built in? I got some of the example code to work, but could not get my own code working using display, touch, sound, and SD card working at the same time.

    • @ResinChemTech
      @ResinChemTech  5 місяців тому

      I did run across those in my research of some of these other displays, but I haven't tried one. I've received a number of "offers" from various sellers that have a display with an ESP32 integrated, but I rarely do product reviews on my channel, so despite the offer of a "free" board or display in exchange for a review, I turn those down. If I had a particular need for one and I felt like it would fit with my channel, I would possibly consider it. But if I ever come up with a use case for my home, I would definitely consider picking one up and giving it a try.
      Thanks for the comment!

  • @k9slover
    @k9slover 3 місяці тому

    Got everything to work except the last part, using platform of homeassistant. When you say sensor.temperature_sensor, I assume "temperature_sensor" is the sensor name in the sensor definition (in the other esp32device) , but is the first part, "sensor" the device name, friendly name, or the word sensor? I have tried them all. I haven't found anything but very brief documentation online. Thanks.

    • @ResinChemTech
      @ResinChemTech  3 місяці тому

      I'm happy to try to help you out, but I need just a bit more info in terms of what you are referring to. Which display and which particular part of the video are you referencing? "sensor" as used in ESPHome is the integration type. So, you would have entities like: sensor._some_name_, light._some_name_, switch._some_name_. So I'm not 100% sure what you referring to when you say you are using a platform of homeassistant. But if I am following you, then yes "temperature_sensor" would be the entity name.
      If you can just give me some more details about what you are attempting to do and any other info you think might be helpful, I'm glad to try to answer your questions.

    • @k9slover
      @k9slover 3 місяці тому

      @@ResinChemTech Thanks, I thought I was in business after finding how the entity_id was formed in the ESPHOME documentation, but still getting a nan.
      I have a temp sensor in the kitchen: (relevant part of the yaml)
      esphome:
      name: espkitchentemp
      friendly_name: ESPKitchenTemp
      and
      sensor:
      - platform: dht
      pin: GPIO26
      temperature:
      name: "Temperature"
      humidity:
      name: "Humidity"
      update_interval: 60s
      for the sensor. I have another ESP32 with a sensor, and wanted to see if I could do as you did. Get data from another ESP32.
      in the bedroom:
      sensor:
      - platform: homeassistant
      name: "Kitchen_Temp"
      entity_id: sensor.espkitchentemp_temperature
      id: tempk
      forming the entity_id as I thought it wanted, with a printf of tempk, but I get a nan. Using a 20 by 4 LCD display, which seems to be working as it should.

    • @k9slover
      @k9slover 3 місяці тому

      Finally. I had done many searches online, and the thing that was missing was to include each (I did both) ESPHome devices, making them available to Home Assistant. That check box back in Integrations that I did not give much thought to before. Thanks for your help, and I will be checking out your other videos.

    • @ResinChemTech
      @ResinChemTech  3 місяці тому

      Yay! Glad you got it working! Congrats!

  • @rrrrrrrr290
    @rrrrrrrr290 5 місяців тому

    I followed your video to make weather display using ili9341 screen, had to conect led pin to 3.3 v to make work , wount work on pin gpio21.

    • @ResinChemTech
      @ResinChemTech  5 місяців тому +1

      If you use a GPIO pin, you must define this pin as an output component and then include that output in a light component in ESPHome. This allows you to set the brightness of the backlight using PWM. Or you can just set the pin to high for always-on full brightness. In effect, this provides the 3.3V that the backlight needs. I didn't show that here as I only include basic snippets of code. But it covered in the full ESPHome documentation. For Arduino, you can just set the GPIO pin to output/high or define PWM as well.
      Sorry for any confusion. Time simply did not permit me to fully cover either the ESPHome or Arduino code for each display, but the links I provide in the written guide do contain complete examples. But as you found, you can also just use 3.3V for the LED backlight if desired... there just won't be a way to turn the backlight off as opposed to using a GPIO pin.

    • @rrrrrrrr290
      @rrrrrrrr290 5 місяців тому

      @@ResinChemTech just got it working this way, thanks for your help
      thinking of adding motion sensor to turm back lifgt on and off