Propelling a Ping Pong Ball 17 feet

We are doing a project where we have to consistently shoot a ping pong ball 17 feet into a pail. Any suggestions or ideas?

Posted by dylanwil 9 years ago


How can I change the pitch of a buzzer using a PING))) sensor?

 I am trying to make it so that when I move my hand closer to the PING sensor, the pitch of the buzzer becomes higher.  I don't care about the distances or pitches because I can edit, I just can't write codes. Thank You

Asked by macattackct 8 years ago


Hey everyone. Can I use this to make something like a ping ultrasonic sensor except for ir? Answered

Hey everyone. Can I use this to make something like a ping ultrasonic sensor except for ir? Or somehing like this.

Asked by TOCO 8 years ago


How can I make this buzzer buzz? It makes a small "ping" Answered

I got this buzzer from a surplus shop and I hooked up wires but only makes a small ping when I touch the wires to a battery terminal, How can I make it buzz?

Asked by fusorx 7 years ago


My PING sensor works only in one direction when the ping sensor is rotated to complete right direction . . . . having trouble in code :/ plz guide me for the code thanQ :)

// here is the code  // problem facing with the HEAD servo and the PING sensor  // this is paning from left to right but the problem is that PING works only in 1 direction. #define trigPin 3 #define echoPin 12 #define led 4 #define relay 8 Servo sl; Servo head; Servo sr; Servo el;   Servo er; int posh=0; int posl=0; int posr=0; void setup() {   sl.attach(9);   sr.attach(10);   el.attach(11);   er.attach(5);   head.attach(6);   Serial.begin (9600);   pinMode(trigPin, OUTPUT);    pinMode(relay, OUTPUT);   pinMode(echoPin, INPUT);   pinMode(led, OUTPUT); } void loop() {     for(posh = 0;posh   {  delay(15);     head.write(posh);   }      for(posh = 180;posh >=0; posh -=1)   {       head.write(posh); delay(15);  }           //shoulder up   long duration, distance;   digitalWrite(trigPin, LOW);  // Added this line   delayMicroseconds(2); // Added this line   digitalWrite(trigPin, HIGH); //  delayMicroseconds(1000); - Removed this line   delayMicroseconds(10); // Added this line   digitalWrite(trigPin, LOW);   duration = pulseIn(echoPin, HIGH);   distance = (duration/2) / 29.1; if (distance {  // This is where the LED On/Off happens      digitalWrite(led,HIGH); // When the Red condition is met, the Green LED should turn off      Serial.println("WELCOME");    head.write(90);       for(posl = 0, posr = 180; posl   {       sl.write(posl);      sr.write(posr);      posr -=1;     delay(15);   }           // elbow close      for(posr = 0,posl=180; posr   {     er.write(posr);     el.write(posl);     posl -=1;     delay(15);   }     delay(3000);   //elbow open       for(posr = 45,posl=135; posr >= 0; posr -=1)   {     er.write(posr);     el.write(posl);     posl +=1;     delay(15);   }     //shoulder down       for(posr = 90,posl= 90; posr   {     sr.write(posr);     sl.write(posl);     posl -=1;     delay(15);   }      digitalWrite(relay,HIGH);    delay(1000);     digitalWrite(relay,LOW);   }     else   {     digitalWrite(led,LOW);   }     delay(100);     }

Posted by speak2sainow 4 years ago


Need help for improving PING Ultrasonic sensor code to make it precise

Hi guys,               I havebuilt a circuit to detect the swinging of an object using ultrasonic sensor and send signals to the Arduino Duemilanove board which in turn activates the solenoid. The circuit is working fine but I'm using a PING Ultrasonic sensor and I'm having hard time controlling it with the code. Do you have any idea about how to control and make the readings precise for the Sensor? If you want, I can post my code here... Any help is appreciated. Thanks in advance!

Posted by kailash174 5 years ago


Need DIY Nerf-type weapons for Christmas - Ideas??

Our Christmas tradition starts at about 10 am with a rowdy war of some sort. Unfortunately, the Nerf company can't make an unbreakable item for overgrown boys. This year, we're going with DIY weaponry. The Marshmallow shooter is too tame, and the rubber band gun is too harsh. What other options are out there? 

Posted by Very Interesting 6 years ago


I need help with arduino code. Can someone help me remove the ping sensor from the code below?

