Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. mamtho
    M
    • Continue chat with mamtho
    • Start new chat with mamtho
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    mamtho

    @mamtho

    0
    Reputation
    4
    Posts
    1165
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    mamtho Follow

    Posts made by mamtho

    • M5Camera Model B Webserver with ENVII Sensor

      I'm using a M5Camera Model B and want to connect a ENV II Unit to the Camera.

      My Configuration:
      PSRAM Camera Module with ESP32 WROVER (OV2640)
      https://m5stack.com/products/esp-32-camera-psram?_pos=4&_sid=28095ece7&_ss=r
      1 to 3 HUB Expansion Unit
      https://m5stack.com/collections/m5-unit/products/mini-hub-module
      ENV II Unit with Temperature Humidity Environment Sensor (SHT30+BMP280)
      https://m5stack.com/collections/m5-unit/products/env-ii-unit?variant=32128295698522
      Extend Serial I/O Unit (PCA9554PW)
      https://m5stack.com/collections/m5-unit/products/official-extend-serial-i-o-unit

      Has anybody an Example ino for to do i get the Groove working with the CameraWebserver.

      Which Board should I use, actually I use M5Stick-C -> Partition no OTA this works with the CameraWebserver

      The Camera should work as a Webserver this already works. but how can i add the ENV II Unit and later a Serial I/O Modul?

      I tried to combine these Codes, but I get some Errors.

      https://github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/Camera/CameraWebServer
      https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ENVII/Arduino/ENVII

      The first Problem was a conflict Adafruit_Sensor sensor_t already exists in esp_camera so i changed it in Adafruit to sensor_te. But now it tells me the sketch is too big. I only added the ENV II to the CameraWebserver for now.

      text section exceeds available space in boardSketch uses 2158522 bytes (102%) of program storage space. Maximum is 2097152 bytes.

      Global variables use 55560 bytes (16%) of dynamic memory, leaving 272120 bytes for local variables. Maximum is 327680 bytes.

      if anyone has a Solution this would be great.

      thanks
      Thomas

      posted in Arduino
      M
      mamtho
    • RE: Atom Lite ENV II with 3A mini Relay

      Connecting the Relay on the bottom side works fine.

      But i want it on the Groove, so the GPIO Expander will be my Solution.
      Thats what i'm looking for.

      Thank you

      posted in Atom
      M
      mamtho
    • Atom Lite ENV II with 3A mini Relay

      I will switch the heating on if the sensor say i'm under a defined Temp.
      but i have a Problem with the Relay.

      Hi I'm use the following parts.

      ATOM Lite
      https://docs.m5stack.com/#/en/core/atom_lite
      HUB
      https://docs.m5stack.com/#/en/unit/hub
      ENV II
      https://docs.m5stack.com/#/en/unit/envII
      Relay:
      https://docs.m5stack.com/#/en/unit/relay

      1. i have connected the HUB with the Atom Lite
      2. i have connected the ENV II with the HUB

      itis working with this Code.

      #include "M5Atom.h"
      #include <Wire.h>
      #include "Adafruit_Sensor.h"
      #include <Adafruit_BMP280.h>
      #include "SHT3X.h"
      SHT3X sht30;
      Adafruit_BMP280 bme;

      float tmp = 0.0;
      float hum = 0.0;
      float pressure = 0.0;

      void setup()
      {
      M5.begin(true, false, true);
      Wire.begin(26, 32);
      Serial.println(F("ENV Unit(SHT30 and BMP280) test..."));
      while (!bme.begin(0x76))
      {
      Serial.println("Could not find a valid BMP280 sensor, check wiring!");
      }
      }

      void loop() {
      pressure = bme.readPressure();
      if(sht30.get()==0)
      {
      tmp = sht30.cTemp;
      hum = sht30.humidity;
      }
      Serial.printf("Temperature: %2.2f*C Humidity: %0.2f%% Pressure: %0.2fPa\r\n", tmp, hum, pressure);

      digitalWrite(26, HIGH);
      delay(500);
      digitalWrite(26, LOW);
      delay(500);

      delay(100);
      }

      After i connect the Relay to the HUB nothing is working.

      I also have a PbHUB, would it work with the PbHUB?

      Do you have an Code example with the Atom Lite?

      thank you

      posted in Atom
      M
      mamtho
    • Digital-Input Modul 24V

      Hi there,
      is there any existing Digital Input Module/unit which works with external 24V using something like optocoupler?

      It should have up to 16 digital IO extension, each with an separate optocoupler.

      So i can get 24V from any system like an Door closed Sensor.
      Each Door has his own 24V.

      It would be nice to extend this Inputs by combing more Moduls.
      An Grove Unit would be also good, which i can extend with an Hub.

      thx Thomas

      posted in General
      M
      mamtho