Loading...
  Show Posts
Pages: [1] 2 3 ... 83
1  International / Español / Re: limitaciones de texto al escribir un archivo en una SD???? SOLUCIONADO on: May 20, 2013, 03:21:52 pm
me alegro. en mi primer proyecto grande yo sufrí 2 o 3 meses volviéndome loco por culpa de que había llenado el Arduino UNO.
2  International / Español / Re: limitaciones de texto al escribir un archivo en una SD???? on: May 19, 2013, 02:01:33 pm
que arduino usas?
prueba la libreria FreeMem y dinos cuanta memoria RAM te queda libre
3  International / Hardware / Re: reparar arduino voltage on: May 18, 2013, 12:42:19 pm
a mi tambien me paso esto, puedes usar con regulador lineal a 5V. Yo tengo el mio metiendole 5V por Vcc, hay gente que no lo recomienda y gente qeu dice que no pasa nada, yo lo tengo funcionando 2 años así y funciona.
Metele 5V al pin 5V y prueba si el resto del arudino va bien.
4  Development / Suggestions for the Arduino Project / Re: Is there a project to improve/replace the official examples? on: May 18, 2013, 12:39:42 pm
Jantje, its a good idea what you propose, and I have several of those TPLink 703, actually I use one of them to convert Wifi to Ethernet for this same project, so I dont have to deal with wifi shields.
however, I wanted to keep all the programing and hacking on the arduino, so that when reproducing this project I dont need to depend also on the hacked router. Also this way I can use a network cable, with my project, or a router in bridge mode, and the sketch does not need to be changed.
however, thanks for the suggestion.

I believe there is a timeout on the upload execution, the disadvantage of this is that you start loosing uploads if things take a little bit longer than expected.
5  International / Español / Re: Comprobar HC-SR04 on: May 18, 2013, 12:20:16 pm
marca el titulo como SOLUCIONADO.
6  Development / Suggestions for the Arduino Project / Re: Is there a project to improve/replace the official examples? on: May 18, 2013, 02:10:02 am
very interesting how all this is coming.
I also measured my loop timing in my projects, however there is one situation I think has no way of improving the timing. Every 10 seconds I upload information to a server on the internet, so I call this...
Code:
// Make a HTTP request:
        Serial.print("Connecting...");
        if (client.connect(server, 80)) {//if (client.connect())
          Serial.print("connected!");
                    client.println(str);
                    client.println();
                    client.println();
                    client.stop();

It takes around 1300ms to finish, have not found a way to improve it, if any of you know how to.
Also when reading DS18B20 you need to do some delays, that also adds nearly a seconds (I only read them every 5 minutos)
7  Development / Suggestions for the Arduino Project / Re: Is there a project to improve/replace the official examples? on: May 17, 2013, 12:19:41 pm
Code:
// ^ is logical XOR,
sp. "^ is bitwise XOR, and potentially unsuitable for use here"

interesting. So its not correctly use? it does work. could you explain AWOL so we all learn from it? thanks

would it be then like this?
Code:
ledState = ~ledState;
8  Development / Suggestions for the Arduino Project / Re: Is there a project to improve/replace the official examples? on: May 17, 2013, 10:53:53 am
I would like to thank you GoForSmoke for that example, I have actually learned quite a bit even from such a short sketch.
I am in the process of trying to start learning how to "optimize" my code. i have big projects but I feel they could be improved by things you mention in your example.

So for example to invert a led I was doing
Code:
digitalWrite(StatusLED_System, !digitalRead(StatusLED_System));
instead of
Code:
// if the LED is off turn it on and vice-versa:
    ledState = ledState ^ 1; // ^ is logical XOR, true if the values are different
    // using logic operations can save a lot of tedious, pain to debug if's
I dont know the actual benefits but the second options sounds like more efficient, dont know why.

I would like to ask you the reason for this changes, the actual improvement it makes, please if you can, give me a hand understanding it.
Quote
changed time variables to be ALL unsigned longs, as they should be.
what are the benefits of defining it as "unsigned" as oppose to just long?

Quote
added UL to numbers being assigned to unsigned longs as should be.
I have never added the "UL", where should it be added? why?

I have used google but im not hitting the right buttons I guess.

Thanks for your help, hope more examples are "optimised" as you just did with this one.
9  International / Proyectos / Re: Ayuda con xbee y pan tilt on: May 13, 2013, 03:52:26 pm
puedes guardarte el tonito para tu vida personal/social o lo que tengas.

aunque existen miles de proyectos con arduino no siempre es posible encontrar justo lo que quieres hacer ya realizado. si fuese verdad que has leido tanto y visto tantos videos sabrias como funciona un xbee, sabrias como funciona un arduino y sabrias como funciona un jostick. por lo que preguntarias algo mas concreto, o habrias empezado a escribir tu codigo y pedirias ayuda con algo que no sabes hacer.

ademas tu mensaje original dices
Quote
Necesitaría ayuda de como configurar los dos XBee para que entre ellos se entiendan

si no has encontrado en google y youtube como hacer esto, deja el arduino a un lado y empieza con internet ABC. ves yo tambien se !
10  International / Proyectos / Re: Ayuda Con Proyecto: Hexapodo 12 Servos on: May 12, 2013, 12:23:18 pm
que has buscado que no encuentras nada?
11  International / Proyectos / Re: Ayuda con xbee y pan tilt on: May 12, 2013, 12:22:47 pm
pues la verdad es que ponerse a explicar todo aquí seria repetirse. En google hay muchos tutoriales y en youtube puedes ver como se hace tambien.
12  Using Arduino / Project Guidance / Re: Ardutester - Arduino Component Tester on: May 12, 2013, 11:26:15 am
you are creating an amazing tool, keep it up!
13  International / Español / Re: Medidor de energía eléctrica on: May 10, 2013, 12:56:11 pm
 smiley-cry jajaja
14  International / Español / Re: Medidor de energía eléctrica on: May 10, 2013, 06:17:43 am
tu eres el que me hace perder el tiempo a mi ! no ves que nadie mas te contesta porque tu aportación es NULA.

Ale que te ayude otro.

Dices que no sabes donde buscar y te digo donde puedes comprar todo, luego dices que no sabes que buscar y tu mismo me dices donde esta el anexo donde pone lo que necesitas buscar.

haztelo mirar.

pd. acabo de ver que esta alojado en megaupload por lo que no puedes ver el listado. Si hubieses sino menos ahorrador en tus palabras podrias haber indicado esto tambien. ahora ya me he cansado, que te ayude otro.
15  International / Español / Re: Medidor de energía eléctrica on: May 08, 2013, 02:22:58 pm
tu eres el que pregunta donde encontrar "el resto del material". tu sabras a que te referias o que es lo que necesitas. le pones pocas ganas y nadie va a hacer el trabajo por ti.
Pages: [1] 2 3 ... 83