Jump to content
Electronics-Lab.com Community

JamesMVictoria

Members
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by JamesMVictoria

  1. On 3/3/2024 at 11:08 PM, CETECH said:

    This project will allow you to monitor environmental conditions in your home automation setup. Here are the steps to achieve this:

    Integrating DHT11 with Beetle ESP32 C3 and Home Assistant

    1. Components Required

    Before we begin, gather the necessary components:

    • BeetleESP32C3 development board
    • DHT11 temperature and humidity sensor
    • Jumper wires
    • USB cable for programming
    • A computer with the Arduino IDE or ESPHome installed

    Get PCBs for Your Projects Manufactured

    2_sS1dUXE2bz.PNG?auto=compress%2Cformat&
     

    You must check out PCBWAY for ordering PCBs online for cheap!

    You get 10 good-quality PCBs manufactured and shipped to your doorstep for cheap. You will also get a discount on shipping on your first order. Upload your Gerber files onto PCBWAY to get them manufactured with good quality and quick turnaround time. PCBWay now could provide a complete product solution, from design to enclosure production. Check out their online Gerber viewer function. With reward points, you can get free stuff from their gift shop. Also, check out this useful blog on PCBWay Plugin for KiCad from here. Using this plugin, you can directly order PCBs in just one click after completing your design in KiCad.

    2. Flashing ESPHome to Beetle ESP32 C3

    • Install ESPHome on your computer. You can follow the instructions in my previous blog.
    • Create an ESPHome configuration file (e.g., dht11.yaml) with the following content:
    image_BoOe6ZD4e4.png?auto=compress%2Cfor
     
    sensor:
    - platform: dht
    pin: 0
    model: dht11
    temperature:
    name: "Living Room Temperature"
    humidity:
    name: "Living Room Humidity"
    update_interval: 5 s
    • Replace placeholders (YourWiFiSSID, YourWiFiPassword, etc.) with your actual values.
    image_hwgwkuf7fw.png?auto=compress%2Cfor
     
    • Compile and upload the configuration to your Beetle ESP32 C3 using the ESPHome CLI.
    image_LELpJf6DIg.png?auto=compress%2Cfor
     
    image_5E5fvBvo4g.png?auto=compress%2Cfor
     

    3. Integrating with Home Assistant

    • Open Home Assistant.
    • Click on Configuration (bottom left) and go to Integrations.
    • Click the + button and select ESPHome.
    • Enter the IP address of your ESP32 (leave the port as 6053) and click Finish.
    image_tTo9qqXE9z.png?auto=compress%2Cfor
     

    4. Viewing Temperature and Humidity

    • Once integrated, Home Assistant will discover the Beetle ESP32 C3 module and create entities for temperature and humidity.
    • You can access these entities in Home Assistant’s dashboard and display them as cards or graphs.
    image_r55UgZuUPN.png?auto=compress%2Cfor
     

    And that’s it! You’ve successfully integrated the DHT11 sensor with your Beetle ESP32 C3 and Home Assistant. Feel free to customize and expand this project based on your needs. Happy monitoring! 🌡️💧🏠

    Thanks for sharing it, I will surely check it.

  2. On 7/15/2023 at 3:59 AM, Pete Ballotta said:

    One of my teammates is working on an open Hardware Project that I thought to share. The product they’re developing is a bee hotel for native bees (not honeybees)! At the SF Climate hackathon, they integrated the Particle Argon onto a PCB with solar panels, MPPC, and a PWM PIR sensor for the bees. Here’s the link to the schematics, layout and 3D. I'll add a 3D screenshot at the bottom of the post.

    "A little bit of background, a native bee hotel houses sedentary bees which lay their eggs in tube structures, like hollow plant stems. We want to use PIR sensors along the tubes to get bee traffic data and build a country-wide bee traffic map.

    Solar Cells
    I’ve bumped into the IXYS KXOB25 series before and loved them for their reflowability. I wanted to connect them in parallel so the only constraint was that their output voltage is less than 5V, which is the maximum input voltage of the energy harvesting IC.

    Energy Harvesting
    I chose the LTC3105EDD 15 because I’ve seen it used to maximize solar cell power output in some nanosatellite projects I’ve browsed in the past. Although it doesn’t have an actual MPPT algorithm, it has a very attractive 250mV startup voltage which can potentially increase the times of day our device will provide power (dawn, dusk, cloud cover). All this needs real world testing which is coming next week.

    PIR Sensors
    These are paired infrared transmitters and receivers. As seen in the 3D view, we’re using 2 of them per bee tube to determine which direction the bees are going (in or out of the tube). Of course, this would need to be done in firmware. To save power (because these PIR diodes are super power hungry, we added a low side MOSFET that switches all three strings of PIR diodes (they are strung in series to get 1.1V drive from a 3.3V source). In theory, we can decrease the PWM duty cycle to as low as the PIR’s rise time and set the frequency to 1Hz which would save so much power.

    image.thumb.png.a897ab2f63dbb7c964eab8459484ae98.png

     

    Future Steps
    Here are the unknowns that we’ll be researching. I already see some good answers in the forums, but please feel free to chime in! I’ve played with Edge Impulse in the past and we want to run a small tflite model on particle hardware that would determine what type of bee is in the hotel based on a short audio sample. We also want to send this data to a central server hosted by particle; in your experience how many weeks/months would it take to setup particle cloud to get up to 100 provisioned devices sending about 50 bytes of data to a central server? It would be awesome if we can get that done quickly."

    Nice one, I like it.

×
  • Create New...