Fortune Box
Fortune box
I just read the posting about the fantastic "Dadaist poetry box". Great!
This inspired me to post my less intelectual "fortune box"
It is quite the same thing but the lyrics and pieces of text are stored on an SD-card as a ".txt"-File.
This allows an easy and comfortable storage of many text-blocks. So I could download and convert huge amount of text from the linux-package "fortune" in all languages sorted by topic and kind of humor.
I added separators "#" between each chunk of text.
A challenge in C for me is the conversion of different variable types. It's a pitty! Give me Phyton on Arduino;-)
The next challenge is to retrieve the last poem printed on the SD-card after intentional or unintended power-off.
The actueal reading position on the SD-card is stored in an other file on the SD-card and evaluated at startup.
The next steps are
- buying thermopaper
- acitvating the RTC I attached to the Arduino to print actual birthdays
- acitvating the I2C-Temperature sensor for printing the Max-Min-Temperature of the previous day.
Thank you alegiaco for your inspiring posting!
You created an new Robot-Type?!!
Serves fortunes on thermalpaper
- Actuators / output devices: thermalprinter
- CPU: Atmega 328 Ardduino nano
- Operating system: Arduino
- Power source: 5V
- Programming language: C++
- Target environment: indoor