May 18 2012

Microlowio, a micro-watch based on an Atmega328P

Apr 18 2012

New Timer library for Arduino & Atmel MCUs

I noticed that a lot of users disagree with the fact that the millis() function overflows after 49.7 days, generating issues when they have to work with intervals of time that are greater than that period.
So I decided to get in my hands back my swRTC library and created a new library that I named Timer.

This library activates an internal timer of the Arduino (or of the Atmel MCU, in case you are using a standalone project) as a seconds counter. So the minimum interval of time that this library can manipulate is 1 SECOND, it cannot work with shortest intervals. But 1 second is enough to do simple works like reading a sensor after a long interval or just to light on/off lights after a couple of hours.

So what is the advantage in using the Timer library instead of millis()? As I said, Millis() overflows after 49.7 days; Timer, instead, overflows after more than 136 YEARS! This means that your device will cease to function a lot of time before Timer will overflow!

Read the rest of this entry »

Apr 15 2012

The Titanic sank years ago

Exactly 100 years ago, on 15 April 1912 at 2:20, the Titanic, the biggest and luxuriest ship ever built until then, sank in the Atlantic Ocean after colliding with an iceberg. Built at Belfast, it started for its maiden voyage on 10 April 1912 and, after 2 calls over the english and french coasts, directed to New York. On 14 April, at 23:40, it collided with an iceberg that caused sever damages at the ship. After 2 hours and 40 minutes, the ship sank. The sinking caused the death of more than 1500 people.

Apr 09 2012

Jack Tramiel, father of Commodore, has died

The day of Easter, the 8th of april, 2012, Jack Tramiel has died. Most of the youngest readers won’t recognize him but if I owned a VIC-20 or a C64 during the 80s, then you have to thanks him because Tramiel founded Commodore, the famous american 8-bit computers factory.

Jack Tramiel
Jack Tramiel

Tramiel born in Polony in 1928; in 1945 he was saved by USA soldiers when they occupied the Nazi concentration camps. Two years later Tramiel moved to America where, at the beginning of the 50s, started a little company that sold and repaired typewriters, the Commodore company. At the end of the 60s he started selling mechanical adding machines and the, at the beginning of the 70s, electronic calculators, a market that was interesting at the japanese factories.

At that time, the main Commodore’s components source was Texas Instruments, that built every single component of the calculators but that didn’t assemble them. When it realized that it could made more money in building and selling by itself the electronic calculators, Texas Instruments started a strong price war against its competitors. Commodore was a Texas Instrument’s victim too, so it decided to start building its own calculators by producing the components it needed: so it decided to buy a microchip fab first, MOS Technology, a small factory that had released a revolutionary CPU, the MOS 6502. Talking with the MOS engineers that designed that CPU, Tramiel realized that the future would belong to computers instead of electronic calculators, so in 1977 Commodore showed the PET, and in 1980 showed the most famous VIC-20. In Italy, this computer had a special testimonial, Mike Bongiorno, who presented the VIC-20 in a popular TV show of him.  Riding the succes of the VIC-20, Tramiel asked his engineers another product, and in 1984 Commodore showed the C64, the most sold computer ever: it was produced until 1993, with 30 millions pieces sold.

But in Commodore there were not only big successes. Like Texas Instruments had destroied its rivals in the ’70s with a price war that left the company not only the last survivor in the market but also a company with big losses, Commodore began the first company in the 8-bit market selling its products at very low prices but also a company with economical instabilities. This was the reason why Tramiel had controverties with his business partner and decided to resign from Commodore. After a few months, he bought from Timer Warner the computer assets of Atari, another best known video game company that had big financial problems. Very quickly, the new Atari Corporation presented the Atri ST, a good 16-bit computer that had the disavantage to fight against the Commodore Amiga, that was more successfull. At the beginning of the 90s Tramiel decided to enter into the videogame console market with the Atari Linx and the Atari Jaguar, two consoles that didn’t get a significant market share.

Atari started having financial problems in the middle of the 90s, so in 1996 Tramiel had to sell his society to JT Storage, a little HD producer. Tramiel entered into the Boards of Directors of JT Storage. But JT Storage had no better luck too, and in 1998 it had to sell the Atari trademark and all the related rights to Hasbro Interactive in an effort to save the company. The operation did not work and JT Storage went into bankruptcy the following year. So Jack Tramiel left the industry in which he had left some important milestones.

Apr 02 2012

ArduinoISP2c

ArduinoISP2c is a mod version of the ArduinoISP sketch that can compiles and works under almost all of the Arduino IDE versions: 0022/0023, 1.0 and the new 1.0.1RC1 (that will be released at the half of the month). This sketch derives from the one that is included in the IDE 1.0.1RC1, respect to which it has a bugfix to work with the Arduino IDE 1.0, that has a limited serial buffer size that hangs up the ArduinoISP sketch included with it. The ArduinoISP2c works at 19200 bps instead of the 9600 bps speed of the sketch included into the IDE 1.0.1RC1. It also works at 19200 with IDE 002x but only at 9600 with IDE 1.0 due to limits of the IDE itself.

Feb 17 2012

The Roots of DOS

Sorry, this entry is only available in Italiano.

Feb 16 2012

(Italiano) Guida agli ATtiny aggiornata

Sorry, this entry is only available in Italiano.

Jan 03 2012

2012, boom of viruses for smartphone & tablets

McAfee, the well known society specialized in antivirus softwares, has announced that the previsions for the year 2012 of malware for smartphones & tables will increase thanks to the large diffusion that these devices has having in the last. McAfee has infact declared that in the last quarter of 2011 the malware code specifically written for Android systems has increased of 37% then the previous quarter, that had already increased of 76% then the first quarter of the year. McAfee thinks that 2011 will close with about 75 millions of malware codes. For the 2012, MacAfee expects a boom of malware infections aimed to grab the home banking & online system credits passwords.

Source: Ansa

Nov 27 2011

swRTC, a software Real-Time Clock

In this article I will introduce you swRTC, a software implementation, based on timers, of a Real-Time Clock  (or RTC) for Arduino boards and Atmel microcontrollers.

The library is at version 0.8.3 and actually it supports several Atmel microcontrollers:

  • Atmega640/1280/1281/2560/2561 and Arduino MEGA boards
  • Atmega48/88/168/328 and Arduino 2009/UNO boards
  • Attiny24/44/84
  • Attiny25/45/85
  • Attiny2313
  • Atmega644/1284 and Sanguino boards
Supported clocks are 1/8/16 MHz.

Nov 11 2011

Greenpeace pubblica l’Eco-guida 2011 ai prodotti elettronici

Greenpeace ha pubblicato l’Eco-guida 2011 ai prodotti elettronici, ossia la classifica dei produttori di apparecchi quali TV, cellulari, computer che più si sono distinti nell’adozione di soluzioni atte a favorire la produzione industriale nel rispetto dell’ambiente: utilizzo di energia da fonti rinnovabili, bando delle sostanze più pericolose, studio di sistemi e tecnologie per ridurre il consumo energetico dei prodotti.

Quest’anno spicca HP, con un risultato di 5,9/10. Fanalino di coda è RIM, la produttrice del BlackBerry, ma è da giustificare trattandosi di una new-entry nella classifica.

 

Eco-guida 2011

 

Quindi, quando acquistate un prodotto elettronico, guardate bene di offrire i vostri soldi a chi si impegna più degli altri per l’ambiente.

Fonte: http://www.greenpeace.org/italy/eco-guida/

Older posts «