Smart Shutter | Bluetooth Communication Between Android and Arduino using Processing

So, once you get processing for android all installed, if you’re like me the first thing you’ll want to do is get your phone talking with an Arduino over bluetooth. Well maybe not first thing but you get the Idea. Below is two pieces of code that I’ve used for this project. It’s very specific for this project, but it may help somebody and will likely help myself in the future so there you go.

Ardiuno Code:

Processing Code:

Let me know if you ever use this!

Hey! This post was written a long time ago, but I'm leaving it up on the off-chance it may help someone. Proceed with caution. It may not be a good idea to blindly integrate this code or work into your project, but instead use it as a starting point.

1 Comment

  1. Nice! Would this work for a Bluetooth BLE device? I am trying to send commands from the processing android mode to a BLE device, but it seems like the KATAI library does not have this functionality. Any idea how I could do it? Thanks!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.