Remix.run Logo
markb139 3 days ago

I’ve tried 2 AI tools recently. Neither could produce the correct code to calculate the CPU temperature on a Raspberry Pi RP2040. The code worked, looked ok and even produced reasonable looking results - until I put a finger on the chip and thus raised the temp. The calculated temperature went down. As an aside the free version of chatGPT didn’t know about anything newer than 2023 so couldn’t tell me about the RP2350

anvuong 3 days ago | parent | next [-]

How can you be sure putting the finger on the chip raise the temp? If you feel hot that means heat from the chip is being transferred to your finger, that may decrease the temp, no?

broshtush 3 days ago | parent | prev | next [-]

From my understanding putting your finger on an uncooled CPU acts like a passive cooler, thus actually decreasing temperature.

ghjv 3 days ago | parent | prev | next [-]

wouldn't your finger have acted as a heat sink, lowering the temp? sounds like the program may have worked correctly. could be worth trying again with a hot enough piece of metal instead of your finger

fwip 3 days ago | parent | prev [-]

I don't think a larger context window would help with that.

fpauser 3 days ago | parent [-]

Best comment ;)