Loading...
  Show Posts
Pages: 1 [2] 3 4 ... 35
16  Using Arduino / Sensors / Re: Would this wind meter idea work? on: May 10, 2013, 08:24:06 pm

Ooooohh no.....

The idea had flashed across my mind, but I'm a yachtie and such things do when you are at the top of a 14m mast, and I didn't think anybody had seriously tried it.
17  Using Arduino / Sensors / Re: CSV File to Hard Drive on: May 10, 2013, 08:06:30 pm
RealTerm does this. It is a freebie. Needless to say, you need to format the output from the Arduino.
18  Using Arduino / Displays / Re: 4 digit display help on: May 10, 2013, 02:14:40 am
Yes, it's all in the playground article.
19  Using Arduino / Sensors / Re: ds18b20 bad resolution set at 11bit on: May 09, 2013, 11:53:41 pm
There is only one line in your code that has any relevance.

  sensors.setResolution(Sump, 11);

You can change this to 12. This smacks rather of the dog-chasing-car scenario.

I believe most people set the resolution to 10.
20  Topics / Home Automation and Networked Objects / Re: uploading sensor data to cosm using enc28j60 on: May 09, 2013, 02:16:27 am
The cosm libraries are not used with the ENC28J60 module. It uses the Ethercard library instead.
21  Using Arduino / Storage / Re: Converting a float to a char* for writing to SD card on: May 09, 2013, 02:10:30 am
I'm pretty new to Arduino but I utterly fail to see why you would ever need to convert float to string either.  It is probably just as dumb as converting it to char.

I note the file date and that article may have been valid for an earlier version of Arduino, but surely it has no relevance in current versions.  You don't have to convert float to anything, so why would you do it? I submit all such a conversion gives you is a definite waste of time and a probable source of grief.

22  Using Arduino / Displays / Re: 4 digit display help on: May 09, 2013, 01:22:40 am
i pretty much can't do anything else since most of my pins are used for the display?

Yes.

Using the 7221 is like outsourcing your laundry, leaving the Arduino for more serious activity.  Not only does it use 3 data lines but pin 13 may also be shared with other devices.
23  Using Arduino / Displays / Re: 4 digit display help on: May 09, 2013, 12:37:53 am

I only have 2 pins left to use.  That article says it only uses 3 pins to control the display.


I'm sure the significance of that will be clear.
24  Using Arduino / Displays / Re: 4 digit display help on: May 08, 2013, 11:58:08 pm

 it was the serial function causing it.
And im still lost on what i should get from that article.

Probably not lost for long, I suspect you are already encountering the next problem I was talking about and already have had to count the pins without any wires in them. Having the serial function cause the problem sounds like you have a clash on D0 &/or D1, and need to look for alternatives, or abandon serial comms.

So, you know what you've got, you know what you can't use, and you can now count what's available for other purposes, which isn't many. Now check the article again and note how many data pins are used.
25  Using Arduino / Programming Questions / Re: LED Control using Cosm and ENC28J60 as ethernet shield. on: May 08, 2013, 11:38:55 pm
He doesn't use HttpClient either. Both of these are for use with the W5100 shield, while the Ethercard handles the ENC.

It is noteworthy that there is an increasing number of determined heroes using the ENC on cosm. Now that I have a W5100 to fall back on, I am considering putting an ENC module on a proto board and joining tham. This is simply because it will fit easier in the box I have.
26  Using Arduino / Displays / Re: 4 digit display help on: May 08, 2013, 11:30:03 pm

But all the pins have wires.

I meant the sockets on the Arduino. If that is what you mean too, then that is your next problem, hence my comment.

I can't comment on the segment not turning off, other than that with all those transistors and resistors around, you are unlikely to have done any damage.
27  Using Arduino / Displays / Re: 4 digit display help on: May 08, 2013, 09:49:13 pm
Well, that's a relief - and a good job well done.

Now might be a good time to count the pins without any wires in them, and then have a look at at that MAX7221 article.
28  Using Arduino / Displays / Re: 4 digit display help on: May 08, 2013, 07:15:15 pm

The third way i don't really know anything about.

I'm afraid this is what you do need to know about. The tutorial you allude to uses the microcontroller to do that. Your display is common cathode, like mine. The digits are selected by grounding their cathodes. In short, you don't mess with the pins, that's Arduino's job, as shown ion the bottom diagram. No ground wire needed, unless you want to make the arduino redundant.
29  Using Arduino / Storage / Re: Converting a float to a char* for writing to SD card on: May 08, 2013, 06:35:07 pm
Why do that? You can print float to SD.

cust_file = SD.open("file.txt", FILE_WRITE);
cust_file.print(new_money):

should work.
30  Using Arduino / Programming Questions / Re: Millis overflow on: May 08, 2013, 09:18:43 am

if all your time calculations are done as:
if  ((later_time - earlier_time ) >=duration ) {action}

then the rollover does generally not come into play.

Thanks

(No harm in resurrecting this, I guess)

Are there instances where the rollover does come into play?

Pages: 1 [2] 3 4 ... 35