“A 3d raycast engine for Arduino
Just experimenting with an Arduino Nano I bought some time ago. This chip is very limited in process and memory: 16Mhz, only 32kb for program memory and 2kb of RAM, of which 1kb is entirely used for the screen. Most of problems I´m facing currently are about memory. CPU clock might be a problem too, but can be more or less avoided having more memory for calculation shortcuts. Despite of all those limitations, I managed to make it run at 8-11 FPS with most of stuff already done. Probably can be optimized and structured much better. Will try to keep learning and improve it.
To be clear. This is not an actual Doom game, just picked some sprites from it (and simplified a lot). The rendering engine is more like a Wolfeistein 3D. The Doom idea came because I started this building the fancy melt-screen effect (included in early version, but not anymore).
Hardware I used:
Arduino nano V3 (ATmega328P)
OLED Display (i2c 128x64)
4 10k ohms resistors (Optional. You can use internal pull-up resistor by uncommenting the #define USE_INPUT_PULLUPS from constants.h file)”