Author Archives: feurig

About feurig

My name is Donald Davis, I make Suspect Devices. (www.suspectdevices.com)

2014 Strategy (7777)

Seven poems or songs Seven 3d printed things Seven electronic objects Seven Experiments.

2014 Strategy (7777)

Seven poems or songs Seven 3d printed things Seven electronic objects Seven Experiments.

x595fritz_bb

Thing 24: Shift Registers

Page: #397. We updated this to use the 74xx595

x595fritz_bb

Thing 24: Shift Registers

Page: #397. We updated this to use the 74xx595

Untitled

Thing 21: Chapter 7 (4 of 4): Serial in PureData-extended.

Serial in PD-Extended (not Max/MSP) P177 In class I wanted to demonstrate some of the ways that arduino serial works so I had my students wire up a pot and walk through sending the values through the serial port. Then

Untitled

Thing 21: Chapter 7 (4 of 4): Serial in PureData-extended.

Serial in PD-Extended (not Max/MSP) P177 In class I wanted to demonstrate some of the ways that arduino serial works so I had my students wire up a pot and walk through sending the values through the serial port. Then

Day 17: Chapter 7 (1 of 4)

(I just spent the weekend in spokane rebuilding my web/mail servers I am obviously going to have to backfill here. ) Physical Agreement. In one of my projects I have a 3.3v router and a 5v arduino. I use a

Day 17: Chapter 7 (1 of 4)

(I just spent the weekend in spokane rebuilding my web/mail servers I am obviously going to have to backfill here. ) Physical Agreement. In one of my projects I have a 3.3v router and a 5v arduino. I use a

Day 9: Chapter 8 (3 of 3)

Finding Peeks in an Analog Signal (P202) #define ANALOG_PIN 0 #include “debug.h” uint16_t peakValue=0; uint16_t noise=7; uint16_t sensorValue; uint16_t lastSensorValue=0; uint16_t threshold=300; void setup(){   INIT_DEBUG(); } void loop (){   sensorValue=analogRead(ANALOG_PIN);   DEBUG(“%d”,sensorValue);   if (sensorValue>=threshold+noise){     if (sensorValue>=lastSensorValue+noise){

Day 9: Chapter 8 (3 of 3)

Finding Peeks in an Analog Signal (P202) #define ANALOG_PIN 0 #include “debug.h” uint16_t peakValue=0; uint16_t noise=7; uint16_t sensorValue; uint16_t lastSensorValue=0; uint16_t threshold=300; void setup(){   INIT_DEBUG(); } void loop (){   sensorValue=analogRead(ANALOG_PIN);   DEBUG(“%d”,sensorValue);   if (sensorValue>=threshold+noise){     if (sensorValue>=lastSensorValue+noise){

Photo on 2-9-13 at 1.25 AM

Day 8: Chapter 8 (2 of 3)

Edge Detection: #define INPUT_PIN 7 #define SWITCH_ON LOW #define SWITCH_OFF HIGH #include “debug.h” bool buttonState; bool lastButtonState; uint8_t buttonCount; void setup(){   pinMode(INPUT_PIN, INPUT);;   digitalWrite(INPUT_PIN, HIGH); } void loop (){   buttonState=digitalRead(INPUT_PIN);   if (buttonState != lastButtonState) {      

Photo on 2-9-13 at 1.25 AM

Day 8: Chapter 8 (2 of 3)

Edge Detection: #define INPUT_PIN 7 #define SWITCH_ON LOW #define SWITCH_OFF HIGH #include “debug.h” bool buttonState; bool lastButtonState; uint8_t buttonCount; void setup(){   pinMode(INPUT_PIN, INPUT);;   digitalWrite(INPUT_PIN, HIGH); } void loop (){   buttonState=digitalRead(INPUT_PIN);   if (buttonState != lastButtonState) {      

Photo on 2-8-13 at 12.51 PM

Day 7: Chapter 8 (1 of 3)

(note that since I teach my ce class after doing an 8 hour day. Most thursdays entries will be late after starting this entry I promptly passed out) MultiTasking (p191) /* * The defines below allow you to normalize which

Photo on 2-8-13 at 12.51 PM

Day 7: Chapter 8 (1 of 3)

(note that since I teach my ce class after doing an 8 hour day. Most thursdays entries will be late after starting this entry I promptly passed out) MultiTasking (p191) /* * The defines below allow you to normalize which

Day 6: Chapter 4

“Hellow World!” Is the Hard Part I dont actually subscribe to this supposition. but thats ok. Identifying the Pins on the Microcontroller (P51) Hello (P57) The stamp like environments described in this section can be replace by the Arduino IDE.

Day 6: Chapter 4

“Hellow World!” Is the Hard Part I dont actually subscribe to this supposition. but thats ok. Identifying the Pins on the Microcontroller (P51) Hello (P57) The stamp like environments described in this section can be replace by the Arduino IDE.

Photo on 2-5-13 at 5.48 PM #2

Day 5: Chapter 6 — The “Big Four” (2 of 2)

Analog-to-Digital Converters (p108) /*… setup and debug here …*/ int ADCValue; uint8_t OutputValue; void loop() { /* read the ADC on pin a0 */ ADCValue=analogRead(0); DEBUG(“ACDValue = %d”, ADCValue); } Rctime (P110) I think if we really wanted to engage

