Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Symbolls

Member
  • Content Count

    37
  • Joined

  • Last visited

Awards


This user doesn't have any awards

About Symbolls

  • Title
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi.I saw a video on Instagram were a guy bild a robot that wen it detected the black cactus from the crome game wen you are with no internet actuated a motor that preses the space bar on a laptop.He used an arduino and a fotodiod but i dont have one. All i have ar some normal ir line falower sensors and i cant go get fotodiods because of COVID-19.Thx for reding and stay safe.And if you have some free time to help me with some code i will grateful. Screen_Recording_20200406-031218_1_1_1.mp4
  2. Will it work with Tlauncer or piratated minecraft?
  3. Hallo frend i have a raspberry pi 3 Band i wanted to play with frend minecraft and o dont wana buy a server if i have a spere pc(i now there are free servers but the limit is just 20 players and the performers is prety low and max 1GB of space). Dose anybody now a easy and good guide for this? Or like somthing that has good detail instruction bechose i am not that expirience with rasspberry and kinda dumb. I am sorry if this is not the subtopic were i should put this but i did not now were else to place it. Thx for reading sorry for my english i am not a native speeker.
  4. IT WORKS I DONT THINK I CAN THANK YOU ENOUGH FOR SAVING MY BUT
  5. yes i have the exact same configuration of sensors
  6. thread moved back ;)

     

    Thx for the edit ;

     

  7. /*ENA - 11 ENB - 9 IN1- D8 IN2- D10 IN3- D12 IN4- D13 LED- D6 BUZ- D7 A0 - Front Left Sensor A1 - Front Right Sensor A2 - Rear Left Sensor A3 - Rear Right Sensor Front Ultrasonic - ECHO - D3 Front Ultrasonic - TRIG - D2 Rear Ultrasonic - ECHO - D5 Rear Ultrasonic - TRIG - D4 ============================================================== */ #include <NewPing.h> //#include <Automaton.h> //#include <timeObj.h> //#include <pidDriver.h> #define PulseA 11 //Optional #define IN1 8 #define IN2 10 #define PulseB 9 //Optional #define IN3 12 #define IN4 13 #define RTrigger 4 #define REcho 5 #define FTrigger 2 #define FEcho 3 //timeObj monTime (3000); //boolean monMtr = false; #define Front_Maximum_Distance 200 #define FrontMinimum_Distance 0 #define Rear_Maximum_Distance 180 #define Rear_Minimum_Diatance 0 int LineVal = 128; int ReturnPath; int Ping; const int SoundFX = 7; const int OutLedPin = 6; int FxCounter = 0; int LSFrontLeft; int LSFrontRight; int LSBackLeft; int LSBackRight; /*SOUND-FX*/ const int c = 261; const int d = 294; const int e = 329; const int f = 349; const int g = 391; const int gS = 415; const int a = 440; const int aS = 455; const int b = 466; const int cH = 523; const int cSH = 554; const int dH = 587; const int dSH = 622; const int eH = 659; const int fH = 698; const int fSH = 740; const int gH = 784; const int gSH = 830; const int aH = 880; /*END OF SOUND FX*/ //int ObstacleAvoidance_Left; //Optional //int ObstacleAvoidance_Right; //Optional NewPing FrontSonic (FTrigger,FEcho, Front_Maximum_Distance); NewPing BackSonic (RTrigger, REcho, Rear_Maximum_Distance); void setup(){ Serial.begin(115200); pinMode(SoundFX, OUTPUT); pinMode(OutLedPin, OUTPUT); pinMode(PulseA, OUTPUT); pinMode(IN1, OUTPUT); pinMode(IN2, OUTPUT); pinMode(PulseB, OUTPUT); pinMode(IN3, OUTPUT); pinMode(IN4, OUTPUT); } void loop(){ int front_distance = FrontSonic.ping_cm(); int rear_distance = BackSonic.ping_cm(); SoundFX1(); beep(f, 250); beep(gS, 500); beep(f, 350); beep(a, 125); beep(cH, 500); beep(a, 375); beep(cH, 125); beep(eH, 650); delay(200); SoundFX2(); beep(f, 250); beep(gS, 500); beep(f, 375); beep(cH, 125); beep(a, 500); beep(f, 375); beep(cH, 125); beep(a, 650); delay(200); if (LSFrontRight || LSFrontLeft > 100 ) { Serial.println("Starting......"); Serial.println("--------------------------"); Serial.println("Front Sensor"); Serial.println("=========================="); Serial.println("Front Ping Value:"); Serial.println(front_distance); Serial.println("CM:"); Serial.println(); Serial.println("Rear Sensor"); Serial.println("=========================="); Serial.println("Rear Ping Value:"); Serial.println(rear_distance); Serial.println("CM:"); if (front_distance > 25){ searchMode(); delay(100); } if (front_distance <= 25){ MoveForward(); delay(300); } else { ScapeRotateLeft(); } if (rear_distance <= 20){ ScapeRotateRight(); delay(500); MoveForward(); delay(100); FullStop(); } else { MoveLeft(); delay(300); MoveForward(); delay(200); FullStop(); } } while(1) // FRONT LINE SENSOR { LSFrontLeft = analogRead(14); LSFrontRight = analogRead(15); LSBackLeft = analogRead(16); LSBackRight = analogRead(17); if (LSFrontLeft < LineVal && LSFrontRight < LineVal){ MoveBackward(); delay(300); if (LSFrontLeft < LineVal){ ScapeRotateRight(); delay(300); } if (LSFrontRight < LineVal){ ScapeRotateLeft(); delay(300); } } //REAR LINE SENSOR if ( LSBackLeft < LineVal && LSBackRight < LineVal){ MoveForward(); delay(300); } if ( LSBackLeft < LineVal){ MoveRight(); delay(300); } if(LSBackRight < LineVal){ MoveLeft(); delay(300); } } } //START H-BRIDGE void MoveForward(){ analogWrite(PulseA, 200); digitalWrite(IN1, 0); digitalWrite(IN2, 1); analogWrite(PulseB, 200); digitalWrite(IN3, 1); digitalWrite(IN4, 0); } void MoveBackward(){ analogWrite(PulseA, 150); digitalWrite(IN1, 0); digitalWrite(IN2, 1); analogWrite(PulseB, 200); digitalWrite(IN3, 0); digitalWrite(IN4, 1); } //Turn 180* void MoveRight(){ analogWrite(PulseA, 200); digitalWrite(IN1, 1); digitalWrite(IN2, 0); analogWrite(PulseB, 200); digitalWrite(IN3, 0); digitalWrite(IN4, 1); } //Turn 180* void MoveLeft(){ analogWrite(PulseA, 200); digitalWrite(IN1, 1); digitalWrite(IN2, 0); analogWrite(PulseB, 200); digitalWrite(IN3, 0); digitalWrite(IN4, 1); } void ScapeRotateRight(){ analogWrite(PulseA, 150); digitalWrite(IN1, 1); digitalWrite(IN2, 0); analogWrite(PulseB, 200); digitalWrite(IN3, 0); digitalWrite(IN4, 1); } void ScapeRotateLeft(){ analogWrite(PulseA, 200); digitalWrite(IN1, 1); digitalWrite(IN2, 0); analogWrite(PulseB, 150); digitalWrite(IN3, 1); digitalWrite(IN4, 0); } void FullStop(){ analogWrite(PulseA, 200); digitalWrite(IN1, 1); digitalWrite(IN2, 1); analogWrite(PulseB, 200); digitalWrite(IN3, 1); digitalWrite(IN4, 1); } void chargeOpt(){ analogWrite(PulseA, 250); digitalWrite(IN1, 0); digitalWrite(IN2, 1); analogWrite(PulseB, 250); digitalWrite(IN3, 1); digitalWrite(IN4, 0); } void defenseOpt(){ analogWrite(PulseA, 200); digitalWrite(IN1, 1); digitalWrite(IN2, 0); analogWrite(PulseB, 200); digitalWrite(IN3, 0); digitalWrite(IN4, 1); delay(500); analogWrite(PulseA, 200); digitalWrite(IN1, 1); digitalWrite(IN2, 0); analogWrite(PulseB, 200); digitalWrite(IN3, 0); digitalWrite(IN4, 1); } void searchMode(){ analogWrite(PulseA, 150); digitalWrite(IN1, 1); digitalWrite(IN2, 0); analogWrite(PulseB, 200); digitalWrite(IN3, 0); digitalWrite(IN4, 1); delay(500); analogWrite(PulseA, 200); digitalWrite(IN1, 1); digitalWrite(IN2, 1); analogWrite(PulseB, 200); digitalWrite(IN3, 1); digitalWrite(IN4, 1); delay(500); analogWrite(PulseA, 200); digitalWrite(IN1, 1); digitalWrite(IN2, 0); analogWrite(PulseB, 150); digitalWrite(IN3, 1); digitalWrite(IN4, 0); } // START SOUND FX & LIGHT INDICATOR void beep(int note, int duration){ tone(SoundFX, note, duration); if(FxCounter % 2 == 0){ digitalWrite(OutLedPin, 1); delay(duration); digitalWrite(OutLedPin, 0); } noTone(SoundFX); delay(50); FxCounter++; } void SoundFX1() { beep(a, 500); beep(a, 500); beep(a, 500); beep(f, 350); beep(cH, 150); beep(a, 500); beep(f, 350); beep(cH, 150); beep(a, 650); delay(500); beep(eH, 500); beep(eH, 500); beep(eH, 500); beep(fH, 350); beep(cH, 150); beep(gS, 500); beep(f, 350); beep(cH, 150); beep(a, 650); delay(500); } void SoundFX2() { beep(aH, 500); beep(a, 300); beep(a, 150); beep(aH, 500); beep(gSH, 325); beep(gH, 175); beep(fSH, 125); beep(fH, 125); beep(fSH, 250); delay(325); beep(aS, 250); beep(dSH, 500); beep(dH, 325); beep(cSH, 175); beep(cH, 125); beep(b, 125); beep(cH, 250); delay(350); } So i was building a sumo robot and i have not finis scholl yet so i dont now how to program that well.So i foud this website https://www.14core.com/14core-mini-sumo-robot-with-multi-senors-on-arduino-microcontroller/ witch gave me the codee wit a diagram to comlit the programing of my robot.And wen i wana compile it it shows me this ereo 'ecit status 1' " Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)" Tone.cpp.o (symbol from plugin): In function `timer0_pin_port': (.text+0x0): multiple definition of `__vector_7' libraries\NewPing\NewPing.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board Arduino Nano. This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. " pls help me the code can be downloaded sorry for my English but i am not a native speaker SUMO_CODE.ino
  8. Hi. I have a conputer that is conected to tv in my living room And I would like to play with a house and keyboard but a a good wireless keybord is expensive so how can i make my own keybord Wireless with an adapter. I have rasbery pi and arduino avilabel if there is a way to shere a usb port.My keybord has usb nothing special is a razer ornata.(Sorry for my English I am not a native speaker)
  9. Hi. I have a conputer that is conected to tv in my living room And I would like to play with a house and keyboard but a a good wireless keybord is expensive so how can i make my own keybord Wireless with an adapter. I have rasbery pi and arduino avilabel if there is a way to shere a usb port.My keybord has usb nothing special is a razer ornata.(Sorry for my English I am not a native speaker)
  10. Sorry for my englis i am not from a englis spiking cauntry Evrie time i press play on battle.net on overwatch the game start then the screnn is all black an i expect to se the overwatch logo and the hexagonal login thing. BUT insted i get a literally Alt F4 and the game suts down and i dont now wat to do. Yes i tried to repair reinstal the game and restart my pc countles times.I have the latest nvida drivers and intel drivers.My configuration is I5 7th gen nd gtx 1060 6GB wit 8 GB of ram and i can play other games without a problem. Sorry for my englis i am not from a englis spiking cauntry i have trayd on overwatch formus nobady so far. Editor_Trim.mp4
  11. So I have an external audio mixer and when I plug it in to my pc the top volume dial appears and I can make me disappear meanwhile my device is plugged I need my meter for streaming on twitch And it lags my PC so much because it's old Please help me . I can change at what percentage I want my audio to be but the floating rectangle just wont disappear .Thx for your time. (Sorry for my English)
  12. i did evrything and still dident work i give up thx for your help i realy apriciete it now i have to fige out hot to restart windos to stock or somting like reseting a phone to factory settings
×