domingo, 6 de enero de 2013

Arduino by Davis: “Re: Non riesco a leggere una stringa da seriale ..... l'ennesima richiesta!!!!” plus 19 more

Arduino by Davis: “Re: Non riesco a leggere una stringa da seriale ..... l'ennesima richiesta!!!!” plus 19 more

Link to Arduino by Davis

Re: Non riesco a leggere una stringa da seriale ..... l'ennesima richiesta!!!!

Posted: 06 Jan 2013 01:55 AM PST

PS:
ricordati che la seriale ha un buffer in ricezione dove vengono memorizzati i caratteri che arrivano e da cui la Serial.read() va a pescare. Se non ci trova nulla può darsi che esca prima del dovuto.

Altra cosa curiosa è che della stringa
abcde-fgh...

Re: Luftdrucksensor für Arduino

Posted: 06 Jan 2013 01:51 AM PST

Quote
Im Datenblatt wird für die Umrechnung 0.018 verwendet und nicht 0.0018
Der im datenblatt genannte wert rechnet in kPa um, aber ich brauche es mbar ,also habe ich eine null rangehängt.

Quote
Hängen die Relais an den gleichen 5V ?
...

Re: mi servirebbe un pin in più!

Posted: 06 Jan 2013 01:49 AM PST

A quel punto passa dalla UNO alla MEGA e risolve tutti i problemi futuri.  smiley-mr-green
"Ti piace vincere facile" smiley-wink

Re: Tranformateur 9V 2A - arduino mega ?

Posted: 06 Jan 2013 01:49 AM PST

Si ton transfo sort 9 Volts alternatif et que tu utilises un pont de diode en redressement double alternance en théorie tu disposera d'une tension continue de :

Vcont = 2*Vmax/PI
avec Vmax = Veff*Racine(2)
voir : http://fr.wikipedia.org/wiki...

Re: Non riesco a leggere una stringa da seriale ..... l'ennesima richiesta!!!!

Posted: 06 Jan 2013 01:48 AM PST

A parte che il codice è scritto un po' male.... si mette in genere una istruzione per riga, la "riga" che tu elimini in realtà sono più istruzioni.... poi gli spazi tra la fine di una istruzione ed il ";" di fine riga proprio non si possono vedere  :sm...

Re: OSX 10.8 - Arduino Due - Serial ports not showing

Posted: 06 Jan 2013 01:05 AM PST

Hi, thanks for your replies!

@westfw
Okay thanks for clearing that up about the FTDI drivers. I was looking for /dev/*usbmodem* but unfortunately I couldn't find anything. And I think I have the right port (It says programming underneath it?). I though...

Re: Hardware architecture for UDP in WIFI

Posted: 06 Jan 2013 01:02 AM PST

The driver for the wifi interface shouldn't be involved in layer 4... why would implementation of UDP be any different for this board versus any other ethernet adapter?[/qu...

Re: Combining Codes

Posted: 06 Jan 2013 01:01 AM PST

I want to take the first code which powers a LED on PIN 8 depending on input from a photocell.

I want to use the photocell, but I want to use it to run the RGB LED in the second code, and not the LED that was on PIN 8 in the first code.

The RGB LED is ...

Re: totaling gyro reading

Posted: 06 Jan 2013 01:00 AM PST

Which variables hold the + and - x values ?

There only seems to be one x value from the accelerometer (ax) and one from the gyro (gx).  Where do the 2 values that you wish to sum come from ?

Re: fried my uno (whoops) fix.?

Posted: 06 Jan 2013 12:58 AM PST

What do you mean the scope had a fault, that's now fixed. That sounds like
very low probability.

It is a very old scope (mostly vacuum tube).
One of the inco...

Re: What is the code for making a text flash on LCD screen?

Posted: 06 Jan 2013 12:35 AM PST

Have a look at this for some ideas

[code]#include <LiquidCrystal.h>
LiquidCrystal lcd(2, 3, 4, 5, 6, 7);

void setup()
{
  lcd.begin(16, 2); 
  lcd.setCursor(0,0);
  lcd.print("line 1");
  lcd.setCursor(0,1);
  lcd.print("line 2");
}

void loop()
{
  f...

Re: totaling gyro reading

Posted: 06 Jan 2013 12:35 AM PST

Re: Tranformateur 9V 2A - arduino mega ?

Posted: 06 Jan 2013 12:35 AM PST

merci de ta réponse !
je suis informaticien et je débute en électricité / électronique.
Je ne devrais pas avoir de mal a "pisser" les lignes de codes de l'arduino quand au reste j'apprend smiley-wink
et depuis une semaine j'en ai plein le cerveau ( qui fume  :s...

IP not getting set on Ethernet Shield

Posted: 06 Jan 2013 12:34 AM PST

I just brought an Arduino Ethernet Shield . I was trying to connect the Ethernet Shield to my University's LAN network .
So I set the ip,mac,subnet mask and gateway as required.
But now when I print the LocalIP on the serial monitor I get 0.0.0.0
I als...

Re: uso particolare 7805 - data logger per auto

Posted: 06 Jan 2013 12:34 AM PST

Fondamentalmente, stando le cose come dici, dovrebbe bastare usare uno di quei diodi specifici per AT da mettere al posto del tratto che unisce l'anodo dello zener ed il ramo negativo del circuito; ricordo di aver visto schemi in cui tutti i rami di al...

Re: Lanc Controller with Arduino...

Posted: 06 Jan 2013 12:04 AM PST

DC42 -
That worked perfect! I was able to build out my code to emulate a video camera. I'm printing out the commands from the lanc controller like a champ. It's great how simple the circuit works using a single line! Thanks a million for the help!

I d...

Re: Combining Codes

Posted: 06 Jan 2013 12:01 AM PST

Does this work?

[code]int sensorPin = 0;             // select the input pin for the photocell
int sensorValue = 0;           // variable to store the value coming from the photocell
int LEDpin = 8;   
int redpin=9;      //Pin 9
int greenpin=10;    //Pin 10
int blue...

Re: What is the code for making a text flash on LCD screen?

Posted: 05 Jan 2013 11:59 PM PST

Something like this maybe ?
Code:
#include <LiquidCrystal.h>
LiquidCrystal lcd(2, 3, 4, 5, 6, 7);

void setup()
{
  lcd.begin(16, 2);
}

void loop()
{
  lcd.print("Some text");
  delay(500);
  lcd.clear();
  delay(500);
}

Re: Combining Codes

Posted: 05 Jan 2013 11:57 PM PST

I want the code to go through the RGB LED colors as it does in the second code, but I only want it to do it when the photocell senses no light, as in the first code.

I don't have any code right now because I tried so many things it got all messed up.

I...

Re: 2 servos (or any functions) operating simultaneously?

Posted: 05 Jan 2013 11:54 PM PST

You may need to look at just what PROGMEM does and how it works, and see if it supports the way you are trying to use it.

No hay comentarios:

Publicar un comentario