Show Posts
Pages: 1 ... 219 220 [221] 222 223 ... 411
3301  Using Arduino / General Electronics / Re: SMT oops on: April 12, 2012, 08:44:05 am
Keep in mind that the 260°C is for the reflow oven where the entire package is subjected to that heat. 

There's a reason why hobby-vendors supply these on breakout boards.
3302  Using Arduino / Programming Questions / Re: While loop not behaving as expected on: April 11, 2012, 09:19:33 pm
P.S. I am still not sure why my original while loop did not work (see first post in this topic)?

Printing must not actually occur until you exit the interrupt routine.  That can't happen if the ISR is stuck in an infinite loop.
3303  Using Arduino / General Electronics / Re: Different V_Aref for different analog pins? Is is doable? on: April 11, 2012, 05:22:11 pm
Isn't this covered in the reference page for analogReference()?

You just have throw away the first couple of readings after switching.
3304  Using Arduino / Programming Questions / Re: Using Arduino as DAQ? (Help with sampling) on: April 11, 2012, 03:24:18 pm
Please don't cross post.

http://arduino.cc/forum/index.php/topic,100963.msg757022.html#msg757022


Quote
last sample is 236uS (4237Hz), but I get a sampling rate of 4166.66Hz....?
From the reference page for micros():
" this function has a resolution of four microseconds (i.e. the value returned is always a multiple of four). "

1 / 4166 = 240µS.  Which looks to be 4µS off of your 236µS value....
3305  Using Arduino / Installation & Troubleshooting / Re: Arduino Crashes on Mac OS X 10.7.3 (lion) when uploading to Uno on: April 11, 2012, 09:51:07 am
With Show Verbose output enabled (1.0), record your screen while the upload process occurs and then post the video to youtube.

QuickTime will let you do a Screen Recording (File -> New Screen Recording).  Once you are done, you can upload it in QuickTime with "Share".
3306  Using Arduino / Installation & Troubleshooting / Re: /dev/ttyUSB0 is not created on: April 10, 2012, 10:12:49 pm
I'm confused. 

I bought an Arduino mega from sparkfun.
You said you bought it from Sparkfun, I asked for a link to the one you bought and you provided:

So, where did you buy it?

The reason for the question is if you didn't buy a genuine Arduino, it is necessary to understand what you actually have before proper help can be given.  Generally, people aren't tripped up on the "where did you buy it" question.  A picture of one that "looks like mine" isn't good enough.  You might not notice the differences, but experienced users do.

But I will change my question is ACM0 a valid device or do I need USB0?
Yes ACM0 is valid.  Your test was not:

Using the java gui on ACM0 show some noise at 110kbps.
So?  Was there any serial code running on Arduino?  If not, what difference does it make what you saw.  Why 110kps?  If there WAS serial code running on the Arduino, did you set the baud rate to 110kps in the sketch?
3307  Using Arduino / Installation & Troubleshooting / Re: /dev/ttyUSB0 is not created on: April 10, 2012, 09:29:54 pm
Uh.

A weblink to the board you bought.
3308  Using Arduino / Installation & Troubleshooting / Re: Arduino Crashes on Mac OS X 10.7.3 (lion) when uploading to Uno on: April 10, 2012, 09:28:11 pm
Here's a screenshot of my activity monitor.  Does anything look odd?
Screenshot is one way.  I would have just used File -> Save and get a text file.

I closed finder and tried re-programming and got the same crash result.
Yeah, I wasn't suggesting Finder was a problem.  Just pointing out that *everyone* claims "nothing is running in the background", when there is always a bunch of stuff running in the background.  For example, did you know whatever game you installed also runs a background task called "CrossOver CD Helper" on startup?

Is there a way to check my compiler version in the terminal or other things that the Arduino Processing IDE uses?  Maybe I need to update avrdude?  although I'm not sure how.
All of the Arduino tools are included inside of the Application Bundle.  So there really isn't anything to "update" on OSX.  You would just run another instance of the Arduino.app.

