Embedded Systems
13.3K subscribers
1.03K photos
219 videos
1 file
706 links
News, articles, guides, analytics, projects and startups from the embedded industry.

Topics of the channel:
◽️ machine learning
◽️ internet of things
◽️ embedded software
◽️ advanced electronics
◽️ new engineering ideas

⤵️ Share and subscribe!
Download Telegram
📟 ESP32/ESP8266 MicroPython Web Server – Control Outputs

Learn how to build a web server to control the ESP32 or ESP8266 outputs using MicroPython framework. As an example we’ll build a web server with ON and OFF buttons to control the on-board LED of the ESP32/ESP8266. We’ll use sockets and the Python socket API.

More information...

#projects #esp32 #python #IoT
📟 PySpectrometer - Raspberry Pi Spectrometer

The PySpectrometer is a Python (OpenCV and Tkinter) implementation of an optical spectrometer. The motivation beind this project was to build a tool that could measure the wavelength of home-made Dye Lasers and perform some fluorescence spectroscopy.

More information:
Youtube video
Github page

#projects #raspberry #python
This media is not supported in your browser
VIEW IN TELEGRAM
💻 CanoPy

Canopy is a visualization tool for plotting CAN bus message payloads

A basic PC CAN interface simply dumps the bus’s message traffic into the terminal, while more sophisticated tools organize messages by the address of their intended recipients. Both of these approaches digitally lift the hood and let you examine what your car is thinking, but the wall-of-numbers approach makes finding the patterns that hold the keys to reverse engineering difficult.

Automatically plotting the data with CanoPy makes finding correlations much easier, after which the text-based tools can be used to focus in on a few specific addresses.

More information...

#projects #software #python
🧠 Free Machine Learning course by Andrew Ng

This course provides a broad introduction to machine learning, datamining, and statistical pattern recognition. Topics include:

▫️ Supervised learning (parametric/non-parametric algorithms, support vector machines, kernels, neural networks).

▫️ Unsupervised learning (clustering, dimensionality reduction, recommender systems, deep learning).

▫️ Best practices in machine learning (bias/variance theory; innovation process in machine learning and AI).

More information:
Youtube playlist with lectures
Course on Coursera

Matlab implementation

Python implementation:
Part 1
Part 2
Part 3
Part 4

#courses #machine_learning #python #artificial_intelligence #programming
💻 Learn Python in 10 minutes

A quick and free tutorial of basics Python programming for people who are already familiar with programming on other languages, such as C++. The examples of code are illustrated with good explanations.

More information...

#programming #python
🤖 An Introductory Robot Programming Tutorial

In this article, I’m going to show how to use a Python robot framework to develop control software, describe the control scheme I developed for my simulated robot, illustrate how it interacts with its environment and achieves its goals, and discuss some of the fundamental challenges of robotics programming that I encountered along the way.

In order to follow this tutorial on robotics programming for beginners, you should have a basic knowledge of two things:
▫️ Mathematics—we will use some trigonometric functions and vectors.
▫️ Python—since Python is among the more popular basic robot programming languages—we will make use of basic Python libraries and functions.

The snippets of code shown here are just a part of the entire simulator, which relies on classes and interfaces, so in order to read the code directly, you may need some experience in Python and object oriented programming.

More information...

#articles #robots #programming #python #control
💻 MicroPython: An Intro to Programming Hardware in Python

Are you interested in the Internet of Things, home automation, and connected devices? Have you ever wondered what it would be like to build a blaster, a laser sword, or even your own robot? If so, then you’re in luck! MicroPython can help you do all of those things and more.

In this tutorial, you’ll learn about:
▫️ The history of MicroPython
▫️ The differences between MicroPython and other programming languages
▫️ The hardware you’ll use to build devices
▫️ The process to set up, code, and deploy your own MicroPython project

More information...

#articles #python #programming
🔮 A Python Controlled Moon Phase Lamp Powered by Raspberry Pi Zero

Nice project of a smart lamp with popular microcontroller and a program written in Python. All key moments are explained in the video and article of the project.

