My project is simple in concept. I wanted to make a compliment generator for an anniversary gift that generates a new compliment every time you press the button. The format is "Your (insert noun) is very (insert adjective)!", with a different noun and adjective combination each time. In terms of hardware, it is also quite simple. All you have to do is connect an LCD and a Button to an Arduino with some resistors and wires, which is easy to figure out with the help of the many tutorials available on the internet. The programming was also fairly straightforward. I created two arrays, one for Nouns and one for Adjectives. I then programmed a random number generator using the srand() and rand() functions, making them choose a new random number every millisecond. The words from the arrays were then correlated to the numbers output by the random number generator, and then the random string was printed. Once the two random words were chosen, they would then be shown on the LCD. There was code included to customize the LCD, like left to right text scrolling, cursor starting point, etc. Finally, there was a small amount of code to display the random compliment once the button was pressed.
Arduino Compliment Generator
It is a compliment generator that uses an LCD to display a random compliment.
Read more


_ztBMuBhMHo.jpg?auto=compress%2Cformat&w=48&h=48&fit=fill&bg=ffffff)







Comments