GMU:Connecting Max to the World/Frederic Blais-Belanger/Sensoring Pyrocystis light: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 1: Line 1:
==First attempt==
In order to read the light from the ''Pyrocystis'' I wanted to use a Photo Cell connected to Arduino that sends the information to Max. My first try was with a basic Photoresistor, as you can see on the photo, and used the patches below.
In order to read the light from the ''Pyrocystis'' I wanted to use a Photo Cell connected to Arduino that sends the information to Max. My first try was with a basic Photoresistor, as you can see on the photo, and used the patches below.


[[File:Arduino_PhotoCell_Connections.jpg|400px]][[File:PhotoCell_Connections.JPG|400px]]
[[File:Arduino_PhotoCell_Connections.jpg|400px]][[File:PhotoCell_Connections.JPG|400px]]


==Patches used:==
===Patches used:===
*Arduino: [[:File:Photocell_to_Max.ino]]
*Arduino: [[:File:Photocell_to_Max.ino]]
*Max MSP: [[:File:ReceiveDataFromPhotocell.maxpat]]
*Max MSP: [[:File:ReceiveDataFromPhotocell.maxpat]]


 
==Second attempt==
Unfortunately this Photo Cell is not sensible enough for the light emitted by the plankton. I am thus using the Adafruit TSL2561. This [https://learn.adafruit.com/tsl2561/overview link] provide all the information about the drivers needed, the wiring of the Sensor and the Arduino codes. Below are the Arduino and Max patches used for this configuration.
Unfortunately this Photo Cell is not sensible enough for the light emitted by the plankton. I am thus using the Adafruit TSL2561. This [https://learn.adafruit.com/tsl2561/overview link] provide all the information about the drivers needed, the wiring of the Sensor and the Arduino codes. Below are the Arduino and Max patches used for this configuration.


==Patches used:==
===Patches used:===
*Arduino:  
*Arduino:  
*Max MSP:
*Max MSP:

Revision as of 16:37, 21 January 2019

First attempt

In order to read the light from the Pyrocystis I wanted to use a Photo Cell connected to Arduino that sends the information to Max. My first try was with a basic Photoresistor, as you can see on the photo, and used the patches below.

Arduino PhotoCell Connections.jpgPhotoCell Connections.JPG

Patches used:

Second attempt

Unfortunately this Photo Cell is not sensible enough for the light emitted by the plankton. I am thus using the Adafruit TSL2561. This link provide all the information about the drivers needed, the wiring of the Sensor and the Arduino codes. Below are the Arduino and Max patches used for this configuration.

Patches used:

  • Arduino:
  • Max MSP: