GithubHelp home page GithubHelp logo

raspassist's Introduction

RaspAssist - Snaky

This project was created by Guilherme Rizzo to study Python and the use of Sense Hat.

What is Sense Hat?

"The Sense HAT is an add-on board for the Raspberry Pi, made especially for the Astro Pi competition. The board allows you to make measurements of temperature, humidity, pressure, and orientation, and to output information using its built-in LED matrix."

You can find more information HERE.

Learning Objectives

  • Python anatomy
  • Types and values
  • Conditionals and operators
  • Building loops
  • Defining functions
  • Python data structures: lists, tuples, sets, and more
  • Creating classes
  • Handling exceptions
  • Working with strings
  • File input/output (I/O)
  • Object Oriented Programming model (OOP)
  • Integrating a database with Python db-api

Sense Hat

  • Displaying Text
  • Displaying Images
  • Creating animations
  • Sensing the environment
  • Using joystick

Snake Assistant - "Snaky"

The snake assistant displayed on the Sense Hat is called "Snaky" and it was created to perform some functions:

  • Cheer you up
  • Display the room Temperature, Humidity and Pressure every 15 minutes
  • Notify when the room temperature > 27 C or humidity < 30%
  • If room temperature or humidity is out of the comfortable zone Snaky will change its colour
  • Remember you the lunch time and Night time

Snaky Friends

Snaky has some friends to catch your attention to some important moments of the day:

  • Lunch time - Kirby
  • Night time - Pikachu

Sense Hat Dashboard

All the Sense Hat data is stored at:

Display Routines

Snaky and his friends was configured to display the routines below:

  • Cheer you up - every 5 minutes
  • Room data - every 15 minutes
  • Lunch time - daily at 11:30am, 12:30pm and 1:30pm
  • Night time - daily from 8pm to 00am (every hour)

Contact

Please fell free to give suggestions and collaborate with the project!

As an entry-level programmer I would appreciate your constructive criticism, I'm in a constant learning process.

Happy coding!

Guilherme Rizzo

[email protected]
rizz0014.github.com
LinkedIn

raspassist's People

Contributors

rizz0014 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.