I need to take the ping sensor out of this code. I want the robot to drive around like crazy until it bumps into something with the bump switch. /* Rumblebot Driving with object avoidance utiliszing PING Ultrasound Sensor * and a bump switch. * Reads values (00014-01199) from an ultrasound sensor (Parallax PING) * * Version 1.1.2 Motor runs and drives full time unless object detected. *-------------------------------------------------------------------- * * * * * * */ int switchPin= 2; // Right bump switch on pin 2 int swval; // Variable for reading switch status int ultraSoundSignal = 7; // Ultrasound signal pin int val = 0; int ultrasoundValue = 0; int timecount = 0; // Echo counter int ledPin = 13; // LED connected to digital pin 13 int motorpinright = 10; // pin for left motor reverse int motorpinleft = 11; // pin for left motor forward int motorpinrevright = 5; // pin for right motor reverse int motorpinrevleft = 6; // pin for right motor forward void setup() { pinMode(switchPin, INPUT); // Sets the digital pin as input pinMode(ledPin, OUTPUT); // Sets the digital pin as output pinMode(motorpinright, OUTPUT); // Motor drives----------- pinMode(motorpinleft, OUTPUT); //------------------------ pinMode(motorpinrevright, OUTPUT); //------------------------ pinMode(motorpinrevleft, OUTPUT); //------------------------ } void loop() { /* Start Scan * -------------------------------------------------- */{ timecount = 0; val = 0; pinMode(ultraSoundSignal, OUTPUT); // Switch signalpin to output /* Send low-high-low pulse to activate the trigger pulse of the sensor * ------------------------------------------------------------------- */ digitalWrite(ultraSoundSignal, LOW); // Send low pulse delayMicroseconds(2); // Wait for 2 microseconds digitalWrite(ultraSoundSignal, HIGH); // Send high pulse delayMicroseconds(5); // Wait for 5 microseconds digitalWrite(ultraSoundSignal, LOW); // Holdoff /* Listening for echo pulse * ------------------------------------------------------------------- */ pinMode(ultraSoundSignal, INPUT); // Switch signalpin to input val = digitalRead(ultraSoundSignal); // Append signal value to val while(val == LOW) { // Loop until pin reads a high value val = digitalRead(ultraSoundSignal); } while(val == HIGH) { // Loop until pin reads a high value val = digitalRead(ultraSoundSignal); timecount = timecount +1; // Count echo pulse time } /* Lite up LED if any value is passed by the echo pulse * ------------------------------------------------------------------- */ if(timecount > 0){ digitalWrite(ledPin, HIGH); delay(50); //LED on for 50 microseconds digitalWrite(ledPin, LOW); } /* Delay of program * ------------------------------------------------------------------- */ delay(100); } /* Action based on data * ------------------------------------------------------------------- */ { ultrasoundValue = timecount; // Append echo pulse time to ultrasoundValue } if (ultrasoundValue > 800) { /* Drive straight forward *----------------------------------------------- */ analogWrite(motorpinleft, 255); //100% speed analogWrite(motorpinright, 255); //100% speed0 } /*------------------------------------------------ */ else /* Turn hard right *--------------------------------------------- */ { analogWrite(motorpinleft, 0); //stop left motor analogWrite(motorpinright, 0); //stop right motor analogWrite(motorpinrevright, 0); // stop right rev motor analogWrite(motorpinrevleft, 0); // stop left rev motor analogWrite(motorpinrevright, 255); //100% speed analogWrite(motorpinleft, 255); //100% speed delay(380); //380 milliseconds analogWrite(motorpinrevright, 0); // off analogWrite(motorpinleft, 0); // off /*---------------------------------------------- */ } /* Backup and turn right when switch gets bumped and closes circuit to ground *--------------------------------------------------- */ /* */ digitalWrite(switchPin, HIGH); // Sets the pin to high swval = digitalRead(switchPin); // Read input value and store it if (swval == LOW) { analogWrite(motorpinleft, 0); //stop left motor analogWrite(motorpinright, 0); //stop right motor analogWrite(motorpinrevleft, 0); // stop left rev motor analogWrite(motorpinrevright, 0); // stop right rev motor analogWrite(motorpinrevleft, 255); //100% speed analogWrite(motorpinrevright, 255); //100% speed delay(800); //800 milliseconds analogWrite(motorpinrevleft, 0); // off analogWrite(motorpinrevright, 0); // off analogWrite(motorpinrevright, 255); //100% reverse speed analogWrite(motorpinleft, 255); //100% forward speed delay(700); //700 milliseconds analogWrite(motorpinrevright, 0); // off analogWrite(motorpinleft, 0); // off delay(50); //50 milliseconds } /*------------------------------------------------ */ } UPDATE I tried deleting some stuff and changing some stuff. When I turn on the robot noting happens. Here is the code after the changes. * Rumblebot Driving with object avoidance utiliszing PING Ultrasound Sensor * and a bump switch. * Reads values (00014-01199) from an ultrasound sensor (Parallax PING) * * Version 1.1.2 Motor runs and drives full time unless object detected. *-------------------------------------------------------------------- * * * * * * */ int switchPin= 2; // Right bump switch on pin 2 int swval; // Variable for reading switch status int ultraSoundSignal = 7; // Ultrasound signal pin int val = 0; int ultrasoundValue = 0; int timecount = 0; // Echo counter int ledPin = 13; // LED connected to digital pin 13 int motorpinright = 10; // pin for left motor reverse int motorpinleft = 11; // pin for left motor forward int motorpinrevright = 5; // pin for right motor reverse int motorpinrevleft = 6; // pin for right motor forward void setup() { pinMode(switchPin, INPUT); // Sets the digital pin as input pinMode(ledPin, OUTPUT); // Sets the digital pin as output pinMode(motorpinright, OUTPUT); // Motor drives----------- pinMode(motorpinleft, OUTPUT); //------------------------ pinMode(motorpinrevright, OUTPUT); //------------------------ pinMode(motorpinrevleft, OUTPUT); //------------------------ } void loop() { /* Start Scan * -------------------------------------------------- */{ timecount = 0; val = 0; pinMode(ultraSoundSignal, OUTPUT); // Switch signalpin to output /* Send low-high-low pulse to activate the trigger pulse of the sensor /* Delay of program * ------------------------------------------------------------------- */ delay(100); } /* Action based on data * ------------------------------------------------------------------- */ { ultrasoundValue = timecount; // Append echo pulse time to ultrasoundValue } if (true) { /* Drive straight forward *----------------------------------------------- */ analogWrite(motorpinleft, 255); //100% speed analogWrite(motorpinright, 255); //100% speed0 } /*------------------------------------------------ */ else /* Turn hard right *--------------------------------------------- */ { analogWrite(motorpinleft, 0); //stop left motor analogWrite(motorpinright, 0); //stop right motor analogWrite(motorpinrevright, 0); // stop right rev motor analogWrite(motorpinrevleft, 0); // stop left rev motor analogWrite(motorpinrevright, 255); //100% speed analogWrite(motorpinleft, 255); //100% speed delay(380); //380 milliseconds analogWrite(motorpinrevright, 0); // off analogWrite(motorpinleft, 0); // off /*---------------------------------------------- */ } /* Backup and turn right when switch gets bumped and closes circuit to ground *--------------------------------------------------- */ /* */ digitalWrite(switchPin, HIGH); // Sets the pin to high swval = digitalRead(switchPin); // Read input value and store it if (swval == LOW) { analogWrite(motorpinleft, 0); //stop left motor analogWrite(motorpinright, 0); //stop right motor analogWrite(motorpinrevleft, 0); // stop left rev motor analogWrite(motorpinrevright, 0); // stop right rev motor analogWrite(motorpinrevleft, 255); //100% speed analogWrite(motorpinrevright, 255); //100% speed delay(800); //800 milliseconds analogWrite(motorpinrevleft, 0); // off analogWrite(motorpinrevright, 0); // off analogWrite(motorpinrevright, 255); //100% reverse speed analogWrite(motorpinleft, 255); //100% forward speed delay(700); //700 milliseconds analogWrite(motorpinrevright, 0); // off analogWrite(motorpinleft, 0); // off delay(50); //50 milliseconds } /*------------------------------------------------ */ }

Asked by TOCO 7 years ago


Team Fortress 2 ping

Hi, I have recently received high ping on all servers in TF2, while other people get around 20, i get 220 ping. What is wrong with my internet and how do i fix my ping?

Posted by NXTHacker 4 years ago


About the Ping ultrasonic sensor Answered

I already have some ultrasonic sensors that aren't Ping. Is there a way I can use one of them instead of the Ping ultrasonic sensor?

Asked by gene328 1 year ago


Batch Code variables?

