First up for OneVariable Applied Research: a Forth. No images? Click here Abstract and ResultsThis week, I've been working on "Anachro Forth", a forth-inspired, bytecode-compiled scripting language for Anachro Powerbus platform. I have also implemented a REPL/interactive interpreter for running in a PC environment, as well as a minimal embedded example project for the Nordic nRF52840, to validate the deserialization and runtime on a physical embedded platform. Initial development has gone smoothly, and the project is already up and running on embedded devices for testing. The Anachro Forth compiler/runtime is currently capable of: The above example only required <= 4K of Flash, <= 1K of RAM, and the program itself was serialized to under 100 bytes. Overall: A successful initial release! If you're interested in more about Powerbus, I had a chat in September with a couple of folks where we talked about some of the implementation details of Powerbus, my plans, and the first revision of hardware. Click above to watch the chat on YouTube. I have not yet made any stable releases of Powerbus as it is still in active development, but you can view the current status here on GitHub. Background InformationAnachro Forth is planned to be part of the Anachro Powerbus Platform. Powerbus is a totally built-from scratch hardware and software system, which I plan to use for home automation, art installations, sensor networks, human machine interfaces, and lighting. Powerbus uses Ethernet cables to provide an RS-485 data bus, as well as up to 60W of power across the network. Power is provided using off the shelf USB-C PD supplies (like those used by laptops), and each individual device is capable of using up to 10W for automation or lighting purposes. Devices are daisy-chained to reduce cabling complexity. Anachro Forth is planned to power a variety of extension cards, such as relays for controlling mains voltage, environmental sensors, data logging, and user interfaces. This will allow for hot-swapping of accessories, without requiring firmware updates. Suggestions For Future ResearchOver the next week, I plan to wrap up Anachro Forth by writing a simple demonstration hardware driver. In a twitter poll, there was interest in building an SSD1306-based OLED driver, but I'll probably start with something simpler, like a basic time-based Relay driver. Interested in using Anachro Forth?I've already had a couple people express interest in using Anachro Forth in their projects or products. If you need an ultra-light-weight scripting language, let me know! I am looking for end users to give it a test drive. Just reply to this email so I know to keep you updated. Interested in using Powerbus?Are you looking to build a no-cloud smart device network? Perhaps looking to automate sensors or lighting in your own house or office? Want to stay in touch between newsletters?Click on the button above to join the OneVariable Applied Research Matrix chat. I'll be posting day-to-day information, and sharing my thoughts as I go. The Matrix chat is the best place to ask questions about my projects, give feedback, or inquire about using any of my research projects for your commercial (and non-commercial) applications! |