Show Posts
Pages: [1]
1  International / Software / Re: Arduino UNO Rev3 - Comunicación Serial on: May 24, 2014, 11:53:41 am

Muchas gracias por tu respuesta!!
Por supuesto que no he descubierto el problema, justamente por eso preg alguien debía saber cómo hacer jeje =P
Veo la librería que me has dado,


2  Using Arduino / Networking, Protocols, and Devices / Arduino UNO Rev3 - Serial Comunication on: May 23, 2014, 01:40:33 pm


I'm working with Arduino UNO ad Matlab, i have to send some information from a user interface to the Arduino and i do it using USB.
The thing is that i have to tell it 2 diferent things: for example, i have to light a led and set the time that it'll be on, but that time is fixed by the user. I have no problem to send a char that set the led on, but i have no idea how can i do for sending 2 diferent comands and read it from the arduino.

Sorry my english.


3  International / Software / Arduino UNO Rev3 - Comunicación Serial on: May 22, 2014, 07:50:29 pm


cómo andan?? espero que bien.. les vengo con una duda..

Resulta que quiero conectar por medio de USB, utilizando Matlab, mi arduino uno, y para la aplicación que necesito hacer, necesito poder enviar desde matlab información y que el arduino haga X funcion...

Ahora bien.. supongamos que quiero encender y apagar un led, sencillamente mando un caracter para encender o apagar el led, pero cómo puedo hacer para enviarle más información?? Por ejemplo, si quiero setear el tiempo en que permanece encendido el led, y a su vez enviarle un caracter diciendo cuando se deberia prender...

Alguien me puede ayudar??

Muchísimas gracias!!
4  Using Arduino / LEDs and Multiplexing / LED Flicker on: August 28, 2013, 11:36:22 pm

how r u?? I hope fine!! I think that it is simple the answer to my question but i am not sure how to do it lol!!

I have to make a visual stimullator with 4 arrays LEDs ech one with different frequency of flicker, specific frequency.
My idea is to use the Arduino's clock (I have Arduino Lenardo) but i have no clue how to use it.

I need to command 4 arrays LEDs (12hz, 14hz, 16hz, and 18hz)

Can anybody help me pls??

Thx a lot!!

5  Using Arduino / Project Guidance / Re: Arduino + XbeeShield + Wifly Rn-XV on: December 20, 2012, 01:52:27 pm


thx! for answer me!! =)

The communications pins for the serial comms are specified in the jumper blocks that are explained on page 3 of the PDF you've linked to for the XbeeShield.

Yes, I know that.. the thing is that i don't know how to make it on code, because when i want to use the SoftwareSerial library, it doesn't work, for example, I tried to implement the Arduino example... and this is what happened:

#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup() 
  // Open serial communications and wait for port to open:
  while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only
  Serial.println("Goodnight moon!");

  // set the data rate for the SoftwareSerial port
  mySerial.println("Hello, world?");
void loop() // run over and over
  if (mySerial.available())
  if (Serial.available())

C:\...\arduino-1.0.3-windows\arduino-1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'void SoftwareSerial::begin(long int)':
C:\...\arduino-1.0.3-windows\arduino-1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:399: error: 'digitalPinToPCICR' was not declared in this scope
C:\...\arduino-1.0.3-windows\arduino-1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:401: error: 'digitalPinToPCICRbit' was not declared in this scope
C:\...\arduino-1.0.3-windows\arduino-1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:402: error: 'digitalPinToPCMSK' was not declared in this scope
C:\...\arduino-1.0.3-windows\arduino-1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:402: error: 'digitalPinToPCMSKbit' was not declared in this scope
C:\...\arduino-1.0.3-windows\arduino-1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp: In member function 'void SoftwareSerial::end()':
C:\...\arduino-1.0.3-windows\arduino-1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:417: error: 'digitalPinToPCMSK' was not declared in this scope
C:\...\arduino-1.0.3-windows\arduino-1.0.3\libraries\SoftwareSerial\SoftwareSerial.cpp:418: error: 'digitalPinToPCMSKbit' was not declared in this scope

Is there a reason you need to run IDE 0.22?

No, i can use whatever IDE i want... in fact in the example I use the lastest version.

My problem is that i have some troubles with the soft, and the code... i have no idea how to do to see in the serial monitor what happens with the WiFly Shield... that kind of errors aren't the only errors that the IDE showed... it showed me errors inside the libraries, wich i have no idea why...

In this website is my robot with its characteristics:

I hope that u can help me with my problem...

If u don't understand me jet, ask me again and i'll explain u from the beggining..

Thx!!!!!!! =)

Cheers!! Fabri.
6  Using Arduino / Project Guidance / Arduino + XbeeShield + Wifly Rn-XV on: December 10, 2012, 02:10:52 pm
Hi everyone!!

I'm working in a project which the main porpouse is to control a mini car robot wireless with wifi from my computer. I'm working with Duinobot board wich is a modification of Arduino UNO board (is kinda the same) and i'm using Arduino 0022 soft; i have also an XbeeShield V1.0 ( and the Wifly Rn-XV.

I want to send from my computer commands to the wifly and then the wifly should comunicate with the board. I know that there are some troubles with the serial ports, i think that is the same that use the board to comunicate with the usb, and the shield to comunicate with the board.

So, I think that my problem is with the jumpers, i don't know how to change the digital pins, and make it on code.

Can somebody help me??

7  International / Español / Shield Xbee V1.0 + Wifly RN-XV on: December 10, 2012, 12:14:09 pm

Como andan?? Les escribo porque estoy bastante estancado con mi proyecto. Resulta que quiero comandar un autito por medio de wifi. Para eso cuento con una placa arduino (de hecho un Duinobot, que es una modificación del arduino UNO), un Xbee Shield V1.0, y un módulo WiFly RN-XV.
Mi problema es comunicar por medio de los puertos serie el conjunto, es decir que la placa reciba por puerto serie lo que al wifly le llegue.
Primeramente no tengo ningun código hecho, porque todos los que he probado no me han funcionado, ya que si bien tengo entendido, los puertos series estan ocupados por lo que cuando me quiero conectar desde el monitor serial con el wifly no me deja..

Sé que tengo que hacer algo con los jumpers, pero no se que, jaja... alguien me puede ayudar con esto??...
Muchisimas gracias.
Pages: [1]