Show Posts
Pages: 1 ... 5 6 [7] 8 9 ... 13
91  Using Arduino / Sensors / Re: Braking lights of a car can send info to cars behind on: October 29, 2012, 01:45:51 pm
For cars following why not use IR all the time giving vehicle information, this may help in fog as I think the penetration of near and shortwave IR is better than in the visible.
92  Using Arduino / Sensors / Re: [HELP]Interfacing a Fish Finder's Transducer Sensor on: October 29, 2012, 01:43:41 pm
It depends on a lot of things but I would not try IR at any depth when there are green sources that will penetrate further.  Think a green laser pointer.  I have done calculations like how far IR gets in water but to find the references that I need in my library is not very easy.

There is a very strong reason why folks use green lasers (I forget the exact wavelength you need for max depth) because most other flavors of light die off very quickly.
93  Topics / Science and Measurement / Re: Determining accleration due to gravity on: October 29, 2012, 09:30:32 am
There are far easier ways to measure the acceleration due to gravity using Arduino.  You can buy a photointerrupter like http://www.digikey.com/scripts/DkSearch/dksus.dll?WT.z_header=search_go&lang=en&keywords=425-1935-5-ND&x=0&y=0&cur=USD, build the simple circuit shown in the data sheet.  Then get a piece of plexiglas maybe 2" x 10" and use electrical tape to make uniformly spaced opaque strips that are perpendicular to the long axis.  Take the signal from the photointerrupter and input that into one of the interrupt pins for timing purposes.

Dropping the plexiglass strip through photointerrupter, lets call it a photogate, from the times displayed by the Arduino on the computer screen or LCD you can determine the acceleration due to gravity.

You may find that the plexiglass hits the photogate and this will increase the uncertainty of the measurement and you can either accept that or break the photogate and mount the two pieces on another frame to make a larger fixture so the plexiglass will hit it less often.

I have left out some steps as there is a derivation needed utilizing some kinematics to be worked out but it is not too bad. 
94  Using Arduino / Sensors / Re: [HELP]Interfacing a Fish Finder's Transducer Sensor on: October 29, 2012, 09:08:05 am
IR flavors of light usually do not penetrate the water very well so the signal might not be very strong even at 2 meters.  Green light penetrates better so a green LED and a matched receiver would probably be better than IR.

Either way should be easy to test with a 2.5 meter section of pipe.
95  Using Arduino / Networking, Protocols, and Devices / Re: Wireless sensor network on: October 28, 2012, 04:42:35 pm
I am using the Maestro 1035 http://www.mouser.com/ProductDetail/Maestro-Wireless-Solutions/A1035-H/?qs=sGAEpiMZZMsa9w4dmI1JYEv5hDt7Ew5Y and the 2035 http://www.mouser.com/ProductDetail/Maestro-Wireless-Solutions/A2035-H/?qs=sGAEpiMZZMsozux2%2fwCmWzf0tcKPfaAL, as I mentioned in an earlier post some GPS units do not support PPS output and that may be why your datasheet does not mention.  I have yo admit that the PPS signal is probably useless to all but a very small percentage of the users.

I have some 1035's in hand otherwise I would only have the 2035's as they have better performance a few bucks cheaper.  For either of these modules a breakout board is required and I could not find one on the 'net so I designed one myself, but the design is not ready for primetime right now.

The +/- 50ns is probably correct given 4 or more sats, and you have to ask yourself is that good enough and I am pretty sure the clock speeds on the ATMEL 8-bits MCUs is such that the MCU timing will add more uncertainty than the PPS signal.  The GPS units process the data from the sats in pretty much the same way so the PPS signal from one GPS is good as any.  When I contacted Maestro with a technical questions re: the PPS Larry responded to me that they did not recommend using that signal for timing and I was a little confused.  I emailed Larry back and asked him why and he stated the PPS signal was not exact and it could 50 ns off.  I knew for my apps that level of uncertainty was fine, but everyone has to ask themselves the same question but I imagine that is fine for most users here also.

wade
96  Using Arduino / Project Guidance / Re: GPS accurate to cm's? on: October 28, 2012, 09:51:48 am
I think the Due will be out in volume and have some kinks worked out before an RTK system was ready for prime time if we started today.  The Arduinos are great platforms for the right task, but sometimes they are vast overkill, then I go to the ATTINYs straight from AVR Studio and some times they just do not have the capabilities.

wade
97  Using Arduino / Networking, Protocols, and Devices / Re: Wireless sensor network on: October 27, 2012, 04:47:17 pm
No guarantee that they all pulse at the "same" time but the spec says that iff all have 4 or more sats they will all receive a PPS pulse within +/1 10's of ns.  With the sensitivities and out of band rejection available on modern GPS receivers 4 sat fixes are easy today.  If one of the remote sensor nodes only has a lock on one sat the math says the error on the PPS pulse goes up to +/- 100 ns.

