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). […]
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 […]
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 […]
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 […]
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 […]
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 […]
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
And this is a strong one! We are using quite many UNO platforms for fast prototyping. In spite of their relative high price, we always bought boards from Arduino, not because we fear the ‘hall of shame’, but because we understand that that buying these boards contributes to the business model of the Arduino team and […]
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 […]
Previous tip and trick The aim of this tip is to help you to avoid to fall in pretty confusing trap. Here is how. Upgrading a complex library, even with minor changes, may lead to very complex debugging. This is even more true when tight timings, subtle proprietary protocols and many variables are involved. Secure […]