Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: Using arduino to get data from the H-1000XP on: September 15, 2011, 04:11:15 pm
Thank you everybody, so what i was wondering and what i probably should have asked is can i follow http://www.arduino.cc/en/Tutorial/ArduinoSoftwareRS232 with a few modifications?

Also i noticed you suggested the max232 while the link above uses the max323, what is the difference?
2  Using Arduino / Project Guidance / Using arduino to get data from the H-1000XP on: September 15, 2011, 09:05:01 am
I am part of my high school's fuel cell car program and i was looking to be able to display data from the H-1000XP fuel cell with the arduino. The fuel cell controller has 3 wires (red, blue, and black) and calls them RS-232 for computer usage. I was wondering if it would be possible to interpret the data with the arduino and if so how? The all the manual says is that
"Communication channel: RS232 serial byte format, 9600 bps, 8 data bits, no parity, 1 stop
bit; Little-endian format.
Message frequency: 1k Hz".

Thanks for any help,
Dillon
3  Forum 2005-2010 (read only) / Interfacing / Re: IR hex code decoding on: April 27, 2010, 05:37:35 am
I'm sorry, I was not clear. I meant that the website said that each burst pair could be classified as a "1" or a "0" but I cannot tell what is what in my hex code...

0000 0070 0000 0019 - starting information
0023 000f - lead in pair
000c 0023 - 1?
000c 000f - 0
000c 000f - 0
000c 0019  - 1
000c 000f  - 0
000c 002d  - 1?
000c 000f  - 0
000c 000f  - 0
000c 0023  - 1?
000c 0019  - 1
000c 0019  - 1
000c 0019  - 1
000c 0019  - 1
000c 0019  - 1
000c 000f  - 0
000c 000f  - 0
000c 000f  - 0
000c 000f  - 0
000c 000f  - 0
000c 0019  - 1
000c 0023  - 1?
000c 0023  - 1?
000c 000f  - 0
000c 0d1b - lead out

I just don't know what to make of the 23's, 19's and 2d's. Even though that they are so far off from each other can they all mean "1"?
4  Forum 2005-2010 (read only) / Interfacing / Re: IR hex code decoding on: April 26, 2010, 03:30:04 pm
Thanks, this helps, especially the remote class. however I still don't get the hex code because both of the websites describe clear ones and zeros but I do not see them in this hex code...
5  Forum 2005-2010 (read only) / Interfacing / IR hex code decoding on: April 23, 2010, 07:04:38 pm
As part of a project I am trying to send out the "power on" IR code for a epson projector. I read http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1270451288 and all links in that topic, but when I looked at the codes for the epson, nothing made sense.

Here is the hex code:
Code:
0000 0070 0000 0019 0023 000f 000c 0023 000c 000f 000c 000f 000c 0019 000c 000f 000c 002d 000c 000f 000c 000f 000c 0023 000c 0019 000c 0019 000c 0019 000c 0019 000c 0019 000c 000f 000c 000f 000c 000f 000c 000f 000c 000f 000c 0019 000c 0023 000c 0023 000c 000f 000c 0d1b
Source: http://www.remotecentral.com/cgi-bin/codes/epson/powerlite_8100/

While all of the 000c's are the same, a lot of the other bits are close to each other and I cannot differentiate the 1's and the 0's. Also I dont quite know how I would implement this once I got it decoded, I was planning to base it off code like this...
Code:
int pinIRLED = 1;                               // place the IR LED between this pin and ground

void setup() {
  pinMode(pinIRLED, OUTPUT);                         // set the pin as an output
}
 
// this sets a signal on for a set amount of microseconds, and pulses it on and off for that time
// frequency is one over twice the delays
void pulseON(int pulseTime) {
  unsigned long endPulse = micros() + pulseTime;       // create the microseconds to pulse for
  while( micros() < endPulse) {
    digitalWrite(pinIRLED, HIGH);                   // turn IR on
    delayMicroseconds(13);                         // half the clock cycle for 38Khz (26.32×10-6s) - e.g. the 'on' part of our wave
    digitalWrite(pinIRLED, LOW);                   // turn IR off
    delayMicroseconds(13);                          // delay for the other half of the cycle to generate wave/ oscillation
  }
 
}
 
void pulseOFF(unsigned long startDelay) {
  unsigned long endDelay = micros() + startDelay;      // create the microseconds to delay for
  while(micros() < endDelay);
}
 
void shoot() {
  for (int count=0; count < 2; count++) {         // repeat twice
    pulseON(2000);                               // on for 2000 uS (Microseconds)
    pulseOFF(27850);                               // off for 27850 uS
    pulseON(390);                               // on for 390 uS
    pulseOFF(1580);                                     // off for 1580 uS
    pulseON(410);                                       // etc.
    pulseOFF(3580);
    pulseON(400);
    pulseOFF(63200);    
  }                                          
}
 
void loop() {
  shoot();                               // shoots a picture
  delay(4000);                           // delay in milliseconds so it doesn't take two before you release the button
}
source: http://www.instructables.com/id/E7OY9ADG0KQLHUE/

Am I on the right track? Any help would be welcome.
6  Forum 2005-2010 (read only) / Interfacing / Re: Need help measuring really small voltages... on: June 04, 2010, 05:57:19 am
Ok, i guess i am going to have to learn about amplifiers, but most sites leave me scratching my head. Are there any really basic websites for learning this sort of stuff?

As for the application it is measuring the voltage drop generated by a shunt. So in my case, it does need to be as accurate as possible but it does not need to update fast, as long as it doesn't take longer than a second to do so.
7  Forum 2005-2010 (read only) / Interfacing / Need help measuring really small voltages... on: June 03, 2010, 10:04:58 am
How would I measure voltages with the arduino in the range of 1 to 10 millivolts? I am guessing i have to use an amplifier. I am clueless about amplifiers, but I am capable of following directions or using formulas to find the right part values.
8  Forum 2005-2010 (read only) / Interfacing / Power off of 48 volts on: May 13, 2010, 07:19:14 am
What is the best circuit or chip to change 48 volt DC into 5 volt DC for powering the Arduino? Thanks for any help
9  Forum 2005-2010 (read only) / Exhibition / Re: Arduino Pong on: April 23, 2010, 06:59:40 pm
Absolutely amazing!!!
Pages: [1]