Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. pradeep
    3. Posts
    P
    • Continue chat with pradeep
    • Start new chat with pradeep
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by pradeep

    • Timer camera X

      How do turn on timer camera x when using arduino web cam example with wifi connection.

      posted in Modules
      P
      pradeep
    • Temperature sensor with CORE2 AWS

      Im using Grove - Temperature Sensor V1.2 with M5Stack AWS Edu kit,...im using the same example code given by seeeds wiki. It perfectly worked with my arduino.. But in m5stack it gives nan, and the raw values are 3400.00,3900.66 likes this, can anyone help me to resolve this...
      .................................Code.....................................
      // Demo code for Grove - Temperature Sensor V1.1/1.2
      // Loovee @ 2015-8-26

      #include <math.h>

      const int B = 4275; // B value of the thermistor
      const int R0 = 100000; // R0 = 100k
      const int pinTempSensor = A0; // Grove - Temperature Sensor connect to A0

      #if defined(ARDUINO_ARCH_AVR)
      #define debug Serial
      #elif defined(ARDUINO_ARCH_SAMD) || defined(ARDUINO_ARCH_SAM)
      #define debug SerialUSB
      #else
      #define debug Serial
      #endif

      void setup()
      {
      Serial.begin(9600);
      }

      void loop()
      {
      int a = analogRead(pinTempSensor);

      float R = 1023.0/a-1.0;
      R = R0*R;
      
      float temperature = 1.0/(log(R/R0)/B+1/298.15)-273.15; // convert to temperature via datasheet
      
      Serial.print("temperature = ");
      Serial.println(temperature);
      
      delay(100);
      

      }
      ................................................................................

      posted in Core2 for AWS
      P
      pradeep
    • RE: AWS Edukit as normal Core2 for Uiflow

      @stanely could you explain the process little brief, becs im a new to this... and i want to control the RGB s in arduino ide... Is it possible... Help me..

      posted in Core2 for AWS
      P
      pradeep