Payload Drop With Servo

I have the UBuyWeRush device and it works great --- but how did you make a device that can drop 6 objects independently?
Thanks for asking.

The drop mechanisms are controlled by an Nano processor. Each servo that it controls has three positions, totally closed, drop first item, drop second item. If you want to drop 4 or 6 items you add the side drop mechanisms that have their own servo and are controlled by the processor. Then the processor drops them one at a time every time you trigger the light either off or on. Works great.

If future we have plans for adding other items controlled by processor. Also I am working on it to be able to drop items via a mission and dropping by GPS location.

I hope this helps.
 
Each servo that it controls has three positions, totally closed, drop first item, drop second item. If you want to drop 4 or 6 items you add the side drop mechanisms that have their own servo and are controlled by the processor. Then the processor drops them one at a time every time you trigger the light either off or on. .
Also made one myself, my first Arduino project.
Could you share your Arduino code with me? Thanx in advance.

 
Also made one myself, my first Arduino project.
Could you share your Arduino code with me? Thanx in advance.

Think I worked it out myself... Testing soon.

int LDRsensor = A0;

int Threshold = 150;

#include <Servo.h>

Servo s1;

Servo s2;

int maxnum = 1; // Blink the LED 20 times

int count = 0; // Our blink counter


void setup() {

Serial.begin(9600);

s1.attach(9);

s2.attach(10);

}

void loop()

{

int LDRval = analogRead(LDRsensor);

// print LDR waarde via seriele monitor

Serial.print("LDR waarde: ");

Serial.print(LDRval);

if (count == 0 && LDRval > Threshold) {

s1.write(105);

s2.write(130);

Serial.print(" DROP1");

delay(1000);

count++; // add one (1) to our count

}else if (count == 1 && LDRval < Threshold) {

s1.write(130);

s2.write(105);

Serial.print(" DROP2");

delay(1000); // wait for a second

count = 0;

}else{

s1.write(130);

s2.write(130);

Serial.print(" ARMED");

}

Serial.println("");

}
 
13018991-9BD5-44AA-BFCB-FD67AC5CDEEF.jpeg
428E54C6-4F86-4627-94EE-9A8263714841.jpeg
 
IIRC, the ones offered commercially used underarm LEDS to actuate. The P2s did not have an option to switch the (front) LEDs on/off to actuate these systems.
 

Recent Posts

Members online

No members online now.

Forum statistics

Threads
143,086
Messages
1,467,525
Members
104,965
Latest member
cokersean20