bought a brand new Raspberry Pi 3 DS3231 RTC Module and integrated to correct gpio pins as it should be. But somehow Windows 10 IOT seems not detect this module. than attempted to follow follow instructions. but what! all instructions are for linux. and as I know there is no sudo command etc in powershell for windows 10 to make IOT to detect this module.

line above added into config.txt. no luck.

so how can I make Windows 10 IOT detect the rtc module ?

instructions are here for linux.

1 Answer 1


Not sure what you mean by Windows 10 IoT does not detect the module though what I suspect you mean is that Windows 10 IoT does not automatically use the Real Time Clock module to automatically update the system time.

Windows 10 IoT does do a network time check to synchronize the system time with a network time source similar to what Linux does. However if your Raspberry Pi is off line and doesn't have access to a time source then that doesn't do you much good.

The problem with Windows 10 IoT development and UWP applications is that much of the Win32 API is not available with Windows 10 IoT in the sandbox environment. It appears that the only way of setting the Windows 10 IoT system time is using Powershell.

You can retrieve time from the Real Time Clock when your application starts up using I2C to talk to the Real Time Clock device.

Here are a couple of resources for you.

On StackOverflow there is a question about setting the Windows 10 IoT system clock, How to set system time in Windows 10 IoT? and see as well How do I set the time in Winodws ioT ? with an answer describing a procedure using Powershell.

On StackOverflow there is a question with an answer using C# code for what looks to be a UWP application Windows IoT and DS3231 RTC clock

On CodeProject there is an article, again C# within a UWP application, Adding the Missing Real Time Clock to Windows IoT on Raspberry Pi with a complete project

Finally there is the possibility of using a Raspberry Pi as a network time clock.

See The Raspberry Pi as a Stratum-1 NTP Server

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.