WEEK 9!! (last full week of work!)

Last full Monday through Friday work week so it’s go go go time.

scrapbook sewn-in arduino and parts_bbb

Sewn in Arduino and parts for the scrapbook

Monday we started right off by working on our paper by just reiterating on our observational findings, updating the purpose of our quilt and scrapbook, and Ben took a look at our paper again and so we through his suggestions and edits. We worked on our poster for a little bit as IMG_1242well and started integrating Katie and Ben suggestions a little more. After being up here at the connector space for a few hours, we headed on down to the prototyping lab and I took the tasks of starting (and completed) sewing conductive thread into the scrapbook.

IMG_1239

Our FINISHED quilt!

Olivia sat the sewing machine for a few hours and we finished the quilt!  So that was also very exciting (:

Poster draft

Draft of the poser thus far….

Tuesday we continued to work on our poster, had a great meeting with Katie which helped us with our paper and what to continue to add to to just making it better. We’ve been cutting down on our related work a little bit (it’s our longest section) and really focusing on our findings and discussion section. And after two weeks, we got peer reviews back, so that will be nice to go over that feedback as well.

 

This week Katie so kindly let us use her embroidery machine, so Wednesday and Thursday we wrapped up labeling the quilt and also creating our number patches for our scrapbook! And that was an adventure in itself. There was a lot of Googling on how to work the contraption, but! it made all the difference once we figured everything out that we needed to. So thank you again Katie for letting us use the machine! 🙂

Thursday we also got our scrapbook code all fixed and worked out a few kinks that we still had, but again, Katie really helped us out on that one.

Scrapbook Code

int _ABVAR_8_TotalOccurences = 0 ;
int _ABVAR_7_sensorValue = 0 ;
int _ABVAR_3_LED2 = 0 ;
int _ABVAR_5_LED4 = 0 ;
int _ABVAR_10_past_light_value = 0 ;
int _ABVAR_11_light_threshold = 0 ;
int _ABVAR_1_sensorvaluePin = 0 ;
int _ABVAR_2_LED1 = 0 ;
int _ABVAR_4_LED3 = 0 ;
int _ABVAR_6_LED5 = 0 ;
void __ardublockDigitalWrite(int pinNumber, boolean status)
{
pinMode(pinNumber, OUTPUT);
digitalWrite(pinNumber, status);
}

int _ABVAR_9_current_light_value = 0 ;

void setup()
{
	Serial.begin(9600);
Serial.begin(9600);
	_ABVAR_1_sensorvaluePin = 19 ;

	_ABVAR_2_LED1 = 11 ;

	_ABVAR_3_LED2 = 10 ;

	_ABVAR_4_LED3 = 9 ;

	_ABVAR_5_LED4 = 6 ;

	_ABVAR_6_LED5 = 5 ;

	_ABVAR_7_sensorValue = 0 ;

	_ABVAR_8_TotalOccurences = 0 ;

	_ABVAR_9_current_light_value = 0 ;

	_ABVAR_10_past_light_value = _ABVAR_7_sensorValue ;

	_ABVAR_11_light_threshold = 10 ;

}

void loop()
{
	Serial.print( "past_light_value" );
	Serial.print(" ");
 	Serial.print( _ABVAR_10_past_light_value );
	Serial.print(" ");
	Serial.print( "current light value" );
	Serial.print(" ");
 	Serial.print( _ABVAR_9_current_light_value );
	Serial.print(" ");
	Serial.print( "totaloccurences" );
	Serial.print(" ");
 	Serial.print( _ABVAR_8_TotalOccurences );
	Serial.print(" ");
	Serial.println();
	_ABVAR_7_sensorValue = analogRead(_ABVAR_1_sensorvaluePin) ;
	_ABVAR_9_current_light_value = _ABVAR_7_sensorValue ;
	if (( ( ( _ABVAR_9_current_light_value - _ABVAR_10_past_light_value ) ) >= ( _ABVAR_11_light_threshold ) ))
	{
	Serial.print( "In If statement" );
Serial.println();
		_ABVAR_8_TotalOccurences = ( _ABVAR_8_TotalOccurences + 1 ) ;
		if (( ( ( _ABVAR_8_TotalOccurences ) >= ( 10 ) ) && ( ( _ABVAR_8_TotalOccurences ) < ( 20 ) ) ))
	{
	__ardublockDigitalWrite(_ABVAR_2_LED1, HIGH);
	}
	else
	{
	}
		if (( ( ( _ABVAR_8_TotalOccurences ) >= ( 20 ) ) && ( ( _ABVAR_8_TotalOccurences ) < ( 30 ) ) ))
	{
	__ardublockDigitalWrite(_ABVAR_3_LED2, HIGH);
	__ardublockDigitalWrite(_ABVAR_2_LED1, LOW);
	}
	else
	{
	}
		if (( ( ( _ABVAR_8_TotalOccurences ) >= ( 30 ) ) && ( ( _ABVAR_8_TotalOccurences ) < ( 40 ) ) ))
	{
	__ardublockDigitalWrite(_ABVAR_4_LED3, HIGH);
	__ardublockDigitalWrite(_ABVAR_3_LED2, LOW);
	}
	else
	{
	}
		if (( ( ( _ABVAR_8_TotalOccurences ) >= ( 40 ) ) && ( ( _ABVAR_8_TotalOccurences ) < ( 50 ) ) ))
	{
	__ardublockDigitalWrite(_ABVAR_5_LED4, HIGH);
		delay( 500 );
	__ardublockDigitalWrite(_ABVAR_4_LED3, LOW);
	}
	else
	{
	}
		delay( 500 );
		if (( ( ( _ABVAR_8_TotalOccurences ) >= ( 50 ) ) && ( ( _ABVAR_8_TotalOccurences ) < ( 60 ) ) ))
	{
	__ardublockDigitalWrite(_ABVAR_6_LED5, HIGH);
		delay( 500 );
	__ardublockDigitalWrite(_ABVAR_5_LED4, LOW);
	}
	else
	{
	}
	}
	else
	{
	}
	_ABVAR_10_past_light_value = _ABVAR_9_current_light_value ;
	delay( 1000 );
}



The next steps for us now is to sew up the fabric so that it’s nicely fitted for the scrapbook as its cover then actually scrap book!