Quantcast
Channel: Arduino Forum - Latest topics
Viewing all articles
Browse latest Browse all 15733

Need help making this bluetooth ball gun

$
0
0

Hello everyone,
I am a student doing a projet, making a bluetooth ball gun, with MIT app inventor.
It works by firing the ball into two motors, and changing the angle with a servo.
I have found a couple tutorials on how to make this work, but every tutorial is : or motor or the servo, nothing combined.

They all make use of the same function that sends a 1-byte number, but, every coding reads on the SAME value, so if I upload one value, every single thing, the servo and the motors work with the same value. I want it to send seperate values, so I can control the two motors and the one servo seperately. I also need something to replace the button I implemented for a seperate small servo, that reloads the balls, so I also need something replacing a button.

The electronical components I can use are the HC-05, a transistor or a MOSFET, capacitors, etc. But I cannot use h-bidges or those motor controller boards. The two motors work on 12V, the big servo works on 6V and the small one works on the arduino 5V, if someone is interested in that.

So summing things up, I need arduino code that combines three things I need to control with my bluetooth. These are the tutorials I followed : motor tutorial by SaMvidita Servo tutorial by ElectronicsHub

Sincerely,
Luca

6 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 15733

Latest Images

Trending Articles



Latest Images