-
1Prepare the M5Stack Core2
Following the documentation here to use M5 Burner so that your Core2 can connect over your wifi to UIFlow.
-
2Copy the code
Use the code file on this project. Remember to change the MQTT settings (I tried to all cap the spots you need to edit) and add in instructions to connect the Core2 to the your wifi.
-
3Set up MQTT Feeds
There are several places that allow you to set up simple MQTT feeds for free. I used https://io.adafruit.com/ which makes it very simple to create the feeds and get an API code. You need one feed for the Core2 to send messages to, and one to get messages from. I have marked in the code where you would put the API code and feed names so they show up in the chats.
-
4Mount it!
You don't have to mount the Core2 and Keyboard to anything, but the Core2 has four magnets on the back, so something metal works best. If you happen to have an Erector Set too, have fun making up your own unique stand.
-
5Pry off the back plate
In order to reach the pins on the Core2 you need to pry off the small plate on the back that contains the microphone and accelerometer. They are not needed in this project. You will probably need a small screwdriver to pop this plate off.
-
6Plug in the lights and keyboard
Attach the 220 ohm resistor to the positive anode of the nOOd LED. It has a small hole in the anode on the positive end. Clip one alligator clip to the resistor, and the other to the negative anode on the nOOd. Put the negative side into one of the ground pins (top three on the left column) and the positive jumper into pin 25. There is a label for all the pins on the back panel of the Core2.
The keyboard plugs in to port A on the left of the Core2.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.