Embedded programming and micro controllers
-
st7567_rs driver is updated with a fixed image drawing
cross-posted from: https://lemmy.ml/post/19385436
> link to crate : https://crates.io/crates/st7567_rs
-
Advice wanted for using the Compute Module 4 for an embedded device
cross-posted from: https://lemmy.world/post/11673921 >I want to build my own portable E-Reader like a Tolino/Kindle in DIN-A5 format (I know there are similar projects, like the Open Book from joeycastillo, but I want to make my own just for fun). I'm considering using the Compute Module 4 from Raspberry Pi. That, at least according to my theories, would have the advantage of me not needing to create my own OS, and the availability of already existing EPUB/HTML (EPUB is essentially just HTML) & PDF parsers and UI libraries hopefully makes my life easier. I don't want to use a default Raspberry Pi, because I don't need all the ports and I want the size of the E-Reader to be not unnecessarily thick. > > The modules I need/want: > - Micro SD Card Reader for internal Storage (or just using eMMC Storage, have not settled yet on that topic) > - SD Card Reader (large/normal sized SD Cards), with a snap-in/spring mechanism (like with Nintendo (3)DS cartridges) > - E-Paper Display (e.g. a waveshare) > - USB-C Port for charging the battery (and maybe, if possible also file transfer and if possible maybe also to connect to a docking station) > - Battery > > What is your experience with the Compute Module (4) and do you have good resources for creating my own PCB extension module for the Compute Module you would like to share? Do you have constructive critique for my project idea?
-
NFC for static storage?
I have an idea in mind, where I want to share "large" static amounts of data (at max 10mb). Are there NFC-"Tags" which can hold that amount of data, or even more (in the Gigabytes)? If so, which ones and do you have experience with them?
-
AtomVM: Erlang virtual machine for IoT devices
A micro Erlang VM for embedded devices like ESP32 and Raspberry Pico
- interrupt.memfault.com How do breakpoints even work?
A walk through of how hardware and software breakpoints work, how they are configured using GDB Remote Serial Protocol, and how to configure hardware breakpoints using the ARM Cortex-M Flash Patch and Breakpoint Unit
-
Ada learn: Introduction to Embedded Systems Programming
learn.adacore.com “learn.adacore.com"An interactive learning platform to teach the Ada and SPARK programming languages.
- personaljournal.ca COROS IIa: A Series of Tubes
When last I wrote about COROS I explored the EVQ component of it with a focus on the API and some of its underlying construction. In thi...
When last I wrote about COROS I explored the EVQ component of it with a focus on the API and some of its underlying construction. In this post I will expand on that underlying construction giving reasons for some of the design decisions, as well as providing some example use cases for this.
- personaljournal.ca COROS II: Blood and Bone
In the last installment talking about COROS, I built up on various uses for coroutines, ending with a primitive scheduling tool. I then ...
With coroutines and their use cases at least reasonably well established, the event queue mechanism of COROS is introduced to tie them up into a convenient architecture.
- personaljournal.ca COROS Ia: My Heart Must Go On
Continuing with the description of COROS that I'd begun earlier, today's article starts applying some structure to what is, at the core, ...
The first piece of COROS explored was the coroutine system, but coroutines are not a well-understood facility in programming circles for some reason. This article builds up some use cases for coroutines and their application in preparation for the next major component of COROS.
- personaljournal.ca COROS I: The Beating Heart
In an earlier post I'd mentioned that I'd written an RTOS in my spare time for fun and then incorporated a (slightly reworked) version of...
The first in a series of articles that builds up a coroutine-based RTOS for use primarily in memory-constrained embedded systems. Future articles will expound on other pieces of the RTOS after which the full, production-ready source will be published under my usual choice of the WTFPL2 license.
- personaljournal.ca Dynamically static allocation in embedded systems
In most programming, dynamic allocation and subsequent freeing of memory resources is normal. In embedded programming, dynamic SRAM allo...
Dynamic SRAM allocation is the device-killer …
… but it doesn't have to be.
-
What are the dev boards in the sublemmy's picture?
This is probably meta, but I'd like to know what are the boards in the picture in the banner of the sublemmy?
- www.rt-thread.io RT-Thread | An Open Source Embedded Real-time Operating System
An Open Source Embedded Real-time Operating System
Following-up to my post about LuatOS yesterday, this is the underlying RTOS that LuatOS builds upon. The English language site is not as complete and all-encompassing as the Chinese site, but it's more than enough to get a taste of the system and even put it to use.
One of the things that projects like LuatOS and RT-Thread highlight is that the days of China just consuming western technology are over. Homegrown software is rapidly spreading through the country's engineering world (RT-Thread is in a bewildering variety of products now!) and even homegrown hardware, down to home-grown ISAs like the XuanTie XT804 cores, is starting to supplant imports.
The future is looking decidedly interesting.
-
LuatOS: an interesting Chinese embedded RTOS based on Lua and RT-Thread
eLua as a project died. But from its ashes, and paired with the Chinese RT-Thread project, LuatOS has arisen.
Using this if you can't do Chinese will be a bit of a challenge, but it's not impossible.
-
Building an 8-Bit Breadboard Computer - Austin Morlan
austinmorlan.com Building an 8-Bit CPU on a BreadboardYears ago I came upon Ben Eater’s series of YouTube videos about building an 8-bit computer on a series of breadboards. I watched the entire series but didn’t have the energy to complete the project myself. Then a few months ago I decided to finally give it a go. After toiling away with wires for ar...
Build your own 8-bit computer on a breadboard. 3 times Picture
-
Modula 2 reloaded in 64K virtual machine
github.com GitHub - Oric4ever/Turbo-Modula-2-Reloaded: This is a Modula-2 system (operating system + compiler + editor) for tiny microcomputers with 64 KB ram : it has a 16-bit address space. Despite being issued from a reverse-engineering of Borland Turbo Modula-2 for CP/M, it has been re-engineered to be run on any platform, provided that the bytecode interpreter is ported to that platform.This is a Modula-2 system (operating system + compiler + editor) for tiny microcomputers with 64 KB ram : it has a 16-bit address space. Despite being issued from a reverse-engineering of Borland T...
Based on the CM/P Turbo Modula 2 this implements a re-engineered version to run in a 64K virtual machine on any platform. Small enough to fit on almost every micro-controller like AVR.
-
How to easily set up Ada on a new ARM Cortex-M4 device and start a small programme.
blog.adacore.com Ada on any ARM Cortex-M device, in just a couple minutesAda on any ARM Cortex-M device, in just a couple minutes
To use Ada (or any other programming language for that matter) on a new embedded device you often need quite a lot of technical bit fiddling.
This article shows how to get a simple Ada programme quickly ready for most ARM Cortex-4 devices, even new once.
-
Embedded COVID mask quality assurance on an Arm Cortex-M7 processor using PyTorch
lightly.ai Embedded COVID mask detection on an Arm Cortex-M7 processor using PyTorchHow we built a visual COVID-19 mask quality inspection prototype running on-device on an OpenMV-H7 board and the challenges on the way.
A prototype system based on a ARM Cortex-M7 to inspect the quality of COVID-19 masks