Category: C++

[C++] Tic Toc function (Matlab-style)

This needs to introduction. While drinking milk i finally figured out the holy grail of C++, possibly the most universal and useful function i have ever written in any language. It formulates itself in...

[Charger] Solar Charger Module CN3063

This is a library that makes interfacing with the CN3086 or CN3083 very easy (with Arduino or cpp). The CN3086 is a lithium polymer battery charger. Charging such a battery is fairly difficult (see...

[Temperature] TMP102 Sensor Library

The TMP102 is a low power digital temperature sensor with I2C interface. This is a library (for arduino or cpp) that gives a simple interface with the TMP102 module. You can easily read the...

[Time] RX8025 Real-Time Clock Library

The RX8025 is a Precision Real Time Clock (RTC) Module with I2C interface. This is a library (for arduino or cpp) that handles interfacing with the RX8025 module. It is a very easy module...

[Radio] RTTY Library for Arduino

This is an library that handles radio information over RTTY in arduino, written in C++. You can choose either ascii 7 bit or ascii 8 bit. You need two pins that you define with...

[Compass] Magnetometer Library (HMC5883)

This post includes a HMC5883 Magnetometer Library for Arduino. It contains a library that makes interfacing with a compass module (for arduino) in C++ very easy. There are other libraries for the HMC5843, but...

[Radio] RTTY

This is RTTY (Radioteletype) code that you can use for your C++ application (for instance Arduino). This can be used for the transfer of information through radio (or optics, see below). I have used...

[Control] 'Klik-aan Klik-uit'

This piece of C++ (Arduino) code is for controlling dutch Klik-aan Klik-uit or KaKu remote controlled powersockets. If it receives @@pwr111*# it switches on and when it receives @@pwr000*# it switches off. With the...