Help with compass project
hi every 1 ;
i have 3d compass rion-tech.com name hcm505b rs-232
and need data arduino uno
i make circuit transfere ttl rs232 using max232 , test , work
so problem how send "68 04 00 04 08" command compass arduino , how translate recived command compass
so can 1 me please . .
i know simple thing experts beginner arduino
datasheet
http://www.rion-tech.net/uploadfile/20130110/20130110092946290.pdf
i use arduino uno , here code;
#include <softwareserial.h>
softwareserial myserial(6, 7); // rx, tx
void setup()
{
// open serial communications , wait port open:
serial.begin(115200);
while (!serial) {
;
}
serial.println("goodnight moon!");
// set data rate softwareserial port
myserial.begin(9600);
myserial.println("hello, world?");
}
void loop() // run on , over
{
if (myserial.available())
serial.write(myserial.read());
if (serial.available())
myserial.write(serial.read());
}
i have 3d compass rion-tech.com name hcm505b rs-232
and need data arduino uno
i make circuit transfere ttl rs232 using max232 , test , work
so problem how send "68 04 00 04 08" command compass arduino , how translate recived command compass
so can 1 me please . .
i know simple thing experts beginner arduino
datasheet
http://www.rion-tech.net/uploadfile/20130110/20130110092946290.pdf
i use arduino uno , here code;
#include <softwareserial.h>
softwareserial myserial(6, 7); // rx, tx
void setup()
{
// open serial communications , wait port open:
serial.begin(115200);
while (!serial) {
;
}
serial.println("goodnight moon!");
// set data rate softwareserial port
myserial.begin(9600);
myserial.println("hello, world?");
}
void loop() // run on , over
{
if (myserial.available())
serial.write(myserial.read());
if (serial.available())
myserial.write(serial.read());
}
evidently, since january you've made no progress, every few months post same question?
http://forum.arduino.cc/index.php?topic=213331.0
http://forum.arduino.cc/index.php?topic=245544.0
http://forum.arduino.cc/index.php?topic=213331.0
http://forum.arduino.cc/index.php?topic=245544.0
Arduino Forum > Using Arduino > Project Guidance > Help with compass project
arduino
Comments
Post a Comment