showing posts tagged #embedded_prog — clear

0

Strategy to calibrate sensors

preview

(Cross-posting this across several communities in hopes of getting some discussion.)

I’m currently building some indoor climate sensors for my home. My idea is to have temperature, humidity, noise, light, VOC and CO2 readings at a relatively high frequency reporting to my MQTT server.

I am currently setting up some different temperature sensors, and I want to calibrate them (hopefully just a linear offset) and evaluate them on some metrics, such as sensor-to-sensor consistency and accuracy.

To calibrate and evaluate the accuracy, I would need a source of truth, and ideally I would also be able to cycle it through a range of realistic values for the given metric.

What are your strategies to tackling these things? Do you assume the sensors are already well-calibrated and don’t bother with this? Do you have a dedicated reader for any sensor value you would want to calibrate?

(Cross-posting this across several communities in hopes of getting some discussion.)

I’m currently building some indoor climate sensors for my home. My idea is to have temperature, humidity, noise, light, VOC and CO2 readings at a relatively high frequency reporting to my MQTT server.

I am currently setting up some different temperature sensors, and I want to calibrate them (hopefully just a linear offset) and evaluate them on some metrics, such as sensor-to-sensor consistency and accuracy.

To calibrate and evaluate the accuracy, I would need a source of truth, and ideally I would also be able to cycle it through a range of realistic values for the given metric.

What are your strategies to tackling these things? Do you assume the sensors are already well-calibrated and don’t bother with this? Do you have a dedicated reader for any sensor value you would want to calibrate?

0

An Integrated Oberon Software Development System for Arm Cortex-M Microcontrollers

preview

Astrobe is a complete integrated embedded Oberon software rapid development system running.

Use it to develop reliable embedded software to run on the powerful Arm Cortex-M families of microcontrollers.

This includes RP2040 (Cortex-M0+) / RP2350 (Cortex-M33) devices from Raspberry Pi and Cortex-M0/M0+, M3, M4 and M7 devices from STMicroelectronics.

Astrobe is a complete integrated embedded Oberon software rapid development system running.

Use it to develop reliable embedded software to run on the powerful Arm Cortex-M families of microcontrollers.

This includes RP2040 (Cortex-M0+) / RP2350 (Cortex-M33) devices from Raspberry Pi and Cortex-M0/M0+, M3, M4 and M7 devices from STMicroelectronics.

0

Advice wanted for using the Compute Module 4 for an embedded device

preview

cross-posted from: 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?

cross-posted from: 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?

0

NFC for static storage?

preview

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?

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?

0

ACM Opens First 50 Years Backfile

preview

cross-posted from: lemmy.ml/post/221845

This is arguably one of the most important archives of computer science and engineering information available. And 50 years of it is now free. Get out there and play while educating yourself on things you didn’t know were ancient history!

cross-posted from: lemmy.ml/post/221845

This is arguably one of the most important archives of computer science and engineering information available. And 50 years of it is now free. Get out there and play while educating yourself on things you didn’t know were ancient history!

0

COROS IIa: A Series of Tubes

preview

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.

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.

0

COROS II: Blood and Bone

preview

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.

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.

0

COROS Ia: My Heart Must Go On

preview

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.

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.

0

COROS I: The Beating Heart

preview

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.

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.

0

RT-Thread | An Open Source Embedded Real-time Operating System

preview

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.

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.

0

LuatOS: an interesting Chinese embedded RTOS based on Lua and RT-Thread

preview

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.

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.

0

Modula 2 reloaded in 64K virtual machine

GitHub 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. github.com
preview

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.

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.

0

How to easily set up Ada on a new ARM Cortex-M4 device and start a small programme.

AdaCore Ada on any ARM Cortex-M device, in just a couple minutes blog.adacore.com
preview

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.

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.

0

Embedded COVID mask quality assurance on an Arm Cortex-M7 processor using PyTorch

Embedded COVID mask detection on an Arm Cortex-M7 processor using PyTorch lightly.ai
preview

A prototype system based on a ARM Cortex-M7 to inspect the quality of COVID-19 masks

A prototype system based on a ARM Cortex-M7 to inspect the quality of COVID-19 masks