<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Using Vin pin</title>
		<link>http://forums.leaflabs.com/topic.php?id=1841</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:15:20 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=1841" rel="self" type="application/rss+xml" />

		<item>
			<title>xpomvid on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11862</link>
			<pubDate>Fri, 20 Jul 2012 06:46:46 +0000</pubDate>
			<dc:creator>xpomvid</dc:creator>
			<guid isPermaLink="false">11862@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This is my quadcopter with Maple rev5 + 9 DOF - Razor IMU - AHRS.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://youtu.be/2EGoGld0Z_4&#34; rel=&#34;nofollow&#34;&#62;http://youtu.be/2EGoGld0Z_4&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>PsyKo on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11252</link>
			<pubDate>Wed, 13 Jun 2012 02:17:34 +0000</pubDate>
			<dc:creator>PsyKo</dc:creator>
			<guid isPermaLink="false">11252@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thank you for your support crenn. It's really gret to see that the maple community is active.&#60;br /&#62;
What make me think that it's not related to my code or the initialisation sequence is that when powering from USB, I have my 4 motors spinning. I can control , stop, slow them, etc...  A part of the PID algorithm for stabilization is also implemented on a single axis and was working quite fine. I decided to switch to the ESC power to avoid the effect of the USB wire on the Quadcopter.&#60;br /&#62;
So I can pretty much say that my starting sequence is right.&#60;/p&#62;
&#60;p&#62;This issue is erally killing me.&#60;br /&#62;
I'll try and create a new PCB shield (I only have a shield on prototype board yet), to make sure all my connections are fine.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11246</link>
			<pubDate>Tue, 12 Jun 2012 21:52:33 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">11246@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;It's more likely to damage the USB host (aka your computer) than the board itself, but should be within tolerance (I believe) of USB. However it is a good idea to have it unplugged when utilising the USB. Another option is to have the jumper on EXT while plugged into the USB as it will mean the Maple will be powered from the EXT connector but means that you can have the ESC connected to Vin without issue.&#60;/p&#62;
&#60;p&#62;The start-up values shouldn't change regarding power mode, but I'm wondering if there is a problem with how the system is being set up. Are you plugging the battery into the motors before plugging in the USB cable? Also, are you giving the speed controllers a higher value than the 'initilisation'/minimum value before you set it to that value? If you don't, try that. I've had some speed controllers which do not initilise until they get the midpoint and then putting it into the minimum point (or until the signal is low enough).&#60;/p&#62;
&#60;p&#62;Not a problem, sorry that I haven't been able to assist you further.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>PsyKo on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11230</link>
			<pubDate>Tue, 12 Jun 2012 05:39:53 +0000</pubDate>
			<dc:creator>PsyKo</dc:creator>
			<guid isPermaLink="false">11230@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;When powering from USB, the Vin is disconnected simply because I though that it might damage the board. Is it true or not ?&#60;br /&#62;
In this case, the GND from the ESC is indeed tied to the GND of the board.&#60;/p&#62;
&#60;p&#62;The start values look good, but I don't have them in mind right now. I'll still check them. But I don't think they'll change regarding of the power mode, will they ?&#60;br /&#62;
The ESC of the single working motor is doing the start sequence beeps.&#60;br /&#62;
I can't remember what the other are doing.&#60;/p&#62;
&#60;p&#62;What I will do, because we clearly lack of observation here, is to try to have access to an oscilloscope and check the voltage, and the PWM signals sent to the motors, both with USB power, and Vin power.&#60;br /&#62;
That should give us a clear view on the issue.&#60;/p&#62;
&#60;p&#62;Anyway, thanks for your help so far ;)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11226</link>
			<pubDate>Tue, 12 Jun 2012 03:37:14 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">11226@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;When powering from USB, are you using the ESC connected to Vin as well? If not, are you grounding the battery and the GND of the robot together?&#60;/p&#62;
