https://github.com/sofiarivas/processing-sketch-wiichuck
An experiment to modify a processing sketch with physical controllers plugged through an Arduino board.
https://github.com/sofiarivas/processing-sketch-wiichuck
arduino bluetooth processing-sketch processingjs wiichuck
Last synced: 10 months ago
JSON representation
An experiment to modify a processing sketch with physical controllers plugged through an Arduino board.
- Host: GitHub
- URL: https://github.com/sofiarivas/processing-sketch-wiichuck
- Owner: sofiarivas
- Created: 2016-11-24T03:28:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-08T06:01:44.000Z (about 9 years ago)
- Last Synced: 2025-02-04T13:28:32.463Z (12 months ago)
- Topics: arduino, bluetooth, processing-sketch, processingjs, wiichuck
- Language: Processing
- Size: 242 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Processing + Arduino

### An experiment to modify a processing sketch with physical controllers plugged through an Arduino board.
**Different results from the Processing sketch:**

Right now the Arduino board uses a *Wii nunchuk* controller instead of the mouse coordinates. You can check it out in the arduino sketch: `Wiichuck-reader > Wiichuck-reader.ino`
##**How does it work?**
The nunchuck is plugged into the arduino, the sketch is loaded on the board..and it will output X and Y coordantes from the joystick to be used insted of mouse coordinates. The arduino board and the Processing sketch communicate throug the serial port.

##**Let's take it to the next step..**
**I will be working on setting up two bluetooth modules in order to get this to work wirelessly.**
You can find the steup files here: `Bluetooth-setup > hc-05 & hc-06`
I'm using:
> * hc-05 bluetooth module
> * hc-06 bluetooth module
> * FTDI FT232 USB- Serial (UART)
The hc-06 modules is plugged into the computer through a FTDI FT232 basic breakout USB- Serial (UART) and the hc-05 is sending data from the Arduino Uno.
**Why?** Using the UART adapter was my idea to make things easier, that way we can continue reading the serial port in our processing sketch. I couldn't find a lot of resources about reading bluetooth incoming data through Processing, If you have any tips I would be happy to hear from you.
Making this work wirelessly is still a project WIP, I'll leave here the resources I found useful to get this setup running. But the final complete project setup isn't done. I will be updating. :speech_balloon:
**Hc-05 setup**

**Hc-06 setup**

##**Useful links :raised_hands:**
* [Modify The HC-05 Bluetooth Module Defaults Using AT Commands by Hazim Bitar](http://www.techbitar.com/modify-the-hc-05-bluetooth-module-defaults-using-at-commands.html)
* [Connecting 2 Arduinos by Bluetooth using a HC-05 and a HC-06: Pair, Bind, and Link](http://www.martyncurrey.com/connecting-2-arduinos-by-bluetooth-using-a-hc-05-and-a-hc-06-pair-bind-and-link/)
:pushpin: I will be updating with more details...