Raspberry Pi 8949310 Manual de Usario

Lee a continuación 📖 el manual en español para Raspberry Pi 8949310 (10 páginas) en la categoría No categorizado. Esta guía fue útil para 2 personas y fue valorada con 4.5 estrellas en promedio por 2 usuarios

Página 1/10
Plug and Play IoT with the Pi Sense HAT
Posted by Tue, Sep 15 2015stuartChilds on
Creating connected sensors and displays with MQTT and Node-RED.
Packed with on-board features including a gyroscope, humidity and pressure
sensors, not to mention an 8x8 RGB LED matrix, the for the Raspberry Sense HAT
Pi makes interfacing with the outside world easier than ever.
Destined for Space
Originally designed for a project that will see two Raspberry Pis sent into Astro Pi
space these boards have been in the hands of UK schoolchildren and teachers
since the launch of the project in January 2015. This means that there are already
comprehensive learning resources and code examples for the Sense HAT available
online.
Students were encouraged to submit project proposals in a bid to get their code
executed in space, on the two very special Pis being sent up to the International
Space Station towards the end of 2015.
General availability
Sense HATs have now gone into full production and are an official Raspberry Pi
product, available to buy and finding their way into the hands of hobbyists and the
wider community.
In this post we will set up a Raspberry Pi 2 with a Sense HAT, before using it to build
a remote sensor and display node connected to a Node-RED system (that we built in
a previous post).
Installing the Sense HAT
First, ensure the Pi is turned off and power lead disconnected. Mount the Sense HAT
following the instructions . Included are 4 spacers to hold the HAT securely in here
place, a nice touch and something often overlooked with add-on boards.
Power up the Pi and you should be treated to a colourful illumination of the RGB
LED matrix. If you experience problems with booting now, you may need to check
that your power supply can handle the extra current needed to power the Sense HAT
along with the Pi (though it is only an extra 40mA or so).
Next ensure Raspbian is up to date:
$ sudo apt-get update
$ sudo apt-get upgrade
Install the Sense HAT software package:
$ sudo apt-get install sense-hat
And Pillow, to ensure compatibility with Python 3:
$ sudo pip-3.2 install pillow
Then reboot the Pi to complete the installation:
$ sudo reboot
Testing the Sense HAT
First, let's check that the LED matrix is working correctly by using a simple Python
program. Use a text editor to create a file (the editor is used in this example as nano
it is simple to use):
$ nano test.py
Once in the editor, add the following 3 lines:
from sense_hat import SenseHat
sense = SenseHat()
sense.show_message(“Hello World”)
Save the file and quit the editor.

Especificaciones del producto

Marca: Raspberry Pi
Categoría: No categorizado
Modelo: 8949310

¿Necesitas ayuda?

Si necesitas ayuda con Raspberry Pi 8949310 haz una pregunta a continuación y otros usuarios te responderán




No categorizado Raspberry Pi Manuales

No categorizado Manuales

Últimos No categorizado Manuales