Embedded Systems
14.3K subscribers
1.09K photos
236 videos
1 file
749 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
🔋 Predicting Battery Degradation with a Trinket M0 and Python Software Algorithms

In battery-powered devices, it is important to give the user insight into the condition of the battery. We've all seen examples of this in devices like phones, laptops, and even flashlights. They provide predictions of capacity and/or time remaining before the battery must be recharged.

This article explores some straightforward software algorithms we can use to make a similar prediction. If your system design already includes a microprocessor with some spare ADC ports, this approach can avoid the cost of an additional part. We will look at the algorithms in general, then look at some real results with lithium batteries.

More information...

#articles #python #projects #battery
💻 Defining the Right Debugging Mindset for Faults, Errors, and Bugs

One of the greatest development challenges facing embedded software developers is the amount of time that they spend debugging their systems. On average, developers spend 40 percent of their time debugging!

Now that is an average, when I ask during a conference talk “How much time do you spend debugging?”, I find that 40 percent seems to match survey results but that is just an average. There are also developers who spend as much as 80 percent of their time debugging!

For an average 12-month long project, if you are an average developer who spends 40 percent of their time debugging, you spend almost 5 months every year debugging! This is absolute insanity considering that debugging is really failure work, that is, fixing something that was done incorrectly the first time.

We are going to explore the mindset of bugs and start defining how faults, errors, and bugs are related.

More information...

#articles #software #programming
📟 How To Get Wi-Fi (Internet) on Raspberry Pi Pico

We created this tutorial that shows how to get your Raspberry Pi Pico online.

To get Wi-Fi on Raspberry Pi Pico, you will need:
▫️ A Raspberry Pi Pico
▫️ Adafruit Airlift Wi-Fi Featherwing Co-Processor
▫️ 8 x Male to Male jumper wires
▫️ Breadboard

The goal of this tutorial is to get our Raspberry Pi Pico connected to the Internet via Wi-Fi, to access the OpenWeather service API and get the weather for our chosen location.

This raw data is sent to the Python shell, but it could be easily sent to an OLED screen, LCD or used to trigger a sequence of events to occur.

More information...

#projects #wifi #raspberry #pico
This media is not supported in your browser
VIEW IN TELEGRAM
💡 Balancing Dot on Led strip

How to make balancing Led dot using WS2812 led strip and MPU6050 accelerometer and gyroscope module.

This module is physically attached to the LED-strip, so when the LED-strip is held at a certain angle, the chip measures the angle of the LED strip and the Arduino uses this information to update the position of a virtual object as if it was a ball that is balanced on a beam and rolls from one side to the other if the beam is held at an angle. The position of the virtual object is indicated on the LED strip as a single LED that is illuminated.

More information...

#projects #arduino
🎚 SigmaStar SSD210 tiny dual-core Arm Cortex-A7 SoC comes with 64MB RAM, RGB display interface

SigmaStar offers some of the cheapest Cortex-A7 processors on the market, especially considering they usually integrated 64 or 128MB RAM, which parts like SSD201 or SSD202 which are designed for smart displays, but can also be found in low-cost Linux gateways.

Specifications:
▫️ CPU – Dual-core Arm Cortex-A7 at up to 1.0GHz with FPU, NEON, MMU, DMA
▫️ GPU – 2D graphics accelerator
▫️ System Memory – 64MB on-chip DDR2 RAM
▫️ Storage I/F – 1/2/4 bit SPI-NOR/SPI-NAND Flash
▫️ Display – RGB LCD interface supporting RGB565 or RGB666 or RGB888 format up to 60 fps.
▫️ Input/output voltage – 1.8V~3.3V
▫️ Package – QFN68 (7x7mm)

More information...

#boards #cortex
🤖 Matching Motors, Hubs and Wheels

When it comes to choosing hubs with your wheels, does it feel like a nightmare?

In this tutorial, we will cover the art of matching hubs, motors and wheels, but also their application and usage. We will take a look at the physical dimensions of a motor's shaft, we will define the role of a hub and much more.

More information...

#articles #robots
🔋 Battery tester using an ESP32, micro SD cards and Arduino

This project is a datalogger to check the capacity of 18650 batteries by determining if they are in good condition or they must be discarded.

