Reader small image

You're reading from  Artificial Intelligence for IoT Cookbook

Product typeBook
Published inMar 2021
Reading LevelIntermediate
PublisherPackt
ISBN-139781838981983
Edition1st Edition
Languages
Right arrow
Author (1)
Michael Roshak
Michael Roshak
author image
Michael Roshak

Michael Roshak is a cloud architect and strategist with extensive subject matter expertise in enterprise cloud transformation programs and infrastructure modernization through designing, and deploying cloud-oriented solutions and architectures. He is responsible for providing strategic advisory for cloud adoption, consultative technical sales, and driving broad cloud services consumption with highly strategic accounts across multiple industries.
Read more about Michael Roshak

Right arrow

Getting ready

In this recipe, we are going to deploy Z-Spikes on a Raspberry Pi with a Sense HAT. The hardware itself is a fairly common development board and sensor setup for people learning about IoT. In fact, students can send their code to the International Space Station to be run on their Raspberry Pi and Sense HAT. If you do not have the equipment, there is an alternative code in the GitHub repository that simulates the device.

Once you have powered on your Raspberry Pi and attached your Sense HAT, you will need to install SciPy. In Python, you can usually install everything you need with pip, but in this case, you will need to install it through the Linux operating system. To do this, run the following commands in a terminal window:

sudo apt update
apt-cache show python3-scipy
sudo apt install -y python3-scipy

You will then need to pip install numpy, kafka, and sense_hat. You will also need to set up Kafka on a PC. There are instructions in Chapter 1, Setting up the IoT and...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Artificial Intelligence for IoT Cookbook
Published in: Mar 2021Publisher: PacktISBN-13: 9781838981983

Author (1)

author image
Michael Roshak

Michael Roshak is a cloud architect and strategist with extensive subject matter expertise in enterprise cloud transformation programs and infrastructure modernization through designing, and deploying cloud-oriented solutions and architectures. He is responsible for providing strategic advisory for cloud adoption, consultative technical sales, and driving broad cloud services consumption with highly strategic accounts across multiple industries.
Read more about Michael Roshak