Show Posts
Pages: 1 ... 420 421 [422] 423 424 ... 582
6316  Using Arduino / Project Guidance / Re: Thermocouple data graphing in Libreoffice Calc - real time clock shield required on: July 11, 2011, 08:07:21 am
As long as the timing isn't really critical I'd just let Excel read the PC time and use that. I think this will introduce small timing errors as serial data is buffered here and there, but maybe not and maybe that won't matter to your application.

Another way to get pretty accurate timing is to have the Arduino attach the value from millis() to each sample then have Excel simply add that offset value to the time the job was started. This will be very accurate.

Similarly just ensure that the Arduino samples every N mS in which case the offset from the start is implied.

______
Rob
6317  Using Arduino / Programming Questions / Re: Digital pins D8-D15 briefly high at upload on: July 10, 2011, 07:15:11 pm
Quote
I was under the impression that this was the case during ICSP programming.
Correct, I'll go back to Arduino 101 class smiley

______
Rob
6318  Using Arduino / Project Guidance / Re: wake up arduino through serial comm & interrupts on: July 10, 2011, 07:13:20 pm
Quote
The other signal is the output from a photo interrupter
Which is probably open collector, but I still don't see how it can pull against the 14001 output  smiley-confuse

BTW you can get logic gates in a single-gate pack (SOT23-5) these days, great for this sort of thing where you only need 1 or 2.

Quote
the current pin change interrupt library seems to be adding 360bytes to the footprint.
All you need is an ISR I would think, that will use almost no flash. Get rid of the attachInterrupt() stuff and handle the logic in the ISR.

ISR xx() {
   if (sleeping)
      do this
   else
      do that
}

______
Rob
6319  Using Arduino / Motors, Mechanics, and Power / Re: Other ways of controlling water flow on: July 10, 2011, 07:15:45 am
Quote
does anyone know where to find Plaster of Paris in Australia
Maybe art supply shops.

______
Rob
6320  Using Arduino / Programming Questions / Re: Digital pins D8-D15 briefly high at upload on: July 10, 2011, 07:13:58 am
During upload the processor is in a reset state and all IO pins should be Hi-Z and floating.

Do you have anything else connected to these pins?

______
Rob
6321  Using Arduino / Motors, Mechanics, and Power / Re: Other ways of controlling water flow on: July 10, 2011, 03:04:47 am
Quote
should I risk it?
I would say no. It's hard to see with that photo but I would expect only a single outlet and there would be no practical way to separate the valves.

Another thing to think about is the control voltage, anything made for a fridge will use mains I reckon which is more difficult to work with, and if you get it from the US that will be 110v.

Personally I would not buy anything from somewhere that didn't provide a full data sheet and in this case mechanical drawings. Maybe you can get these from GE.

Have a look at this

http://www.jameco.com/webapp/wcs/stores/servlet/ProductDisplay?langId=-1&productId=169835&catalogId=10001&freeText=169835&app.products.maxperpage=15&storeId=10001&search_type=jamecoall&ddkey=http:StoreCatalogDrillDownView

Small ports but they might have larger versions.

______
Rob




6322  Using Arduino / Motors, Mechanics, and Power / Re: Other ways of controlling water flow on: July 10, 2011, 02:23:38 am
That Amazon valve looks to me like it's a mixer, ie hot and cold into a single output. If that's the case is that what you need? It's not normally the sort of thing used for garden control.

_____
Rob
6323  Using Arduino / Motors, Mechanics, and Power / Re: Other ways of controlling water flow on: July 10, 2011, 01:50:48 am
I haven't looked for ages but solenoid valves from places like Bunnings aren't that expensive are they?

BTW, it's VegEmite, (I had to go look at a jar to make sure smiley)
______
Rob
 
6324  Using Arduino / Project Guidance / Re: wake up arduino through serial comm & interrupts on: July 09, 2011, 07:23:51 pm
Quote
In this way, we can use INT0 for another purpose when arduino is awake.

The 14001 is not open drain though so how does the "other purpose" work when connected to a hard voltage?

Another option is a 74xx126 tristate buffer or a 4066 analogue switch.

______
Rob
6325  Using Arduino / Programming Questions / Re: Fixing the randomSeed() function (when using analogRead) on: July 09, 2011, 11:11:51 am
There's no way you'll get very random from reading an ADC as you've found out, but there is low-value noise there. If you look at the LSB for each of those values you get this

0001 1110 0001 0101 1110 0001 0110 1000 0110 1001 0110 1001 1011 0100 1001 0110

Put that together and you have something resembling two 32-bit random numbers (maybe). How about doing that 100 times and seeing just how random it is.

______
Rob
 
6326  Using Arduino / Project Guidance / Re: Open/close skylight + rain sensor failsafe on: July 08, 2011, 06:55:12 pm
I can't really picture how your system works but if you have to push this pole that will be difficult to replicate because a lot of force would be required I think.

One gadget that would  do it is a "linear actuator", look them up.

As for rain detection, there must be existing "sensors" that do this. Have a look for things used with weather stations, they often have tipping bucket things for measuring rain fall, you could use one to detect any rain (if it's sensitive enough to very small amounts).

______
Rob
6327  Using Arduino / Networking, Protocols, and Devices / Re: Serial Communication between 2 mega on: July 08, 2011, 11:09:31 am
Baud rate should have nothing to do with it as such.

Quote
I am always not getting the full 2000 * 17 bytes
How many are you getting?

What data are you sending and what are you receiving?

How fast is the Serial.print running? If it's < about 15x (the length of "I received: nn") the 4800 baud you may be overflowing the receive buffer.

You need to post both halves of the code.

______
Rob
6328  Development / Other Hardware Development / Re: Oversized Mega Shield on: July 08, 2011, 10:57:23 am
That connector is almost exactly the same width as a Mega, from what I can see it will fit very nicely over the DC and USB jacks as the pins are set about 14mm back from the edge and they will sit nicely between the jacks and the headers.

So I think it's a very good match and you shouldn't need to go for a larger board.

Having said that I don't think there's any real reason not to.

______
Rob
 
6329  Development / Other Hardware Development / Re: Learning eagle on: July 08, 2011, 10:47:00 am
Your getting there, a few comments

C1 and C2 should go to GND.

C3 and C4 are normally 1/10/22uf tant or electro types and therefore larger than you have shown.

There are no decoupling caps, put some as close as possible to the chip's GND and VCC pins.

Crystals normally have an X designator. Q is for transistors.

What is a 3n3333?

______
Rob
6330  Using Arduino / Programming Questions / Re: no TX data after calling analogRead on: July 08, 2011, 08:17:26 am
Post your code, we need to see what you've done.

But you're not doing the analogRead on the same pin as the serial Tx are you?

______
Rob
Pages: 1 ... 420 421 [422] 423 424 ... 582