I also just reinstalled a fresh Arduino 1.0 for mac version to no success.
What if you try running (because there is no "installing") version 0023?

The only other lead I'm thinking of right now is that I still don't understand why I didn't have that directory which holds the preferences file I mentioned earlier.
Yes you do, it is hidden in Lion.  You can either access it from the Terminal or with Finder selected open "Go -> Go to Folder" and type in that path (/Users/<name>/Library/Arduino)
3309  Using Arduino / Project Guidance / Re: Running out of Sram / program hang. on: April 10, 2012, 07:59:10 pm
If the program hangs for any reason, is it likey cto cause any damage to the chip?
Microcontrollers (and even your computer) very rarely "hangs."  Instead it starts executing code in an unexpected path.

For example, it is possible for unexpected code to start doing unexpected things to an I/O, which would result in damage.  However, the likelyhood is pretty low.  So generally "hanging code" isn't damaging.

Also as a secondary question, id there a maximum number of times the Arduino can be written to? If so could this be causing it to hang?
Yes.  Program memory is rated for 10,000 writes while the EEPROM (different memory space) has a 100,000 limit.

Consider that writes to program memory can't happen faster than you click upload and that process starts, so worst case you are looking at once per minute.  At 10,000 writes, you could corrupt the flash Program Memory in 7 days if you clicked upload once a minute for 24 hours.  (See how unlikely this is?)

Part of the programming memory is to read back the contents as verification.  So if there was a damaged cell, you'd know when the chip was programmed.
3310  Using Arduino / Installation & Troubleshooting / Re: /dev/ttyUSB0 is not created on: April 10, 2012, 07:46:10 pm
Link to the exact board you bought.
3311  Using Arduino / Installation & Troubleshooting / Re: Arduino Crashes on Mac OS X 10.7.3 (lion) when uploading to Uno on: April 10, 2012, 07:45:29 pm
No software running in the background, and yes it can can compile (verify) OK but when I attempt to program it crashes.
Clearly that's not true.  All modern computers have many processes (and Applications) running in the background.  I'm 100% certain you at least have Finder running in the background.

Open up Activity Monitor and look at "All Processes".  I'm pretty sure there is more than just "java" (the IDE) running.

It's up to you, but one option is to post the list of processes to see if anyone can spot something suspect.
3312  Using Arduino / Project Guidance / Re: Bluetooth thing, what to buy and power source questions on: April 10, 2012, 07:41:23 pm
You're going to have a hard time finding a generic module that is ultra low power.  Think about Bluetooth headsets.  Everything in that product is designed specifically for that application.  Off the shelf modules need extra features to appeal to a broader market.  In most cases, those "off the shelf" applications have a relatively large power supply available (key word: relatively).
3313  Community / Bar Sport / Re: Post your code on: April 10, 2012, 07:23:45 pm
Someone should rap this song
Pop Culture FAIL!  smiley

Though, if you think rapping this song is a good idea, maybe we all should just Let It Be...
3314  Using Arduino / Installation & Troubleshooting / Re: Arduino Uno R3 weird problem on: April 10, 2012, 11:19:52 am
Yes, till the board is powered up. But if the board is powered off, meaning there is no power supply to the board, and then powered on again the "ASCII Table" is gone and LED(pin 13) blinking. Is it weird?

Is this an official R3?  This sounds like an old bug that affected the Uno several years ago.  Sounds like your chips have the older bootloader on them.
3315  Using Arduino / Programming Questions / Re: sensor data hangs when going through if/then statements on: April 10, 2012, 11:17:30 am
all understood, and tested prior to fading code. since i want to use the fading code, id hope for a solution or suggestion that I'm missing thats a workaround for this issue.

If the sensor "seems" random with your fading code, it is likely because of all your delays().  It is probably reading correctly, however you (the human) just can't tell when it is actually reading.

You might have to consider spending some time re-structuring your code to use a state-machine with millis() rather than delay().
Pages: 1 ... 219 220 [221] 222 223 ... 411