&#60;p&#62;The Vin pin bypasses the selection jumper so it will work regardless of your jumper setting.&#60;/p&#62;
&#60;p&#62;I'm more interested in the 'start-up' values of the PWM width you're using, increasing it by 10uS might be enough to work, but be cautious when doing so. Perhaps remove the propellers removes when testing. I'll look into the Servo library to see if I can't see something that would cause issues.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>PsyKo on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11225</link>
			<pubDate>Tue, 12 Jun 2012 02:24:12 +0000</pubDate>
			<dc:creator>PsyKo</dc:creator>
			<guid isPermaLink="false">11225@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Honestly I think the code won't help, since everything works well when powered using USB (including motors, Xbeen IMU, and so on...). But I'll post it as soon as I have access to my quadcopter (I'm not home these weeks), because we never know.&#60;/p&#62;
&#60;p&#62;If I remember well I use this library LibrairieServo&#60;br /&#62;
And call the writeMicroseconds to control the motors through the ESC. Again, it works perfectly while the board is being powered via the USB.&#60;/p&#62;
&#60;p&#62;The maple is a Rev 5.&#60;br /&#62;
The Xbee modules are this one (if I remember well) - XBee 1mW Wire Antenna - Series 1&#60;br /&#62;
But the Xbee seem to work when using the Vin pin.&#60;/p&#62;
&#60;p&#62;Is there any specific action that need to be done when using the Vin pin (except changing the jumper ? )&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>PsyKo on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11223</link>
			<pubDate>Tue, 12 Jun 2012 02:22:44 +0000</pubDate>
			<dc:creator>PsyKo</dc:creator>
			<guid isPermaLink="false">11223@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I can't post... The forum does not accept my messages.&#60;/p&#62;
&#60;p&#62;Edit : solved. Had to remove some links... weird
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11206</link>
			<pubDate>Mon, 11 Jun 2012 09:57:52 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">11206@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Can you give us the code you're trying to run on the board? Which Maple Board (I'm assuming currently it's just the standard Maple Rev 5)? Which XBee modules are being used?&#60;/p&#62;
&#60;p&#62;What are the timer settings being used?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>PsyKo on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11203</link>
			<pubDate>Mon, 11 Jun 2012 07:43:31 +0000</pubDate>
			<dc:creator>PsyKo</dc:creator>
			<guid isPermaLink="false">11203@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Sorry for not answering earlier.&#60;/p&#62;
&#60;p&#62;@crenn : the motors are getting power from a single battery. All the +5 and GND coming from the ESC are tied together (I mean the +5 tied with other +5, and GND with other GND :) not +5 and GND together).&#60;/p&#62;
&#60;p&#62;@BJ Freeman : Sorry but I'm not sure I understant your answer. Do you mean putting a led on the signal sent to the motors to see if they pulse ? Why would it be different depending of the power supply of the board ?&#60;/p&#62;
&#60;p&#62;I had no occasion to make further tests on it, but I'll keep you in touch as soon as I get results...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BJ Freeman on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11033</link>
			<pubDate>Fri, 01 Jun 2012 16:00:54 +0000</pubDate>
			<dc:creator>BJ Freeman</dc:creator>
			<guid isPermaLink="false">11033@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ok I assume your using digital lines as output.&#60;br /&#62;
of use a LED and resistor connected between the pin and VCC. you can see if the signals being sent by the pulsating or steady state.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11022</link>
			<pubDate>Fri, 01 Jun 2012 05:54:39 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">11022@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Where is the motors getting power from? Is it multiple batteries? If there is a battery for each motor, tie all the ground pins together.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>PsyKo on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11015</link>
			<pubDate>Fri, 01 Jun 2012 02:25:28 +0000</pubDate>
			<dc:creator>PsyKo</dc:creator>
			<guid isPermaLink="false">11015@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Thank you for your answers.&#60;/p&#62;
&#60;p&#62;@gbulmer : I have access to a multi-meter, but no oscilloscope or more advanced tools. I already checked the voltage going into the Vin pin, is it's pretty stable at 5.03v. This looks normal to me.&#60;/p&#62;
&#60;p&#62;I tried connecting each motor one at a time, and even tried to switch the motor, and only the one connected to pin 8 starts (I'm not sure about the pin number, since I don't have the quadcopter next to me). The other won't move.&#60;/p&#62;
&#60;p&#62;@BJ Freeman : Thanks for your answer. The voltage looks good.&#60;/p&#62;
&#60;p&#62;I will change my connection board (prototyped) to a insolated PCB to make sure every connection is right, and let you know.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BJ Freeman on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11012</link>
			<pubDate>Thu, 31 May 2012 20:54:00 +0000</pubDate>
			<dc:creator>BJ Freeman</dc:creator>
			<guid isPermaLink="false">11012@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;base on the schematic for R5, the Vin through the Jack or JP1 is 7-18 volts and has a diode in series which drops it another 0.7volts. this feeds the 3.3 volt regulators. So it should work.&#60;br /&#62;
however you 5volt might drop below 4.3v. the would give 3.6 to the 3.3 regulators. if you 5Volt drops below 4.3volts VIN then the 3.3 regulators may not get enough to operate.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-11006</link>
			<pubDate>Thu, 31 May 2012 13:32:30 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">11006@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Have you got access to any test equipment, e.g. an oscilloscope, to look at the signals?&#60;/p&#62;
&#60;p&#62;Have you access to a volt-meter/multi-meter to check the input voltage to the Maple?&#60;/p&#62;
&#60;p&#62;If you have test equipment, disconnect the motors, run the software, measure the voltages, then connect one motor at a time, measure and repeat.&#60;/p&#62;
&#60;p&#62;If you haven't any test equipment it will be much harder to debug. You might try putting a resistor and LED onto each Maple pin connected to each motor. If you are lucky, you might see something dim or flicker.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>PsyKo on "Using Vin pin"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1841#post-10992</link>
			<pubDate>Thu, 31 May 2012 04:04:45 +0000</pubDate>
			<dc:creator>PsyKo</dc:creator>
			<guid isPermaLink="false">10992@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I'm actually trying to do a quadcopter based on a maple board.&#60;br /&#62;
While I was setting up everything (motor control, and so on), I was using maple powered over the USB. It was more convenient to upload and stufs... My 4 motor were running well, according to my commands.&#60;/p&#62;
&#60;p&#62;Now I want to get rid of the wire. I use the 5v supply coming from my battery through the motor regulator. (In RC Plane, motor controller (known as ESC) provide a 5v voltage to the RC receiver.) So I simply plugged  one of the 5V output of my ESC to the vin of the mapple and switched the jumper to EXT power supply.&#60;br /&#62;
I also use an Xbee module as Serial replacement (not for upload). The xbee module works well.&#60;/p&#62;
&#60;p&#62;For some reason, when using Vin, my motors are not responding. Most likely only one of them start. It's not related to the motor, because if I switch back to USB power, they all run well. I don't have the quadcopter here for now, but it's only one pin that works.&#60;br /&#62;
My motors are connected to PWM pin 8,11,12 and 14 if I remember correctly.&#60;/p&#62;
&#60;p&#62;Do you have any idea of what's going on ?&#60;/p&#62;
&#60;p&#62;Is there a particular setup for using Vin to power the Maple ??&#60;/p&#62;
&#60;p&#62;To be honest, I don't...&#60;/p&#62;
&#60;p&#62;Thanks a lot
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
