Skip to content

An experiment to modify a processing sketch with physical controllers plugged through an Arduino board.

Notifications You must be signed in to change notification settings

sofiarivas/processing-sketch-wiichuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Processing + Arduino

Processing

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. 💬

Hc-05 setup

Hc-06 setup

##Useful links 🙌

📌 I will be updating with more details...

About

An experiment to modify a processing sketch with physical controllers plugged through an Arduino board.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages