I saw the Yun had 3V3 socket so I didn't think about level converter. So I can't use MAX30205 connect to Yun's 3V3 socket directly?
The Yun has a pin that provides 3V3 to devices that need that voltage. It's AVR processor is running on 5V though so all signal pins provide 5V in HIGH state. If you use the Arduino Wire library it activates the internal pull-ups that pull the SDA and SCL lines to 5V. Together with the resistors on your breakout board you may stay below the 4V the datasheet says is the absolute maximum rating. I would choose the safe way and use a level converter or at least modify the Wire library to disable the pull-ups.
According to the posted schematics you can connect the address lines to Vdd by 3 dip switches. The datasheet defines that the address lines must not be unconnected. So the only valid address with your breakout board would be all switches on resulting in 0x4f. As you chose 0x48 I assume you have all switches off. This may work some time but may fail at any time as a floating pin has an undefined state and may be recognized as any of the possible states. That may result in the scanner seeing the chip on address 0x48 but when you switched sketches it listens on 0x4A. As the library doesn't check result codes it will not detect the failure. The value displayed (256.00) equals a read raw value of 65535 which is all bits set, exactly what you get if the chip doesn't answer.
pylon:
The Yun has a pin that provides 3V3 to devices that need that voltage. It's AVR processor is running on 5V though so all signal pins provide 5V in HIGH state. If you use the Arduino Wire library it activates the internal pull-ups that pull the SDA and SCL lines to 5V. Together with the resistors on your breakout board you may stay below the 4V the datasheet says is the absolute maximum rating. I would choose the safe way and use a level converter or at least modify the Wire library to disable the pull-ups.
According to the posted schematics you can connect the address lines to Vdd by 3 dip switches. The datasheet defines that the address lines must not be unconnected. So the only valid address with your breakout board would be all switches on resulting in 0x4f. As you chose 0x48 I assume you have all switches off. This may work some time but may fail at any time as a floating pin has an undefined state and may be recognized as any of the possible states. That may result in the scanner seeing the chip on address 0x48 but when you switched sketches it listens on 0x4A. As the library doesn't check result codes it will not detect the failure. The value displayed (256.00) equals a read raw value of 65535 which is all bits set, exactly what you get if the chip doesn't answer.
I see,now I know my problem.
Thank you very much,pylon.\(^∀^)メ(^∀^)ノ
I have the same issue, I am receiving "T=256.00C". Why the address is 0x48 if the datasheet says in table 1 for A0:A2 connected to GND set the address as 0x90h.
Why the address is 0x48 if the datasheet says in table 1 for A0:A2 connected to GND set the address as 0x90h.
No, it says "Slave Address Byte", the address byte consists of the slave address and the read/write bit. The higher 7bits are the address, the lowest bit is determining if it's a read or a write.