Node-RED on a Raspberry Pi




100 Points
Learning Objectives

These exercises download and install Node-RED onto a Raspberry Pi.
This provides a no code web interface to quickly create IoT applications using the GrovePi sensors, actuators and other digital technology.

More information on Node-RED is available online.
Being able to use this software will greatly simplify rapid prototyping of your ideas to solve problems.

After completing this assignment you will be able to:

  1. Obtain Node-RED
  2. Install Node-RED on a Raspberry Pi
  3. Run Node-RED
  4. Understand the Node-RED interface

Assignment Overview
This assignment reviews basic computer concepts that you will need in this course and throughout your career.

You are expected to have a working knowledge of SBC hardware and software.
If you do not understand how to use an item, perform a Google Search, refer to the WSU Technology Knowledge Base,  ask a teaching assistant, or ask the instructor.


Exercise 1-Install WaveMon
  1. These steps are performed on the Raspberry Pi, either by using a mouse and keyboard attached directly to the Raspberry Pi, or establishing a VNC connect per IOTP03.
  2. Make sure your Raspberry Pi is connected to the WSU Guest wireless network.
    To establish a VNC connection, your laptop must be attached to the WSU network via a wired connection.
    See IOTP02 for details.
  3. If you have not run your Raspberry Pi in a while, make sure to first open and Terminal window and run these commands:
    sudo apt-get update
    sudo apt-get upgrade
    Note there may be other on-screen suggestions for commands to run.
  4. Open a browser to: https://www.raspberrypi-spy.co.uk/2014/10/how-to-use-wavemon-to-monitor-your-wifi-connection/
    and review how to install and use Wavemon.
  5. To install Wavemon, open a Terminal window and type the following command, then press Enter:
    sudo apt-get install -y wavemon

Exercise 2-Examine WaveMon
  1. These steps are performed on your Raspberry Pi.
  2. Open a Terminal window and start the Wavemon program by entering:
    wavemon
  3. After WaveMon begins, and you are at the main screen, examine and run the available functions, F1, F2, F3, F7:

    WaveMon functionsWaveMon Functions

  4. Run each function and examine the results.

Exercise 3-ScreenShot

Take a screenshot with WaveMon running in F1-info mode to document your work.
Note: this can be done using the Snipping Tool if you are running VNC, or use the scrot command if you are connected to the Raspberry Pi with a keyboard and mouse.

  1. On the Raspberry Pi, position the F1-Info window next to your name on the desktop.
  2. Take a screenshot.
  3. If on your laptop you may want to save the screenshot as "IOT01" in your ' ' folder.

ScreenShot IOT01


Upload Screenshot

Submit to the appropriate D2L Assignment folder a screenshot that documents your work.


(90) 1. Upload your screenshot to the 'IOT01' D2L Assignment Folder.


Submit Assignment

When all tasks are completed press the Submit button.


(10) 2. Assignment submission



Congratulations! You have successfully installed and used WaveMon, a WiFi monitoring program on a Raspberry Pi single board computer.


-- -- WHEN DONE -- --
SHUTDOWN THE RASPBERRY PI
TURN OFF THE POWER
REMOVE YOUR FLASH DRIVE