Fortune Box

Posted on 20/05/2013 by painel
Modified on: 13/09/2018
Project
Press to mark as completed
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

Fortune boxI 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 ...


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
LikedLike this to see more

Spread the word

Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post