It is a snapology origami sphere, has a NeoPixel ring for a light and is driven by a Raspberry Pi Zero. It also has a huge variety of light programs including a gentle sunrise for the morning, and a drifting off program which dips from blue and settles at a low level as a night light.

More information...

#projects #python #raspberry #zero
🔗 Gallery of Python's Matplotlib graphs with pieces of code

Matplotlib - plotting library for the Python programming language and its numerical mathematics extension NumPy.

Super useful site with all the possible to create graphs with the most popular Python plotting library. All the necessary codes can be downloaded after clicking on the desirable graph. Can be used for depicting and analyzing the data from your projects.

More information...

#python #programming
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🧠 Popular ML algorithms (MATLAB, Octave, Python)

A perfect compilation of code examples of the most popular ML algorithms for understanding its work.

The purpose of these repositories was not to implement machine learning algorithms using 3rd party libraries "one-liners" but rather to practice and to better understand the mathematics behind each algorithm.

More information:
Python Repository
MATLAB/Octave Repository

#machine_learning #artificial_intelligence #matlab #python
🧠 Neural Network From Scratch

Neural nets are increasingly dominating the field of machine learning / artificial intelligence: the most sophisticated models for computer vision, natural language processing, translation, and more are based on neural nets.

How do they work? Why are they so good? Why are they so slow? Why are GPUs/TPUs used to speed them up? Why do the biggest models have more neurons than humans, yet still perform worse than the human brain?

The best course of action to answer those questions is by implementing a simple neural net from scratch.

More information...

#articles #programming #artificial_intelligence #python
📃 Top 5 MicroPython IDEs for ESP32 and ESP8266

IDEs compatible with MicroPython that you can use to program your ESP boards. You should choose the IDE that best suits your needs:

▫️ Mu Editor is a simple Python editor for beginner programmers. It works pretty well, comes with a simple and intuitive interface, and provides a menu to burn MicroPython firmware to your boards quickly, so you don’t need to use esptool to burn firmware.

▫️ uPyCraft IDE was specifically designed to be used with MicroPython. With this IDE it is pretty easy to establish communication with the board once you select the right COM port.

▫️ Thonny IDE is a simple IDE for Python with MicroPython support. Intuitive, simple, and easy to use.

▫️ VS Code + Pymakr Extension is an excellent choice for those who are used to VS Code.

▫️ PyCharm is an advanced Python IDE with cool features like code completion, debugging, error highlights, and it helps you write better Python code by providing tips and tricks.

#articles #python #esp32
🤖 Stereo Vision: Making a Depth Map from scratch

Imagine you need to create an environmental garbage-collection robot. However, you do not want to invest heavily in LiDAR technology to determine how far the trash is. This is where Stereo Vision comes into play.

Using two regular pin-hole cameras to not only detect depth but also use the same camera for other Machine Learning tasks can be a huge cost-saving factor.

This project is a great way for beginners to step into the field of not just Computer Vision but Computer Science as a whole, picking up skills in Python and OpenCV.

To begin on this project, you'll need a few essentials:
▫️ Jetson Nano Developer Kit B01
▫️ Two Raspberry Pi cameras
▫️ Interest!

More information:
Part 1: Introduction
Part 2: Depth Map
Part 3: Adding Object Detection

#articles #robots #machine_learning #python
📟 ESP32/ESP8266: MicroPython OTA Updates via PHP Server

OTA (Over-the-Air) update is the process of loading new firmware to the ESP32 or ESP8266 board using a Wi-Fi connection rather than a serial communication. This functionality is extremely useful in case of no physical access to the board.

In this project, we’ll show you an example of how you can do OTA updates to your ESP32/ESP8266 boards running MicroPython code via a PHP server.

In summary, you’ll create a PHP server in which you can submit a new code that you want to run on the ESP. When there is a new code/update available, the ESP downloads the new code, reboots, and starts running the newly downloaded code.

More information...

