Nov 05 2016

Bug into v. 1.6.12 of the Arduino IDE prevent to install additional packaged

THe Arduino IDE v.1.6.12 contains a bug so that some users can experience problems of wrong CRCs messages (the check-sum used to verify if a package has been correctly downloaded) shown by the IDE that can prevent the installation of additional packages. This is caused by the fact that if the IDE has downloaded a previous version of such package that was corrupted for some reasons, then it will verify such package as wrong every time the user will try to install it. While waiting for the v.1.6.13 that will fix this issue, the user has 3 workarounds:

  1. manually remove the package from the folder Arduino15/staging/packages (only for expert users);
  2. manually compile the IDE from the sources following these directions (only for expert users);
  3. download an hourly build of the Arduino IDE (a release that is compiled each hour and that contains all the latest modifications made by the programmers) from here:

Points 1) and 2) are reccomended for expert user; newbie users or people that don’t know how to compile a program from the sources should use an hourly build compiled for its own OS.

Apr 09 2016

Arduino: La Guida Essenziale – THE BOOK

arduino_copertina_libroArduino: La Guida Essenziale is my first guide written for the Arduino boards! 319 pages full of interesting things! A guide written both for newbies and for advanced users! We cover the story of the Arduino boards, we install the software to use the boards, we learn the basis of the Arduino programming language, we cover the foundaments of electronics components and notions, we use the prototyping breadboard to realize some working projects (with code). And the users that want to know more: we deep analyze the serial communication and we realize a system that can respond to commands sent through the terminal; we study the microcontroller’s timers to generate waves of any frequencies; we learn how to use interrupts to set up a system that can instantly react to an external signal; we learn how to use the watchdog to avoid freezes caused by code written badly; we study how to use extreme power saving techniques for a project that can run for months if battery sourced. At the moment the guide is only available in ITALIAN LANGUAGE. If there will be interesting in having it translated in english, maybe I’ll do it.

Price € 29.50See how the guide shows off (or maybe order you ITALIAN copy).

Feb 21 2016

Automatic installation of my cores with Arduino 1.6.7

I’m glad to announce that starting from today it is possible to automatically install all of my cores (core for ATmega644/1284, core for ATmega168/328, and core for ATtiny24/44/84-25/45/85-2313/4313) directly from the IDE 1.6.7 in few steps. The choose of the automatic installation grants you that if I update any of those cores it will be the IDE to inform you of the existence of the new release. Before to proceed, you have to remove the cores but you could have manually installed in the past, then start the IDE 1.6.7 and select “File/Preferences” from the menu.. Now go to the line “Additonal Boards Manager URLs” and press the icon to the right of the text area and insert the following line into the pop-up window:

Finally, click OK twice and then go to “Tools/Board/Boards Manager”. Wait for a couple of seconds for the boards manager to refresh the list of the additional boards, then scroll the list until you find the following entries:

  • Atmega168P/328P Boards by Leonardo Miliani versione x.x.x
  • Atmega644/644P/1284P Boards by Leonardo Miliani versione x.x.x
  • ATtiny extra board by Leonardo Miliani versione x.x.x

Just select the core you want to install then press the corresponding “Install” button. At the end of the installation the core will be set and ready and the new boards will be available from “Tools/Board” without the need to restart the IDE. Enjoy!

Feb 20 2016

All my libraries now are fully compatible with the Arduino IDE 1.6.7

Now all of my libraries are fully compatible with the Arduino IDE 1.6.7. This is intended for leOSleOS2swRTCsecTimerlooperpRNGanalogComp. Update them from their respective pages.

now all of my libreries can be installed by the IDE. Go to “Sketch”Library inclusion/Library manager” then look for them by name and install them through the library manager. If you previously installed them manually, I suggest to remove them in order to do a clean installation with the manager.

Feb 20 2016

ATtiny Core for the Arduino IDE 1.6.7

New update for the ATtiny core to support the last Arduino IDE 1.6.7. This core adds the support to ATtiny24/44/84, ATtiny25/45/85, and ATtiny2313/4313 microcontrollers.

Feb 20 2016

Core for ATmega644/1284 updated for IDE 1.6.7

Here is (sorry for the delay) the core to support ATmega644/1284 MCUs from the Arduino IDE updated for the release 1.6.7. No particular other changes done. Istructions on how to install it are available into the README file inside the package.

Feb 15 2016

swRTC 1.2.4

New release for my library swRTC, that can be used to create a software RTC on several Atmel chips. This version 1.2.4 resolves an issue with the type of a function prototype and fixes the compatibility with the Arduino IDE 1.6.7.

Download it from here.

Jan 10 2016

leOS 1.2.0 & leOS2 2.3.0

Another important update for my schedulers, leOS e leOS2, that reach, respectively, the release 1.2.0 & 2.3.0. For both I’ve fixed a sever bug that lead to the perpetual execution of the first task introduced into the scheduler, even it it was a ONETIME one.

Download the new versions from this page.

Jan 09 2016

leOS 1.1.4

Another update, today. Now it’s the time for leOS to reach the release 1.1.4. I’ve revisited the code of the scheduler of the library for bug fixing and logic improvements of the jobs management.

To download the new release please go to this page.

Jan 09 2016

swRTC 1.2.2

I’ve updated the swRTC library to the revision 1.2.2 after an user of it informed me that the function getWeekDay(), that returns a value indicating the number of the weekday of the date itself, was wrong. Starting from there I’ve found that the value of the timestamp (the number of seconds since a specific date) wasn’t considering the fact that, in case of leap years, the leap day wasn’t reached until february, 29th, so for the dates before that day it shouldn’t be calculated.

The new version is available for download from this page.