Code Monkey home page Code Monkey logo

m5stack-sam's Introduction

M5Stack-SAM

Fast and dirty minimalist application menu for M5Stack.

Integrated applications:

DHT12 - Temperature / Humidity, Stopwatch, I2C scanner
Bluetooth BLE Beacon Simulator (iBeacon, Eddystone TLM + URL, ALTBeacon)
QRCODE generator
GY-512 (MPU6050) - gyro/accelerometer
SerialBridge - PASS-THRU USB<->UART2
WiFi SCANNER

Settings:

Display backlight

Other:

System information - CPU Speed, Flash Size, Flash SPEED, SDK Version .......
Sleep mode
Serial control at 115200 8N1 and NL&CR termination

I be glad when you share the further development, I will continuously add other applications and options.

QRCode showing:

QRPrint("www.google.com");

SimpleBeacon:

ble.iBeacon(10,20,50); // ble.iBeacon(MajorCode,MinorCode,Power);
ble.EddystoneTLM(2048,512,100,1024); // ble.EddystoneTLM(Voltage,Temperature,packetCount,timeSECfromPowerUp);
ble.EddystoneURIPlain(1,"brmlab.cz",1); // ble.EddystoneURIPlain(prefix,"url.url",Power);
	prefix:
		0	http://www.
		1	https://www.
		2	http://
		3	https://
ble.AltBeacon();

Serial commands:

Serial control at 115200 8N1 and NL&CR termination

wifiscan - scan for WiFi networks

i2cscan - scan I2C BUS for devices

bright [0-255] - display bright
    	EXAMPLE: bright 128
	
clr - clear display

sleep - power sleep, wakeup on BTN_B

qrc [text] - show QRCODE with text
	EXAMPLE: qrc www.google.com

Send iBeacone message
ibeacon [major code 0-65535] [minor code 0-65535] [power 0-255]
	EXAMPLE: ibeacon 1024 2048 50

Send Eddystone TLM message
eddystonetlm [voltage 0-65535] [temperature 0-65535] [pocket cound 0-4294967295] [second from up 0-4294967295]
	EXAMPLE: eddystonetlm 100 200 300 400

Send Eddystone URL message
eddystoneurl [prefix 0-3] [power 0-255] [url]
	EXAMPLE: eddystoneurl 1 1 google.com
	PREFIXES:
		0	http://www.
		1	https://www.
		2	http://
		3	https://		

Based on:

https://github.com/Kongduino/M5_QR_Code
https://github.com/ricmoo/qrcode
https://github.com/kroimon/Arduino-SerialCommand

m5stack-sam's People

Contributors

tomsuch avatar

Watchers

James Cloos 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.