#projects #esp32 #python #IoT
💻 PikaScript – ultra-lightweight Python engine

PikaScript is an ultra-lightweight Python engine that can run on microcontrollers with as little as 4KB of RAM and 32KB of Flash, while the more popular MicroPython requires at least 256kB of code space and 16kB of RAM.

PikaScript was initially developed to run on STM32G030C8 and STM32F103C8 MCUs, meaning, for example, it works on the BluePill board, but it has also been ported to other platforms like WCH CH582 RISC-V MCU, WinnerMicro W806 C-Sky microcontroller.

PikaScript also permits the binding C function to a Python module through Pika Pre-compiler. PikaScript can run bare metal on the microcontroller, but also supports real-time operating systems such as RT-Thread and VSF (Versaloon Software Framework), as well as Linux.

More information:
The main article
The GitHub repository

#programming #python
📃 How to quickly deploy TinyML on MCUs?

This article will provide you with an introduction to ML on microcontrollers. This topic is also known as tiny machine learning (TinyML). Get ready for losing against an ESP-EYE at rock, paper, scissors.

You will learn about:
▫️ data collection and processing
▫️ how to design and train an AI
▫️ how to get it running on the MCU

This example provides you with all you need to do your own TinyML project, from start to end.

More information...

#articles #machine_learning #programming #python
💻 MIT Turbocharges Python’s Notoriously Slow Compiler

Python has long been one of—if not the—top programming languages in use. Yet while the high-level language’s simplified syntax makes it easy to learn and use, it can be slower compared to lower-level languages such as C or C++.

Researchers from MIT’s Computer Science and Artificial Intelligence Laboratory (CSAIL) hope to change that through Codon, a Python-based compiler that allows users to write Python code that runs as efficiently as a program in C or C++.

In terms of what’s next for Codon, researchers are currently working on native implementations of widely used Python libraries, as well as library-specific optimizations to get much better performance out of these libraries.

More information...

#articles #programming #python
📟 PyPortal Flight Tracker

Track and monitor aircraft positions on a live map with an IoT display that collects and visualizes real-time flight data

This project demonstrates how to build a visualization of this live flight data using an IoT display. The display presents a dynamically updating map that charts up-to-the-minute positions of aircraft flying within a user-defined area.

More information...

#projects #python #IoT
📷 Custom Handheld Pi Zero HQ Camera

This project stands out in the realm of DIY camera technology. At its core, the camera integrates a Raspberry Pi Zero (with a preference for the Pi Zero 2) and the High-Quality (HQ) Camera module, coupled with a compact 1.5" Waveshare OLED display. Its unique features include live preview, zoom-crop panning for manual focus assistance, file viewing capabilities, and an integrated 10-axis IMU for potential horizon level overlay applications.

This creation is less about competing with high-end cameras like the Sony Alpha series and more about providing a platform for custom software development and experimentation in camera design. The estimated cost of the camera, considering major components and a 35mm lens, stands around $185.00.

More information:
☠️ The Hackaday page
😹 The GitHub page

#projects #camera #raspberry #python
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
🤖 PythonRobotics: A Comprehensive Repository for Robotics Algorithms

PythonRobotics is a collection of robotics algorithms implemented in 🐍 Python, designed to help users understand core concepts in autonomous navigation. It's beginner-friendly and easy to use.

The repository includes:
➡️Algorithms for localization (Kalman, Particle, Histogram filters)
➡️Mapping techniques (Grid maps, Ray casting, Lidar integration)
➡️SLAM implementations (FastSLAM, ICP Matching)
➡️Path planning (A*, D*, RRT*, Dynamic Window Approach)
➡️Path tracking (Stanley control, LQR, Model Predictive Control)
➡️Minimal dependencies and intuitive animations for better learning

This GitHub repository is perfect for robotics learners and developers who want practical, easy-to-follow implementations of widely-used algorithms.

More information:
😹 The GitHub repository
📚 The main article

#programming #python #robotics
Please open Telegram to view this post
VIEW IN TELEGRAM