So, I have been making a "OS" in Batch recently, and i am working on the main menu. it all works fine on the first variable, but when i type in anything else, (anything on the keyboard) it comes up with just the first variable. Anyone got any ideas for fixes? here's the code: ========================= @echo off :MMlauncher title Main_Menu echo Welcome to DolphOS! echo What would you like to do? echo. echo 1 File Explorer echo 2 Games echo 3 Notepad echo 4 Clock echo 5 Close DolphOS set /p programs=Enter number here: if%programs%==1 goto FeLauncher if%programs%==2 goto GMSLauncher if%programs%==3 goto NtpdLauncher if%programs%==4 goto ClkLauncher if%programs%==5 goto ShtDwn :FeLauncher echo l ping localhost -n .15 >nul cls echo la ping localhost -n .15 >nul cls echo lau ping localhost -n .15 >nul cls echo laun ping localhost -n .15 >nul cls echo launc ping localhost -n .15 >nul cls echo launch ping localhost -n .15 >nul cls echo launchi ping localhost -n .15 >nul cls echo launchin ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching F ping localhost -n .15 >nul cls echo launching Fi ping localhost -n .15 >nul cls echo launching Fil ping localhost -n .15 >nul cls echo launching File ping localhost -n .15 >nul cls echo launching File ping localhost -n .15 >nul cls echo launching File e ping localhost -n .15 >nul cls echo launching File ex ping localhost -n .15 >nul cls echo launching File exp ping localhost -n .15 >nul cls echo launching File expl ping localhost -n .15 >nul cls echo launching File explo ping localhost -n .15 >nul cls echo launching File explor ping localhost -n .15 >nul cls echo launching File explore ping localhost -n .15 >nul cls echo launching File explorer ping localhost -n .15 >nul cls echo launching File explorer. ping localhost -n .15 >nul cls echo launching File explorer.. ping localhost -n .15 >nul cls echo launching File explorer... ping localhost -n .15 >nul cls echo launching File explorer... ping localhost -n 5 >nul cls echo launching File explorer... cls C:\users\Harrison\Documents\DolphOS\FeLauncher :GMSLauncher echo l ping localhost -n .15 >nul cls echo la ping localhost -n .15 >nul cls echo lau ping localhost -n .15 >nul cls echo laun ping localhost -n .15 >nul cls echo launc ping localhost -n .15 >nul cls echo launch ping localhost -n .15 >nul cls echo launchi ping localhost -n .15 >nul cls echo launchin ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching G ping localhost -n .15 >nul cls echo launching Ga ping localhost -n .15 >nul cls echo launching Gam ping localhost -n .15 >nul cls echo launching Game ping localhost -n .15 >nul cls echo launching Games ping localhost -n .15 >nul cls echo launching Games ping localhost -n .15 >nul cls echo launching Games. ping localhost -n .15 >nul cls echo launching Games.. ping localhost -n .15 >nul cls echo launching Games... ping localhost -n .15 >nul cls echo launching Games ping localhost -n 5 >nul cls :NtpdLauncher echo l ping localhost -n .15 >nul cls echo la ping localhost -n .15 >nul cls echo lau ping localhost -n .15 >nul cls echo laun ping localhost -n .15 >nul cls echo launc ping localhost -n .15 >nul cls echo launch ping localhost -n .15 >nul cls echo launchi ping localhost -n .15 >nul cls echo launchin ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching ping localhost -n .15 >nul cls echo launching N ping localhost -n .15 >nul cls echo launching No ping localhost -n .15 >nul cls echo launching Not ping localhost -n .15 >nul cls echo launching Note ping localhost -n .15 >nul cls echo launching Notep ping localhost -n .15 >nul cls echo launching Notepa ping localhost -n .15 >nul cls echo launching Notepad ping localhost -n .15 >nul cls echo launching Notepad. ping localhost -n .15 >nul cls echo launching Notepad.. ping localhost -n .15 >nul cls echo launching Notepad... ping localhost -n 5 >nul cls ====================== thanks in advance,  -ThePuppet

Asked by Fred the evil puppet 5 years ago


where can i get a really CHEAP ping pong table !?

 il spend like $80 max... im going to destroy it so it dosnt have to be good

Asked by GianniMora 8 years ago


How do you build an arduino radar?

Hi Everyone, I saw on youtube that you can make an arduino radar using a ping ultrasonic sensor, an arduino, and a processing sketch. I have successfully gotten the ping sensor to rotate (180 degrees) on a servo and report the distance to the computer via the serial monitor but I need help converting it to a radar interface using processing. Can anyone help me write a processing sketch that would do it. Thanks in advance, Mr_E

Asked by Mr_Electric 6 years ago


Dial up to satellite what do i need to change to play online?

I used to play Halo on my computer with dial up but once we switched to satellite every time I try to play my ping gets jacked up. I want to know what settings I need to change so I can play again.

Asked by PyroTeen213 7 years ago


connecting new ping to arduino. Answered

Hi, I got ping from amazon but it has 4 leads and I do not know how to connect it to the arduino. The leads say vcc, trig, echo, and gnd. Will I be able to use the examples with ping on my arduino?  http://www.amazon.com/gp/product/B004U8TOE6/ref=oh_details_o00_s00_i00

Asked by jbaker22 5 years ago


Arduino ultrasonic sensor activating servo movement?

I am building a rc car as part of a pretty big project that has a bunch of other stuff on it . But one thing I can't figure out, being I'm only slightly familiar with arduino (UNO), is how to make a servo move when the sensor tells it to. I am going to attach a hook on the front to lift up an object so I can transport it. Now what I want to do is have the sensor detect the object when it is close enough to the hook (3-4") and then tell the servo to move a given degrees, around 25, just enough to pick it up. I've been toying with the code for the obstacle detecting robots trying to see if I cant modify that for this type of use but a lot of that code is backup commands, alternate routes and all that other stuff. just need a simple detect object, send signal to servo and servo moves the hook to pick the object up. Thanks  

Asked by dmegill 4 years ago


HCSR-04 not PING? Answered

Actually I have HCSR-04, which has 4 pins. Can you please help

Asked by Sadiqabba2 1 year ago


can someone give me a link for a very cheap ping pong table? Answered

I need one for very cheap... like 20 dollars or somthing 

Asked by GianniMora 8 years ago


ping pong ball temperature sensor

I remember seeing an instructable where they put a temperature sensor in a ping pong ball and when it's cold out it turns blue and when it's warm its red. I've been trying to find it here and on google, but I can't find it anywhere. Has anyone seen it lately?

Posted by ravenhaker 6 years ago


Why is my latency like 70 in one game yet i lag in another?

Whenever I play Counter Strike: Source, I almost never lag but when i play Team Fortress 2 I lag like CRAP! Can you tell me why this happens and (if possible) direct me to a free or cheap solution? Thanks In Advance, A_Person

Asked by a_person 6 years ago


When does traffic affect ping in a PPPoe broadband connection? Answered

So i have two broadband connections, from different isps.  On one connection when i'm browsing the internet my ping goes up from 1ms to 700ms. (I've checked and rechecked a million times.) On the other one the ping always remains 1ms regardless of how many downloads are i have running.  What exactly makes this difference?

Asked by N.Khan 3 years ago


Pinged computer names don't match actual computer IP address?

