Skip to main content Skip to local navigation

Programming M5Stack: the Timer Camera F

This is a quick little post on M5Stack embedded hardware.

I'm going to use the Arduino 2 IDE with the M5Stack Timer Camera F in this example. I just opened up the Arduino IDE and updated the boards and libraries. I had previously installed the M5Stack library on the Arduino IDE.

library updates on the Arduino IDE.

I'm going to see if this TimerCam library on GitHub will work: https://github.com/m5stack/TimerCam-arduino. The 1.0.1 release, in zip form, is here: https://github.com/m5stack/TimerCam-arduino/releases/tag/1.0.1

I'm importing the zip file here:

Then copied in the source example for the LED (here) and compiled:

Nothing much happened on the TimerCam other than to see the LED turn off briefly. So, it appears to work.

Next, trying out serial communication to listen for power measurements. Note that the serial monitor needs to be set to 115kBaud:

And that's all for now... will need to try the camera itself, shortly.


a pen

James Andrew Smith is a Professional Engineer and Associate Professor in the Electrical Engineering and Computer Science Department of York University’s Lassonde School, with degrees in Electrical and Mechanical Engineering from the University of Alberta and McGill University.  Previously a program director in biomedical engineering, his research background spans robotics, locomotion, human birth, music and engineering education. While on sabbatical in 2018-19 with his wife and kids he lived in Strasbourg, France and he taught at the INSA Strasbourg and Hochschule Karlsruhe and wrote about his personal and professional perspectives.  James is a proponent of using social media to advocate for justice, equity, diversity and inclusion as well as evidence-based applications of research in the public sphere. You can find him on Twitter.  You can find him on BlueSky. Originally from Québec City, he now lives in Toronto, Canada.