Archive for the ‘sketches’ Category
Thursday, November 11th, 2010
I just discovered Fritzing ; an application for designing electronic projects and laying-out PCBs. The software is dependable, has a useful website with tutorials and project examples , and they are even starting a fabrication service in Dec 2010. Fritzing was started in August 2007 by the Interaction Design Lab at the University of Applied Sciences Potsdam, Germany.
When you launch the software you begin with a breadboard. Then you drag components from a large list on the right, choosing options for the parts. Adjusting rotation, color, and placement is all fairly intuitive. While I found working with “2.5D” perspective is a little awkward at first, you get used to it. For output, you can select between Breadboard, Schematic, and PCB views on the bottom right.
Here’s a design to accompany a previous sketch, Fading an LED with PWM and a Potentiometer
Tags: Arduino , electronics Posted in sketches | Comments Off
Sunday, July 4th, 2010
A deconstruction of defense contractor website data structures.
Tags: automata , code , graphs , internet , networks , nodebox , PHP , python , sitemap , visualization Posted in code , design , research , sketches | Comments Off
Friday, June 25th, 2010
Here are a couple installation shots of You Never Close Your Eyes Anymore leading up to the AC Direct installation in New York. Everyone should be so lucky to have a retired shop teacher for a father in law!
Tags: Arduino , art , installation , sculpture , You Never Close Your Eyes Anymore Posted in code , exhibitions , sketches | Comments Off
Friday, June 11th, 2010
“Open sourcing” the schematic for the electronic components for You Never Close Your Eyes Anymore.
Products:
RBBB boards (Arduino clone)
custom-designed circuits
- female headers
- TIP31 transistor
- 6-wire Unipolar Stepper motor (48 step Nippon Electric Pulse Motor)
- ULN2803A Darlington Array
- hook-up wire
- various resistors
- LEDs
used camera lenses
aluminum “flat bar”
hose clamps
rubber wine corks
various mounting hardware
Tags: Arduino , art , code , electronics , physical computing , You Never Close Your Eyes Anymore Posted in code , design , research , sketches | Comments Off
Friday, June 11th, 2010
More photos from You Never Close Your Eyes Anymore production.
Tags: Arduino , art , design , electronics , photography , You Never Close Your Eyes Anymore Posted in code , sketches | Comments Off
Wednesday, June 2nd, 2010
Preparing for show at AC Institute in New York.
Tags: Arduino , circuits , LED , physical computing Posted in code , design , exhibitions , sketches | Comments Off
Saturday, May 8th, 2010
Using a potentiometer and PWM on an Arduino to fade an LED.
/* POT to LED test -> by Owen Mundy March 11, 2010
from: http://itp.nyu.edu/physcomp/Labs/AnalogIn
—————————————————————*/
int potPin = 0 ; // Analog input pin that the potentiometer is attached to
int potValue = 0 ; // value read from the pot
int led = 9 ; // PWM pin that the LED is on. n.b. PWM 0 is on digital pin 9
void setup( ) {
// initialize serial communications at 9600 bps:
Serial.begin ( 9600 ) ;
// declare the led pin as an output:
pinMode( led, OUTPUT) ;
}
void loop( ) {
potValue = analogRead( potPin) ; // read the pot value
analogWrite( led, potValue/ 4 ) ; // PWM the LED with the pot value (divided by 4 to fit in a byte)
Serial.println ( "hello" ) ; // print the pot value back to the debugger pane
delay( 10 ) ; // wait 10 milliseconds before the next loop
}
Here is the schematic for the above project.
Using PWM and a potentiometer to fade an LED and drive a stepper motor, powered by a Boarduino RBBB.
/*
Owen Mundy
July 29, 2009
p. 262 of Physical Computing
Using BBB to run stepper motor by manually moving steppers
*/
int pin1 = 3 ; // PWM
int pin2 = 5 ; // PWM
int pin3 = 6 ; // PWM
int pin4 = 9 ; // PWM
int ledpin = 13 ; // LED
int led = false ; // LED monitor
int motor_time_lapse = 80 ;
int potPin = 0 ; // Analog input pin that the potentiometer is attached to
int potValue = 0 ; // value read from the pot
int ledPotPin = 11 ; // PWM pin that the LED is on. n.b. PWM 0 is on digital pin 9
void setup( )
{
pinMode( pin1, OUTPUT) ; // sets the pin as output
pinMode( pin2, OUTPUT) ; // sets the pin as output
pinMode( pin3, OUTPUT) ; // sets the pin as output
pinMode( pin4, OUTPUT) ; // sets the pin as output
pinMode( ledpin, OUTPUT) ; // sets the pin as output
// initialize serial communications at 9600 bps:
Serial.begin ( 9600 ) ;
// declare the led pin as an output:
pinMode( ledPotPin, OUTPUT) ;
}
void loop( )
{
potValue = analogRead( potPin) ; // read the pot value
analogWrite( ledPotPin, potValue/ 4 ) ; // PWM the LED with the pot value (divided by 4 to fit in a byte)
Serial.println ( potValue) ;
digitalWrite( pin1, HIGH) ; // on
digitalWrite( pin2, LOW) ; // off
digitalWrite( pin3, HIGH) ; // on
digitalWrite( pin4, LOW) ; // off
delay( motor_time_lapse) ; // wait
digitalWrite( pin1, LOW) ; // off
digitalWrite( pin2, HIGH) ; // on
digitalWrite( pin3, HIGH) ; // on
digitalWrite( pin4, LOW) ; // off
delay( motor_time_lapse) ; // wait
digitalWrite( pin1, LOW) ; // off
digitalWrite( pin2, HIGH) ; // on
digitalWrite( pin3, LOW) ; // off
digitalWrite( pin4, HIGH) ; // on
delay( motor_time_lapse) ; // wait
digitalWrite( pin1, HIGH) ; // on
digitalWrite( pin2, LOW) ; // off
digitalWrite( pin3, LOW) ; // off
digitalWrite( pin4, HIGH) ; // on
delay( motor_time_lapse) ; // wait
blink( ) ;
}
void blink( )
{
if ( led == false )
{
led = true ;
digitalWrite( ledpin, HIGH) ; // on
}
else
{
led = false ;
digitalWrite( ledpin, LOW) ; // on
}
}
Tags: Arduino , code , electronics , interactive , physical computing Posted in sketches | Comments Off
Monday, May 3rd, 2010
<?php
/*
* Timestamp validator and converter
* {cc} Owen Mundy ~ owenmundy.com
*
*/
function convert_date( $string )
{
// make sure it is a string with a number && > 1992-05-07 && < 2033-05-18
if ( ctype_digit ( $string ) && $string >= 800000000 && $string <= 1999999999 )
{
// if so convert it to a human-readable date
$d = date ( ‘Y-m-d H:i:s’ , $string ) ;
return $d ;
}
else
{
return false ;
}
}
print convert_date( "1613199869" ) ;
?>
Thanks
Tags: code , PHP Posted in sketches | Comments Off
Saturday, May 1st, 2010
Give Me My Data (fb_friends_20100128_white)
Give Me My Data (fb_mutualfriends_20091114_black)
Give Me My Data (fb_mutualfriends_20100430_dark3)
Give Me My Data (fb_profile_xml_20100430)
Tags: art , code , data , facebook , give me my data , infovis , nodebox , visualization Posted in design , exhibitions , sketches | Comments Off
Saturday, March 13th, 2010
Tags: culture , screenshot Posted in research , sketches | Comments Off