So at this school I go to, we have mac books, and we'd communicate to each other using SSH and VNC during class at times. To get the IP addresses (local) of each other, we'd ping the computer name of the person we wanted, the computer name being clearly visible on each of our mac books. From time to time, IP addresses would change, but that's not really much of a problem. Thing is, for a few people, their actual IP address is different to what we'd get when we ping them, and hence we'd accidentally end up in someone else's mac book instead of the one we intended. Does anyone have a clue as to what is going on here? Or a solution? (Other than getting them to go and find their IP addresses with "ifconfig" or through terminal?) We're using OS X 10.6.4, btw  Much appreciated

Asked by .Unknown. 6 years ago


vacuum pump wanted

Hoping someone would have a vacuum pump (manual or electric) they wouldn't mind giving me, hoping to make a vacuum cannon but missing a quite essential part ha ha

Posted by ToggleSwitch 2 years ago



Calling All Ball Machiners And Knex People! Challenge

I play ping pong ALOT, but since my brothers moved out to college I can't play anymore. I've looked all over the Internet but I can't find any knex ping pong ball thrower/shooter/whatever. So the challenge is (since I can't make one) to create an automated (gravity or motor powered) ping pong ball thrower preferably out of knex. It would be greatly appreciated. Here's some inspiration if you want itHomemade ping pong ball thrower

Posted by sc lightning 9 years ago


Remote activation for LED ping pong balls

I would like some advice on how to go about putting something like this together. I would like 3 to 4 ping pong LED hooked to a remote. I would like to be able to remotely turn them on and off. I have built the Balls that stay on all the time and my children work to find them outside at night. I would like the ability to turn the on from the porch after I have hide the for more of a challenge.

Posted by wrestling 7 years ago


Can Someone Modify an Arduino Sketch For Me? Answered

I recently got into Arduino, and my first long term project is an autonomous roaming robot. Now, I've been in electronics for a while, so the actual building of the thing was not a problem....but the programming is. I've found a couple examples of codes online, but they all use Sharp IR sensors, whereas I have a Ping))) Ultrasonic sensor. I was wondering if there were any Arduino experts out there that could modify a sketch that I found to only use the Ping))) instead of the IR sensor(s). This sketch actually uses both, and would be perfect if the Ping))) was used in place of the IR sensors, rather than with them. If anybody could modify the sketch below to do as I said, your help would be greatly appreciated. Thanks. Code: int micVal; int cdsVal; int irLval;  // Left IR int irCval;  // Center IR int irRval;  // Right IR int i;   // Generic Counter int x;  // Generic Counter int PLval;  // Pulse Width for Left Servo int PRval;  // Pulse Width for Right Servo int cntr;  // Generic Counter Used for Determining amt. of Object Detections int counter; // Generic Counter int clrpth;  // amt. of Milliseconds Of Unobstructed Path int objdet;  // Time an Object was Detected int task;  // Routine to Follow for Clearest Path int pwm;  // Pulse Width for Pan Servo boolean add;  // Whether to Increment or Decrement PW Value for Pan Servo int distance;  // Distance to Object Detected via Ultrasonic Ranger int oldDistance;  // Previous Distance Value Read from Ultrasonic Ranger float scale = 1.9866666666666666666666666666667;  // *Not Currently Used* int LeftPin = 6;  // Left Servo int RightPin = 9;  // Right Servo int PiezoPin = 11;  // Piezo int PingServoPin = 5;  // Pan Servo int irLPin = 0;            // Analog 0; Left IR int irCPin = 1;            // Analog 1; Center IR int irRPin = 2;            // Analog 2; Right IR int ultraSoundSignal = 7; // Ultrasound signal pin int val = 0;              // Used for Ultrasonic Ranger int ultrasoundValue = 0;  // Raw Distance Val int oldUltrasoundValue;  // *Not used* int pulseCount;        // Generic Counter int timecount = 0; // Echo counter int ledPin = 13; // LED connected to digital pin 13 #define BAUD 9600 #define CmConstant 1/29.034 void setup() {   Serial.begin(9600);   pinMode(PiezoPin, OUTPUT);   pinMode(ledPin, OUTPUT);   pinMode(LeftPin, OUTPUT);   pinMode(RightPin, OUTPUT);   pinMode(PingServoPin, OUTPUT);   pinMode(irLPin, INPUT);   pinMode(irCPin, INPUT);   pinMode(irRPin, INPUT);   for(i = 0; i     digitalWrite(PiezoPin, HIGH);     delayMicroseconds(1000);     digitalWrite(PiezoPin, LOW);     delayMicroseconds(1000);   }   for(i = 0; i   digitalWrite(PingServoPin, HIGH);   delayMicroseconds(655 * 2);   digitalWrite(PingServoPin, LOW);   delay(20);   }   ultrasoundValue = 600;   i = 0; } void loop() {   //Scan();   Look();   Go(); } void Look() {   irLval = analogRead(irLPin);   irCval = analogRead(irCPin);   irRval = analogRead(irRPin);   //if(counter > 10) {     //counter = 0;     //readPing();   //}   if(irLval > 200) {     PLval = 820;     PRval = 850;     x = 5;     cntr = cntr + 1;     clrpth = 0;     objdet = millis();   }   else if(irCval > 200) {     PLval = 820;     PRval = 850;     x = 10;     cntr = cntr + 1;     clrpth = 0;     objdet = millis();   }   else if(irRval > 200) {     PLval = 620;     PRval = 650;     x = 5;     cntr = cntr + 1;     clrpth = 0;     objdet = millis();   }   else {     x = 1;     PLval = 620;     PRval = 850;     counter = counter + 1;     clrpth = (millis() - objdet);     if(add == true) {       pwm = pwm + 50;     }     else if(add == false) {       pwm = pwm - 50;     }     if(pwm       pwm = 400;       add = true;     }     if(pwm > 950) {       pwm = 950;       add = false;     }     digitalWrite(PingServoPin, HIGH);     delayMicroseconds(pwm * 2);     digitalWrite(PingServoPin, LOW);     delay(20);     readPing();     if(ultrasoundValue       cntr = cntr + 1;       switch(pwm) {         case 400:           x = 7;           PLval = 650;           PRval = 650;           Go();           break;         case 500:           x = 10;           PLval = 650;           PRval = 650;           Go();           break;         case 600:           x = 14;           PLval = 850;           PRval = 850;           Go();           break;         case 700:           x = 10;           PLval = 850;           PRval = 850;           Go();           break;         case 950:           x = 7;           PLval = 850;           PRval = 850;           Go();           break;       }     }   }   //Serial.print("clrpth: ");   //Serial.println(clrpth);   //Serial.print("objdet: ");   //Serial.println(objdet);   //Serial.print("cntr: ");   //Serial.println(cntr);   if(cntr > 25 && clrpth     clrpth = 0;     cntr = 0;     Scan();   } } void Go() {   for(i = 0; i     digitalWrite(LeftPin, HIGH);     delayMicroseconds(PLval * 2);     digitalWrite(LeftPin, LOW);     digitalWrite(RightPin, HIGH);     delayMicroseconds(PRval * 2);     digitalWrite(RightPin, LOW);     delay(20);   } } void readPing() {  // Get Distance from Ultrasonic Ranger timecount = 0; val = 0; pinMode(ultraSoundSignal, OUTPUT); // Switch signalpin to output /* Send low-high-low pulse to activate the trigger pulse of the sensor * ------------------------------------------------------------------- */ digitalWrite(ultraSoundSignal, LOW); // Send low pulse delayMicroseconds(2); // Wait for 2 microseconds digitalWrite(ultraSoundSignal, HIGH); // Send high pulse delayMicroseconds(5); // Wait for 5 microseconds digitalWrite(ultraSoundSignal, LOW); // Holdoff /* Listening for echo pulse * ------------------------------------------------------------------- */ pinMode(ultraSoundSignal, INPUT); // Switch signalpin to input val = digitalRead(ultraSoundSignal); // Append signal value to val while(val == LOW) { // Loop until pin reads a high value   val = digitalRead(ultraSoundSignal); } while(val == HIGH) { // Loop until pin reads a high value   val = digitalRead(ultraSoundSignal);   timecount = timecount +1;            // Count echo pulse time } /* Writing out values to the serial port * ------------------------------------------------------------------- */ ultrasoundValue = timecount; // Append echo pulse time to ultrasoundValue //serialWrite('A'); // Example identifier for the sensor //printInteger(ultrasoundValue); //serialWrite(10); //serialWrite(13); /* Lite up LED if any value is passed by the echo pulse * ------------------------------------------------------------------- */ if(timecount > 0){   digitalWrite(ledPin, HIGH); } } void Scan() {   // Scan for the Clearest Path   oldDistance = 30;   task = 0;   for(i = 1; i     switch(i) {       case 1:         //Serial.println("Pos. 1");         pwm = 1125;    ///  incr. by 100 from 1085         break;       case 2:         //Serial.println("Pos. 2");         pwm = 850; //// increased by 100 from 850         break;       case 3:         //Serial.println("Pos. 3");         pwm = 400;         break;       case 4:         //Serial.println("Pos. 4");         pwm = 235;         break;     }     for(pulseCount = 0; pulseCount       digitalWrite(PingServoPin, HIGH);       delayMicroseconds(pwm * 2);       digitalWrite(PingServoPin, LOW);       readPing();       delay(20);     }     distance = ((float)ultrasoundValue * CmConstant);   // Calculate Distance in Cm     if(distance > oldDistance) {  // If the Newest distance is longer, replace previous reading with it       oldDistance = distance;       task = i;   // Set task equal to Pan Servo Position     }   }   //Serial.print("Task: ");   //Serial.println(task);   //Serial.print("distance: ");   //Serial.println(distance);   //Serial.print("oldDistance: ");   //Serial.println(oldDistance);   distance = 50;  // Prevents Scan from Looping   switch(task) {   // Determine which task should be carried out     case 0:  // Center was clearest       x = 28;       PLval = (850);       PRval = (850);       Go();       break;     case 1:  // 90 degrees Left was Clearest       x = 14;       PLval = (650);       PRval = (650);       Go();       break;     case 2:  // 45 degrees left       x = 7;       PLval = (650);       PRval = (650);       Go();       break;     case 3:  // 45 degrees right       x = 7;       PLval = (850);       PRval = (850);       Go();       break;     case 4:  // 90 degrees right       x = 14;       PLval = (850);       PRval = (850);       Go();       break;   } }    