The data that is logged in the SD card is: correct, power, voltage, LM35 temperature and execution time.

In order to not discharge the battery without having connected all the components, there is a button to start the discharge of the battery. Once the button is pressed, the relay closes, the battery starts to discharge and the data is logged every 5 seconds on the SD card.

When the battery is bellow 2.8V, the relay opens to prevent over discharging the 18650 battery and also appears a new display showing the principal data acquired by the ESP32.

More information...

#projects #esp32 #arduino #battery
📟 An Open Source 3D printed Smartwatch based on an ESP32

The goal of this project is to build an open source smartwatch, with step counting, GPS tracking and maps.

The project includes:
▫️ ESP32 (Arduino programmable)
▫️ GPS
▫️ Time
▫️ Sensors (Acceleromter, Step Counting)
▫️ Li-Ion Battery
▫️ USB Serial
▫️ uSD Card (to provide open streetmap tiles)

More information...

#projects #esp32 #gps
📟 Machine Learning current sensor snoops on MCUS

Spying on Microcontrollers using Current Sensing and embedded TinyML models

Anyone who’s ever tried their hand at reverse engineering a piece of hardware has wished there was some kind of magic wand you could tap on a PCB to understand what its doing and why. We imagine that’s what put security researcher [Mark C] on the path to developing CurrentSense-TinyML, a fascinating proof of concept that uses machine learning and sensitive current measurements to try and determine what a microcontroller is up to.

More information:
Project's review
Project's page

#projects #machine_learning #arduino
📟 Wireless Power Meter Using ESP8266 & INA226 Current Sensor

Author used Home Assistant to run ESPHOME it's very easy to work with and gives wireless capabilities.

Built-in Features:
▫️ 0.96" Oled
▫️ OTA Update
▫️ Temperature & Humidity Read
▫️ Wireless
▫️ Extra Ports for Future Expandability

More information...

#projects #IoT #wifi
💻 Basics of the Python Programming Environment

Python is one of the most popular languages for IoT, AI, and ML – and it pays well, too!

So, you want to learn more about Python. That’s a good decision for several reasons. First, the latest TIOBE Programming Community Index for March 2021 lists Python among the top three most popular languages. While C and Java continue to battle it out for first and second place (see Apr 2020 ratings), Python remains solidly in the third position.

Even better news comes from the annual RedMonk Ranking report in which Python outranks JAVA to become the second most popular programming language. Over the last 5 years, Python has experienced growth of around 18-19 %. The language ranks among the most popular in several other renowned platforms also such as Stack Overflow, Github, etc.

More information...

#articles #python #programming #software
🎚 CorgiDude RISC-V AI board

MakerAsia has developed CorgiDude, a board based on the version of Sipeed M1 RISC-V AI module with built-in WiFi, and part as a kit with a camera and a display used to teach machine learning and artificial intelligence with MicroPython or C/C++ programming.

Specifications:
◽️ AI Wireless Module – Sipeed M1W Module with:
🔘 Kendryte K210 dual-core 64-bit RISC-V RV64IMAFDC CPU @ 400Mhz
🔘 Espressif ESP8285 single-core 2.4 GHz
◽️ Wi-Fi 4 SoC
◽️ Storage – MicroSD card slot
◽️ Camera I/F for 2MP OV2640 sensor up to 1280 × 1024 (SXGA)
◽️ Display I/F for 1.3-inch RGB IPS display with 240×240 resolution
◽️ Power Supply – 5V via Micro USB port or 8-18V via DC jack
◽️ Dimensions – TBD

More information...

#boards #machine_learning #artificial_intelligence
This media is not supported in your browser
VIEW IN TELEGRAM
📟 PID Desktop Marble Balancer (Glo Rev 2)

The PID controller is one of the first things taught to engineering students and designers. Its simplicity and versatility make it easy to understand and implement.

This ball balancer uses the PID feedback loop to balance a marble perfectly on the center of a beam. Additionally, it contains interactive LEDs which gauge the relative position of the marble. It also utilizes one of the most well-known simple machines: the lever.

The device is driven by a prototype of Glo Rev 2, a new RGB LED strip controller. The new chip is Wi-Fi compatible, works with Amazon Echo/Google Home, and has plenty of I/O to add modifications.

More information...

#projects #pid #control