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...Discussembedded
Sam Leesamlee.hashnode.dev·Sep 3, 2024Debugging -2 : Controlling Temperature Sensor Ds18b20 - part 4In the previous post, we examined the GPIO settings. The address for GPIO is 0x400010c00, and the pin is 1024. Is 0x400010c00 indeed PB, and is 1024 the position for PB10? Found it. GPIO B is indeed 0x4001 0C00. 1024 is 0100 0000 0000, which means ...Discuss/#ds18b20
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...Discuss/#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 ...Discuss/#ds18b20