Show Posts
Pages: 1 ... 155 156 [157] 158 159 ... 303
2341  Using Arduino / Programming Questions / Re: Arduino Needs Reset After Long Run on: January 23, 2013, 06:12:34 pm
Your serial read function has some built-in assumptions I would not make.

Serial.readBytesUntil('|', serialBuffer, 256); // this is going to block in some cases.

 
2342  Using Arduino / Programming Questions / Re: what input pin is it using? on: January 23, 2013, 06:02:27 pm
You could try a Hall *switch* (security type, very cheap, very sensitive and reads digital) and a magnet with a toothed or holed steel/iron wheel between the two. Iron between switch and magnet should suck the field in. I'm just not sure how big a hole you'd need for enough field to get through, depending on the thickness of the wheel and how close the sensor and magnet are.

If you put 1 magnet on a shaft then you will get 1 pulse per turn and the rest of the time nothing. With a fast turning shaft it's probably all you need but otherwise maybe not.

2343  Using Arduino / Project Guidance / Re: Beginner till advace on: January 23, 2013, 05:46:23 pm
thanks guys

Really, shop around! Shopping will be a skill you also need to develop.
http://arduino-direct.com/sunshop/index.php?l=product_list&c=6

Perhaps you don't want a kit at all. If you look through the Tutorials there is not so many parts you need to start out with if you choose with some care.
http://arduino.cc/en/Tutorial/HomePage

From there you may decide different directions that no simple kit will cover.

In the Bar Sport part of the forum is a thread about what people are buying. Name of many outlets and beaucoup links are there:
http://arduino.cc/forum/index.php/topic,91399.0.html
That thread keeps getting archived and restarted, the link is just "the top of the heap".

Also in the Community section is the Products and Services section.

There have been threads on where to buy with much discussion of pros and cons.

You want advanced then take electronics courses. If you are an adult then see about night school and get credit or certificate useful on your resume. That will get you started on advanced.
2344  Using Arduino / Project Guidance / Re: CAN/CANopen on: January 23, 2013, 05:23:43 pm
There are a number of AVR's with CAN support built in and you can program them with Arduino.
Just so you know.

CAN is also used in the Automotive industry. There are AVR projects/devices to diagnose modern cars.

2345  Using Arduino / Project Guidance / Re: Running a Fischertechnik Motor on Arduino UNO on: January 23, 2013, 05:19:46 pm
This motor?

http://www.studica.com/Fischertechnik/fischertechnik-power-motor-set.html

Can you use the rest of the set? If so then you only need to replace the battery with power Arduino turns on and off. Arduino pin to resistor to transistor grid for control and 9V from battery or power supply goes through collector to emitter of the transistor straight to motor.

Do not forget to connect ALL the grounds together, 9V supply ground and Arduino ground should be common. You also may need at least one capacitor between ground and the 9V for surge protection.

2346  Using Arduino / Project Guidance / Re: The Ultimate Laser Tag Game (Asked by the ultimate noob) on: January 23, 2013, 05:05:53 pm
1) if the beam spreads then you might infer distance by the spread or intensity.
2) rather than filling an area with RFID readers how about each player has a GPS and XBee or XBeePro reporting position? It would be cheaper.

2347  Using Arduino / Project Guidance / Re: Measuring a very fine wire with 10 ┬Ám precision on: January 23, 2013, 04:43:16 pm
This is a nice diagram explaining the difference between accuracy and precision

In machining we would specify that precision as 'tolerance'. Every cut is to some measure with some tolerance (like +/-0.1 or maybe +0.1/-0.0).
2348  Using Arduino / Programming Questions / Re: what input pin is it using? on: January 23, 2013, 04:26:49 pm
ahh yes there is a pos and neg symbol just above the pins on the sensor that would explain why they are there so how do i intergrate that with the arduino?

trying to find out information about it is near enough impossible ans manufacturers keep that information to themselves 

That would be in a repair manual even if it's just a company number.

There's a + and a -. Any other pins? The thing could be a package with built-in amplifier for all I know. But 60 rpm 65 mV AC... they wouldn't feed it AC yet + and - pins don't sound AC to me.

How about the make, model and year of the vehicle? There are automotive forums where the answer may be found as well.
2349  Using Arduino / Programming Questions / Re: what input pin is it using? on: January 23, 2013, 04:21:13 pm
We can Google a part number.
2350  Using Arduino / Programming Questions / Re: Why won't this work? on: January 23, 2013, 03:13:50 pm
Try moving the line inside setup() to above setup(). Then val will be global scope.
2351  Using Arduino / Programming Questions / Re: ERROR!!! on: January 23, 2013, 03:11:58 pm
ya thanks, but I actaully copied and pasted, from example code and I have looked at almost all of them.


Copied, pasted and changed beyond all recognition.

Sorry Michael but I have to +1 PeterH and ask the OP to Read This Thread:
Quote
Read this before posting a programming question ...
http://arduino.cc/forum/index.php/topic,97455.0.html

BTW, once you've replied in a thread is there some way to not have it show up in your replies?
Because IMO this thread is a waste of time and I'll just stop short with that.
2352  Community / Bar Sport / Re: The power has failed ... on: January 23, 2013, 03:02:28 pm
Can you charge more to fix if you have to wear bit-safety gear?
2353  Using Arduino / Programming Questions / Re: what input pin is it using? on: January 23, 2013, 03:00:54 pm
It could be as simple as a magnet in a coil. When a gear tooth passes close across the axis of the coil it will induce current in the gear tooth (eddy current) and the coil, the latter which can be picked up as a pulse with strength in proportion to the speed of the gear tooth. Such a sensor would not be affected by dirt or wet the way an light and sensor would. Unlike a Hall sensor, it would not require any magnets placed on the turning wheel.

If it is, don't try feeding it directly to Arduino until you know what directions make +V and -V.

Why buy when you already have something that must work or the car won't?
Can you get a part # on the sensor? Maybe it would be in a shop manual for the vehicle.

 
2354  Community / Bar Sport / Re: You know you're in Michigan when... on: January 23, 2013, 05:14:10 am
Hell freezes over! First millis() rolls over, and now this! We didn't make double digits today, I've been majoring in feeding the wood stove smiley-grin

There actually is a place (I say place as it's barely a town) called Hell, Michigan. I've been there and it's really not all that bad. Sort of nice, actually.


I don't know Michigan but in Maine the gnats and mosquito's try their best when it's not freezing.

2355  Community / Bar Sport / Re: The power has failed ... on: January 23, 2013, 05:08:29 am
Power maybe off at the main branch? But that doesn't explain the cables there, not at all.
Or as usual they just told the guards some BS to stop them asking questions?

I've known people who get upset if you open a microwave oven door without waiting first.
That's because the rays are still bouncing around inside and will get out. It's the same reason
you don't wrap a potato in foil to nuke it, the foil hold the rays inside and they get you.

Even worked with a woman who had to keep electric sockets plugged to keep the electricity
from leaking. Dangerous stuff, that electricity. It might make you think.

Pages: 1 ... 155 156 [157] 158 159 ... 303