{"id":21602639,"url":"https://github.com/ff6347/c2c","last_synced_at":"2026-01-04T00:39:49.497Z","repository":{"id":13411556,"uuid":"16100074","full_name":"ff6347/c2c","owner":"ff6347","description":"Sketches for teaching computer 2 computer communication with arduino and processing @FH-Potsdam","archived":false,"fork":false,"pushed_at":"2023-12-12T02:15:48.000Z","size":4754,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T18:35:26.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Processing","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ff6347.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-01-21T11:00:23.000Z","updated_at":"2017-07-19T06:36:55.000Z","dependencies_parsed_at":"2023-12-12T03:34:46.932Z","dependency_job_id":null,"html_url":"https://github.com/ff6347/c2c","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ff6347%2Fc2c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ff6347%2Fc2c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ff6347%2Fc2c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ff6347%2Fc2c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ff6347","download_url":"https://codeload.github.com/ff6347/c2c/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244229307,"owners_count":20419608,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T19:13:58.528Z","updated_at":"2026-01-04T00:39:49.466Z","avatar_url":"https://github.com/ff6347.png","language":"Processing","funding_links":[],"categories":[],"sub_categories":[],"readme":"c2c\n===\n\nA collection of sketches for teaching computer to computer communication [@FH-Potsdam](https://github.com/FH-Potsdam).\nThese sketches are part of the seminars taking place in the Interface Lab.  \n\n\n\n\n## Arduino And Processing  \n\n### Needed Komponents  \n\n- Computer  \n- Arduino (Uno)  \n- Arduino IDE  \n- Processing IDE  \n- Light Dependend Resistor  \n- LED  \n- RGB LED  \n- 10k Ohm Resistor  \n- 3 * 220 Ohm Resistor  \n- Breadboard  \n- Some wires  \n\n#### 00 Serial Ports And Fritzing  \n##### prerequisites  \nSet up your Arduino with a LDR (light dependend resistor) and the LED like this.  \n![fritzing-layout](00_Serial-Ports-And-Fritzing/fritzing/fritzing-layout.png)  \n\n- One LDR leg goes to the 5V pin \n- one LDR leg to the analog 0 pin\n- connect the 10k Ohm resistor to the analog 0 pin as well\n- connect the other leg of the resitor to the GND pin\n- connect the long leg of the LED to the 13 digital pin\n- connect the short leg to the GND pin\n\n\n##### Port Detection  \nConnect your Arduino Board to your computer adn use the sketck [00_Serial-Ports-And-Fritzing/list_serial_ports/list_serial_ports.pde](00_Serial-Ports-And-Fritzing/list_serial_ports/list_serial_ports.pde) to see which port number is the one you choose in the Arduino IDE.  \n**Yo need to modify all the .pde sketches to select the right serial port**  \n\n#### 01 Arduino 2 Processing  \n\n- Open and run the Processing sketch: 01_Arduino-2-Processing/pde/pde.pde  \n- Open and upload the Arduino sketch: 01_Arduino-2-Processing/ino/ino.ino   \n\nby waving your hand over the LDR you should be able to change the background color of the processing sketch.  \n\n#### 02 Processing 2 Arduino\n\n- Open and run the Processing sketch: 02_Processing-2-Arduino/pde/pde.pde  \n- Open and upload the Arduino sketch: 02_Processing-2-Arduino/ino/ino.ino   \n\npressing UP and DOWN on your keyboard you can turn on a LED connected to pin 13  \n\n#### 03 Poor Mans Oscilloscope\n\n- Open and run the Processing sketch: 03_Poor-Mans-Oscilloscope/pde/pde.pde  \n- Open and upload the Arduino sketch: 03_Poor-Mans-Oscilloscope/ino/ino.ino   \n\n![poor mans oscilloscope](03_Poor-Mans-Oscilloscope/poor-mans-oscilloscope.png)  \n\nBy waving your hand over the LDR you should be able to change the line.\nThe sketches written by [@chrismeyersfsu](https://gist.github.com/chrismeyersfsu/3270358) with edits from [@positron96](https://gist.github.com/positron96/7269466).  \n\n#### 04 Round Trip\n\n- Open and run the Processing sketch: 04_Round-Trip/pde/pde.pde  \n- Open and upload the Arduino sketch: 04_Round-Trip/ino/ino.ino  \n\n![serial-monitor](04_Round-Trip/serial-monitor.gif)  \n\nwatch what happens in the serial monitor and the processing console. Messages are passed around...\n\n#### 05 Processing 2 Arduino Motion Detection\n\n- Open and run the Processing sketch: 05_Processing-2-Arduino-Motion-Detection/pde/pde.pde  \n- Open and upload the Arduino sketch: 05_Processing-2-Arduino-Motion-Detection/ino/ino.ino  \n\nby using the build in cam of our laptop or an webcam you can blink an LED by just moving infront of the camera.  \n\n#### 06 Processing 2 Arduino Multiple Values\n\n- Make a new arduino setup like this image  \n\n![fritzing-layout](06_Processing-2-Arduino-Multiple-Values/fritzing/fritzing-layout.png)  \n\n- Open and run the Processing sketch: 06_Processing-2-Arduino-Multiple-Values/pde/pde.pde  \n- Open and upload the Arduino sketch: 06_Processing-2-Arduino-Multiple-Values/ino/ino.ino  \n\nYou can set the color of the RGB-LED from Processing.\n\n\n### License  \nIf not further noted \n\nThis is free and unencumbered software released into the public domain.  \n\nAnyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.  \n\nIn jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.  \n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.  \n\nFor more information, please refer to \u003chttp://unlicense.org\u003e  \n\n\n###Poor mans ocilloscope\nis under GNU General Public License  \n\n(c) 2008 Sofian Audry (info@sofianaudry.com)  \nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.  \n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.  \n\nYou should have received a copy of the GNU General Public License  \nalong with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fff6347%2Fc2c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fff6347%2Fc2c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fff6347%2Fc2c/lists"}