Show Posts
Pages: 1 2 3 [4] 5 6 ... 93
46  Using Arduino / Motors, Mechanics, and Power / Re: New 28BYJ-48 library on: December 18, 2013, 02:29:18 pm
It was hard for me to find by searching too, so don't feel bad.  I explained it on March 28 here in this thread page 2.  There is much more info here:
http://forum.arduino.cc/index.php?topic=85335.120
I wish there was a way to combine these.
47  Community / Exhibition / Gallery / Re: Lunar Module on: December 18, 2013, 11:25:09 am
"We are those crazy people who think that every idea is crazy until we make it happen then people say...  Of course!"

"The iPhone of Space"

The first private company to land on the Moon.  Pimple powered lunar lander.  Helium-3 from the moon will give us power on earth for 100's of years. 
http://moonexpress.com/

Jim is a friend from way back, but he never would have thought of me  if someone didn't Google "Autonomous Quadcopter" to find me here on this forum!  Thanks Arduino Forum!
48  Community / Exhibition / Gallery / Re: GPS time-date on: December 17, 2013, 12:57:32 pm
With a PPS pin output from GPS you can get time accurate to about 100ns!
49  Community / Exhibition / Gallery / Lunar Module on: December 17, 2013, 12:55:57 pm
I will be part of a small team designing a Lunar Module thanks to this forum and Google which made it possible!
http://en.wikipedia.org/wiki/Google_Lunar_X_Prize
My Quadcopter code and hardware will be used to test the IMU that is going up in 2015!
PM if you want details...
50  Using Arduino / Motors, Mechanics, and Power / Re: New 28BYJ-48 library on: December 15, 2013, 10:02:20 am
At the beginning of one of these posts I have described each function the best way that I can.  There are details I have not included that can only be discovered thru experimentation.  To make a motor run forever is simple.  Just choose a large number for deg100 that will run a long time.  Then put it in a loop or loop().  Let's take calloften() as an example.  First you setup the distance and speed you want with it's friend function.  Then you call often calloften() in loop().  At least every d ms.  d is a global variable.  Seems easy to me.  It will be easy for you too, after you get it running.  The first time is the most difficult. 
51  Using Arduino / Project Guidance / Re: RC Receiver channel output to Arduino to manipulate signal on: December 15, 2013, 09:40:06 am
A big improvement would be to measure lateral acceleration to determine whether the R/C vehicle is moving in a straight line or turning sharply.  If straight use front brakes to take advantage of 90% weight shifting to front.  If turning use rear only for increased control of vehicles path.  Maybe allow for compromise during gradual turns.  What do you think?
52  Using Arduino / Project Guidance / Re: GPS accurate to cm's? on: December 15, 2013, 09:33:06 am
It is only $400 / receiver + XBee costs.  Soon to be $200!
53  Community / Products and Services / Re: Unmanned Quad Copter Project on: December 11, 2013, 06:16:31 pm
The code is similar!  Some of the autonomous code I have written for Arduino actually runs better on a ChipKit because it's faster.  You can change the loop delay and everything else works.
54  Using Arduino / Motors, Mechanics, and Power / Re: 28BYJ-48-5V stepper motor - driver sketch on: December 11, 2013, 06:02:07 pm
Once you get my code working turning 14x is one line of code.  PM me your phone number maybe I can help.
55  Using Arduino / Motors, Mechanics, and Power / Re: New 28BYJ-48 library on: December 11, 2013, 05:58:11 pm
@bino-  Pin A0 on Arduino should be connected to a motor coil.  Any of the 4.   Thru a 5k resistor for safety.

1) You should rarely adjust motorSpeed manually in the code.  Instead use a different RPM value in the function calls.  The minimum depends on the load and voltage.

2) off( ) turns off the coils. 

@paul- Try uncommenting a line in setup()? You can test any of the functions with DegRPM in them.

@grey- It is difficult to do 2 at once.  I had made a list of all the functions and variables you must duplicate and rename somewhere in this post.

I do not use degrpmEZ.  But you can!  It's similar to other functions.  It disables some features as you can see.

PDC?  Like when center is stop.  A small move rotates slowly.  Larger increases the speed?  This may be a case where you change motorSpeed to vary the delay between each single step.  Or you can go 10 degrees then read the speed from the joystick for the next 10 degrees?

Once you test my functions and understand them an idea will come to you.
56  Using Arduino / Project Guidance / Re: wireless Arduino time synchronization on: November 26, 2013, 09:34:55 pm
It is so easy to apply a constant correction in software using a time source to calibrate it.  This can give you 1PPM accuracy or drift over time.  If you keep the temperature near the original, you don't need GPS anymore to measure absolute time.
57  Using Arduino / Project Guidance / Re: Pre-synchronizing two arduinos on: November 26, 2013, 09:29:03 pm
See my link above for a short code example.  Lefty it is done in software only.  No parts needed.  You can see how long experimentally it stays within 1ms always for hours in my tests.  You can also measure how long it takes to drift 10us.  From this data you can calculate the PPM result.  Anyone try it with PPS pin?
58  Using Arduino / Project Guidance / Re: wireless Arduino time synchronization on: November 22, 2013, 11:11:12 am
5ms / second drift?  I've gotten 1PPM after calibrating with a constant in software.  Assuming no temperature change.  An old GPS can get you 10ms absolute time.  If you want 100 nanoseconds you need a GPS with a PPS pin output.  That's how I tested the software calibration.  You need to tell us what accuracy you require.  These methods can even be used to estimate the speed of light over a mile distance.
59  Using Arduino / Project Guidance / Re: Pre-synchronizing two arduinos on: November 17, 2013, 02:03:11 pm
You can use the PPS pin of GPS to get within nanoseconds absolute accuracy.  Older GPS to within milliseconds.  If the temperature is the same at both units, an Arduino Uno can be calibrated in software to drift 1 PPM.  No extra hardware is needed.  I did this with PPS pin of GPS, but then you don't need GPS anymore.
60  Using Arduino / Motors, Mechanics, and Power / Re: Auto Pilot for Tiny Yacht on: November 13, 2013, 10:03:06 pm
No comments?  I guess we're all in agreement then!  :-)
Pages: 1 2 3 [4] 5 6 ... 93