Publix Undercover

Arduino Motor Shield Introduction

Aaron Laniosz
Adafruit_Motor_Shield_V2_Library.zip
EnableInterrupt.zip
RCPulseIn.zip

#include <Wire.h>
#include <Adafruit_MotorShield.h>

Adafruit_MotorShield AFMS = Adafruit_MotorShield();

Adafruit_DCMotor *myMotor = AFMS.getMotor(1);
//Adafruit_DCMotor *myMotor = AFMS.getMotor(2);

void setup() {
     AFMS.begin();
}

void loop() {
     myMotor->setSpeed(255);
     myMotor->run(FORWARD);
     delay(1000);
}

Presentation

Emily Foppe

Poster

Emily Foppe
Poster.indd

Electronics Diagram

Emily Foppe

April 9- 13

Emily Foppe

I completely finished all the driving components of the RC car. It drives forward, backward, turns left and right, and what will be the tail can wiggle back and forth. This is all controlled by the RC controlled and an Aurdino Motorshield. I am waiting for the sandwich shell to printed and then our project will be 100% finished. 

Arduino Code

Aaron Laniosz
Sandwich_Code.ino


#include <RCPulseIn.h>
#include <EnableInterrupt.h>
#include <Wire.h>
#include <Adafruit_MotorShield.h>

#include <Servo.h>
Servo myservo1;
Servo myservo2;
int servo1;
int servo2;



Adafruit_MotorShield AFMS = Adafruit_MotorShield();

Adafruit_DCMotor *motor1 = AFMS.getMotor(1);
Adafruit_DCMotor *motor2 = AFMS.getMotor(2);

defineRC(2);
defineRC(3);
defineRC(4);





void setup() {

Serial.begin(9600);

setupRC(2);
setupRC(3);
setupRC(4);

AFMS.begin();

myservo1.attach(8);
myservo2.attach(9);

}





void loop() {
Serial.print(readRC(2));
Serial.print(readRC(3));
Serial.print(readRC(4));
Serial.println();

int motor1Speed = deadbandMap(readRC(2),1000,200,2000,-255,0,255);
Serial.println(motor1Speed);
runMotor(motor1,motor1Speed);
runMotor(motor2,motor1Speed);
}


void runMotor(Adafruit_DCMotor *myMotor, int spd){
if(spd>0){
myMotor->run(FORWARD);
myMotor->setSpeed(spd);
}else if(spd<0){
myMotor->run(BACKWARD);
myMotor->setSpeed(-1*spd);
}else{
myMotor->run(BRAKE);
myMotor->setSpeed(0);
}



servo1 = deadbandMap(readRC(3),1000,200,2000,80,90,100);  
servo2 = deadbandMap(readRC(4),1000,200,2000,80,90,100);  
myservo1.write(servo1);  
myservo2.write(servo2);          
delay(15);                      

}

Mar 12- 16

Emily Foppe

We finally got the code for the motor and servo to work at the same time! Now we are struggling to get the smaller servo to work to wiggle the tail. The new skateboard to hold the electronics has been laser cut, but I still need to continue to work on the code, swap the faster motor out to make it match the other,  straighten the servo, design the wheels, and connect it all to the board. Ran will 3D print and design the shell and then our project will be complete. 

Rhino Design

Emily Foppe
Emily Ran Skateboard.dxf
EmilyRanSkateboard.3dm

We began to design the board to hold the electronic components for the sandwich. 

Moving Forward:

Finish Motor Code

Finish Servo Code

Add Cutouts to hold components on skateboard

Laser Cut Skateboard

3D Print Sub

Critics

Emily Foppe

Most of our critic revolved around the robot having legs or wheels. The wheels provide more opportunity for interaction: customers driving the robot, building a track in the store, having it roam free range. We need to consider the experience that the customers will take away from the narrative.  Also, we need to evaluate the interaction between the robot and customers and the robot and the environment. 

Publix Undercover

Asli Arpak

Alternative marketing is an advertisement strategy to promote products or services in an unconventional way with little to no budget. This involves high energy and imagination focusing on grasping the attention of the public in more personal and memorable level. Publix is a company name unanimously known in Florida, with over seven hundred store locations. In Publix Undercover, students will explore alternative marketing strategies for Publix, while actively engaging with physical public space. Can alternative marketing convey a message other than selling a product? Can it be used as a force for good in the community? Can alternative marketing be used to replace traditional signage or campaigns that detract from the beauty of our environments?