gitmyhub

Bridge

C++ ★ 1 updated 10y ago ⑂ fork

Bridge Library for Arduino

An Arduino Yun library that lets the board's microcontroller and Linux processor communicate so they can coordinate real-time and networked tasks.

C++Arduino YunATmega32U4AR9331setup: moderatecomplexity 3/5

Bridge Library for Arduino

This library enables communication between two processors on the Arduino Yun board. The Arduino Yun is a special device that combines two chips: the ATmega32U4 (a traditional microcontroller) and the AR9331 (a more powerful Linux-based processor). They need a way to talk to each other, and this library provides exactly that.

Think of it like an intercom system between two rooms. One room has a simple, fast controller that's great at real-time tasks like reading sensors or controlling motors. The other room has a full-featured computer running Linux that can handle complex operations, networking, and file management. The Bridge library lets these two "rooms" send messages back and forth so they can work together on the same project.

Users of this library are typically Arduino developers working with the Yun board who want to leverage both processors' strengths. For example, you might use the microcontroller half to read temperature sensors in real time while using the Linux processor half to log that data to the cloud or run a web interface. Without this library, the two chips would operate independently and couldn't coordinate their work.

The library handles the low-level details of serial communication between the chips, so developers can focus on what they want their application to do rather than figuring out the plumbing. It's part of Arduino's official libraries and is licensed under the GNU Lesser General Public License, meaning it's free to use and modify.

Where it fits