Show Posts
Pages: 1 ... 50 51 [52] 53 54 ... 84
766  Using Arduino / Programming Questions / Re: any tutorials on this? on: January 24, 2013, 07:28:53 pm
3 are already mentioned. The other 2 are Gnd and Vcc, not much imagination required here.

The other 5 pins are the same and they are the output side (DOUT is the opposite of DIN). These modules can be daisy chained. If you wanted to add the second or more modules you connect the 'output' of one board to the 'input' of another.
767  Using Arduino / Storage / Re: SdFat seek() and position() functions? on: January 24, 2013, 07:13:59 pm
Either use one library or the other.

My choice is for sdfat as it is more stable and gerenrally works faster.

The functions you are looking for exist and are very well documented in the sdfat documentation.
768  Using Arduino / Programming Questions / Re: Libraries in Arduino!!! on: January 24, 2013, 05:27:45 am
New libraries that you want to add should be placed in a libraries subfolder in the sketchbook folder.
769  Using Arduino / Storage / Re: Arduino SD library, SD.begin and ejecting the card on: January 23, 2013, 04:29:55 am
Have you tried to run an experiment like ejecting a crd many times to see if it all still works?

You could also look at the library to see what begin actually does and decide if you need to call it for each ejection.
770  Using Arduino / Audio / Re: UNO + Olimex Midi Shield on: January 23, 2013, 03:45:23 am
Fair enough. It must be frustrating.

It is not hard to make your own if you have a soldering iron. I made one that works pretty well. If you are interested, go to the libraries in my footer, look at the midi library and in the main library header file is a reference to a site that has a good circuit that you can build as is or onto a shield.

Good luck.
771  Using Arduino / Audio / Re: UNO + Olimex Midi Shield on: January 22, 2013, 11:14:45 pm
I just looked up your cable type and assume it is this one http://www.roland.com/products/en/UM-ONE/.

This cable has indicators on the cable to indicate IN and OUT traffic on the cable?
772  Using Arduino / Audio / Re: UNO + Olimex Midi Shield on: January 22, 2013, 09:43:53 pm
Quote
The LED isn't hooked up to the MIDI OUT

If it follows the standard your MIDI OUT is connected to an optocoupler on the MIDI IN side. There should be something in the middle of the cable you have that is MIDI to USB converter. So it is driving that optocoupler.
773  Using Arduino / Audio / Re: UNO + Olimex Midi Shield on: January 22, 2013, 08:15:14 pm
The current should drive an optocoupler (effectively a LED), so in my opinion the 0.5mA is not going to make a big difference to how the LED lights up in the coupler.

Have you checked that the opposite (ie, sending 0xff continuous) gives a current that is at least close to 0mA? That couls also be a problem as the LED would stay at lkeast partially lit.

One other thing that may be worth doing is cheking the specs on the Roland cable to see what is expected there. You may have done this already but there is not info on these posts.
774  Using Arduino / Audio / Re: UNO + Olimex Midi Shield on: January 22, 2013, 07:10:04 pm
The current on the LED pins will depend on the LED and the resistors you have put in the circuit, so you can calculate based on theory and see if it is close.

The current on D1 should be the MIDI serial interface.
775  Using Arduino / Audio / Re: UNO + Olimex Midi Shield on: January 22, 2013, 03:58:37 pm
Not sure what you mean by the 'rest state', but the '0' or 'off' signal is 5mA (which is not 'off' at all, but that is the way the hardware standard is defined), sort of inverse logic. I am sure there are good electrical/comms reasons to define it that way, but I don't know whatthey are.
776  Using Arduino / Displays / Re: UTFT Ver 2.0 on: January 22, 2013, 02:52:46 am
At http://www.henningkarlsen.com/electronics/
777  Using Arduino / Programming Questions / Re: What does -> mean? on: January 22, 2013, 02:44:13 am
Think of
Code:
this->that
as being this 'pointing to' that.
778  Using Arduino / Audio / Re: UNO + Olimex Midi Shield on: January 22, 2013, 02:10:01 am
You can try sending a stream of 0 bytes out the port to measure the current. 0 is defined as 5 mA according to the article.
779  Using Arduino / Programming Questions / Re: MIDI Shield buttons on: January 21, 2013, 06:03:49 pm
Quote
I would think that it would change to zero if I pushed the button.

So press the button and see what it does!
780  Using Arduino / Storage / Re: Creating a file name from GPS date for SD Card on: January 21, 2013, 05:50:24 pm
Declare fileName as an array of characters and then
Code:
sprintf(fileName, "%02d_%02d_%02d.csv", GPS.day, GPS.month, GPS.year);

Better still would be to use a format like
Code:
sprintf(fileName, "%02d%02d%02d.csv", GPS.year, GPS.month, GPS.day);
because it sorts the files in ascending order when listed rather than day of the month (not too usefule when you have lots of months).
Pages: 1 ... 50 51 [52] 53 54 ... 84