Photo on 2-5-13 at 5.48 PM #2

Day 5: Chapter 6 — The “Big Four” (2 of 2)

Analog-to-Digital Converters (p108) /*… setup and debug here …*/ int ADCValue; uint8_t OutputValue; void loop() { /* read the ADC on pin a0 */ ADCValue=analogRead(0); DEBUG(“ACDValue = %d”, ADCValue); } Rctime (P110) I think if we really wanted to engage

The Big Four

Day 4: Chapter 6 — The “Big Four” (1 of 2)

Schematics Programs, and Transducers This chapter can be divided into 2 parts. Digital and Analog Today We pick off the Digital. (P92) /* … include debug code from previous chapter …*/ #define INPUT_PIN 7 uint8_t x; //declare a global variable

The Big Four

Day 4: Chapter 6 — The “Big Four” (1 of 2)

Schematics Programs, and Transducers This chapter can be divided into 2 parts. Digital and Analog Today We pick off the Digital. (P92) /* … include debug code from previous chapter …*/ #define INPUT_PIN 7 uint8_t x; //declare a global variable

Homemade Routines

Day 3. Chapter 5 Programming (part 2 of 2)

Homemade Routines In C you can not use a function until you have declared it. The Arduino hides this from you by adding the declarations for you. For this reason you can write. #define THANK_YOU_LIGHT 13 void setup() { //

Homemade Routines

Day 3. Chapter 5 Programming (part 2 of 2)

Homemade Routines In C you can not use a function until you have declared it. The Arduino hides this from you by adding the declarations for you. For this reason you can write. #define THANK_YOU_LIGHT 13 void setup() { //

physical-computing

Day 2. Chapter 5 Programming (part 1 of 2)

Programming Chapter 5 is a lot of good grounding but its all written in dialects of basic. Here we have to do a little explaining as well as translating the code. I am splitting the chapter in half for this

physical-computing

Day 2. Chapter 5 Programming (part 1 of 2)

Programming Chapter 5 is a lot of good grounding but its all written in dialects of basic. Here we have to do a little explaining as well as translating the code. I am splitting the chapter in half for this

Day 1 Midi Code Sample.

Page 310: Advanced Methods (midi) I know I should start with the stuff I will be working with next week in class but I just got back from giving a talk on using sysex to debug arduino code over midi.

Day 1 Midi Code Sample.

Page 310: Advanced Methods (midi) I know I should start with the stuff I will be working with next week in class but I just got back from giving a talk on using sysex to debug arduino code over midi.

Goals for 2013 Thing A Day.

This year I have been teaching a continuing education class at the Pacific Northwest College or Art called Physical Computing for Artists named by the school after Dan O’sullivan and Tom Igoe’s excellent but dated Physical Computing: Sensing and Controlling

Goals for 2013 Thing A Day.

This year I have been teaching a continuing education class at the Pacific Northwest College or Art called Physical Computing for Artists named by the school after Dan O’sullivan and Tom Igoe’s excellent but dated Physical Computing: Sensing and Controlling

Thing 5F – Freddy, pg 5

The last sentence doesn’t make any sense, but it should be something along the lines of: “I heard about Academi Mail Services LLC and joined up overseas. I came back last year.” Too sleepy to proofread…

Thing 5F – Freddy, pg 5

The last sentence doesn’t make any sense, but it should be something along the lines of: “I heard about Academi Mail Services LLC and joined up overseas. I came back last year.” Too sleepy to proofread…

Thing 1F – Freddy the Friendly Defense Contractor Mailman

I tried to do a set in Pure Data involving the Muppets, Fox News, and clips from a podcast by David Wojnarowicz, but for some reason Pd wasn’t playing nice with Audacity and I couldn’t get anything to work after two

Thing 1F – Freddy the Friendly Defense Contractor Mailman

I tried to do a set in Pure Data involving the Muppets, Fox News, and clips from a podcast by David Wojnarowicz, but for some reason Pd wasn’t playing nice with Audacity and I couldn’t get anything to work after two

Strategy for thing a day 2012 ( 1 acre wood ).

Since thing a day changed platforms again and didn’t answer our inquiries weeks ago we gave up and decided to just do-it ourselves in fact we registered thingadaypdx for next year. However at the last possible moment I checked and

Strategy for thing a day 2012 ( 1 acre wood ).

Since thing a day changed platforms again and didn’t answer our inquiries weeks ago we gave up and decided to just do-it ourselves in fact we registered thingadaypdx for next year. However at the last possible moment I checked and