Show Posts
Pages: 1 2 3 [4] 5 6 ... 40
46  Using Arduino / Sensors / Re: PS2_Mouse on: November 08, 2012, 01:47:48 am
Hi!

Eigentlich ist Englisch die Forums-Sprache, glaub' ich...  smiley

Hast Du ne Zeichnung von der Schaltung? Fotos?

Zur Not kann man sich mit dem PS/2 Protokoll vertraut machen und das Programm selbst schreiben...
http://de.wikipedia.org/wiki/PS/2-Schnittstelle#Elektrische_Schnittstelle

Bye
47  Using Arduino / Sensors / Re: Ohm Meter Issue on: November 08, 2012, 01:44:02 am
then u can just use analogRead()..
when it reads 0 no removable station is connected...
when it reads x (x>0) then a removable station with resistance Rremo=(Vref-Vsen)/Isen (where Vsen=(x*Vref)/1024 and Isen=Vsen/(10kR))...

u can configure Vref via this:
http://arduino.cc/en/Reference/AnalogReference?from=Reference.AREF
48  Using Arduino / Sensors / Re: Ohm Meter Issue on: November 07, 2012, 06:06:34 pm
I don't understand, I do have a common ground, don't I? The right hand side of my diagram?

oh - ok... i wasnt sure...
so there is a low resistance connection between arduino's ground and that removable object's ground?
49  Using Arduino / Sensors / Re: Ohm Meter Issue on: November 07, 2012, 01:14:24 pm
u need a common ground...
i mean: the removable station and the base station must share the same ground potential...
so u need 2 tiles or so...
50  Using Arduino / Sensors / Re: Capture module (pin) in Arduino like a PICs CCP input (manchester decode) on: November 07, 2012, 01:28:23 am
do u mean interrupt routines?
http://arduino.cc/en/Reference/AttachInterrupt
51  Using Arduino / Sensors / Re: ACS758 current sensor on: November 06, 2012, 01:11:33 am
530*1LSB @Vref=5V corresponds to 2.588V, wich corresponds to 4.395A...
I think that is the normal accuracy at that sensitivity...
have u read the datasheet regarding accuracy?

what happens when u use different currents?
like 1A, 2A, 0A, -1A, -2A?
the value for 0A seems to drift inspite of self-calibration on my ACS7xx-s...

r u sure that Vref is 5V?

did u get the current direction right?
there is IP+ and IP-...

Quote
Code:
Amp = (512-analogRead (0))*vcc/1024/0.02-0.02
why do u subtract "-0.02" in ur formula?
52  Using Arduino / Sensors / Re: ACS712 Current sensor and Mega 2560 on: November 03, 2012, 12:46:42 am
http://arduino.cc/forum/index.php/topic,125280.html ?
53  Using Arduino / Sensors / Re: Braking lights of a car can send info to cars behind on: October 28, 2012, 04:14:18 pm
i heard of a funny mobile LAN...
each car has a RF receiver+transmitter...
and each car works as a router...
a car that is close to a stationary "hotspot" can inject traffic to/from network nodes that r no nearby cars... smiley

this could easily do what u invented...

i think a blinking red light (even if it blinks very fast and with high duty cycle) is darker than a non blinking light...
54  Using Arduino / Sensors / Re: LM35 detection range on: October 28, 2012, 12:23:37 am
the output of the LM35 is influenced by various effects:
1. inaccuracy of the internal parts
2. other non-ideal properties of the internal circuit of the LM35
3. incoming heat radiation
4. outgoing heat radiation
5. heat convection
6. heat conduction
7. self heating
8. maybe others that i forgot or dont know...  smiley

if u have a strong heat source (like an open fire), the range of the LM35 might b some meters...
But normally influences #5 and #6 should b the most important... and that range is just the surface... zero meters i would say...
maybe influence #5 can have some range, if the air stream comes from some distance...  smiley
55  Using Arduino / Sensors / Re: Using CST-1020 on: October 21, 2012, 02:37:09 pm
welcome back Nuno!  smiley

According to the datasheet (page 12 of 56, figure 22) a voltage divider is a good idea...
but use sufficiently big resistors, so that u dont waste more energy than necessary...
they say 600kR+1kR is good for 110V...
for 240V u can use 1MR+1kR, i guess...
maybe u need to adapt the capacitor?
maybe u can just omit the capacitor (just in case ur load distorts the voltage...)?  smiley-wink

i dont know why they use transformers so often in this forum...
a voltage divider seems to more natural and easier...
maybe it is about isolation... if u use a voltage divider the meter has to share the ground/neutral line...
56  Using Arduino / Sensors / Re: temperature reading not stable: please help! on: October 19, 2012, 11:24:50 am
i read here before that it might b a good idea to throw away the first reading after an ADMUX change...
the datasheet doesnt say it, but maybe it helps?

what if u do it like this:
Code:
void loop()
{
  analogRead(inPin0);
  int value0 = analogRead(inPin0);
  float millivolts = (value0 / 1024.0) * 5000;
[...]
57  Using Arduino / Sensors / Re: Compass Sensor Library with ATtiny on: October 18, 2012, 06:37:57 am
the ATtiny13 cant do that itself...
u had to do it with ur own routins...

the ATtiny[248]5 can possibly do it with its USI things... but i'm not sure...

in each case the lib needs some work if u want to port it to ATtiny...
58  Using Arduino / Sensors / Re: Uno Internal Temperature Sensor on: October 15, 2012, 02:31:10 pm
So first question is what is it that you are expecting to be measuring with the sensor and what will you do with the information from it?
I like to use it for emergency shutdown:
when it is higher than 350K (or so) it pulls down the alarm line... smiley

here it showed up before (search words: internal temperature sensor):
http://arduino.cc/forum/index.php/topic,122103.0.html
59  Using Arduino / Sensors / Re: Measure distances in mm on: October 10, 2012, 01:16:23 pm
it seems to b easy:
1. connect 12V to it...
2. connect wires for the output like this:
GNDsensor-----------------------wire#1-------------------100R(or similar)-----------------------wire#2-------------------OUTPUTsensor
3. calibrate the arduino (i would use the INTERNAL ADC ref, which should give u reproducible results at the same temperature/voltage):
http://arduino.cc/en/Reference/AnalogReference?from=Reference.AREF
60  Using Arduino / Sensors / Re: Measure distances in mm on: October 10, 2012, 08:28:21 am
the specs look good...
the accuracy is much better than u need: 50um...
Pages: 1 2 3 [4] 5 6 ... 40