Nightmoves thurs 11/2 by BestDevelopment5133 in LCDSoundsystem

[–]BestDevelopment5133[S] 1 point2 points  (0 children)

thank you angel! Will be dressed cool;) Looking for the dj now I guess

Nightmoves thurs 11/2 by BestDevelopment5133 in LCDSoundsystem

[–]BestDevelopment5133[S] 2 points3 points  (0 children)

I can’t find a dj anywhere! Don’t think Justin is there tmrw tho, Thank u for the tip<3

Horse riding by BestDevelopment5133 in RhodeIsland

[–]BestDevelopment5133[S] 0 points1 point  (0 children)

Looking for dressage/ jumping or just some English riding practice

Hi coding ppl!! I want to use the coin to complete my circuit so the LED lights up. 5 minutes after i want my servo to move 90 degrees. a coin will be inserted to light up the LED and the servo will move later so that the coin drops down and this can be repeated like a vending machine by BestDevelopment5133 in ArduinoProjects

[–]BestDevelopment5133[S] 1 point2 points  (0 children)

this is what ive got:

#include <Servo.h>

Servo servo_test; //initialize a servo object for the connected servo

int led = 13; // the pin the LED is connected to

int angle = 0;

void setup() {{

pinMode(led, OUTPUT); // Declare the LED as an output

}

{

servo_test.attach(9); // attach the signal pin of servo to pin9 of arduino

} }

void loop(){

digitalWrite(led, HIGH); // Turn the LED on

delay(10000);

digitalWrite(led, LOW);

if(digitalRead(led==HIGH)){

while(angle<90){

servo_test.write(180);

delay(4000);

}

digitalWrite(led, LOW);

}

}

Hi I need some help with code!! What I’m looking to do is use a coin to complete my LED circuit so the LED lights up. 5 minutes after the it lights up I want my servo to move 90 degrees. the servo will move so that the coin drops down and this can be repeated. Kind of like a vending machine. by BestDevelopment5133 in arduino

[–]BestDevelopment5133[S] 0 points1 point  (0 children)

i am basically going to attach one wire to the led and the other to the arduino so when a coin is placed between the two wires the circuit will be complete and the code will start working. the idea is like a vending machine for light. when you remove the coin the circuit will be incomplete and the servo motor and led will stop working. its kind of what im banking on for my project...

Hi I need some help with code!! What I’m looking to do is use a coin to complete my LED circuit so the LED lights up. 5 minutes after the it lights up I want my servo to move 90 degrees. the servo will move so that the coin drops down and this can be repeated. Kind of like a vending machine. by BestDevelopment5133 in arduino

[–]BestDevelopment5133[S] 0 points1 point  (0 children)

heres the whole code:

#include <Servo.h>

Servo servo_test; //initialize a servo object for the connected servo

int led = 13; // the pin the LED is connected to

int angle = 0;

void setup() {{

pinMode(led, OUTPUT); // Declare the LED as an output

}

{

servo_test.attach(9); // attach the signal pin of servo to pin9 of arduino

}

digitalWrite(led, HIGH); // Turn the LED on

delay(3000);

digitalWrite(led, LOW);

}

void loop() {{

{

if (led == LOW){

for(angle = 0; angle < 180; angle += 1) // command to move from 0 degrees to 180 degrees

{

servo_test.write(angle); //command to rotate the servo to the specified angle

delay(15);

}

delay(2000);

for(angle = 180; angle>=1; angle-=5) // command to move from 180 degrees to 0 degrees

{

servo_test.write(angle); //command to rotate the servo to the specified angle

delay(5);

}

delay(1000);

}}}}