Header banner
Revain logoHome Page
Robby Fingaw photo
1 Level
1292 Review
28 Karma

Review on Unlocking HiLetgo Development Breakout: Mastering Internal Settings by Robby Fingaw

Revainrating 5 out of 5

*Instructions for use*

I use it for my IB phy IA experiment. I have used stm32 with keil MDK and it works fine. , 64 samples for each period. Here is the procedure for you to use it properly. First you need to select the i2c address by connecting GND (0xC0) or ACC (0xC2). If you want to use it, please check the mcp4725 datasheet (I as a Chinese high school student can read it, it's not that hard) Short summary: if you want to set 4 volts out of 5 volts, the value is 4/5 * 4095 = 3276 Or then you transfer 4 bytes via i2c, 1st: address (depending on the soldering point 0xc0 or 0xc2) 2nd: 0x40 (write register) 3rd: (3276>>4)&0xff (first 1 byte of 12 bit value) 4th :(3276<<4) &0xf0 (last 4 bits of value) Make sure you request a response every 8 bits. *important* Make sure you set the eeprom to 0 before trying to control the register.

Pros
  • Industrial & Scientific
Cons
  • Some errors