Asked by punkhead58 8 years ago


URGENT!!!sketch for arduino robot with ping?

I am making an arduino obstacle avoiding robot for my science project.. But i am not getting a suitable sketch for a ping to use with it. I am only getting that of sharp ir sensor. Please help me out with a sketch..its urgent..below i have linked the site where there is the sketch and the project dat i want to make..... http://communityofrobots.com/tutorial/kawal/how-make-your-first-robot-using-arduino

Asked by Ankan Nayak 3 years ago


LED Juggling ball

Hello, I want to make some glowing juggling balls (using LED probably), but I have no idea about what ball to use, how to make it turn on and off and how to balance it. I tryed the led ping pong balls (link at the end), but they're too small and light. Any ideas? How do the glowing balls work (those that from Yo-ho, for example)? Thanks. LED Ping Pong Ball https://www.instructables.com/id/LED-Ping-Pong-Ball-Improved/

Posted by Kokkan 7 years ago


DIVORCE GOOD OR BAD

My paRents recently got a divorce and well custody is like ping pong hey mom ping hey dad pong ( u get the point) but they never see the kids point of view ( kids aren't aloud to play ping pong )cause they are the ball but what your point of view would u be ok leaving someone u promised to love in sickness and in health and cause some serious trama for your kids or do u think thats ok ..................................................GOOD OR BAD u decide .

Posted by aceLED 10 years ago


Why Won't my Batch Game Not work?

I made it so some parts got to the section area Finish 1 Which everytime a goto command goes to it the cmd prompt crashes and the batch game wont work. [Finish 1 is at the bottom] @echo off title Mystic color 5d :Password echo Enter Your Username and Password echo. set /p user=Enter UserID: set /p pass=Enter Password: if /i %user%==PerfectSpike1337 (     if /i %pass%==ABCDEFG123456 goto Naming) if not "%input%" == ABCDEFG123456 goto Incorrect :Incorrect cls echo Wrong password, Please ask Kellen McDonald for the Password. pause >nul goto Password :Naming cls echo Please enter an avatar name of your desire. echo. set /p uname= echo. echo Welcome to Mystic RPG %uname% echo. echo Press 1 to get started echo Press 2 to exit set /p input=Enter: if "%input%" == "1" goto :Getting Started if "%input%" == "2" exit if "%input%" == "" goto Naming if "%input%" == "Admin Code 123" goto Stab 1 :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Naming :A cls echo You were injured and sent to the hospital. Don't try that again. pause >nul ping localhost -n 2 >nul cls echo Waking Up. ping localhost -n 2 >nul cls echo Waking Up.. ping localhost -n 2 >nul cls echo You have woken up, the nurse greets you. pause >nul echo. echo Welcome back %uname%, press 1 to restart at the bank. set /p input=Enter: if "%input%" == "1" goto :Bank if "%input%" == "" goto A :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto A :Getting Started echo You will recieve your free gold to get started %uname%, first you must walk to the echo bank. pause >nul echo Walking. ping localhost -n 2 >nul cls echo Walking.. ping localhost -n 2 >nul cls echo Walking... ping localhost -n 2 >nul cls echo Choose what you want. echo 1. Enter Bank echo 2. Rob Bank set /p input=Enter: if "%input%" == "1" goto Bank if "%input%" == "2" goto A if "%input%" == "" goto Getting Started pause >nul :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Getting Started :Bank echo You have arrived at the Bank Of Gen Town! pause >nul echo "Here's your money %uname%" pause >nul echo Grabbing Money. ping localhost -n 2 >nul cls echo Grabbing Money.. ping localhost -n 2 >nul cls echo You Have recieved 500 GenDol! pause >nul cls echo Press 1 to begin your next task! set /p input=Enter: if "%input%" == "1" goto Sword Shopping if "%input%" == "" goto Bank :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Bank :Sword Shopping echo You now have enough GenDol for an iron sword at the GenMarket! echo. echo You may now walk to the Market. pause >nul cls echo Press 1 to walk to the market. set /p input=Enter: if "%input%" == "1" goto Shopping if "%input%" == "" goto Sword Shopping :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Sword Shopping :Shopping echo You will now start walking to the Market. pause >nul echo Walking. ping localhost -n 2 >nul cls echo Walking.. ping localhost -n 2 >nul cls echo Walking... ping localhost -n 2 >nul cls echo Enter 1 to enter the market! set /p input=Enter: if "%input%" == "1" goto Market if "%input%" == "" goto Shopping :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Shopping :Market echo "Welcome to the GenMarket %uname%!" pause >nul echo Here is some of our items you can buy! echo. echo 1. Iron Sword [500 GenDol, 10 attack] echo 2. Golden Sword [750 GenDol, 15 attack] echo 3. Dark Matter Sword [5000 GenDol, 100 attack] echo. echo Enter the number of the sword you want to buy! set /p input=Enter: if "%input%" == "1" goto Iron Sword if "%input%" == "2" goto Need GenDol if "%input%" == "3" goto Need GenDol if "%input%" == "" goto Market :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Market :Need GenDol echo You don't have enough GenDol for that! echo Come back later with more GenDol! echo. echo Enter 1 to return to the market screen. set /p input=Enter: if "%input%" == "1" goto Market if "%input%" == "" goto Need GenDol :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Need GenDol :Iron Sword echo You have now bought the Iron Sword and is equipped! echo. echo You may now begin your journey! echo. echo Press 1 to start your journey! set /p input=Enter: if "%input%" == "1" goto Road 1 if "%input%" == "" goto Iron Sword :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Iron Sword :Road 1 echo You see a Bandit! [50 HP] echo. echo What will you do? echo. echo 1. Attack The Bandit echo 2. Sneak By The Bandit set /p input=Enter: if "%input%" == "1" goto Battle 1 if "%input%" == "2" goto Get Spotted :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Road 1 :Battle 1 cls echo You have challenged the Bandit to a duel! echo. echo Choose what you will like to do! echo. echo [100 STAMINA LEFT] echo 1. Swing (5 STAMINA) [10 Damage] echo 2. Stab (10 STAMINA) [15 Damage] set /p input=Enter: if "%input%" == "1" goto Swing if "%input%" == "2" goto Stab if "%input%" == "" goto Battle 1 :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Battle 1 :Get Spotted echo The Bandit has spotted you try to sneak by him! echo. echo The Bandit has challenged you to a duel, prepare to battle! echo. echo Press 1 to enter the duel! set /p input=Enter: if "%input%" == "1" goto Battle 1 if "%input%" == "" goto Get Spotted :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Get Spotted :Stab 1 echo You lunge at the Bandit! echo Your attack hit! echo The attack damaged the Bandit critically! echo. echo [The Bandit Loses 30 HP] echo. echo The Bandit has lunged at you! echo [You Have Lost 10 HP, 90 HP Left] echo. echo Enter 1 to finish The Bandit! set /p input=Enter: if "%input%" == "1" goto Finish 1 if "%input%" == "" goto Stab :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Stab :Swing 1 echo Your attack hit! echo The attack damaged the Bandit critically! echo. echo [The Bandit Loses 25 HP] echo. echo The Bandit has lunged at you! echo [You Have Lost 10 HP, 90 HP Left] echo. echo Enter 1 to finish The Bandit! set /p input=Enter: if "%input%" == "1" goto Finish 1 if "%input%" == "" goto Swing :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Swing :Finish 1 echo You have finished off the Bandit! echo. echo You have recieved 25 EXP and 65 GenDol! echo Your current status is [25|100 EXP] echo. echo You have recieved 10 extra HP for your first win! echo You are now at full HP! [100|100 HP] echo. echo Would you like to continue down this trail or camp echo for the night? [Enter the Numbers 1-3] echo. echo 1. Continue down the trail echo 2. Camp The Night echo 3. View Inventory set /p input=Enter: if "%input%" == "1" goto Trail 1 if "%input%" == "2" goto Camp 1 if "%input%" == "3" goto Inventory 1 :Bug Fix echo No cheating! pause >nul echo Prepare for teleportation back! ping localhost -n 2 >nul echo 1.. ping localhost -n 2 >nul cls echo 2.. ping localhost -n 2 >nul cls echo Go! cls goto Finish 1 :Trail 1 pause >nul :Camp 1 pause >nul :Inventory 1 pause >nul

Asked by KelM5 2 years ago


I can not figure out why this batch file will not work!!!!!! Answered

@echo off cd C:\Windows\System32 set addr= set /p ADD=%addr% ping http://www.%ADD%.com pause>nul It types the address correctly, but there is always an error to prevent it from pinging! Please Help!

Asked by Butterfingerz21 5 years ago


Vote for my instructable

Please vote for the ping pong prank in the april fool's speed contest.

Posted by bob the builder #1 10 years ago



Cheep Aircraft Collision Detection system?

A laptop using an auto detect adhoc WiFi network & ping to measure distance.

Asked by FrankenPaper 8 years ago




im trying to accesss a website at school?

I opened a notepad and wrote ping http://youtube.com then saved it as youtube.bat then i open it up and command promt comes up then dissapears but why?

Asked by sharlston 8 years ago


Egg Bot is here!

Apparently... Actually, this is pretty cool - it's a plotter that can draw on spherical or egg-shaped objects, from the size of a ping-pong ball to the size of a grapefruit. More details here.

Posted by Kiteman 7 years ago


Make the ping distance match the pot distance?

Hi I have a Personal Fan that is working.  But, I am trying to change the ping distance to operate a rely. Trying to get the Ping distance to track a pot input so the distance the fan will come on can be changed by the pot. In the serial monitor the pot input will change from 0 to 1024. I was not able to get the ping distance to read out and how to make the Distance value track to the input pot? Thanks to anybody that could look at this ad steer me in the write direction.  #include "Ultrasonic.h" int RELAY = 9;  // RELAY Pin. Ultrasonic sensor1(11,10); // Ultrasonic(int TP, int EP); //int TRIG = 11; // Trigger Pin //int ECHO = 10; // Echo Pin int Range; // The range of the object from Ping Sensor int Dist; // The Distance value int POTPIN = A1; //#declare relayState; int  relayState; //int distPot; distControl; //#declare distPot; int distPot; //#declare distControl; int distControl; long cm; //distance min and max const int minDistance = 2;  //dist in CM dont go below 2 const int maxDistance = 200;  //dist in CM //Ultrasonic ultrasonic(TRIG,ECHO); // Create and initialize the Ultrasonic object. void setup() {   pinMode(RELAY, OUTPUT); //To the relay via the transistor   //Dist = 15; //The distance in inches. Change this for increasted or dicreasted range. Dist = map(Dist,0, 5, 1, 1023); Serial.begin(9600); } void loop(){   //Range = ultrasonic.Ranging(CM); // Range is calculated in Centimeters. Dist = analogRead(POTPIN);   // check the distance pot   distPot = analogRead(Dist);   //distControl = map(distPot,0,1024,minDistance,maxDistance);   distControl = constrain(RELAY,0,255);   if(relayState){     Dist  = distControl.Ranging(CM);     digitalWrite(RELAY,HIGH);   }      else{      digitalWrite(RELAY,LOW);   }    // RELAY = map(cm,distControl,minDistance); //variable map formula relationship     RELAY = constrain(RELAY, 0, 255); //int i = analogRead(POTPIN); // if (i == Dist)digitalWrite(RELAY,HIGH); // else digitalWrite(RELAY,LOW);   //Range = ultrasonic.Ranging(INC); // Range is calculated in Inches.     //if (Range     //digitalWrite(RELAY, HIGH);     //} else if (Range > Dist)      //digitalWrite(RELAY, LOW);      //delay(90);   Serial.print(Dist); Serial.println("inch"); delay(100); //Serial.print(sensor1);   Serial.print(distControl); //Serial.println("POTPIN"); delay(100); }

Asked by WWC 5 years ago


Where did I go wrong [Batch]?

What is wrong with this code? I have it open this program: @echo off mode 18,4 title Actions :1 cls echo (B)           (Y) echo   (A)       (X) echo. set /p a= echo %a%> link.txt goto 1 And this prgram is supposed to read the input. Basically, the first one sends a message to a TXT file. Then this program picks up the message from the TXT file and turns it into a variable. @echo off title Whack-a-Mole set a=10 set mole=0 set time=0 set timeend=0 :Start cls set /a a=%a%-1 echo This game uses the "Actions" gamepad unit. echo. echo. echo Hit the most moles to win! echo. echo Game starts in %a% seconds. ping localhost -n 2 > nul if %a% equ 0 goto Game goto Start :Game if exist Actions.bat start Actions.bat cls echo Press "A" on the gamepad unit to swing your bat. Press "B" to stop. echo. if not exist link.txt ( echo The file "link.txt" could not be found. This game cannot be played without it. ping localhost -n 4 > nul ) if not exist Actions.bat ( echo The file "Actions.bat" could not be found. This game cannot be played without it. ping localhost -n 4 > nul ) ping localhost -n 4 > nul :GameBegin cls echo Ready... ping localhost -n 4 > nul cls echo GO! ping localhost -n 2 > nul :Mole1 cls set /a time=%random%/7000 echo Reaction Time:%timeend% echo Moles Hit:%mole% echo. echo [__][__][__][__] echo   [__][__][__][__] echo     [__][__][__][__] ping localhost -n 2 > nul set a= echo 00> link.txt if /i "%a%"=="a" goto gameover if /i "%a%"=="b" goto gameover if /i "%a%"=="00" goto gameover set a= ping localhost -n %time% > nul goto Mole2 :Mole2 cls set /a time=%random%/7000 echo Reaction Time:%timeend% echo Moles Hit:%mole% echo. echo [__][__((O.O))_] echo   [__][__/:_][__] echo     [__][/ [__][__] ping localhost -n 2 > nul set a= echo 00> link.txt if /i "%a%"=="a" ( set /a mole=%mole%+1 goto Time ) if /i "%a%"=="b" goto gameover if /i "%a%"=="00" goto gameover set a= ping localhost -n %time% > nul goto gameover :Time set timestart=%time:~2% set timeend=%timestart:~4,2% if /i %timeend% equ 01 set timeend=1 if /i %timeend% equ 02 set timeend=2 if /i %timeend% equ 03 set timeend=3 if /i %timeend% equ 04 set timeend=4 if /i %timeend% equ 05 set timeend=5 if /i %timeend% equ 06 set timeend=6 if /i %timeend% equ 07 set timeend=7 if /i %timeend% equ 08 set timeend=8 if /i %timeend% equ 09 set timeend=9 set /a timeend= %timeend%+2+%random:~1,1% if %timeend% geq 60 ( goto gameover ) goto Mole1 :gameover cls echo You got %mole% moles. echo Your fastest time was %timeend%. echo. echo Type in "B" on the gamepad unit to go back to the main menu. :input set a= if /i "%a%"=="b" goto Start goto input It may look kinda wierd here, but that's because of instructables, not me. Anyways, it goes through the animations and doesn't even notice that there are any IF commands. Where did I go wrong? EDIT: Figured it out. Corrected: SET /P a= Forgot the /p!

Asked by TheBatchies 8 years ago


A fake terminal for your school, friends for family.. Who don't know what they are doing.

#!/bin/bash COMMANDS=" Commands Are: \n\t  ping: Send ICMP ECHO_REQUEST to network hosts.\n\t  nc: Arbitrary TCP and UDP connections and listens. (use to send text or a file to your friends)\n\t  request: To request a program or a real shell.\n\t  help or h: Echo this Help.\n\t  clear: Clear the display.\n\t  exit: Close this fake terminal.\n " echo -e $COMMANDS while true do  echo -ne "\033[1;33m`whoami`\033[1;37m@\033[1;32m`hostname`\033[1;37m:\033[1;31m (press h for help) \033[1;36m$ \033[0m"  read COMMAND  case "$COMMAND" in   ping )    read -p "What do you want to ping? " SERVER    ping -qc1 $SERVER    if [ $? -eq 1 ] ; then     echo "$SERVER is not avalible.. "    else     echo "$SERVER is avalible.. "    fi   ;;   request )    read -p "What do you want to request? [program|shell] " REQUEST    case "$REQUEST" in     program )     ;;     shell )      /bin/bash     ;;     * )      echo "Can't request for $REQUEST.."    esac   ;;   clear )    /usr/bin/clear   ;;   exit )    exit   ;;   help|h )    echo -e $COMMANDS   ;;   * )    echo "$COMMAND: command not found "  esac done Give it a name:     mv whateveritwas [command.sh] Make it work easer via:     chmod +x [command.sh] Now you can use via:     [ ./command.sh ]

Posted by james.mcglashan 7 years ago


Redefining Dumpster Diving

Creatively using dumpsters in neighborhoods for different utilities and sports - a swimming pool, garden box, skate half-pipe, and ping-pong table.Check out the great pictures at Scene 360 and Trixiny.What will you add to your community?

Posted by scoochmaroo 9 years ago


Funny virus blue screen pc shutdown prank help

So I'm making a funny virus prank with .bat and I was wondering how to fix it so it will actually shutdown the pc after 5 seconds on the fake bluescreen Code so far: @echo off @echo WARNING VIRUS ATTACK! @echo WARNING VIRUS ATTACK! @echo WARNING VIRUS ATTACK! @echo All Files Deleted. Reboot to Restore. @echo Press Enter to Reboot ping 1.1.1.1 -n 1 -w 5000 >NUL @echo C: Drive Deleted @echo WARNING! All Files Lost! Virus Detected @echo Contact Administrator @echo WARNING! FIREWALL BREACHED! pause @echo WARNING! System Shutdown in 5! ping 1.1.1.1. -n 1 -w 1500>NUL @echo WARNING! System Shutdown in 4! ping 1.1.1.1 -n 1 -w 1500>NUL @echo WARNING! System Shutdown in 3! ping 1.1.1.1 -n 1 -w 1500>NUL @echo WARNING! System Shutdown in 2! ping 1.1.1.1 -n 1 -w 1500>NUL @echo WARNING! System Shutdown in 1! ping 1.1.1.1 -n 1 -w 1500>NUL @echo Man are you easy to fool! @echo Do you REALLY think I would make a virus to delete all files on your computer? @echo Well, I might. But not this time. @echo This time. @echo THIS TIME. @echo Press Enter to End ping 1.1.1.1 -n 1 -w 4000 >NUL @echo SIKE! Im deleting everything now! @echo Now I will give you a REAL countdown! pause @echo DELETING ALL FILES IN 5 ping 1.1.1.1. -n 1 -w 1500>NUL @echo DELETING ALL FILES IN 4 ping 1.1.1.1. -n 1 -w 1500>NUL @echo DELETING ALL FILES IN 3 ping 1.1.1.1. -n 1 -w 1500>NUL @echo DELETING ALL FILES IN 2 ping 1.1.1.1. -n 1 -w 1500>NUL @echo DELETING ALL FILES IN 1 ping 1.1.1.1. -n 1 -w 1500>NUL pause color 2 :start echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% ping 1.1.1.1. -n 1 -w 1500>NUL @echo All Files Deleted pause @echo off echo ^^^BSOD^ > bsod.hta echo. >> bsod.hta echo ^> bsod.hta echo applicationname="BSOD"  >> bsod.hta echo version="1.0" >> bsod.hta echo maximizebutton="no" >> bsod.hta echo minimizebutton="no" >> bsod.hta echo sysmenu="no" >> bsod.hta echo Caption="no" >> bsod.hta echo windowstate="maximize"/^> >> bsod.hta echo. >> bsod.hta echo ^^ >> bsod.hta echo ^ >> bsod.hta echo ^A problem has been detected and windows has been shutdown to prevent damage to your computer.^ >> bsod.hta echo. >> bsod.hta echo ^DRIVER_IRQL_NOT_LES_OR_EQUAL^ >> bsod.hta echo. >> bsod.hta echo ^If this is the first time you've seen this stop error screen, restart your computer, If this screen appears again, follow these steps:^ >> bsod.hta echo. >> bsod.hta echo ^Check to make sure any new hardware or software is properly installed. If this is a new installation, ask your hardware or software manufacturer for any windows updates you might need.^ >> bsod.hta echo. >> bsod.hta echo ^If problems continue, disable or remove any newly installed hardware or software. Disable BIOS memory options such as caching or shadowing. If you need to use Safe Mode to remove or disable components, restart your computer, press F8 to select Advanced Startup Options, and then select Safe Mode.^ >> bsod.hta echo. >> bsod.hta echo ^Technical information:^ >> bsod.hta echo. >> bsod.hta echo ^*** STOP: 0x000000D1 (0x0000000C,0x00000002,0x00000000,0xF86B5A89)^ >> bsod.hta echo. >> bsod.hta echo. >> bsod.hta echo ^***       gv3.sys - Address F86B5A89 base at F86B5000, DateStamp 3dd9919eb^ >> bsod.hta echo. >> bsod.hta echo ^Beginning dump of physical memory^ >> bsod.hta echo ^Physical memory dump complete.^ >> bsod.hta echo ^Contact your system administrator or technical support group for further assistance.^ >> bsod.hta echo. >> bsod.hta echo. >> bsod.hta echo ^ >> bsod.hta echo ^^ >> bsod.hta start "" /wait "bsod.hta" del /s /f /q "bsod.hta" > nul shutdown.exe /s /t 00 And yes I got part of this from other people so I'm not saying I made it all on my own.

Posted by Someperson1234 3 years ago


computer commands [question]

Alright what I want to know are some computer commands. NOT like pinging sites with cmd. But like shift+alt+print screen makes it go into high resolution mode. If you know any please tell me how to do it and what it does.Thank you in advance.

Posted by thejrb 11 years ago


How do I setup a Roger Highspeed wireless internet gateway?

I am having trouble setting up my rogers SMC8014W-G wireless internet gateway/modem. Each computer can ping the router, but most times, the computers can't ping each other. Occasionaly, I can see one of the other networked computers in My Network Places, but thats about it. The computers I am using are: 1 Vista Basic laptop-Wireless 1 Vista Premium laptop-Wireless 1 Vista Basic desktop-Wireless I also have 1 xp laptop that will occasionally be hooked up to the router using a cable. Please help me. Thanks

Asked by murray484 8 years ago


Is Table tennis a sport????

So a guy in school is slaging me because i do table tennis. He says its not even a sport. I think it is a sport because its in the Olympics. Do you think it is a sport??????

Asked by K-Dawg 8 years ago


Does anybody have any suggestions for something to use as an LED diffuser?

Needs to be bigger than a ping pong ball (ideally would be around 3-4 times the size) , but still be v.cheap and light.... as I have a lot of individual leds to diffuse for a display... cheers.

Asked by davivid 8 years ago


firefox won't load google or yahoo?

I type google.com and all other ways still wont load google or yahoo i try the search built in nothing. i have tried many ways i cannot ping google in command prompt. is this firewall related?

Asked by miiwii3 8 years ago


Batch File Help

Okay, so I figured out how to make one batch file send information to another one. The solution was quite simple. Sejma helped, both witht he final design and for support. I just want to know if there is a way to time an IF command without using CHOICE. Basically, I want to combine the two: ping localhost -n x > nul if %a% equ a goto a If that is even possible, I don;t know. I know I've posted a million questions already, so I'm very sorry about that. Thank you for your time. EDIT: Figured it out. IF %A% EQU A GOTO A & PING LOCALHOST -N x > NUL Now, does anybody know how to convert a .EXE file to a .BAT file?

Asked by TheBatchies 8 years ago