When I quoted a resulting timing resolution in the microseconds that assumed 4 or more sat fixes.  When one of more node had less than 4 sats I would assign a resolution probably in the neighborhood of 10's of microseconds, I have not worked up the math entirely for that statement so it is a little back of the envelope as even 10's of microseconds is good enough for my current needs of sound millisecond resolution.

Short story long: no they do not all arrive at the "same" time, that you can not guarantee for any system there will always be some uncertainty you just have to make the decision is that level of uncertainty small enough for the measurement being made.  That is the same thing that is done anytime you make measurements, we get away in a lot of cases today because the instruments available for small amounts of money are usually orders of magnitude better than what we need so the instrument uncertainty gets swept under the rug.

The PPS signal is used quite a bit as a means of data synching if the sites do not have internet connectivity or do not want to, or cannot, rely on internet connectivity.
98  Using Arduino / Networking, Protocols, and Devices / Re: Wireless sensor network on: October 27, 2012, 11:30:03 am
I tried to do the same thing with one base and 4 remote sensor with XBee on all of them, with no common clock signal.  I got all of the nodes talking to one another and all was happy on  the network.  My times were not making sense and one of the reasons was that the packets coming out from the XBee is not deterministic and that makes the latency different with each event from the sensors.  I found that I could get time resolution of maybe 0.050 seconds but would be happier saying it is 0.10 seconds.

My timing resolution needed to be about a millisecond so I needed some kind of time base that was common to all nodes and the base so the remote sensors could report the time of the event referenced to that common time base.  The time base I am implementing now is using the pulse per second (PPS) signal coming out of the GPS, the PPS signal is attached to an interrupt, the attached ISR sets the MCU timer to zero and records the time stamp from the GPS.  When an event occurs the remote nodes send a message that such and such happened at so many clock cycles from the time stamp reported.

When the message gets to the base it can store it and time correlate to all other messages.  This should give me time resolution to about a microsecond with no problems.

wade
99  Using Arduino / Microcontrollers / Re: Fried another two programmers :-( on: October 27, 2012, 11:11:14 am
I know you can fry a USBtinyISP if you short an output and it draws too much current, better the USBtinyISP blows than your motherboard.  I love the little USBtinyISP they are cheap and they work, too bad AVR Studio does not support them directly. 

The ATMEL AVRISP Mk II is a great programmer too, I have two on my bench, but the cost is much more than the little USBtinyISP.

Just my 2 cents,

wade
100  Using Arduino / Project Guidance / Re: Data syncing on: October 27, 2012, 11:05:32 am
Just a caution for those looking at using the PPS to sync remote data things, not all GPS modules or GPS shields provide PPS output so look at the docs carefully.  I am using Maestro GPS 1035 and 2035 modules about $20 and $18 from Mouser they work great and the price can't be beat.  The 1035 and 2035 are surface mount units and need to either go on a breakout board of a shield to use them with Arduinos, they skillet reflow very nicely but you will need to fab a board first.

wade
101  Using Arduino / Project Guidance / Re: GPS accurate to cm's? on: October 27, 2012, 10:55:08 am
A couple of things:

- I do not think the 8-bit Arduino will have the computational horsepower to be able to handle the required calculations in anything close to real time and memory may be a problem also.  The Due probably has the guts to do it, if you can access some of the libraries that are out there for the Arm.
- The open source Real Time Kinetics has been done published and scrutinized see some of the links from sbright33.

This stuff works I have seen it in practice and it is pretty neat for those who have the need for it.  I wonder whether SA would be turned back on if there were cheaply available RTK systems.  The combination of RTK and some of the emerging and established technologies is a scary mix for some people.

wade
102  Using Arduino / Sensors / Re: Mouse traps on: October 26, 2012, 07:27:41 pm
What no WebCam?
103  Using Arduino / Sensors / Re: What kind of sensure pressure for extreme environment? on: October 25, 2012, 10:55:09 am
It seems that when I have looked for inexpensive pressure sensors with good performance they employed MEMs and were all surface mount, although many of the surface mount sensors from Freescale are very easy to solder by hand.  Just because the sensor says MST in the catalog do not discount it immediately look at it and then Google surface mount hand soldering or something similar.
104  Using Arduino / Project Guidance / Re: Multiple Gyro Sensors on: October 25, 2012, 10:48:16 am
You will also need pullup resistors on the SDA and SCL lines, usually somewhere between 4.7k and 10k Ohms.
105  Using Arduino / Project Guidance / Re: PID Heating Control on: October 22, 2012, 11:09:48 am
In the far past I used low wattage light bulbs to heat up small boxes, I made a couple of incubators as projects in grade school.

Put the bulb in the middles of the box for even heating but also to keep bulb away from the walls for fire safety reasons.
Pages: 1 ... 5 6 [7] 8 9 ... 13