Skip to content

Magic 8 ball application using 96Boards CE and upm library

License

Notifications You must be signed in to change notification settings

96boards-projects/magic8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magic 8 Ball

The Magic 8 Ball application displays messages on the LCD when the touch sensor module is tapped. There are 20 statements out of which any one can appear randomly at each tap on the sensor. So ask away!

Table of Contents

1. Hardware

1.1 Hardware requirements:

  1. DragonBoard 410c
  2. Power Supply
  3. Sensors Mezzanine
  4. Micro USB Cable
  5. Grove-LCD 16x2 RGB Backlight
  6. Grove Touch Sensor Module

1.2 Hardware Setup:

To begin, connect the Sensors Mezzanine board onto the DragonBoard via the low-speed expansion connector on both boards. Use the Grove Universal 4 pin cables to connect the LCD to I2C0 and the Touch sensor module onto GPIO G3. You can find an image of the setup in the images folder. That’s it! We’re all set to run our application.

2. Software

2.1 Operating System

2.2 Package Dependencies

  1. MRAA Library
$ sudo apt-get install libupm-dev
  1. UPM Library
$ sudo apt-get install libmraa-dev

3. Building and Running:

$ git clone https://github.com/96boards-projects/magic8.git
$ cd projects
$ cd magic8
$ make
$ ./magic8

4. Conclusion:

When the executable is run, the application displays an initial message on the LCD and waits for the sensor to be tapped. With each tap, a new statement is displayed. These statements can be modified by the user in the code.

Releases

No releases published

Packages

No packages published