Это видео недоступно.
Сожалеем об этом.

No Arduino for my smart home sensor?

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • No Arduino for my smart home sensor?
    I will go through the hardware requirements of the features of my smart home sensor.
    DHT22 (AM2302), LDR, MH-Z19C, HC-SR501, HW-484, MLX90640, BUZZER, IR LED, TSOP 31240, RFM12, HM-10, RM1000.
    I also talk about how the communication could work using
    UART, I2C (TWI), CAN, WIFI, RS485 and ETHERNET
    And how to power the smart home sensor

Комментарии • 8

  • @dboyd462
    @dboyd462 Месяц назад

    Something to keep in mind, the PIR sensor you selected has issues with false triggers when used in close proximity to any device with WiFi. I made a sensor using a D1 Mini and that same PIR device and it worked great in testing on the breadboard. I made a small 3D printed case for the two boards and after putting everything together, the PIR sensor continued to give a false trigger. I tried every adjustment in the device and in code (ESP Home) I could think of with no luck. I also tried using both 3.3v and 5v with that same issues. I decided to lay everything out on my bench one day to teast and it worked as expected. A bit of internet research and I learned about the wifi interference issue with that particular board.

    • @playduino
      @playduino  Месяц назад

      Very interesting! Thanks for this information! Let’s see if I experience some similar effects because some of the sensors will be placed next to my wifi access points.

    • @dboyd462
      @dboyd462 Месяц назад +1

      @@playduino I think the issue is the proximity to the wifi chip on the board. I'll be curious to hear your results. When I had the two boards in the case the D1 Mini was flat and the PIR board perpendicular to it. When I has them on the breadboard, both flat I didn't notice the issue.

  • @NormanNodDunbar
    @NormanNodDunbar Месяц назад

    The Uno has more than two external interrupts according to the data sheet. Apart from INT0 & INT1, there are Pin Change Interrupts on all pins. They take a little more setup than the other 2, but are just as useful. Just FYI.
    Cheers,
    Norm. (Author of Arduino Interrupts.)

    • @playduino
      @playduino  Месяц назад +1

      Thank you for sharing :)
      This looks like an interesting topic for another video :) however the main problem I see is that all pins from the same port trigger the same interrupt vector.
      So I guess this is the little more setup you mentioned is required, because I need to find out which pin fired the interrupt.

    • @NormanNodDunbar
      @NormanNodDunbar Месяц назад

      @@playduino That's correct. You have to enable the interrupt on any desired port, then set a mask for the individual pins
      In the ISR you have to work out which pin(s) triggered the interrupt. But it's not difficult to do. (Ahem, see my book!!! 😉)
      And, this is pretty much what you do with interrupt handling on the ESP32 microcontrollers too. Many Interrupts, same handler.
      Cheers

  • @Volker-Dirr
    @Volker-Dirr Месяц назад

    hmm... unexpected twist. So the next videos will be all about the Olimex (What do you guess how many videos only about Olimex?) and will there come new Arduino videos (let's say in the next ~6 months)?

    • @playduino
      @playduino  Месяц назад +1

      My original plan was to use Arduino for this sensor as well, I even purchased all the components required for the CAN bus 😅, however then I stumbled across this Olimex board with POE and it is a perfect fit for this project. So there will be more videos about this ESP32 based hardware that I am in the process of designing. My goal is a nice mixture of Arduino Videos and other related projects 👾.