Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
Thanks ! I have never had any exposure to MIDI and know nothing about it. It sounds like just the ticket !
That project link is awesome ! WOW !
22
I have only a slow answer  :smiley-confuse:

The pointer to the string is set to position 6.
"&rxData[0]" is the same as "rxData", and "&rxData[6]" is a pointer to halfway in the string.

For the other parameters, find the reference:
http://www.nongnu.org/avr-libc/user-manual/group__avr__stdlib.html
http://www.atmel.com/webdoc/AVRLibcReferenceManual/group__avr__stdlib_1gaf8ce3b8dae3d45c34c3b172de503f7b3.html

The second parameter is the end pointer. It will be set to the position in the string where the strtol has stopped.
"If endptr is not NULL, strtol() stores the address of the first invalid character in *endptr.".
Instead of "NULL", a value of "0" is used. It is the same, but it is not nice to do so.

The third parameter is the base. A value of 16 is for an hexadecimal conversion.

This is the same : vehicleSpeed = strtol ( rxData + 6, NULL, 16);
23
Project Guidance / Re: please help for Christmas
Last post by fifajuly111 - Today at 04:23 am
If you are a accurate bold lover, you ability accept absolutely heard about FIFA and apperceive that amateur of Fifa 15 Coins this brand can acquiesce you to accept a aggregation of your own to play football. This would acquiesce you to win the tournaments if you accept the appropriate affectionate of aggregation that would be able abundant to win all amateur beneath your able management.  http://www.imfifa.com/
24
Proyectos / Re: robot que busca estación d...
Last post by surbyte - Today at 04:21 am
pero... ya resolvimos la posicion? jajaja ya te pones a pensar en la carga sin poder llegar hasta el enchufe.
25
(*) I'm modding a wheelchair and my first thought was to keep it as simple as possible and emulate the signal from the wheelchair joystick (6 V = neutral, 7V = full forward, 5 V = full backwards).
Can I assume from that, that about 6.5 volts will give half speed forward, etc.?
If so, then the joystick is operating a potentiometer. Could you emulate that by using a similar pot driven by a servo?
If the joystick is just activating switches, you could emulate it with a couple of relays or transistors, depending on the current drawn, and voltage dividers
Get your Gnd  and 10V from the electronics already present in the wheelchair.
26
Project Guidance / Re: Arduino Digital Piano
Last post by CrossRoads - Today at 04:20 am
Yes, daisy chain them.
Be sure to have 0.1uF cap to Gnd on Each shift register's power pin.
27
Proyectos / Re: Domotica Aire Acondicionad...
Last post by surbyte - Today at 04:19 am
los códigos van con tags. Por favor edita
28
Project Guidance / Re: Arduino Digital Piano
Last post by CrossRoads - Today at 04:19 am
HC595 is an output device.
You need a parallel load, serial output device, such as 74CH165
http://www.digikey.com/product-search/en?vendor=0&keywords=74hc165

Code to read them all in is easy:
Code: [Select]

digitalWrite (loadPin, LOW);
digitalWrite (loadPin, HIGH);
dataIn[0] = SPI.transfer(dummyByte); // dummyByte goes out on MOSI while data is read on MISO
dataIn[1] = SPI.transfer(dummyByte);
dataIn[2] = SPI.transfer(dummyByte);
dataIn[3] = SPI.transfer(dummyByte);
dataIn[4] = SPI.transfer(dummyByte);
dataIn[5] = SPI.transfer(dummyByte);
dataIn[6] = SPI.transfer(dummyByte);
dataIn[7] = SPI.transfer(dummyByte);
29
The picture of just the Uno looks like it could be an Uno R3 that is genuine.  The picture of the entire kit looks like it's showing an original Uno.  They both at least look genuine from the pictures.

Here are tips that can help identify a non-genuine Arduino.

http://arduino.cc/en/Products/Counterfeit


I'm sure I'll get some heat for saying this, but .....

That being said, just because a board is not a genuine Arduino doesn't necessarily mean it is garbage and will not work.  Since the platform is open-source anyone can make a board based on the Arduino as long as none of the Arduino TM material is used.

I've used both (as in genuine and "based on Arduino") and besides the obviously different 501 K located next to the voltage regulator (Arduino gets theirs specially made in gold/ black where most others are green off the shelf), different logos, and color schemes the boards operate exactly the same and I've had no failures.

What you do want to stay away from is a board that is not a genuine Arduino yet still have all of the Arduino logos and such on them and are not being sold by an official distributor (normally for much lower cost than a genuine Arduino).  This is what is considered counterfeit and should be avoided as it encourages the theft of the Arduion TM material.

{:0)

Brandon
30
Project Guidance / Re: Arduino power management a...
Last post by LarryD - Today at 04:17 am
Nick has done the work here:
http://www.gammon.com.au/forum/?id=11497
Pages: 1 2 [3] 4 5 ... 10