You are on page 1of 5

High Quality, Low Cost Education

with the Raspberry Pi


Narasimha Saii Yamanoor Srihari Yamanoor
Kenmore, NY, USA San Jose, CA, USA
yamanoorsai@gmail.com yamanoor@gmail.com

Abstract— The Raspberry Pi Single Board Computer (SBC) Architecture [4], Engineering, Robotics and other sciences and
family has gained popularity in diverse areas, while education hobby project implementations [20].
remains to be the fundamental driver behind the design. Low
cost kits are provided, specifically for education, by the The Raspberry Pi Computer is a System on Chip (SoC), a
Raspberry Pi Foundation in conjunction with Google. These kits design where a single board carries all the essential circuits,
and modifications for optimal educational outcomes, and an such as the Central Processing Unit (CPU), the Graphics
enriched experience will be briefly discussed. The tutorial will Processing Unit (GPU), and several input, output and
consist of examples of projects and code samples that can be processing circuits [4]. The availability of features such as the
quickly adapted for various learning situations. A hardware list General Purpose Input Output (GPIO) pins make the computer
or BOM, populated and optimized for cost and effective learning amenable to programming hardware, as well as driving
will be provided. The Raspberry Pi family and Arduino Family electronic circuitry and collect data through various means.
can also be used for education, as alternates, or in combination This makes the computer capable of being of use in many
with the Raspberry Pi Zero and the differences will be different educational areas. The first generation of the
highlighted and discussed. Numerous, continuously evolving web computer came with an SD Card slot to allow for the
resources as well as crowdfunded hardware implementations are installation and use of a suitable version of Linux, either one
available, and the method of adapting them into educational made available by the Raspberry Pi Foundation, the Raspbian
settings will be briefly discussed. OS, or one of the alternates available. The second and third
generation computers have a MicroSD Card slot.
Keywords—Single Board Computers (SBC); Raspberry Pi;
Raspberry Pi Zero; Education; Low Cost Kits; Arduino; The addition of a keyboard, a mouse and a display monitor,
adaptable directly with HDMI or converted from HDMI to an
I. INTRODUCTION alternate form is sufficient to get the Raspberry Pi operational.
Newer models can connect to the internet through WiFi. In
Our objective is to describe the use of Single Board
addition, using accessories, termed Hats, internet connection
Computers (SBCs) such as the Raspberry Pi, and
can also be accomplished through standard wiring. A single
Microcontrollers such as Arduino in creating cost-effective
functional Raspberry Pi Unit can be set up for approximately
solutions to promote STEM education in developing nations.
$100 or less.
Our experience has been mostly with Raspberry Pi and
therefore we write about that system. This is not a Like the Shields, which are essentially Printed Circuit
recommendation and is only a model. Several SBCs and Boards (PCBs) with specific designs and components
Microcontrollers are available in the market, and potentially developed to work with the Arduino Microcontroller [22],
even new ones can be designed as necessary. A comparison several accessories, commonly termed HATs, short for
and an ideal fit for a given set of instructional scenarios are Hardware Attached On Top, have emerged for use in
outside the scope of this work. Several resources are available conjunction with the Raspberry Pi, encouraged by the
for this purpose [16]. Raspberry Pi Foundation, which has designed the SBCs to be
easily adapted [23]. These accessories allow the adaptation of
The Raspberry Pi line of computers are designed and
the GPIO, or the use of a breadboard, and/or provide other
manufactured with the objective of improving computer
exclusive enhancements that expand the utility of the
education, especially at the pre-university level [1,4]. SBCs
Raspberry Pi Computer. This feature has made the Raspberry
have created a revolution, with application ranging from arts
Pi adaptable to several applications.
and gaming to education and hobbies to even serious
applications. One of the authors of this publication has
previously installed over 140 Raspberry Pi based audio and II. EDUCATIONAL USES IN DEVELOPING NATIONS
video systems to monitor and aid teachers in an innovative The Raspberry Pi’s cost effectiveness and diverse utility
secondary school setting [21]. Such spirited usage, has rapidly have led to diverse educational and other uses in both
brought Raspberry Pi to become the third most sold computers developing and developed nations [5].
in history, selling 12.5 million units over 5 years [2]. In the
field of education, Raspberry Pi can aid in teaching Computer S. Uppal [6] created low cost kits, defrayed by a crowd-
Science, general purpose Programming [3] and Computer funding campaign and used them in instructing secondary
school students in India in programming. RACHEL-PI, is financing to establish 19 “University based Centers for
another innovative use of the Raspberry Pi in the developing Excellence” in 7 countries in Africa [13].
world. The RACHEL-PI is an offline server, run by a
Some developing nations have seen promising efforts
Raspberry Pi, and contains educational material scrubbed from
through non-governmental efforts in addition to Global
all over the web that students can learn from [7]. Afrimakers
Organizational efforts and Government efforts. India STEM
is a project aimed at distributing Raspberry Pi and Arduino
Foundation, a non-profit is one such example [14]. Other
based kits and create training hubs in 7 African Nations [8].
examples include efforts in Colombia and Guatemala through
Other innovative uses resulting from the exposure of students
projects by the Humanitarian Engineering Program at Ohio
in Africa to the Raspberry Pi are also notable [9].
State University [17]. However, not all developing nations
There is immense opportunity to deliver effective, practical, would have access to such resources. There is also much
hands-on training through low-cost kits, as demonstrated by unevenness in funding. Low cost options such as the Raspberry
examples in the workshop. One example is detailed in Section Pi can allow STEM Instructors design their own kits and
III for illustration. inculcate and sustain interest among students. Since the
Raspberry Pi and Arduino are well understood and the volume
A. STEM EDUCATION of study materials surrounding such architectures are growing
The United Nations Educational, Cultural and Scientific phenomenally every day, which will allow educators to attract
Organization (UNESCO) has stated that Science, Technology, grant funding better.
Engineering and Mathematics (STEM) Education is important Other gaps and issues remain, some of which may not be
for both developed and for developing nations [10]. STEM is directly solved through such tools, but exposure to them could
not a concept merely focused on instruction in science and help. Girls face significant challenges when it comes to access
math. The expectation is that students will be exposed to, and to educational resources, especially STEM resources, as noted
develop a keen understanding of the relationship between by UN [18].
science, math and their application that creates technology and
engineering methods and solutions[15]. The authors note that access to STEM education tools is not
of importance solely to students in developing nations. There
Thus, a high quality STEM program will provide students are multiple efforts to bring these tools to students in developed
with the necessary experiences [15] that help develop an nations. The series of FIRST Robotics Contests, held for K-12
understanding of the interrelationships and sustain interest in students, annually is a very good example of an established
science and mathematics education. This interest, will also help program. The impact of this program, in terms of sustained
mature an interest in engineering and technology education at interest in STEM, the number of graduates that went on to
the University level. Experiences are obtained through college programs and other positive results has been studied
exercises such as engaging in the assembly of robots, games, and reported [24].
and other application examples that are productive, and
generate excitement and interest. However, even in developed nations, access issues remain.
Girls and students categorized under other underserved groups
With the Raspberry Pi Computer or the Arduino do lack access to high quality STEM education, which tends to
Microcontroller, it is possible to create an entire curriculum, limit their career choices. Depending on whether it is a
starting at initial set up and programming progressing towards developed nation, or a developing nation issues associated with
sensory inputs and outputs, and later building applications such STEM education and resource access may vary significantly
as robotics [20]. This approach can provide a better well- [19]. A detailed discussion and comparison is outside the scope
grounded approach than standalone kits that only help build of this work. Detailed analysis of the existing challenges and
one application, allowing both instructors and the students to some solutions are offered elsewhere [25].
expand on the instructional material and construct new and
interesting projects. Further advanced applications may involve B. RASPBERRY PI FOUNDATION
the integration of smart phones into these projects, for students
The Raspberry Pi Foundation is a non-profit that strives to
with a higher level of interest in engagement with STEM.
bring low cost digital education and making tools to the
Since the Raspberry Pi can be connected to the internet, the
classroom and elsewhere [28]. The Foundation has created
scope of the projects can be expanded further, provided
learning resources in partnership with educators, hobbyists, and
internet access exists.
companies such as Google and Microsoft. These learning
If high quality STEM tools become equally available to resources are made available to educators on the Raspberry Pi
developing nations, as they are to developed nations, those Foundation's website. These learning resources range from
nations can inspire their own scientists and engineers, to solve setting up the Raspberry Pi to various project implementations
regional problems and improve local economies, rather than and examples. They also participated in efforts such as the
rely on technology transfer and be dependent on developed donation of Raspberry Pi computers to classrooms in
nations [11]. According to the World Bank, professionals such developing countries.
as research assistants, technicians etc. are lacking in the
In addition, the Raspberry Pi Foundation has created
developing world, as is the prevalence of quality science
certification programs for educators to teach computer science
education in the general population [12]. Recognizing the
in the classrooms [29].
potential for employment, in 2014, the World Bank approved
III. DISSEMINATION OF STEM EDUCATION Raspberry Pi Zero W is chosen to emphasize cost
The authors have experience creating and disseminating effectiveness.
study materials for autodidactic and instructional settings [3, C. Workshop Dissemination
20]. The workshop will be organized based on this experience,
to provide the target audience with ample example The work is expected to be performed through self-
implementations that can be adopted as-is, or with direction. Ample support and direction will be provided
modifications to meet specific objectives for different student throughout. Instructional materials with visual aid will be
cohorts. It is suggested that the kits and materials used allow provided. All instructional and support materials will be
for modular, progressive learning to optimize learning. A provided through a web repository [26]. This can serve as a
certain number of implementations from readily available model for a specific subset of STEM classroom work.
project kits will also be demonstrated. Curriculum creation,
funding and other educational issues are at the discretion of the
D. Example Tutorial
educators; however, suggestions will be provided. Cost
estimates for the different STEM projects will also be A simple implementation example using the Raspberry Pi,
provided. A web repository of resources is being published can serve as a warm-up exercise, and is described here. The
and will be made available [26]. A brief discussion of the goal of this tutorial is to use the Raspberry Pi to make an LED
expected target audience and material presentation follows. attached to a breadboard to go on and off (blink) at a particular
frequency. The following supplies are required for this tutorial.
A. Target Audience Materials will be provided for use during the workshop:
Instructors who teach sciences and mathematics to students თ Raspberry Pi Zero W
in high schools and secondary schools will benefit the most
from the workshop. Others, involved in curriculum design, თ Breadboard
planning and fundraising, or those who provide funding for
STEM programs can also benefit from the workshop. To თ Jumper Wires
maximize benefit from the workshop through active
participation, some familiarity with electronics and assembly, თ LEDs,
as well as exposure to programming and microcontrollers is
recommended. A drag and drop programming interface will be თ Resistors
used for the programming portion of the exercise, to assist
თ Power supply for the Raspberry Pi
anyone unfamiliar with programming. Participants are
encouraged to bring their own Raspberry Pi Computers and The Raspberry Pi should be set up, powered up, then
accessories if available. Otherwise, kits will be provided for the powered down, and a connection should be established
duration of the workshop. between the LED and the Raspberry Pi. Figure 1 acts as a
reference. The Raspberry Pi is shown in green, and the
B. Raspberry Pi Preparation
While preparatory work is not necessary, a brief outline is
provided to lay out, both in aid of preparation and to exemplify
the proposed flow of the workshop. The following resources
are required to set up the Raspberry Pi:
x Raspberry Pi (any version)
x Keyboard
x Mouse
x Monitor
x USB power supply Fig 1: LED set up for Raspberry Pi Blinking Tutorial.

x Network connectivity (Wi-Fi, or ethernet The cathode of the LED, which is the shorter lead of the
connectivity) LED should be connected to the GPIO pin 4 and the anode,
with the longer lead connected to the 5V as shown. A 220
There are different variants of the Raspberry Pi, Model A, ohms resistor must be used to limit the current. The
Model B and Model Zero. There are three different calculation of the resistor value might be a good exercise in a
generations of the Raspberry Pi but currently the Raspberry Pi classroom setting and is well described [30].
Model B+ (v2 & v3) [27] are in production along with A program called Node-RED ideally suited for use where
Raspberry Pi Zero. Note that this may change later. The students might have limited prior programming experience,
Raspberry Pi 3 Model B+ and Raspberry Pi Zero W come will be used for this exercise [31]. This program uses a flow-
with a Wi-Fi and bluetooth chipset. For the workshop, the based programming interface, alternately known as a drag-
and-drop programming interface, with a simple installation
and initiation process [31]. Robotics is a staple of STEM programs in schools and we
Once initiated, Node-RED is accessed via the browser recommend instructors include at least one exercise in their
using the following address: http://raspberrypi.local:1880 . program. To help with an understanding of the resources,
The programming snippet required to complete the LED timelines, and other aspects of this exercise, one will be built
blinking will be provided with the workshop resources [26] during the workshop. To allow for a better understanding of
and is also available on the Node-RED website [32]. The pin project expenses, we priced the construction of a simple robot
that requires to be set can be set using the visual interface. and have provided estimates in Table 1.
When the display button is clicked, the LED blinks once a Such cost estimates will be presented throughout the
second. Exercises for students can include changing the workshop, along with where such resources can be purchased.
frequencies, blinking multiple LEDs and others. This can help instructors during grant requests and curriculum
planning.
IV. FUTURE WORK
Our goal is to participate in the global effort to democratize
STEM education. Our current work spans prominent STEM
instructional hardware and software such as Arduino,
Raspberry Pi and Python. We will continue to expand our work
to include other free, open source and cost-effective STEM
tools or tools amenable to instruction. We also recognize the
need to customize tools for further underserved groups such as
Fig 2: The Node Flow Programming Interface
girls and students with physical or learning disabilities. This
There are several other methods to arrive at this result. The will be part of our ongoing focus. We plan future Workshops
authors describe one in [20]. This method was chosen to and Publications to facilitate educations in disseminating
STEM education to underrepresented groups.
introduce instructors to a simple drag-and-drop programming
interface, as one other method of instruction.
This introductory tutorial describes the general workflow REFERENCES
that will be used in the workshop. Other exercises are planned [1] Raspberry Pi Foundation. “About Us”. (2017 Jun 25). [Online].
so that different educators can complete different exercises Available: https://www.raspberrypi.org/about/
according to prior experience and pace. All exercises will [2] The MagPi Magazine. “Sales Soar and Raspberry Pi Beats Commodore
64”. (2017 Apr). [Online]. Available:
come with instructions and a full listing of the required https://www.raspberrypi.org/magpi/raspberry-pi-sales/
resources. To allow for limitations of time, some completed [3] S. Yamanoor, S. Yamanoor, “Python Programming with Raspberry Pi”,
projects will be available for perusal during the workshop. Packt: Birmingham, April 2017.
[4] E. Upton, J. Duntemann, R. Roberts, T. Mamtora, B. Everard, “Learning
E. Simple Robot Cost Estimate Computer Architecture with Raspberry Pi”, Wiley: Indianapolis,
September 2016.
TABLE 1: COST ESTIMATES FOR A SIMPLE ROBOT [5] Raspberry Pi Foundation. “Tag: developing world”. (2017 Jun 25).
[Online]. Available: https://www.raspberrypi.org/blog/tag/developing-
world/
Simple Robot Construction Exercise [6] L. Upton. “The Pi á la Code Project: Taking the Raspberry Pi to Rural
Item Approximate India”. (2015 Dec 18). [Online]. Available:
Hardware Cost (USD) https://www.raspberrypi.org/blog/the-pi-a-la-code-project-taking-the-
raspberry-pi-to-rural-india/
[7] L. Upton. “RACHEL-Pi – Delivering Education Worldwide”. ( 2014
1 Raspberry Pi Zero W 10 Oct 17). [Online]. Available: https://www.raspberrypi.org/blog/rachel-
Micro USB cable 0.90 pi-delivering-education-worldwide/
2
[8] D. Lumb. “Bringing the Maker Revolution to Africa, One Raspberry Pi
3 MicroSD card 6 At A Time”. (2013 Dec 09). [Online]. Available:
https://www.fastcompany.com/3023170/bringing-the-maker-revolution-
4 Motor Driver 3 to-africa-one-rasperry-pi-at-a-time
5 DC Motors * 2 11 [9] E. Upton. “More on Raspberry Pi in Africa”. (2014 Feb 13). [Online]
Available: https://www.raspberrypi.org/blog/more-on-raspberry-pi-in-
6 Battery Pack 4.25 africa/
[10] UNESCO. “Science Education Programme”. (2017 Jun 25). [Online].
Resistors, LEDs and other 1 Available: http://www.unesco.org/new/en/natural-sciences/special-
7
discrete components themes/science-education/about-the-programme/
8 Chassis 2 [11] E. Tyokumber, “Does Science Education in Developing Countries Really
Count?”, Bull. Ecol. Soc. Am., Vol 91:4, Oct 2010.
9 Breadboard 1
[12] K. Lewin, “Mapping Science Education Policy in Developing
10 Wheels + Castor Wheel 4.50 Countries”, The World Bank, 2000.

Total Cost Estimate Per Robot 43.65


[13 The World Bank. (2014 Apr 15). [Online]. Available: [23] J. Adams. “Introducing Raspberry Pi Hats”. (2014 Jul 31). [Online].
http://www.worldbank.org/en/news/press-release/2014/04/15/world- Available: https://www.raspberrypi.org/blog/introducing-raspberry-pi-
bank-centers-excellence-science-technology-education-africa hats/
[14] India Stem Foundation.(2017 Jun. 25). [Online]. Available: [24] A. Melchior, F. Cohen, T. Cutter, T. Leavitt, “More than Robots: An
https://indiastemfoundation.org/ Evaluation of the FIRST Robotics Competition Participant and
[15] P.R. Hernandez et. al. “Connecting the STEM dots: measuring the Institutional Impacts”, Brandeis U., Apr 2005.
effectof an integrated engineering design intervention”, Int. J Technol [25] E.L. Baker et. al., “STEM 2026 A Vision for Innovation in STEM
Des Educ, 2014, Vol. 24, pp. 107–120. Education”, US Department of Education, pp. 27-43, Sep 2016.
[16] M. Stultz, “Table of Boards”, Make, Special Pullout Vol. 57 June/July [26] S. Yamanoor, S. Yamanoor. “GHTC 2017 Raspberry Pi Workshop
2017, pp. 2-7. Resources”. (Unpublished) [Online]. Available: https://github.com/sai-
[17] K.M. Passino et. al., “Humanitarian Engineering at The Ohio State y/rpi-learning-res
University: Lessons Learned in Enriching Education While Helping [27] Element14 Community. “Raspberry Pi”. (2017 Jun 25). [Online].
People”, Int. J. Serv Learn Engg, Special Edition, pp. 78 – 96, Fall Available:
2014. https://www.element14.com/community/community/raspberry-pi
[18] “Closing the Gender Gap in STEM”, UNESCO Asia-Pacific Education [28] Raspberry Pi Foundation. “About Us”. (2017 Jun 25). [Online],
Thematic Brief, August 2016. Available: https://www.raspberrypi.org/about/
[19] J. Boaler, “Changing the Conversation about Girls and STEM”, The [29] Raspberry Pi Foundation. “Raspberry Pi Certified Educators”. (2017 Jun
White House, April 2014. 25). [Online]. Available: https://www.raspberrypi.org/raspberry-pi-
[20] S.Yamanoor, S. Yamanoor, “Raspberry Pi Mechatronics Projects certified-educators/
Hotshot”, Packt: Birmingham, Feb 2015. [30] Artisan’s Asylum. “Introduction to Raspberry Pi”. (2017 Jun 25).
[21] S. Yamanoor, “Building a connected classroom”, Unpublished paper. [Online]. Available: http://raspberrypi-
aa.github.io/session2/led_control.html
[22] Arduino. “Shields”. (2017 Jun 25). [Online]. Available:
https://www.arduino.cc/en/Main/arduinoShields [31] Node-RED. “About”. (2017 Jun 25). [Online]. Available:
https://nodered.org/about/

You might also like