Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
Arm Community blogs
Arm Community blogs
AI blog Arm(E3)NGAGE: AI with Arm Cortex M MCUs and PyTorch Workshop
  • Blogs
  • Mentions
  • Sub-Groups
  • Tags
  • Jump...
  • Cancel
More blogs in Arm Community blogs
  • AI blog

  • Announcements

  • Architectures and Processors blog

  • Automotive blog

  • Embedded and Microcontrollers blog

  • Internet of Things (IoT) blog

  • Laptops and Desktops blog

  • Mobile, Graphics, and Gaming blog

  • Operating Systems blog

  • Servers and Cloud Computing blog

  • SoC Design and Simulation blog

  • Tools, Software and IDEs blog

Tags
  • Machine Learning (ML)
  • Cortex-M
  • Arm Developer Program
Actions
  • RSS
  • More
  • Cancel
Related blog posts
Related forum threads

Arm(E3)NGAGE: AI with Arm Cortex M MCUs and PyTorch Workshop

Edwin Awariyah
Edwin Awariyah
November 18, 2024
3 minute read time.

Overview

 An image of a speaker at the workshop
On October 31, 2024, I hosted an Arm Developer Program Workshop at Ashesi University, Ghana. During the workshop, I delved into the intersection of Arm technology and AI using PyTorch.

This event was part of the larger celebration on our end of Arm joining the PyTorch as a premier member, introducing a new era of innovation in the field of edge AI. The workshop showed how Arm MCUs, combined with PyTorch, can power solutions in agriculture and beyond for sustainability and local innovation with ease.
 An image of participants at the workshop.
 A group at the workshop engaged.

Audience engagement

We started with a series of introductory questions to gauge the familiarity of attendees with Arm technology and PyTorch.

The interactive session allowed us to assess the knowledge level within the room and set a foundation for the topics we would explore.

A number of attendees were new to the specifics of Arm MCUs and ML frameworks like PyTorch, which made the discussions even more impactful. Others had an idea but had not engaged in any hands-on work or implementation.
 A speaker at the workshop Glocalize

Introductory concepts

A brief overview of Arm for new members was given, followed by essential AI concepts such as ML, Cognitive Computing, Neural Networks, Natural Language Processing (NLP), and Computer Vision.

These concepts laid the foundation for understanding how Arm-powered MCUs could bring AI functionalities to edge devices.

Attendees watched a curated selection of videos:

  • An introduction to Arm technology
  • A video exploring PyTorch’s capabilities
  • A thematic video titled “Tomorrow’s World, which provided a historical perspective on technological advancements from 1966 to 2024.

 Speakers watch the presentation for Glocalize.

Event theme and goals

The primary theme of the workshop centered on how AI systems can be built using Arm-based MCUs and PyTorch.

We showcased how these tools create real-world solutions, such as AI-powered weather prediction systems designed to support farmers in making data-driven planting decisions.

Capabilities of Arm & PyTorch in Various Domains

To highlight the potential of Arm and PyTorch, we discussed several real-world applications:

  • Home Automation: From voice detection to real-time intruder monitoring.
  • Wearables: Continuous health monitoring and personalized insights.
  • Industrial IoT: Predictive maintenance and real-time analytics.
  • Smart Agriculture: Analyzing environmental data to optimize crop management.

These examples provided context for our hands-on project, illustrating how AI on Arm technology drives innovation across various industries.
 PyTorch capabilities diagram

Hands-on project: AI weather prediction system

The hands-on segment of the workshop was centered around building a weather prediction system using the Arduino RP2040 MCU and BME280 sensor. This system was designed to enable farmers to predict rainfall and optimize planting schedules. The project involved both hardware and software setup:

Hardware Setup:

  • RP2040 MCU
  • BME280 sensor for temperature and humidity data collection
  • Breadboard and jumper wires for connectivity

Software Setup:

  • Installation of essential libraries, including torch, joblib, pyserial, pandas, and scikit-learn
  • Building a PyTorch-based neural network to classify environmental conditions as "indoor" or "outdoor," simulating how data could inform weather prediction.

The PyTorch model used in this project was a simple feedforward neural network, with data collected in real-time using the BME280 sensor. This hands-on experience enabled participants to understand the principles of data preprocessing, model training, and inference on edge devices. To learn more about the project, you can view this GitHub repository here:.

GitHub: PyTorchARM

 Participants are engaged in the workshop.
 A close-up of a project
 A close-up of a project

Workshop highlights and engagement

The event included a giveaway of Arm-branded swag and refreshments to keep the energy high. Attendees engaged actively in the hands-on project, and many expressed excitement about exploring further applications of AI on Arm.

Acknowledgments

This workshop was made possible by the generous support of the Arm Developer Program. Special thanks to Clement Donkor Ampofo, Hanson Nkansah, the Arm(E³)NGAGE Student Club at Ashesi University led by Bright Edudzi Gershon K., Praprara Owodeha-Ashaka, Julia Mc-Addy, and Keli Kobla Kemeh, who all played instrumental roles in making this event a success.

Join the Arm Developer Program

 All participants at the workshop
 A group photo of the participants and speakers for this workshop.
 Arm E3NGAGE speakers

Anonymous
AI blog
  • Unlocking AI Potential with Kleidi: Seamless Acceleration Workshop Recap

    Parichay Das
    Parichay Das
    Explore takeaways from our Kleidi AI workshop led by Arm Ambassador Parichay Das, where participants tackled performance gaps and future AI needs.
    • September 25, 2025
  • Make an AI Yoga Tutor for TV or smartphone and accelerate it with SME2

    Hamza Arslan
    Hamza Arslan
    In this blog post learn how Arm SME2 accelerates our AI Yoga Tutor, delivering real-time, personalized pose correction.
    • September 22, 2025
  • Sign language translation using machine learning

    Lizzie Salter
    Lizzie Salter
    In this blog post, learn how the Arm Developer Advocacy team is exploring how machine learning can enable a sign-to-speech translator for video conferencing.
    • August 15, 2025