歡迎來到潛水蛙阿七與無人飛機網誌.

網誌清單

編輯 關閉
網誌分類:UAV Building log |
圖片
網誌日期:2009-08-13 21:43

This couple days I was stuck in reading the HMC6352 digital compass data by ARMite. From the time being, I supposed I might write the wrong code of ARMite basic for I2C operation, however, the program structure is so simple and supposed should not be wrong. then I start to worry about the HMC6352 board Malfunction. For this reason, i got a RS232 to I2C module from China and only RMB200. this can help me to check the I2C device function is okay or not.

The I2C adaptor GY7506 is very simple you can find this in http://www.glinker.cn/ . you need not build up your test module to check I2C. Also, a very portable software I2CTool is together with package. You can easily to use it for any I2C checking. Anyway, I2C connection and operation is simple but unlike RS232C so easy to debug and common use in our part time hobby.

This is so easy to set up the connection by breadboard and Junmper wire, during the testing, I found my HMC6352 board 'North' direction silkprinting was wrongly printed.(this was brought from sparkfun 1.5 years ago.) and their new board already corrected this mistake. Refer to their new Photo, I can prove my assumption is correct, and the reading by I2Ctool become okay now. The following is sparkfun new HMC6352 board, and my old one too.

So I understand why the mistake come from and during the operate by I2Ctool, I also learned the read/write operation for I2C master and slave. this can help to avoid any mistake happened. Therefore, Next step I would start again using ARMite to get the HMC6352 data. will post the result soon!

 

Subscribe to ARMexpress

Powered by us.groups.yahoo.com

引用(0)
網誌標籤:RS232 to I2C, HMC6352
  • 檢舉

    Sokrates 2009-08-24 18:51

    Hi Brian, Everything so far OK, but business is not too good these days! Cheers! Vic
  • 檢舉

    Sokrates 2009-08-15 17:33

    Oh Brian,  u seem to have fun with lots of new gadgets!
    Cheers! Vic

    檢舉

    homer2009-08-17 15:39

    Hi Vic, Actually this kind of gadgets bought long time ago, but even no time to open. Just can do it recently. Oh...How about you recently. Everything fine?

  • 網誌分類:UAV Building log |
    圖片
    網誌日期:2009-08-09 18:53
    I found the traditional thru hole components is too much space consuming. you may need a bigger PCB for all components. SMT components is the choice, also you can use hand ...
    回應(0) | 引用(0)
  • 網誌分類:UAV Building log |
    圖片
    網誌日期:2009-08-08 14:39
    when a UAV (eq. a RC type Class 60 helicopter) going to landing, we have to reserved a safety altitude for the soft touching down. the best altitude (according to my RC fly...
    回應(3) | 引用(0)
  • 網誌分類:Resource and Reference |
    圖片
    網誌日期:2009-08-05 19:27
    while I am going to assembly the IMU unit, I found one of the sensor HMC6352 Honeywell digital compass is using I2C. If you would like study more the I2C how to operation. the...
    回應(0) | 引用(0)
  • 網誌分類:未分類 |
    圖片
    網誌日期:2009-07-31 00:32
    almost 2 years ago, I have tried building a 6DOF IMU, however due to my job occupied most of my time. Finally this project are pending. Recently I took back all this stuffs out ...
    回應(1) | 引用(0)
    網誌標籤:Gyro, ADXRS300A, UB81T

我的訂閱

編輯 關閉

我的訂閱

BLOG 搜尋

編輯 關閉

BLOG 搜尋


月曆

編輯 關閉
2009
S M T W T F S
  1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31  

網誌分類

編輯 關閉

最新網誌

編輯 關閉

統計資料

編輯 關閉

統計資料

  • 昨日人次:7
  • 累積人次:597
  • 今日瀏覽:10
  • 累積瀏覽:18204
  • 網誌:131
  • 圖片:209
  • 回應:201

訂閱RSS摘要

編輯 關閉

更新日期

編輯 關閉

更新日期

2009-11-27 08:29
 

R H
G S
B V

#