Inspiration

This was our first hackathon along with it being the first at this school, so we were really unprepared. We decided to combine an idea and try to make it 'smart'. Not a lot of people read in the US anymore. A lot of youth today isn't as involved with books as later generations. Rather than go the scholastic book fair route we chose to start within our own neighborhoods. We aimed to change that with the use of little free libraries. (https://littlefreelibrary.org/).

We decided to add some sensors to make the library smart. We have two versions. One is with a LCD and the other is with an ultrasonic sensor with servo.

What it does

LCD build: Below you will see the photo with the 'bugs' we got but the LCD outputs Have you read and Book count: 0 at the beginning of the program.

This program is made in an event-style paradigm. when the photo-resistor (Going to be a reed switch to simulate opening the door to the library) is low it enters a new state.

The door is open state: The lights turn on (red white blue (merica)) and the midi song of Zelda - opening a chest song. LCD shows take a book.

When door is closed and state is still 'OPEN' slowly dim the lights and close the door and say goodbye

re-enter await state and show have you read today and book count that reflects potential readers.

Ultra sonic sensor build:

This program is made in an event-style paradigm. when the ultra sonic sensor shows 10 cms (a person is near) it enters a new state.

A person is near state The servo opens the door then the lights turn on (red white blue (merica)) and the midi song of Zelda - opening a chest song.

When person walks away and state is still 'OPEN' slowly dim the lights and close the door and

re-enter await state reading from the ultrasonic sensor.

How we built it

We used wiring diagrams from online to combine ideas and make them work. We also made our own (xml https://draw.io diagram) circuit after we learned some new concepts.

Through lots of trial and error we were able combine all of our modules into different builds of the board.

Challenges we ran into

The LCD gets noise (shown below) and shows random characters. We never got around to solving this due to time. As the circuit ran it would slowly add random characters in random places.

We didn't have any supplies so we had to use the swag stickers to hold our "door" (piece of cardboard) to our servo. We also reused some donut boxes from this morning to "recycle" and make a makeshift little library.

We couldn't go to home depot and make one so we made a prototype. Also we are poor.

Accomplishments that we're proud of

We made something out of trash. We had a blast making something out of trash.

What we learned

How to read from digital and analog circuits. How to implement embedded and event-style programming How to creatively make things work when you have no budget. Hackathons are fun.

What's next for Smart Little free library

Bluetooth capability An actual little library Solar panels for power Better sound quality (8bit is great and all)

Built With

  • arduino
  • servos
  • lcd
  • led
  • photoresistors
  • ultrasonic-sensors
  • speaker
Share this project:
×

Updates