Uploaded by maestropratley on Apr 24, 2011
Here is a description of the internals of the Wifi Spy Robot I made.
You can view a video of the wifi spy robot in action here: http://www.youtube.com/watch?v=ncbQJTnY_1g
If you have questions, you should really check out jbprojects.net and ask Jon Bennet there - he is the guru for this stuff and I built my wifi robot with his help.
Enjoy!
Here is a sketch I used for the programming of the Arduino:
(Where you see a *, replace it with a greater than sign. Where you see **, replace it with a smaller than sign. This is because youtube does not accept greater than or smaller than signs in the description section.)
--- String readString;
void setup()
{
Serial1.begin(9600);
Serial1.println("I'm Online"); // so I can keep track of what is loaded
for (int thisPin = 2; thisPin ** 7; thisPin++) { pinMode(thisPin, OUTPUT);
}
}
void loop()
{
if (Serial1.available() *0)
{
char c = Serial1.read();
switch (c) { case 2: digitalWrite(2, HIGH); digitalWrite(3, HIGH); break; case 1: digitalWrite(4, HIGH); digitalWrite(5, HIGH); break; case 8: digitalWrite(5, HIGH); digitalWrite(2, HIGH); break; case 9: digitalWrite(5, HIGH); digitalWrite(2, HIGH); break; case 16: digitalWrite(5, HIGH); digitalWrite(2, HIGH); break; case 4: digitalWrite(4, HIGH); digitalWrite(3, HIGH); break; case 5: digitalWrite(4, HIGH); digitalWrite(3, HIGH); break; case 13: digitalWrite(4, HIGH); digitalWrite(3, HIGH); break; case 32: digitalWrite(6, HIGH); break; default: // turn all the LEDs off: for (int thisPin = 2; thisPin ** 7; thisPin++) { digitalWrite(thisPin, LOW); } }
}
}
---
Here is a sketch that will help Arduino users to troubleshoot if they have more than one UART or serial port (like the Arduino Mega).
(Where you see a *, replace it with a greater than sign. Where you see **, replace it with a smaller than sign. This is because youtube does not accept greater than or smaller than signs in the description section.)
---
int incomingByte = 0; // for incoming serial data
void setup() { Serial.begin(9600); Serial1.begin(9600); // opens serial port, sets data rate to 9600 bps
}
void loop() {
// send data only when you receive data:
if (Serial1.available() * 0) {
// read the incoming byte:
incomingByte = Serial1.read();
// say what you got:
Serial.print("I received: ");
Serial.println(incomingByte, DEC);
}
}
---
-
8 likes, 0 dislikes
2:09
FREE ARDUINO TEST READ DATA FROM MLX90614 IR TEMP VIA I2C PROTOCOLby kakitelecom361 views
1:01
wi-fi controlled robot carby rapv1rus1,252 views
4:53
WiFi Controlled RC Car with the Arduinoby mindthomas8,708 views
4:43
I got spykee!!!by 551195511931,819 views
3:18
2WD Arduino robot complete!by thoughtfix1,772 views
4:05
Introducing Hydrogen Arduino WiFi Shield and LED Demoby diysb4,828 views
1:20
Arduino wifi airbedby claymor3229 views
9:59
Arduino + Eee PC Robot final (Road to CiclopEee)by eried27,584 views
0:20
wifi rc car 6.0by 11myedu13,931 views
2:08
WRT54GL 1.1by NKonstantinov6,770 views
1:05
Jackob: The WiFi robot - Part 1: Componentsby blinthun2,463 views
1:48
arduino wifi to iphoneby ipulab23,784 views
4:38
Tour on Tomato firmwareby PJMDS22,718 views
1:39
Wireless bluetooth arduino hexapod robot SPIDEE-1by aggrav8d86,276 views
1:52
痛車のRCカーの作り方:How to make RC car "Itasya"by acguysan11,937 views
0:26
Arduino solar water controllerby Xanchez213 views
8:41
WALL-E robot with Arduinoby HackaweekTV21,643 views
9:27
Arduino project Computer-controlled vehicleby BBsciencelab13,938 views
3:49
diy how to build a wifi robot spybotby RoboWorksllc17,120 views
- Loading more suggestions...
Link to this comment:
All Comments (3)