Show Posts
|
|
Pages: [1] 2 3
|
|
1
|
Using Arduino / Project Guidance / Re: Displaying GPS output on serial monitor
|
on: May 09, 2012, 02:29:59 am
|
|
Hi Paul
I added the following line in the code after line 86 c=mySerial.read();//line 86 Serial.println(c) I see a bunch of strange characters on the serial monitor.
GPS shield LED glows, Switch for the shield is in the on position and the other switch is set to DLINE. Nothing glows on the GPS module(EM406A). It just sits there. No leds glowing/blinking. I waited about 10 minutes outside to see if anything would start up, but no luck.
|
|
|
|
|
3
|
Using Arduino / Project Guidance / Logging analog, digital and pwm data
|
on: April 27, 2012, 04:42:16 am
|
Hi Everyone I have been using the sketch supplied with the logger shield( http://shieldlist.org/adafruit/logger) and it seems to work fine. I want to record the surface deflections on my rc aircraft. So i was planning to take a tap out of the servo potentiometers, but that would mean large wire lengths(about a meter) leading to the datashield. Is it good to transmit analog signals over this range? I would also like to record pwm inputs from my radio and angular rates from a gyro(available as a digital signal). I see from shieldlists that the logger shield has pins A0-A3 free. What about the digital pins, could i use them to record these values. Wouldn't an elegant solution be to mux all these signals and send them to the logger shield? I am an electronics noob and i need some help on this. Thanks Sam
|
|
|
|
|
5
|
Using Arduino / Microcontrollers / Compiling and uploading code without an IDE
|
on: August 09, 2011, 12:50:18 pm
|
|
Hi everyone
These are my first forays into embedded programming. Is it possible to cross-compile the code and push it into an Arduino UNO/Mega without using the ide. I know that it uses the avr-gcc cross-compiler, but how do i push the binaries/hex into the board.
Thanks Sam
|
|
|
|
|
8
|
Using Arduino / Sensors / Re: Guide to gyro and accelerometer with Arduino including Kalman filtering
|
on: April 13, 2011, 05:58:41 am
|
|
Awesome work
I am making a 3 axis rate table to measure how accurate the imu is. I want to answer the following questions 1)For a given set of sensors, how can i get the best possible performance from my Kalman filter in estimating angles. 2)Now that the "optimal" Kalman filter code is identified, can i achieve better performance by choosing better gyros and accelerometers.
|
|
|
|
|
9
|
Topics / Science and Measurement / Re: Encoders and Arduino
|
on: April 13, 2011, 12:43:56 am
|
|
Looking again at page-3 of the catalog again, i am thoroughly confused. I think i should order ES5-25VB551AF E-incremental S-Solid shaft 5-50mm outer dia 25-2500 pulses/revolution V-Output form(Voltage) B-A and B channel without Z channel 5-5mm bore dia 5-5V DC input 1-Benign operating environment A-300mm wire F-Flange How many input and output wires will this encoder have? My guess is inputs- (Gnd,Vin) and outputs- (A,B) If you look at the E-series of encoders Output voltage is given as Vin-2V or VCC-2V So does this mean there are 3 inputs(Ground, Vin, VCC?)
What is a open collector or line-driver output?
Thanks Sam
|
|
|
|
|
11
|
Topics / Science and Measurement / Re: Encoders and Arduino
|
on: April 12, 2011, 08:51:03 pm
|
Thanks Rugged Circuits No. That's a surprising number. Are you sure it isn't just an "open collector" output that floats to around 2V? Do you have a part number? You can check it easily by connecting a 10k resistor from the output to +5V. If it's still 2V then it really is 2V, but my guess is you will measure 5V.
This is the encoder, i am looking at http://www.delta.com.tw/product/em/motion/motion_encoder/motion_encoder_product.asp?pid=2&cid=2&itid=2I haven't bought it yet, so i can choose another one, if you have any suggestions. I want to measure rotation angle precisely (for clockwise and ccw rotations). So i would like it to output a high number of pulses per revolution. What is the maximum number of pulses per second, that could be detected by an Arduino? Do i need to ensure the Arduino and the encoders have a common ground?
Do i just connect the DC power source ground to the Arduino ground with a wire? Or Should i have some resistor in between?
|
|
|
|
|
12
|
Topics / Science and Measurement / Encoders and Arduino
|
on: April 12, 2011, 12:18:39 pm
|
|
Hi
I have an encoder that takes an input of 5V. I don't want to power the encoder using the Arduino, as i will be using 3 such encoders. I want to power the encoders with a separate DC power supply(that will also be powering some motors). This is were my confusion begins 1)Do i need to ensure the Arduino and the encoders have a common ground? 2)Can i power the Arduino via USB and power the encoders with an external DC power supply? 2)The encoder outputs a high of 2V. If i connect it to a digital I/O pin, will the Arduino detect it?
Thanks Sam
|
|
|
|
|
13
|
Using Arduino / Motors, Mechanics, and Power / Re: Servo motors
|
on: March 31, 2011, 11:30:47 pm
|
Your description of the test method seems open-loop. There was no explanation of how to correlate the Ardu-IMU data with the turntable position / speed / orientation. For that matter, how do you even know the instantaneous information about the turntable? And how do you get the data from a spinning Ardu-IMU?
Sorry for not being clearer. I have an Xbee shield that will sit on the Ardu-imu on the rotating disk, that will act as the transmitter. Another Arduino will sit on the ground with an Xbee shield(reciever) and a Datalogger shield. This stationary Arduino will log the encoder signal and the Ardu-imu data with time-stamps. This way i will have correlation between rpm of the rotating disk and the imu data. Therefore as long as my encoder is accurate, i can treat it as a benchmark to evaluate the imu. Thanks Sam
|
|
|
|
|
14
|
Using Arduino / Motors, Mechanics, and Power / Re: Servo motors
|
on: March 31, 2011, 07:54:01 pm
|
|
Hi
@KE7GKP Why do you say, that the test system has lower reliability than the Ardu-IMU? Shouldn't the accuracy of the test system be determined by the least count of the encoder? I want to also modify some of the code on the IMU and check the results, to see if it gives a more accurate result. Won't a stepper motor have backlash error?
@AWOL Unfortunately i threw away my record player about 3 yrs ago. So how do i achieve such low rpm's
Thanks Sam
|
|
|
|
|
15
|
Using Arduino / Motors, Mechanics, and Power / Re: Servo motors
|
on: March 31, 2011, 01:06:11 pm
|
|
Thanks, that clears up quite a few issues.
This is what i want to do 1)Build a disk whose rpm varies smoothly(like a sine-wave). It could be shifted by a DC value if the motor can't rotate in the reverse direction. 2)Place the Ardu-imu on this disk and log the rotation angle as measured by the encoder and as measured by the imu.
This way i will know how accurate the Ardu-imu is. I don't need high rpm's. 60 would probably be the peak rpm. To do this should i buy a "servo" motor like Beckhoff or a plain vanilla DC motor and try to control it's speed using pwm's from the Arduino and a motor controller?
Regds Sam
|
|
|
|
|