Some kids love motorized toys, cars, trucks and basically anything that makes a noise or have a motor can be a child's toy.I've been searching for a quick, simple, cheap, generic option to replace the remote controls with something I can easily source without building a specialized PCB or costing too much and I think I've found that option.This is the battlebot I've been using it for, the original controller stopped working after 3 minutes.Wemos D1 R32The Wemos D1 R32 is ESP32 in Arduino Uno form factor. The pinout is standard while still allowing access to...
Wednesday, November 30, 2022
Wednesday, November 23, 2022
Embedding Lua in your Projects
Lua is lighweight programing language designed for embedding, it was created in 1993 by Roberto Ierusalimschy, Luiz Henrique de Figueiredo, and Waldemar Celes.Lua even has a very fast LuaJIT which sadly I cannot use since I'm aiming for embedded MCU.Fortunately, Lua has great documentation and huge community, while the language needs some getting used it, it can do everything I need and more and embedding it was by far the fastest from previous MicroPython and QuickJS.Installation of the Lua library was very simple, download the release, extract it in the lib folder and add...
Tags: esp32, lua
Embedding QuickJS in your Projects
QuickJS is small and embeddable Javascript engine made by the famous Fabrice Bellard, it supports ES2020 specifications and made available under MIT license.You might have read about my porting of his TinyEMU to ESP32 which could boot linux.During my hunt for scripting engine that can be integrated into a new embedded product I've encountered MicroPython and QuickJS, while the documentation is a bit lacking, the code was much easier to read and compile, there are no complicated build scripts and it was basically dropping the last version in the lib folder and selecting which...
Tags: esp32, javascript, platformio, quickjs, scripting
Thursday, November 17, 2022
Embedding Micropython in your Projects
MicroPython is a python implementation for microcontrollers and other low resource requirement implementation which can make it perfect for embedding without significantly increasing your delivered executable or firmware.The project was created by Damien George at 2013 and has since grown and improved and even earned its place at OBCPs and is planned to reach space on board Euclid at 2023 as well as integrating into RODOS.If it can work for spacecrafts, why shouldn't it work for you?My original goal was to use MicroPython as an expression evaluation and enrichment engine for embedded data acquisition,...
Tags: micropython, platformio, scripting, very sleepy
Subscribe to:
Posts (Atom)