Show Posts
Pages: 1 ... 28 29 [30]
436  Using Arduino / Installation & Troubleshooting / Re: WOW! You're gonna love this UNO !!!....or not. on: February 10, 2013, 12:46:09 pm
Amazing. I own an entry level Nikon DSLR (D3100) with wired remote only, so my options are probably limited unless I find (and understand) the schematics, but I can see the potential of using strobes and delays.
437  Using Arduino / Installation & Troubleshooting / Re: Arduino 1.0.3. and MacOSX 10.6.8 and WIRING 1.0 on: February 10, 2013, 10:34:30 am
Well, I should have specified my "typographical conventions" smiley. Leaving out the excess stuff,

you typed: which dirname
and the system responded: /usr/bin/dirname
good

you typed: ls -l /usr/bin/dirname
and the system responded: -r-xr-xr-x@ 1 root  wheel  0 18 Mai  2009 /usr/bin/dirname
not good

The first part of the answer, -r-xr-xr-x@, are the file permissions. The @ sign means there are extended attributes, which is unusual for a system command. Also, it seems to have zero length (the 0 after wheel).

First, let's confirm that dirname doesn't work:

dirname /Applications/Arduino.app

The system should respond with /Applications, but I expect it won't.

ls -l@ /usr/bin/dirname

then

xattr /usr/bin/dirname

I don't know, however, what to expect.

Maybe the original file was replaced by a different one and the system is protecting you agains possible fakes. And maybe there are other system files in the same state. Maybe you should perform a full system check, or restore the OS straight away, but here I'm more a linux than a Mac person and don't know what would be best.
438  Using Arduino / Audio / Re: Tone, pitch, etc with Arduino Sound Sensor (537473) on: February 10, 2013, 03:04:25 am
I'm also perplexed (schematics notwithstanding) about the differences between the two products/links from electricheap and dfrobots, they look very similar to me. I think I found the link to the manufacturer, not very informative I'm afraid but with larger pictures.

http://item.taobao.com/item.htm?spm=a1z10.3.w7504506493.3.0QqHPb&id=13338760752

A question: shouldn't pitch detection be performed in the ADC? Assuming that the output of the external device is just an amplified signal (unfiltered), roughly corresponding to the output of the mic, in order to get the pitch one needs to sample the signal.

Then, shame on me, I don't know how many samples would be necessary to detect, say, a 440Hz frequency with good approximation, it's a very simple calculation but I don't remember the parameters to be factored in. But if, let's say, we needed just 880 samples / second, it would probably be within the reach of a program running on an Arduino.
439  Using Arduino / Installation & Troubleshooting / Re: WOW! You're gonna love this UNO !!!....or not. on: February 10, 2013, 01:24:56 am
Nice shot!
Btw, it looks nearly identical to MY board (from an official distributor, came with box and stickers), which in turn looks nearly identical to the model on this page. But they all differ in some details, e.g. the "501K" component below the USB port is different in the three models. Mine also has some microscopic number written on the rear, upper right corner, which could be the key explaining the difference, but I don't have a magnifying glass at hand.
440  Using Arduino / Installation & Troubleshooting / Re: WOW! You're gonna love this UNO !!!....or not. on: February 08, 2013, 11:59:42 pm
The image posted by Denbo looks more like a R2 clone - no SDA and SCL pins. If this is true of Learning's board as well, then it's not only not genuine, it is also not a R3.
441  Using Arduino / Installation & Troubleshooting / Re: Arduino 1.0.3. and MacOSX 10.6.8 and WIRING 1.0 on: February 08, 2013, 06:29:10 pm
That looks ok to me... which means I have no idea why it wouldn't work.

I think there may be something wrong with the dirname command (invoked by the compilation script). Try open a terminal:

which dirname
    /usr/bin/dirname

ls -l /usr/bin/dirname
    -r-xr-xr-x  1 root  wheel  50688 27 Gen  2010 /usr/bin/dirname

dirname /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/
    /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr


(dirname chops the last part of the path)
If you get something different, maybe an error, then you may have a problem with the PATH. Another command from the terminal:

echo $PATH

and look if the answer contains something like :/usr/bin:
442  Using Arduino / Installation & Troubleshooting / Re: Arduino 1.0.3. and MacOSX 10.6.8 and WIRING 1.0 on: February 08, 2013, 01:42:09 pm
Apparently the error is due a to a missing file:

/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr-4/bin/g++

This file is included in the arduino-1.0.3-macosx.zip package, so it seems there was an error when Arduino.app was moved to the /Applications folder. Perhaps you had a previous installation under a different user account and not enough rights to overwrite it. Or maybe there are subtle settings that modify file permissions during a copy or move operation.

You can use the Finder to check whether the file is there, or open the terminal and type:

ls -l /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/avr-4/bin/

If you see a row like this:

-rwxr-xr-x  1 some-account-name staff 408672 13 Dic  2008 g++

then the file is there, the permissions are ok, and I have no idea why it wouldn't work. If some-account-name is your account then you also have the permissions to overwrite it. So I hope you see something different.

By the way, I think that James's advice can be translated - more or less - into: unzip the arduino package in the same directory where you downloaded it, run it from that directory (without moving it to the Applications folder), then if it works move it somewhere else of your choice.

That is:
1. open the Finder and go to your download directory;
2. double click arduino-1.0.3-macosx.zip; this should create a new Arduino icon (or Arduino2 if you have done it previously - but better delete any previous version);
3. double click the Arduino icon just created, acknowledge the warning and see if it works.

If it does work, you can use the Finder to move the icon somewhere else. If you move it within your home directory you shouldn't have any permission problems, and then you may create a link to that folder into your desktop for easy access. You may also try to move it into the Applications folder, again, but before doing that be sure to manually delete the existing Arduino icon in the Applications folder.
Pages: 1 ... 28 29 [30]