Skip to main content
  • 2033 Accesses

Abstract

Using XBee modules and microcontrollers to host sensors is an economical way to build a sensor network. But what do you do when you need more computational power than a microcontroller can provide? What if you need to convert the data to a different format, incorporate the data in an application, or print a hard copy of the sensor data? In these situations, you likely need a computer that has more processing power, can allow the use of common applications, permits the use of scripting languages, and affords access to peripherals.

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

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.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

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    In this case, you require I/O ports that can be used as components in an electronic circuit and can be accessed (read from and written to) by programming libraries.

  2. 2.

    Most USB hard drives and DVD drives work.

  3. 3.

    Secure Digital (SD): a small removable memory drive the size of a postage stamp. See http://en.wikipedia.org/wiki/Secure_Digital.

  4. 4.

    My alma mater has made this very sad transition. I mourn for the loss of knowledge.

  5. 5.

    My first real computer was an IBM PCjr. I followed it by building my own IBM PC AT computer, complete with a 10MB hard drive. Ah, those were the glory days of personal computers!

  6. 6.

    Guess how I know this. Yep, I’ve had to repair both connectors on various boards at least once.

  7. 7.

    They go by so fast; it is unlikely you can read them anyway. Basically, they’re noise unless there is an error, and those usually appear in the last few lines displayed.

  8. 8.

    What? Never heard of floppy drives? The original ones were indeed floppy. For bonus points, what was the storage capacity of the 8” dual-sided, double-density floppy medium?

  9. 9.

    In case you were curious, there is no dog command.

  10. 10.

    Meaning it is the preferred way. Sometimes code can be described as “pythonic,” which also means it was written in the preferred Python style or with specific syntax. Learning to program Python with Pythonisms comes second to everyone who learns Python, but it is the mark of a true Pythonista to be able to know the difference.

  11. 11.

    Hardcore code junkies and hackers alike love this stuff.

  12. 12.

    See https://pypi.org/.

  13. 13.

    I recommend shopping around to find the best deal. At the time of writing, demand for the Raspberry Pi 4B is still greater than the supply, so the cost is a bit higher.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Charles Bell

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Bell, C. (2020). Raspberry Pi–Based Sensor Nodes. In: Beginning Sensor Networks with XBee, Raspberry Pi, and Arduino. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5796-8_5

Download citation

Publish with us

Policies and ethics