Andrea Toscano

Category Archive: C++

  • Arduino Light Mood Lamp
    16th, February
    Arduino Light Mood Lamp with RGB LEDs

    !! Code available on my GitHub toskyRocker account !! Hi folks, today I’ll show a simple project I realised for Valentine’s day for my girlfriend. The main purpose is using Arduino Uno to build a small ambient lamp which changes LED colours depending on light intensity. I have simply adopted few 10mm RGB LEDs, an Arduino…

    Read More
  • Led Fading with Sin wave
    15th, February
    Fading LEDs with sine wave

    Hi everybody, the purpose of this post is to explain a simple technique concerning LED fading. One common issue in fading a LED is blocking the execution of the loop() in a for loop as long as it performs the fading. This approach wastes a lot of resources since the microcontroller can only perform this action…

    Read More
  • U-Blox Neo M8N Drotek
    15th, May
    U-Blox Neo M8N U-Center configuration and Arduino parser sketch

    !! U-Blox Neo M8N configuration file and Arduino sketch available on my gitHub toskyRocker account !! Today I’ll explain how to configure the outstanding U-Blox Neo M8N GPS/GLONASS receiver for multirotors usage. Introduction to the U-Blox Neo M8N Why this receiver? Well, the answer is pretty simple: it’s one of the best receivers you can…

    Read More
  • Colosseo Roma clusterized with K-Means Cuda
    04th, May
    Parallel K-Means for image clustering using NVidia Cuda

    !! The code is available on my gitHub toskyRocker account!! K-Means is commonly used for cluster analysis and data mining. For a better insight of this algorithm I suggest to read this. A brief explanation of how it works is shown below. K-Means scheme K centroids, one of each cluster, are chosen with an heuristic method….

    Read More