Show Posts
Pages: [1] 2 3 4
1  Using Arduino / Sensors / Re: Sensor MQ7 I dont understand how.... on: April 06, 2014, 12:15:41 pm
I was testing.....there are a problem when I try use PWM for do 1.4 V and take a sample. the pwm make the power current no good and sample is no good too.
It is necesary use a filtred tensión for do it good.
The relation in PPMs and sample value it is very dificult to do.
2  Using Arduino / Sensors / Re: Sensor MQ7 I dont understand how.... on: April 05, 2014, 02:48:13 am
Yes I know this post, I readed all and I dont understand when is the best time for take a simple, when the Volts are 1,4 or 5 V, When is finished the 60 seconds time or when is finished 90 seconds times.
Thank you again
3  Using Arduino / Sensors / Re: Sensor MQ7 I dont understand how.... on: April 03, 2014, 04:22:12 pm
Yes this is datasheet of the sensor but I dont have scheme of the module only of sensor MQ7.
This is datasheet
https://www.sparkfun.com/datasheets/Sensors/Biometric/MQ-7.pdf
I dont need meter the % fuel air, I only need meter CO and no CO2, because the technical Inspection of motorcycles in Spain only test %CO.
This must be less to 0,2%
Thanl you very much
4  Using Arduino / Sensors / Sensor MQ7 I dont understand how.... on: April 03, 2014, 11:04:20 am
I know and I readed many posts about this sensor. MQ7 Co meter.
I buyed one and I test it but I dont understand somethings about how this work.
http://www.ebay.es/itm/181266971723?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649
This one have two output, one digital and one analogic. work with 5V Dc.The board have one operational amplifier LM393 and a led-
When I readed the datasheet of the sensor MQ-7 I think that I must power it with 5VDC for 60 seg and 1,4 V DC for 90 seg.
Well, I dont know when I must read the analogic value.. Is  the OK value  after this time 60+90 seg , in the second 60 seg period? The sensor analog output is real value when power is 1,4V Dc or when it is 5 VDC.
Is the digital pin  low when sensor value is ready for be readed, or what is the use of this digital pin?  When and why is the led ON ?
I found similar sensor circuit board that have only analog output,but I think thats dont work ins similar way.
When can I found a library or example for this circuit board with LM393 and led....?
My last question, how many ppms of CO can I meter with this sensor, 1000ppms or 10000ppms?
I was two days Reading of this sensor and I dont understand, there are many question but I need use one for check my motorcycle, I did a equipement for meter my motorcycle paramenter,vaccum of carburators, presión of tires, batery volts, rpms...and CO meter....but this is my problema for finished the equipment.
Thank you so much  and excuse my bad english.
5  Using Arduino / Sensors / Re: What sensor for meter 75cm/hg vacuum on: February 16, 2014, 08:06:31 pm
I want a vacuum gauge for acceptance of a motorcycle engine to adjust the carburetion of various carburetors each cylinder.
It works by measuring the void that is in the nozzles of admission of the various cylinders and adjusting carbs so they are all equal.
Currently I do it with a meter of mercury column 75cm, so according to my calculations would be 75c cm / hg = 15 psi = 100KPa
What I need is to know which sensor to use VACUUM because these scales have to be 4 different shots at once.
6  Using Arduino / Sensors / What sensor for meter 75cm/hg vacuum on: February 16, 2014, 01:37:42 pm
I need meter 0 to 75cm/hg vacuum. It is 0 to (75*0.193) PSI, is the same
What sensor can I use?
Thank you and sorry for my bad english
7  Using Arduino / Displays / Re: Caracteres Speacial on: July 03, 2013, 07:25:12 am
oK thank you very much now it is working good and I understand all
Thanks you again
8  Using Arduino / Displays / Re: Caracteres Speacial on: June 30, 2013, 11:30:18 am
Thank you again.......I tryed with 1 and 8 and work perfect.
NIce.....
Thanl you again
9  Using Arduino / Displays / Re: Caracteres Speacial on: June 30, 2013, 10:27:28 am
Yes this make code compile good. But I have some questions.

