Search found 6 matches

by Spacenaut
Tue May 26, 2015 4:02 am
Forum: Shields, boards and sensors
Topic: Using an Ultrasonic sensor to constrain pitch/roll/throttle.
Replies: 5
Views: 3226

Re: Using an Ultrasonic sensor to constrain pitch/roll/throt

I don't think the amount of pins is the may concern, since I'm using a stock arduino mega. The biggest problem is that I'm not sure how to code it. My guess was that it would be something like this for each sensor: if ultrasonic1 < 30 { roll = roll.constrain(0,1500); } but I don't know if its possib...
by Spacenaut
Sun May 24, 2015 8:20 am
Forum: Shields, boards and sensors
Topic: Using an Ultrasonic sensor to constrain pitch/roll/throttle.
Replies: 5
Views: 3226

Using an Ultrasonic sensor to constrain pitch/roll/throttle.

I want to add 5 ultrasonic sensors to my multiwii quad so that if the readings are less than a certain value, the corresponding pitch, roll or throttle value will be changed so the quad can't move in that direction. I'm using an arduino mega so connecting the ultrasonics is fine, its just I'm not su...
by Spacenaut
Mon May 11, 2015 11:39 pm
Forum: Getting Started - MultiWii config and setup
Topic: How do I change the Channel values in code?
Replies: 7
Views: 2962

Re: How do I change the Channel values in software?

What I'm trying to do is find the variable that stores the values for the channels and beable to change them through code rather than the rc pins. If I can figure out that, I can setup a pseudo ppm method of changing them through the bluetooh. Also, how does the RC inputs work? Is it a PWM or serial...
by Spacenaut
Mon May 11, 2015 12:04 pm
Forum: Getting Started - MultiWii config and setup
Topic: How do I change the Channel values in code?
Replies: 7
Views: 2962

How do I change the Channel values in code?

I'm new to this and I'm trying to use multiwii with bluetooth. Rather than connecting the bluetooth to multiwii through ppm, I'd rather have it independent and be able to change the value of the channels (Throttle,yaw,roll,pitch etc) through software but I cant find a way to edit the channel variabl...
by Spacenaut
Mon May 11, 2015 10:56 am
Forum: Software
Topic: How do I change edit the Channel values in software>
Replies: 1
Views: 1781

How do I change edit the Channel values in software>

I'm new to this and I'm trying to use multiwii with bluetooth. Rather than connecting the bluetooth to multiwii through ppm, I'd rather have it independent and be able to change the value of the channels (Throttle,yaw,roll,pitch etc) through software but I cant find a way to edit the channel variabl...
by Spacenaut
Fri May 08, 2015 7:30 am
Forum: Connecting elements
Topic: Not sure how to connect Bluetooth with Arduino Mega.
Replies: 1
Views: 1677

Not sure how to connect Bluetooth with Arduino Mega.

I'm trying to build a smart phone controlled quad copter for a school project but I can't figure out how to connect Bluetooth to the arduino Mega. So far I've gotten my IMU (GY-85) to work with Multiwii and my bluetooth module (JY-MCU) to work on its own code. I've configured the module to run on 11...