Category Archives: software

Online random number generator for MSP430 microcontroller

This is an online random number generator for a MSP430 microcontroller, you can use it to include some randomness in your project.
When using these static random numbers in more than one MSP430 controller, they all got the same random numbers, however all oscillators differ somewhat in speed over time and thus multiple MSP430 controllers using the same random number table do really seem random.

Continue reading

Time server using 1PPS GPS receiver

What is a time server? A time server gets its time from a reference time source. That source can be a another time server, a local time source such as a rubidium or cesium atomic clock. In this post I make an USB GPS receiver for a Linux time server using cheap available components. After assembling the GPS module I give instructions on how to configure the Linux NTP daemon to use this module. The GPS receiver gets its time signal from the GPS satellite network. Its longtime time drift is about 0 seconds. This is possible because the GPS time signals are constantly adjusted to keep very accurate time needed for navigation.

Finished USB GPS 1PPS receiver

Continue reading

Online random number generator for AVR microcontroller

This is an online random number generator for an AVR microcontroller, you can use it to include some randomness in your project.

guaranteed random numbers
When using these static random numbers in more than one AVR controller, they all got the same random numbers, however all oscillators differ somewhat in speed over time and thus multiple AVR controllers using the same random number table do really seem random. The effect is the biggest when using the internal RC oscillator because from AVR to AVR the speed differs the most. Continue reading