Archive for the ‘Tips and Tricks’ Category

Tips and Tricks (Part 27)

Previous T&T This T&T deals with the compression of numerical data. Using the proposed algorithm, you will be able to compress a 16 bits unsigned integer (so as to say an uint16_t or an unsigned int data type). into an 8 bits unsigned integer (so as to say an uint8_t or an unsigned char data type). […]

Tips and Tricks (Part 26)

Previous T&T Building a tracking device is no big deal for the Arduino enthusiasts. All you need is an Arduino board (e.g. a UNO), a GPS shield and a GSM shield. Too bad, we have a problem here because of the pin-out of the shields. The GSM shield uses pin 2 and 3 for the Rx and […]

Tips and Tricks (Part 25)

Previous T&T Burn Arduino bootloader… or burn your time ! Problem: When trying to burn the bootloader on any Arduino compatible board using the AVRISP mkII, Arduino IDE reports a “avrdude: usbdev_open(): did not find any USB device “usb“, “Error while burning bootloader.” smashing error message. Although many people faced this problem and many other tried […]

Tips and tricks (Part 24)

Previous T&T In the same way that Google search engine is a standard de facto, its approach to programming may seriously be regarded as a standard too. Arduino fans may know or not that the IDE uses a C++ like language and may check what Google,  now grown up to Alphabet as a company, is saying […]

Connecting AVRISP to Arduino (Part 4)

Part 1, 2, 3, 4 Here is a more comprehensive description of the procedure that one should follow in order to be able to use the AVRISP MKII programmer in a mixed IDE environment without too much trouble 😉 The proposed procedure is a mix of the early procedure described in arduinoos and a good description of the […]

Tips and tricks (Part 23)

Previous T&T Although the situation is not very common, you may face like me the following situation: I needed to read analog signals applied to some of the 6 ports from an Arduino UNO. But some of the readings would use the Vcc reference (so as to say the analogReference(DEFAULT))  and some others would use the 1.1 […]

Tips and Tricks (Part 22)

Previous Tip & Trick Here is an update of the Electronics Pinout Sheets originally issued by Arduinoos and now edited by PlainDSP (same team behind the screen!) HTH Next Tip & Trick  

Tips and Tricks (Part 21)

Previous T&T Convert numerical values in strings of characters. Converting numerical values into strings of characters is easy as far as Serial functions is concerned . However you  may face one day or another the need for converting a numerical value for insertion within an existing string of characters (e.g. LCD, commands sent through SPI, etc.). Here is […]

Tips and Tricks (Part 20)

Previous tip and trick Acquiring data is great, sending data away is even greater. In this way, all sorts of physical measurements can be remotely read in order to capture events, record signals, trigger alarms, etc. More and more communication solutions exist, each of them having their advantages and drawbacks. The aim of this post is […]

RIGOL 1052E DSO (Part 3)

Part 1, 2, 3 Erratic clicks! Life goes on and the Rigol 1052E remains a reliable companion still purring and always ready to help diagnosing circuits and running prototypes testing. Sometimes ago, I experienced some strange changes in time and amplitude scales when using the notched rotary encoders. Values where jumping erratically from one value to an other, whatever […]