Site Information

 Loading... Please wait...

Blog

Sensor Networks with XBee, Raspberry Pi, and Arduino: Sensing the World with Python and MicroPython

Posted by Technical Literature on

Beginning Sensor Networks with XBee, Raspberry Pi, and Arduino: Sensing the World with Python and MicroPython

This book explains how to build sensor networks with Python and MicroPython using XBee radio modules, Raspberry Pi, and Arduino boards. This revised and updated edition will put all of these technologies together to form a sensor network and show you how to turn your Raspberry Pi into a MySQL database server to save sensor data.

The reader will review the different sensors and sensor networks, including how to build a simple XBee network, walk through building sensor nodes on the XBee, Raspberry Pi, and Arduino and learn how to gather data from various sensor nodes. 

The book also examines different ways to store sensor data, including writing to an SD card, sending data to the cloud, and setting up a Raspberry Pi MySQL server to host your data. The reader will learn how to connect to and interact with a MySQL database server directly from an Arduino. Lastly, the book explains how to put it all together by connecting the sensor nodes to the Raspberry Pi database server.

If you want to see how well XBee, Raspberry Pi, and Arduino can get along, especially to create a sensor network, then Beginning Sensor Networks with XBee, Raspberry Pi, and Arduino is precisely the book you need.

  • Code your sensor nodes with Python and MicroPython
  • Work with new XBee 3 modules
  • Host your data on Raspberry Pi
  • Get started with MySQL
  • Create sophisticated sensor networks

This book is suitable for building or experimenting with sensor networks and IoT solutions, even for readers with little or no programming experience. Another target group includes readers interested in using XBee modules with Raspberry Pi and Arduino and controlling XBee modules with MicroPython.

More Information...


Raspberry Pi 4 With PICAN3 CAN Bus HAT

Raspberry Pi 4 With PICAN3 CAN Bus HAT

fThe Raspberry Pi 4 offers groundbreaking improvements in processor speed, multimedia performance, memory, and connectivity compared to the prior-generation boards while preserving backward compatibility. The Raspberry Pi 4 provides desktop performance comparable to entry-level x86 PC systems.

The PiCAN3 board with SMPS (Switch Mode Power Supply) and RTC provides CAN-Bus capabilities for the Raspberry Pi 4. It uses the Microchip MCP2515 CAN controller with MCP2551 CAN transceiver. Connection are made via DB9 or the onboard 3 way screw terminal.

The Switch Mode Power Supply (SMPS) allows connecting an input voltage range of 6 VDC to 20 VDC suitable for industrial and automotive applications and environments. The SMPS will power the Raspberry Pi plus PICAN3.

More Information...

Arduino Based CAN Bus, LIN Bus Development And Prototyping Boards For Automotive And Industrial Applications

Teensy is a line of Arduino-compatible boards designed to offer maximum I/O capabilities, backed up by a slew of fully featured software libraries designed to run on Arduino. The Teensy is a complete USB-based microcontroller development system in a minimal footprint, and it is capable of implementing many types of projects. All programming is done [...]

Read More »


Arduino Uno Compatible Isolated CAN FD (Flexible Data Rate) Shield

The EVAL-ADM3055E-ARDZ from Analog Devices is an Arduino Uno compatible Shield for an isolated Controller Area Network (CAN Bus) with a flexible data rate (CAN FD) communications port. The circuit interfaces to the local development platform via Serial Peripheral Interface (SPI), providing a secure method to attach field bus communication to new and existing designs. The EVAL-ADM3055E-ARDZ shield allows [...]

Read More »


Arduino IoT Programming And Networking With The Ethernet Shield

Take your Arduino programming skills to the next level using the hands-on information included in this completely updated, easy-to-follow TAB guide.Aimed at programmers and hobbyists who have learned the fundamentals, Programming Arduino Next Steps: Going Further with Sketches, Second Edition shares professional programming tips and tricks. This up-to-date edition covers the Internet of Things (IoT) and [...]

Read More »


Arduino Breakout Board Connects Classic CAN Bus and CAN FD Networks

Many users involved with CAN Bus programming (and exploring the extended capabilities of CAN FD) may not be aware that Classic CAN Bus and CAN FD are excluding each other due to compatibility issues. For more detailed information, see our post CAN FD On A Legacy CAN Bus Network Is Not A Good Idea Due To [...]

Read More »


RobotDyn - Data Logger Shield For Arduino - Development Resources

To mention it upfront, we don't sell the data logger shield for the Arduino. As a matter of fact, I bought this board out of pure curiosity, because it fits and complements our Arduino-Based ECU Development Board With Dual CAN Bus Interface. This combination bares the potential for creating a low-price CAN Bus data logger.I was [...]

Read More »


SAE J1939 Data Monitoring And Simulation With The Arduino

The following is an excerpt from SAE J1939 ECU Programming & Vehicle Bus Simulation with Arduino by Wilfried VossIn general, there are three different intentions for connecting to a J1939 vehicle network: Mere monitoring, processing, and display of network data traffic.All functions as described under 1. but extended by the ability of sending data into the J1939 [...]

Read More »


Arduino Compatible Industrial Controller Supports I/O Expansion Modules

The open-source ProductivityOpen platform presents all the features of a conventional Arduino plus an industrial controller. The processor circuit of the P1AM-100 Arduino-compatible CPU simulates the Arduino MKRZero microcontroller. The P1AM-100 is compatible with multiple available Arduino MKR format shields, plus the ProductivityOpen shields, and can employ most Arduino sketch programs found on open-source websites. Using the [...]

Read More »


Arduino Compatible LIN Bus And CAN Bus Development Kit

LIN (Local Interconnect Network) is a serial network protocol used for communication between components in vehicles. The demand for a second serial network emerged as the technologies and the facilities implemented in modern cars grew, while the CAN Bus was too expensive to implement for every component in the car.The Arduino Compatible LIN Bus And CAN [...]

Read More »


LIN To CAN Bus Gateway - Prototyping And Firmware Development With The Arduino-Compatible Teensy Board

In general, let's start with a brief comparison of  CAN Bus (Controller Area Network) and LIN Bus (Local Interconnect Network): LIN Bus networks provide cost-efficient communication in applications where the bandwidth and versatility of the CAN Bus technology are not required.  LIN Bus applications are relatively inexpensive using the standard serial universal asynchronous receiver/transmitter (UART) technology, which are embedded [...]

Read More »