Show Posts
Pages: [1] 2 3 ... 17
1  Using Arduino / Sensors / Re: (fixed) Using EEPROM in DS18B20 on: August 05, 2013, 03:29:01 am
Thanks guys,

I've pushed the fix.
2  Forum 2005-2010 (read only) / Troubleshooting / Re: DS18B20 serial print slow? on: January 10, 2011, 12:45:04 pm
Hi guys,

Apologies, Rob was kind enough to send me some of his changes to enable asynchronous mode a while ago and I managed to totally forget about it.

The synchronous version (the copy you downloaded) cannot be any faster as the IC needs time to process but we can add a "callback" when the reading is ready or allow you to check whether it's ready yet so you can continue processing other work (non-blocking).

I'll discuss with Rob getting the library updated.
3  Forum 2005-2010 (read only) / Troubleshooting / Re: Using the Dallas Tempature Library on: May 31, 2009, 06:39:41 am
Hi Bates,

the library was intentionally designed for the DS18B20 with other series playing supporting roles.

Have you made sure you've grounded the other pins and "pulled-up" the data wire appropriately?

What you've said is usually a sign of a badly wired up IC


*re-read your post*
You have 3 pins. ground the outer two. Pull-up the centre (as you are) and connect it to an appropriate pin
4  Forum 2005-2010 (read only) / Troubleshooting / Re: Confused: I'm running two sketches at once. on: May 09, 2009, 01:29:26 pm
Sorry by noise I meant random crap being sent to the pints.

If there are patterns, could it just be the controller resetting to what ever default it has?
5  Forum 2005-2010 (read only) / Troubleshooting / Re: Confused: I'm running two sketches at once. on: May 09, 2009, 12:44:17 pm
Probably just noise mate. Turn sending low to all the touchsheild pins
6  Forum 2005-2010 (read only) / Troubleshooting / Re: Different boards on: May 05, 2009, 03:06:04 pm
All but some third party boards support the main arduino code.

Freeduino, Seeeduino, Arduino varients [Mega, 2009 etc], Roboduino... All mutually compatible..
7  Forum 2005-2010 (read only) / Troubleshooting / Re: Software serial help on: April 17, 2009, 05:21:45 am
...That or you should be able to define the data type as per the reference manual matey


Serial.write(mydata,datatype[DEC|BYTE|etcetc]);
8  Forum 2005-2010 (read only) / Troubleshooting / Re: Attempting Pan Tilt on: April 17, 2009, 05:19:22 am
Okay ignore me,

looks like a simple incompatibility on setup().


Change beginSerial to Serial.begin(19200);
9  Forum 2005-2010 (read only) / Troubleshooting / Re: Attempting Pan Tilt on: April 17, 2009, 05:10:27 am
Hi mate,

Did you manually install the wiring + pan and tilt library?

Can you dump the entire code please.
10  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Site problems? on: September 17, 2009, 09:06:17 am
Interesting.

Shame they cannot ask for some volunteers to maintain the site. Stock Yabb is a poor reflection on an otherwise great effort.
11  Forum 2005-2010 (read only) / Syntax & Programs / Re: three digit integer value into an array[3] on: November 21, 2009, 09:40:37 pm
The modulas function should be able to help you. (Math.mod in the Math.h library)

You could also use a bitwise shift but that's probably not required in this instance.
12  Forum 2005-2010 (read only) / Syntax & Programs / Re: How to: calculate a period of time? on: November 10, 2009, 02:37:53 pm
Just a thought, watch out for debounce and various other electronic phenomenon when you're catching "events".

(http://www.labbookpages.co.uk/electronics/debounce.html)
13  Forum 2005-2010 (read only) / Syntax & Programs / Re: How to: calculate a period of time? on: November 10, 2009, 02:36:26 pm
Well mowcius, you should know better. That's some hidious code. If I made a penny for each bug I spotted in that code I'd be a millionaire

smiley-wink


Yeah what Mow suggested is perfect for simple applications. If you require any major precision check out the timing ICs from Maxim (A quick search will uncover the IC I speak of)
14  Forum 2005-2010 (read only) / Syntax & Programs / Re: serial receive issues & freeze on: November 11, 2009, 05:24:35 pm
Hmm, this problems are always a pain.

Random dropoffs are sometimes an indication of a memory leak. Have you tried dumping the amount of memory remaining to Serial?

I'd also watch those atoi, I can't be 100% sure but I believe they can write outside of their expected boundaries. If they are receiving data slightly to long they may end up writing to some random bit of memory used by your program.

*thinking*
15  Forum 2005-2010 (read only) / Syntax & Programs / Re: Rainbowduino - Slideshow: how to use EEPROM? on: November 10, 2009, 02:39:54 pm
Have a read through the Progmem guide:

http://www.arduino.cc/en/Reference/PROGMEM

It's fairly simple. Progmem is actually a macro function which performs the required instruction for the job
Pages: [1] 2 3 ... 17