Git Product home page Git Product logo

astro-pi-guide's Introduction

A Guide to Astro Pi

This is an archived resource. The repo will remain available but the resource will no longer be maintained or updated. Some or all parts of the resource may no longer work. To see our latest resources, please visit raspberrypi.org.

Astro Pi

This collection of guides and worksheets has been designed to provide you with a broad understanding of the Sense HAT and its capabilities. They could be used by teachers and students who have just entered the Astro Pi Secondary School competition, or by anyone wanting to make the most of their Sense HAT. It will introduce you to what the board does, how to set it up, how to write your first program, and how to use the HAT's many features.

Getting Started

Sensors

Inputs & Outputs

Learn more about Astro Pi

astro-pi-guide's People

Contributors

aisforastronaut avatar bennuttall avatar davidhoness avatar f3rr3t avatar janinapi avatar jrobinson-uk avatar lauraclay avatar lawsie avatar lornalynch avatar marcscott avatar missphilbin avatar wesclemens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

astro-pi-guide's Issues

https://www.raspberrypi.org/learning/astro-pi-guide/sensors/movement.md

I have a remark about the sensors-movement learning sheet.
It has to do with te APOLLO SOYUZ DEMO part. The Apollo-soyuz module did never go to the moon.
In fact this module was used for test purposes after the Apollo went to the moon. See this wikipedia link about the Apollo-Soyuz Test project: https://en.wikipedia.org/wiki/Apollo–Soyuz_Test_Project

The program works fine and it is a very good example for movement demonstration.

Joystick page update

Just noticed that the joystick page is still using Pygame. Needs updating to the new sense hat joystick controls.

Screws & spacers not always included

assemble.md says the Sense HAT comes with screws, spacers and GPIO extension header, but not all sellers are including screws and spacers, though my impression is that the header is included by Farnell and RS (and presumably therefore resellers).

This is the first time I've opened an issue - please tell me if I'm doing stuff wrong!

Staging

Hi @bennuttall, there has been a lot of activity this week to get this repo ready for publication on Friday 22nd May. The current plan is to publish this repo in a similar way as the classroom guide on the website in the teach section. On your return would it be possible to get it up on staging so that we cant fix any problems with it before or on Friday? Thanks.

code fixes for "Reaction Game" in Sense Hat Python cheatsheet

While working through the Sense HAT Python cheatsheet I found some errors that prevent the game from working. The sense.get_accelerometer_raw().values() call returns a dictionary with index values 'x', 'y' and 'z', but the program sets variables x, y and z by position instead of index values. When I ran it, the actual value for index 'z' was being assigned to variable y. The following revised code block works:

    acceleration = sense.get_accelerometer_raw()
    x = round(acceleration['x'], 0)
    y = round(acceleration['y'], 0)
    if y==-1 and angle==180:
        sense.set_pixels(arrow_green)
        score=score+1
    elif y==1 and angle==0:
        sense.set_pixels(arrow_green)
        score=score+1
    elif x==-1 and angle==90:
        sense.set_pixels(arrow_green)
        score=score+1
    elif x==1 and angle==270:
        sense.set_pixels(arrow_green)
        score=score+1
    else:
        sense.set_pixels(arrow_red)
        play=False

Note that I had to adjust the if / elif conditions to get this to work properly.

Outdated introduction and video

The opening copy was written before the Astro Pis arrived on the ISS ("Two specially adapted Raspberry Pis will be travelling [...] The Raspberry Pis will include [...]"). The video was made for the first Astro Pi competition and is no longer the best one to represent the programme. It might be better just to refer people to https://astro-pi.org/ so that this guide doesn't just become outdated again.

Check over

Hi @davidhoness, James and I have put this repo together based on your lessons. The only file missing is for movement. Would you mind having a glance over to check that it is ok? Thanks.

copy edit

Hi @lauraclay & @LornaLynch, hope you are well. I know some of this repo has been through copy, but could the rest be completed so that we can publish it tomorrow? Perhaps you could divide the pages between yourselves to make it easier? It would be super helpful.

Many thanks!

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.