Giter Site home page Giter Site logo

mym5stackexamples's Introduction

MyM5StackExamples

Some examples for M5Stack devices.

M5Atom

  • atom_dtu_nb_iot.py : send AT command and wait for response

M5AtomS3

  • DeepSleepTest.ino : Deep sleep test to measure current

M5Core2

  • DeepSleepWakeFromTouch.ino : put ESP32 into deep sleep then wake when screen is touched
  • LightSleepWakeFromTouch.ino : put ESP32 into light sleep then wake when screen is touched
  • IotBasePSM.py : button A powers modem on; button B sends AT command; button C puts modem into power save mode
  • SimpleTone.py : play a tone

M5CoreInk

  • CountDownThePowerOff.py : count down from 10 then power off

M5CoreS3

  • CamToLCD.ino : take picture from camera and show on LCD
  • SDCard.ino : init SD card (Note: breaks LCD)
  • SDCardAndLCD.ino : SD card and LCD both work
  • TouchRandomCircle.ino : Touch to draw random colored circle
  • TouchButtonABC.py* : Button A, B and C at the bottom

M5Dial

  • GC9A01_demo.ino : TFT demo

M5LANBase

  • LinkTest.ino : LAN Base link test for M5Core, M5Core2, M5Tough and M5CoreS3

M5Paper

  • GestureSensor.ino : read gesture sensor and display result
  • I2CScanInternalAndAllPorts.ino : i2c scan (internal and port A, B und C).
  • NonFlickeringUpdateAfterShutdown.ino : display non flickering count after waking up from shutdown
  • ShutdownWakeAfterHours.ino : Shutdown (after being turned on by power button) and wake up after 7 hours by RTC
  • Lightsleep.py : put ESP32 into light sleep for 60 seconds

M5Stack

  • Cam2CoreExtended.ino : receive data from TimerCam and display on LCD; use button A, B and C to change frame size
  • OTAoverLTE.ino : firmware update over the air using an LTE modem

M5StampC3

  • NonBlockingBlink.ino : blink LED w/o using delays
  • Unit4RelayDemo.ino : turn relay on / off over i2C every second

M5Station

  • LEDTest.ino : change LED color every half second
  • RS485ModbusACSSR.ino : use RS485 port with Modbus protocol; button A turns relay on; button B reads the firmware of the relay; button C turns the relay off

M5Tough

  • LightSleepWakeFromTouch.ino : put ESP32 into light sleep then wake when screen is touched
  • RS485ModbusACSSR.ino : use RS485 port with Modbus protocol and toggle ACSSR relay on / off every 800 ms
  • ThreeBottomButtons.py : three bottom button for M5Tough

mym5stackexamples's People

Contributors

felmue avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.