Making is fun!

98 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
98
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Making is fun!

  1. 1. Making is Fun! [inspired]
  2. 2. Why Prototype • It is fun! • It helps to put across ideas better • It is what actually works! Why this Workshop • To get people started with prototyping • Experience the joy (and intermittent frustrations) of making. • Experience the joy of a space where everyone is having fun and making stuff together!
  3. 3. Structure • Not a one to many but a many to many workshop! (people who know stuff should chip in – we are in this together). • Some introduction on Arduino and Processing • Idea generation • Thinking of how we will actually prototype it (a schematic sorts). • Build!
  4. 4. Processing 101 Why Processing? • • • • • • A very strong online platform Lots of libraries Very low learning curve A very good graphical tool Android, Kinect capabilities! A lot of cool projects!
  5. 5. Examples • Codeable Objects- http://hlt.media.mit.edu/?p=2254 • WaveTouch • TactArt
  6. 6. Fiducials! • Markers that have unique ID • Can track their position and rotational orientation.
  7. 7. Some Fiducial Based Projects • http://slate-learning.com/ • Reactable http://www.youtube.com/watch?v=qn1v7JIZd Lc • http://www.youtube.com/watch?v=LwC7_t_It -I&feature=youtu.be - Beat Table
  8. 8. Physical Computing
  9. 9. Arduino Pre 101
  10. 10. • External supply of 6 to 20 volts. If supplied with less than 7V, however, the 5V pin may supply less than five volts and the board may be unstable. If using more than 12V, the voltage regulator may overheat and damage the board. The recommended range is 7 to 12 volts. • VIN. The input voltage to the Arduino board when it's using an external power source. This is where you put in the red lead of a battery. If supplying voltage via the power jack, access it through this pin. There is a regulatory circuit within Arduino that then makes sure that there is just 5V from the 5V pin. You can directly add it to the 5 or 3.3V but then you are bypassing the regulator- can be risky!
  11. 11. • Analog Pins: Read analog data from sensors. (Can be configured to work as digital, but not required – esp on a Mega). When doing so, they are referred to as A0, A1, etc. pinMode(A0, OUTPUT); digitalWrite(A0, HIGH); • Digital Pins: Can be set to INPUT or OUTPUT mode (HIGH – 5V, LOW – 0V) (Default mode is INPUT). • Digital input – generally for push buttons, output for anything!
  12. 12. • Arduino has a certain PWM frequency (green lines – i/f). • Pulse Width – on time • AnalogWrite (255) – 100% duty cycle – always on.
  13. 13. • AREF. Reference voltage for the analog inputs. • Analog sensors give you a range of values (for Mega i think it is 0-1023). These are basically based on the voltage at the particular pin- there is a 10 bit analog to digital converter that then sends values to the computer. • By default the mapping is 0 – 0V, 1023 – 5V • To change this mapping, we use AREF.
  14. 14. • Firmata – Firmata is a generic protocol for communicating with microcontrollers from software on a host computer.
  15. 15. How do we write a sketch? int ledpin = 13; void setup() - runs once { Serial.begin(9600); pinMode(ledpin, OUTPUT); } void loop() – runs infinitely many times { digitalWrite(ledpin, HIGH); }
  16. 16. IDEAS!

×