![]()
So I went to a journey to find all the bottlenecks. So something like a swap file will probably be good enough for this experiment, right?įirst, I had to find out that the standard way of accessing the SD card is not fast enough at around 150k per second. My thinking at the time was that it doesn't matter so much since the kernel will probably not need so much memory once it starts, for example, if I don't access files, the memory holding the file system and the file system functions will be left alone other than a periodic flush. TinyEMU on ESP32Īpparently yes, making it compile was very easy, some tweaks here and there and a missing standard library and it was compiled perfectly.īut what can I do about memory? the ESP32 only has 8MB and half of it is not even accessible as a standard but rather bank switched with its own APIs ( himem). Espressif did an amazing job with esp-idf and one of their best features is listening to their customers and with the help of the maker community they've built an amazing framework. That amount of RAM on any of its competitors takes more than "I want it" to get it working, at the time it came out especially so. The ESP32 is a dual core 240Mhz MCU, it was released at September 2016 and its still one of the best value for money MCU you can get, one of its versions has 8MB or RAM and 16MB of FLASH. ![]() Looking at its source code, seemed like the project went from mission impossible (with my current resources) to mission possible. Its purpose is to be small and simple while being complete." "TinyEMU is a system emulator for the RISC-V and x86 architectures. Will opensprinkler still run without internet code#Li never released the source code so the only improvements that can be done is by him and judging from my own life, you never have enough time for these things. Li XiongHui wrote the juiceVM which implemented RISCV ISA and runs on ESP32, he wrote about it on whycan and reddit and has video of it booting on YouTube, the video does state x30 speedup, which means the system booted in about 6 hours. Max Filippov patched the kernel to support ESP32 back at 2019, I'm pretty sure it runs a lot faster since its not an emulation. RISC-V is the new ISA kid in the block, well, not really a kid and not really new, but it becomes more and more popular, Espressif got out the ESP32-C3 at 2020. Eventually I've found out about Fabrice Bellard's TinyEMU ( demo). I've decided to start with something rather to write it all from scratch, which I didn't have time or energy to do for this project, I've looked into QEMU emulation for RISCV but taking this project apart and getting only a few components out of it to run on an embedded system seemed like too much work. Two subjects I've been putting off for longer than I'd like to admit. ![]() during the past few years I've been looking into it to see if anyone else found the time to implement it and eventually I've decided its going to be a good opportunity to learn a bit more about RISCV and Buildroot. Most valves are 24vac, but you can find other AC voltages or DC based valves.īased on the specs, your old and new controler both output 24vac to the valves, so yes, it is as simple as moving the valve wiring from the old controller to the new controller.įor me, I switched my dumb controller 5 years ago to a DIY raspberry Pi based controller running OpenSprinkler that pulls weather data to adjust my watering times using the Evapotranspiration (ETo) algorithm.I've been playing with the idea of running linux on ESP32 since the first days I've met its more robust module, the WROVER-B, on paper it seem possible since its a dual core 240Mhz and has 16MB flash and 8MB RAM, compared to our antique machines that could run linux, it seems like a beast.ĭoing some research on it, I've understood that its MMU is insufficient for running Linux on it. If the voltage was different, then you would have had to change the valves or get a different controller that is compatible with your valves. ![]() The only thing you have to make sure of is that the output of the new controller matches the voltage requirements of your valves. Is it just that simple to do? Are there any other components that would need to be upgraded or is swapping just the controller is all it is needed? I have seen one video on YT that showed the person removing zone wires from on unit and installing it in the other. Will opensprinkler still run without internet upgrade#I currently have a RainBird ESP-Me controller and wanted to upgrade to a Hunter Pro HC controller. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |