Skip to main content
  • Book
  • © 2018

Raspberry Pi for Arduino Users

Building IoT and Network Applications and Devices

Apress
  • Leverage your Arduino skills to go further with the Raspberry Pi
  • Understand the Raspberry Pi from an Arduino view without starting from scratch
  • Jump to Raspberry Pi for internet of things applications beyond the Arduino
  • 33k Accesses

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (13 chapters)

  1. Front Matter

    Pages i-xxvii
  2. Your Shopping List

    • James R. Strickland
    Pages 1-33
  3. Meet the Raspberry Pi

    • James R. Strickland
    Pages 35-61
  4. Survival Linux

    • James R. Strickland
    Pages 63-122
  5. Meet C++

    • James R. Strickland
    Pages 123-177
  6. Meet WiringPi

    • James R. Strickland
    Pages 179-211
  7. Input and Output

    • James R. Strickland
    Pages 213-234
  8. One Pi, Multiple Processes

    • James R. Strickland
    Pages 235-258
  9. One Process, Multiple Threads

    • James R. Strickland
    Pages 259-287
  10. From Pi to the World: Network Sockets

    • James R. Strickland
    Pages 289-339
  11. Serving Pi: Network Servers

    • James R. Strickland
    Pages 341-371
  12. Files and Filesystems

    • James R. Strickland
    Pages 373-394
  13. The Best of Both Worlds

    • James R. Strickland
    Pages 395-413
  14. Conclusions, Credits, and Parting Thoughts

    • James R. Strickland
    Pages 415-418
  15. Back Matter

    Pages 419-427

About this book

Leverage your Arduino skills in the Raspberry Pi world and see how to cross the two platforms into sophisticated programs.



The Arduino and Raspberry Pi communities overlap more than you might think. Arduinos can be expanded to have network capabilities with a variety of “shields,” all of which increase the cost and complexity of the system. By contrast, Raspberry Pis all run Linux, which is a very network-competent platform. The newest Pi, the Raspberry Pi Zero W,  is WiFi and Bluetooth capable, and costs around $10 U.S. For network enabled gadgets, it makes far more sense to cross to the Raspberry PI platform, if only someone would make it easy to do. That's what this book is about.



You'll learn some survival level Linux system administration, so you know how to set the machine up and how to establish at least minimal security for your gadget.  You''ll set up and learn the Geany IDE on your Pi, which is fairly similar to the Arduino IDE. 


Where the two platforms overlap the most is the GPIO system. You'll see that several projects use and explain the WiringPi system. This is is deliberately similar to the Arduino's 'Wiring' functionality, which is how sketches interact with GPIO pins. You'll learn the differences between the GPIO pins of the two devices, and how the Pi has some limitations on those pins that the Arduino does not. As a final project, in an effort to escape some of those limitations, you'll attach an AtMEGA 328P to the Raspberry Pi and configure it as a real, 8MHz Arduino with the Arduino IDE running on the Pi, and learn how to have the two platforms communicate, giving you the best of both worlds.



What You'll Learn

  • Establish security with Linux system administration
  • Set up the Apache webserver
  • Write CGI programs so other computers can connect to your Pi and pull datain from it. 
  • Use C/C++ from Arduino sketches to write programs for the Pi   

Who This Book Is For 


The Arduino user who's been through all the tutorials and is comfortable writing sketches and connecting hardware to their Arduino. 

Authors and Affiliations

  • Highlands Ranch, USA

    James R. Strickland

About the author

Jim Strickland has spent his undergraduate, graduate, and professional careers in technical support and system administration—explaining computers and IT systems to others. He's used Unix-like OSs in various incarnations from Ultrix32 in the early 1990s to Slackware Linux in the mid '90s to OS X, Raspbian, and Xubuntu today. And he has experience with non-Unix-like OSes such as MS-DOS, Windows, Macintosh System 7, CP/M-80, and so on. He bought his first Arduino in 2010. Soldering that little board together offered him a crash course in digital electronics making beyond the "Insert board, load driver" level.

He has a master's degree in Communications Development, a BA in creative writing with minors in Computer Science and Psychology. He worked in the computer industry for several years before turning to a writing career. He is the author of Junk Box Arduino: Ten Adventures in Upcycled Electronics and has also written science fiction.

Bibliographic Information

  • Book Title: Raspberry Pi for Arduino Users

  • Book Subtitle: Building IoT and Network Applications and Devices

  • Authors: James R. Strickland

  • DOI: https://doi.org/10.1007/978-1-4842-3414-3

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: James R. Strickland 2018

  • Softcover ISBN: 978-1-4842-3413-6Published: 20 June 2018

  • eBook ISBN: 978-1-4842-3414-3Published: 19 June 2018

  • Edition Number: 1

  • Number of Pages: XXVII, 427

  • Number of Illustrations: 62 b/w illustrations

  • Topics: Hardware and Maker

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access