# Is VIN the same as VCC?

I have a HMC5883L and its pins are labeled SDA, SCL, DRDY, VIN, and GND. SO I am following this tutorial and it has a VCC pin but mine doesn't have it so I was wondering if VIN is the same as VCC because VIN looks the closest to VCC.

• Have you tried looking up the datasheet on the internet (I found one in a few seconds Googling), and comparing that with the device you have? The ones I see have 16 pins, one of which is VDD, but no VIN. Sep 10 '16 at 21:08
• Find the VDD pin on the chip, and (with the power off) do a continuity test between there and the VIN pin on the module. Not every module designer will include a voltage regulator, but if they did, this sort of VDD vs VIN naming difference is exactly what would be used to differentiate the chip power pin from the module pin that supplies the regulator that powers the chip. Sep 11 '16 at 0:18
• @BenVoigt - Your probing plan is a good one. Too bad the LPCC chip is very difficult to probe. I would suggest just applying a DC voltage between +2.2 to +3.6 to "Vin". If the is a regulator on-board, no harm will result. If it is a direct run with no regulator, the magnetometer will come to life. Sep 11 '16 at 2:11

Some more info on "Vcc":What is the difference between $V_{CC}$, $V_{DD}$, $V_{EE}$, $V_{SS}$