Sam Leesamlee.hashnode.dev·Sep 3, 2024Debugging : Controlling Temperature Sensor Ds18b20 - part 3In the previous blog post, we set up the GPIO and CLOCK, connected the hardware, and got everything ready to run. However, when we executed the program, no data appeared. This is quite disappointing. Let's try disabling the LCD display code and runn...embedded
Sam Leesamlee.hashnode.dev·Sep 1, 2024Timer & GPIO Configuration - Controlling Temperature Sensor Ds18b20 - part 2Now, looking at the README, we need to set up the timer. Considering that the onewire communication requires delays to perform different commands, we can see that this is essential. Configure the ds18b20Config.h file. Call Ds18b20(init) on app watch.../#ds18b20
Sam Leesamlee.hashnode.dev·Aug 28, 2024Controlling Temperature Sensor Ds18b20 - part 1The second device we want to control is a temperature sensor. The product is called Ds18B20, and it only has three wires: data, VCC, and ground. So, how does it communicate with just one wire? Unique 1-Wire® interface requires only one port pin for .../#ds18b20