1º.- Why 8 and no 0, I thinked if I make 8 carachters new named   0 to 8
when I call for write in LCD I make lcd.write(4); for example.
Why can I do lcd.write(smiley-cool; and cant do lcd.write(0);
How can I print in my lcd each new special caracteres.

2º.-This example was copy and paste directly of LiquidCrystal Library - Custom Characters from Arduino complirer
Is this arduino example bad?

I only need print in my LCD two caracthers new, one "up arrow" and one "down arrow"

How do I must do this?
I made this in setup

byte up_arrow[8] = {
  B00100,
  B01110,
  B10101,
  B00100,
  B10100,
  B00100,
  B00100,
};

byte down_arrow[8] = {
  B00100,
  B00100,
  B00100,
  B00100,
  B10101,
  B01110,
  B00100,
};

lcd.createChar(0,up_arrow);
lcd.createChar(1,down_arrow);
 
and in my loop I thinked I must print on lcd display with

lcd.write(0);
lcd.write(1);

what is my error?


Thank you again and excuse my bad english
10  Using Arduino / Displays / Caracteres Speacial on: June 30, 2013, 07:04:06 am
I compile example of librarie for use new own caracthers and dont compile because there are one error. Why?
THis is code is one example of library

Error is
Call of overloaded "write(int)" is ambiguous

WHY?
can you help me?
 

/*
  LiquidCrystal Library - Custom Characters
 
 Demonstrates how to add custom characters on an LCD  display. 
 The LiquidCrystal library works with all LCD displays that are
 compatible with the  Hitachi HD44780 driver. There are many of
 them out there, and you can usually tell them by the 16-pin interface.
 
 This sketch prints "I <heart> Arduino!" and a little dancing man
 to the LCD.
 
  The circuit:
 * LCD RS pin to digital pin 12
 * LCD Enable pin to digital pin 11
 * LCD D4 pin to digital pin 5
 * LCD D5 pin to digital pin 4
 * LCD D6 pin to digital pin 3
 * LCD D7 pin to digital pin 2
 * LCD R/W pin to ground
 * 10K potentiometer:
 * ends to +5V and ground
 * wiper to LCD VO pin (pin 3)
 * 10K poterntiometer on pin A0
 
 created21 Mar 2011
 by Tom Igoe
 Based on Adafruit's example at
 https://github.com/adafruit/SPI_VFD/blob/master/examples/createChar/createChar.pde
 
 This example code is in the public domain.
 http://www.arduino.cc/en/Tutorial/LiquidCrystal
 
 Also useful:
 http://icontexto.com/charactercreator/
 
 */

// include the library code:
#include <LiquidCrystal.h>

// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

// make some custom characters:
byte heart[8] = {
  0b00000,
  0b01010,
  0b11111,
  0b11111,
  0b11111,
  0b01110,
  0b00100,
  0b00000
};

byte smiley[8] = {
  0b00000,
  0b00000,
  0b01010,
  0b00000,
  0b00000,
  0b10001,
  0b01110,
  0b00000
};

byte frownie[8] = {
  0b00000,
  0b00000,
  0b01010,
  0b00000,
  0b00000,
  0b00000,
  0b01110,
  0b10001
};

byte armsDown[8] = {
  0b00100,
  0b01010,
  0b00100,
  0b00100,
  0b01110,
  0b10101,
  0b00100,
  0b01010
};

byte armsUp[8] = {
  0b00100,
  0b01010,
  0b00100,
  0b10101,
  0b01110,
  0b00100,
  0b00100,
  0b01010
};
void setup() {
  // create a new character
  lcd.createChar(0, heart);
  // create a new character
  lcd.createChar(1, smiley);
  // create a new character
  lcd.createChar(2, frownie);
  // create a new character
  lcd.createChar(3, armsDown); 
  // create a new character
  lcd.createChar(4, armsUp); 

  // set up the lcd's number of columns and rows:
  lcd.begin(16, 2);
  // Print a message to the lcd.
  lcd.print("I ");
  lcd.write(0);
  lcd.print(" Arduino! ");
  lcd.write(1);

}

void loop() {
  // read the potentiometer on A0:
  int sensorReading = analogRead(A0);
  // map the result to 200 - 1000:
  int delayTime = map(sensorReading, 0, 1023, 200, 1000);
  // set the cursor to the bottom row, 5th position:
  lcd.setCursor(4, 1);
  // draw the little man, arms down:
  lcd.write(3);
  delay(delayTime);
  lcd.setCursor(4, 1);
  // draw him arms up:
  lcd.write(4);
  delay(delayTime);
}


11  Using Arduino / Displays / Re: powertip pg12864J Graphics 128x64 on: June 04, 2013, 02:11:41 pm
I only can say, thank you again.
This compile Ok and I will study all Docs for learn to use my display.
Thank you very much again and excuse me for my bad english-
12  Using Arduino / Displays / Re: powertip pg12864J Graphics 128x64 on: June 04, 2013, 06:21:49 am
Yes I did it from there, do I need discarg all files or only KS108GLDC....
Is posible that I need all?.
Is this my error?
Thank you and sorry
13  Using Arduino / Displays / Re: powertip pg12864J Graphics 128x64 on: June 04, 2013, 04:31:38 am
I have this error. oI only download library and try compile it.
What happend?


C:\arduino-1.0.3\libraries\ks0108\ks0108.cpp:33:67: warning: wiring.h: No such file or directory
C:\arduino-1.0.3\libraries\ks0108\ks0108.cpp: In member function 'void ks0108::Init(boolean)':
C:\arduino-1.0.3\libraries\ks0108\ks0108.cpp:505: error: 'OUTPUT' was not declared in this scope
C:\arduino-1.0.3\libraries\ks0108\ks0108.cpp:505: error: 'pinMode' was not declared in this scope
C:\arduino-1.0.3\libraries\ks0108\ks0108.cpp:511: error: 'delay' was not declared in this scope
14  Using Arduino / Displays / Re: powertip pg12864J Graphics 128x64 on: June 04, 2013, 04:30:15 am
I was trying compile examples of this library and I have some errors.
For example Wiring.h is no found
15  Using Arduino / Displays / Re: powertip pg12864J Graphics 128x64 on: June 04, 2013, 04:08:10 am
and conection diagram please?
It is in .h file but there are many options.,I need one for Arduino UNO.
Thank you again
Pages: [1] 2 3 4