lunes, 11 de marzo de 2013

Arduino by Davis: “Keyboard control of two dc motors via xbee” plus 19 more

Arduino by Davis: “Keyboard control of two dc motors via xbee” plus 19 more

Link to Arduino by Davis

Keyboard control of two dc motors via xbee

Posted: 11 Mar 2013 02:53 AM PDT

Hi

i want to control two dc motors via xbee, using keyboard,  currently i am able to do this without the help of an xbee, but since i am looking for a wireless control of the robot i need the code to do the following
eg:  'w' moves forward
       'a'...

Re: 5us delay when shifting digital OUTPUT levels

Posted: 11 Mar 2013 02:52 AM PDT

Hi guys, thanks for the helpful hints.
Yes it is definitely being caused by interrupt service routines in the serial library.

So, i need to somehow set up serial comms without using interrupts. o.O

Is that even possible.
The only way i can think of is ...

Re: Yellowjacket + PS2/You LED sign + WiServer = *almost AWESOME* (Out of memory!)

Posted: 11 Mar 2013 02:52 AM PDT

Get rid of every occurrence of the String class in your code. Use C-like character arrays instead.

The String class is not programmed in an embedded-friendly style and therefore clobbers your memory in no time. Additionally the IDEs (at least up to 1.0...

Re: mp3 shield from elechouse - reading command

Posted: 11 Mar 2013 02:49 AM PDT

Based on their example code, you send 4 hex characters over te serial port to the shield and it returns two bytes giving the number of files.

So, something like:

[code]
Serial.write(0x7E);
Serial.write(0x02);
Serial.write(0xC4);
Serial.write(0x7E);
[/c...

Re: Rendere motori sincroni

Posted: 11 Mar 2013 02:49 AM PDT

Grazie per ora sono soddisfatto, adesso tocca a me approfondire l'argomento.  smiley-grin

Re: How to lookup the bluetooth address in surrounding?

Posted: 11 Mar 2013 02:46 AM PDT

You might have to provide at least a link to your module (there are a bunch of them out there and every manufacturer knows best how the user loves to talk to their module). I don't know how *.lib should be related to Arduino, I never seen any file for ...

Re: Confusing issue with my code

Posted: 11 Mar 2013 02:41 AM PDT

Time related variables should be unsigned long, not long.

Time variables and constants should never be added, only subtracted.

60000 is not a int. Append UL to get it handled correctly.

[code]  if (Ethernet.begin(mac) == 9) {
    Serial.println(" FAIL!...

Re: PWM output hi before any command sent??

Posted: 11 Mar 2013 02:40 AM PDT

Connecting an SPI DAC chip to the Arduino is very simple, see attached schematic. You need 3 pins configured as digital outputs.

Re: Controlling multiple servos using a pot via xbee

Posted: 11 Mar 2013 02:40 AM PDT

No, you cannot.
You can send "write" them as separate values, or you can put them in an array, and write out two elements of the array.

Re: PING controlling Multiple LEDs

Posted: 11 Mar 2013 02:39 AM PDT

I can't see why you would have the pinMode() function calls in loop().

Unless you are changing the use of the pins,  you should set them once,  in setup().
Some o...

Re: Amblone (Amblight clone) SoftPWM version issues

Posted: 11 Mar 2013 02:39 AM PDT

Quote
AmbloneSOFT.pde:-1: error: 'b4_current' was not declared in this scope


I'm not sure why because the variables are declared globally I thought?
A really simple way to find out is to look for the disputed variable, using the IDE's "search"...

Re: Controlling multiple servos using a pot via xbee

Posted: 11 Mar 2013 02:38 AM PDT

i have one problem that is i do not know how to do the following in arduino 1.0

Code:
Serial.print(254, BYTE); //SYNC char
Serial.print(val2, BYTE);

as arduino 1.0 does not support BYTE anymore

but i do know i can use

[code]
Serial.write();
[/...

Re: Looking for Feedback on a PCB design

Posted: 11 Mar 2013 01:58 AM PDT

Re: Trying to program a μCAM Serial JPEG Camera w/o using a SD card

Posted: 11 Mar 2013 01:56 AM PDT

oh i see, so is there any possible ways that I can modify the program so that on the serial monitor i can convert 1 byte to hex?

Re: Allgemeine Frage zu RFID 125kHz Reader

Posted: 11 Mar 2013 01:54 AM PDT

Hallo,
erstmal danke @jurs, für den interessanten Code, kam hier aber nicht weiter. Habe im Forum dann folgendes gefunden: http://arduino.cc/forum/index.php/topic,147656.0.html. Nach viel...

Re: Good 6DOF or 9DOF IMU boards?

Posted: 11 Mar 2013 01:54 AM PDT

The problem with using 2 separate devices,   is that you cannot take full advantage of the capability of the
MPU device.   Unless someone has figured out how to do it.
You can "correct" the orientation error of the MPU device using the magnetic field, ...

MOVED: Info Get Post da Server

Posted: 11 Mar 2013 01:53 AM PDT

Re: fans de Arduino en Barcelona o alrededores?¿

Posted: 11 Mar 2013 01:48 AM PDT

Hola a todos, perdón por tardar tanto en reaparecer pero por motivos personales he estado ausente de todo... hay muchas opciones validas, a mi el centro dónde desarrollemos el encuentro me es indiferente, propuse el centro Sant Jordi porque ellos se of...

Re: Communication Série Arduino - Visual Studio "PROJET"

Posted: 11 Mar 2013 01:44 AM PDT

Bonjour Micol, Merci pour ta réponse. Mais mon problème actuel, est que je n'arrive pas à traiter le caractère du côté Pc.

Car j'arrive bien à l'envoyer depuis l'Arduino, en ayant quand même un problème, c'est que sa m'envoie des caractère à la chaine...

Re: Looking for Feedback on a PCB design

Posted: 11 Mar 2013 01:44 AM PDT

I don't know how a company wants a pcb design, but I noticed a few things:
- Under R4 is connection point in the bottom layer. Why under R4, there is lots of open space.
- In the bottom-left corner is the connection circle of the upper layer too close ...

No hay comentarios:

Publicar un comentario