Show Posts
Pages: [1]
1  Using Arduino / Programming Questions / Re: arduino UNO+ arduino BT on: February 23, 2013, 01:03:41 am
using arduino BT, i m able to read the data output in the serial monitor of arduino software but not in the hyperterminal...
2  Using Arduino / Programming Questions / Re: arduino UNO+ arduino BT on: February 12, 2013, 01:55:10 am
k... i ll try according to this...thankyou...
3  Using Arduino / Programming Questions / arduino UNO+ arduino BT on: February 08, 2013, 11:45:44 pm
hi,
i want to connect arduino BT and arduino Uno, in which i want to program the Uno and use ARduino BT only for transmission. Is this possible?
4  Using Arduino / Programming Questions / arduino BT on: February 06, 2013, 04:20:09 am
sir,
pls help me in my project, i want to transmit data from my arduino BT to labview, send me some example codes
5  Using Arduino / Programming Questions / labview+arduino BT on: February 06, 2013, 01:55:45 am
i m using arduino BT , is this compatible with Labview, if so means pls send me some example links
6  Using Arduino / Programming Questions / labview on: February 06, 2013, 01:54:23 am
i m using arduinoBT , is this compatible with labview latest version
7  Using Arduino / Programming Questions / Re: error for I2C on: January 06, 2013, 10:53:00 pm
yes sir, i clicked the actual button for the serial monitor, here the code is


#include <i2cmaster.h>


void setup(){
   Serial.begin(9600);
   Serial.println("Setup...");
   
   i2c_init(); //Initialise the i2c bus
   PORTC = (1 << PORTC4) | (1 << PORTC5);//enable pullups
}

void loop(){
    int dev = 0x5A<<1;
    int data_low = 0;
    int data_high = 0;
    int pec = 0;
   
    i2c_start_wait(dev+I2C_WRITE);
    i2c_write(0x07);
   
    // read
    i2c_rep_start(dev+I2C_READ);
    data_low = i2c_readAck(); //Read 1 byte and then send ack
    data_high = i2c_readAck(); //Read 1 byte and then send ack
    pec = i2c_readNak();
    i2c_stop();
   
    //This converts high and low bytes together and processes temperature, MSB is a error bit and is ignored for temps
    double tempFactor = 0.02; // 0.02 degrees per LSB (measurement resolution of the MLX90614)
    double tempData = 0x0000; // zero out the data
    int frac; // data past the decimal point
   
    // This masks off the error bit of the high byte, then moves it left 8 bits and adds the low byte.
    tempData = (double)(((data_high & 0x007F) << smiley-cool + data_low);
    tempData = (tempData * tempFactor)-0.01;
   
    float celcius = tempData - 273.15;
    float fahrenheit = (celcius*1.smiley-cool + 32;

    Serial.print("Celcius: ");
    Serial.println(celcius);

    Serial.print("Fahrenheit: ");
    Serial.println(fahrenheit);

    delay(1000); // wait a second before printing again
}

8  Using Arduino / Programming Questions / Re: error for I2C on: January 04, 2013, 11:45:35 pm
Thank you sir, i done what you ve said, now the code is compiled but it showing that "Binary sketch size: 4,652 bytes (of a 28,672 byte maximum)" it doesnt show any value in my serial monitor. Actually i m working with ArduinoBT interfacing with MLX90614 IR Thermometer. Please help me.
9  Using Arduino / Programming Questions / labview+arduino BT on: January 04, 2013, 05:48:00 am
i m getting error i2c_init was not declared in the scope while i upload the code for MLX90614, i follow the instructions given http://bildr.org/2011/02/mlx90614-arduino/
Pls help me
10  Using Arduino / Sensors / MLX90614+arduinoBT on: January 04, 2013, 05:24:29 am
hi, i m new to arduino, currently im working with MLX90614 IR non contact thermometer.
I want this sensor to interface with the arduinoBT , pls help me, in the hardware as well as software part.
Pages: [1]