Show Posts
Pages: [1]
1  Development / Other Hardware Development / Re: My home-brew Arduino OBD-II connection kit on: October 13, 2012, 11:31:50 am
I think this is awesome.

I've always used an OBDII reader on my car but always hassle with having to drag my laptop around or using up my phone, which also means I have to plan ahead and didn't have a seamless way with out sitting in the car getting everything started before driving. Should record everything even on quick trips around town without me doing anything or watching a screen.

I hope to give this a shot!
2  Using Arduino / Sensors / Proximity sensor for around 1inch and glass on: July 01, 2011, 07:57:25 pm
I'm trying to find a proximity sensor that will work to detect an object that comes within about an inch or two and can also work if its glass.

I was checking out this site:
The other 2 looks like it would not work so well since its very close proximity. I just need to check if a cup or glass is placed in front of a spout.

The QRD1114 IR emitted / Phototransistor looks like it would be good for the distance but is using IR. Would that work with glasses, like glass cups?

Are there other sensors I should be looking at?

3  Using Arduino / Programming Questions / Re: Sending data to serial and multiple valves on: June 28, 2011, 07:23:05 pm
Thanks for your reply. I just finished up getting a working version running.
4  Using Arduino / Programming Questions / Sending data to serial and multiple valves on: June 28, 2011, 12:06:45 pm
This is my situation and I'm still new, this is just a setup I have going right now. Lets say I have 3 water valves and I am communicating to the arduino by a serial connection. Right now I have it parsing by looking for the end character(which is a semicolon) and everything before that is considered my string then from there breaks apart the string by spaces so the format I send would be:
pump seconds pump seconds pump seconds;
Ex. 1 3 2 3 3 3.. That would be 3 sec for each pump.
I have it looking for the pump number since I'm not always going to want to put in an arg for each. Just want #3 pump would be: 3 3;
Basically looks for one saying which pump and the next arg for how long to keep it open. With this it does 1 pump at a time. I would like to get all pumps to start at one time and stop whenever they need to.

Am I basically going to be looking to do a round robin that keeps checking for times on each one or the blink without delay example? Also is the method im using for getting data from the serial a correct way or is there a better method to that?

I see theres lots of threads about blink without delay, I guess just ignore that part since it seems to be it unless you can throw out some useful info about doing that with 3 different outputs, but I still need to check out the examples for that.

5  Forum 2005-2010 (read only) / Syntax & Programs / Need something like Split on: September 29, 2010, 02:16:24 pm
I plan to have the arduino control 2 water valves. Was planning on having it controlled by a computer so it would communicate through serial but I'm having a little problem trying to figure out how to implement that.

For example I would like the computer to send it a command like "valve1,2;valve2,2"

The first part is saying which valve "valve1" and the second part "2" would be how many seconds to leave the valve open. then the ";" would seperate if there is more then 1 valve in the command.

Only thing is im not sure how I would seperate "valve1,2" and "valve2,2". Is there any type of Split() function or what would be a better way to implement this?
Pages: [1]