Tero's Arduino Blog

Using Arduino with Ada

Articles by Tero Koskinen

Wireless temperature sensor using Olimexino-328, XBee, and DS18B20

I have made temperature sensor in the past, but now I added power saving features to the code.

The result was a device which lasts almost a month when it reports temperature once an hour over XBee and is powered by 1000mAh LiPo battery.

Custom XBee Shield with DS18B20

Instead of official Arduino, I used …

[more]

AVR-Ada package for Ubuntu 14.04

I created quick and dirty AVR-Ada package for Ubuntu 14.04 (amd64 only for now) using the latest AVR-Ada sources (basically 1.2.2 + some fixes). It is categorized as "quick and dirty" because I generated the binaries on Ubuntu 14.04 using my avr-ada build script and then created …

[more]

Reading button status via interrupt

The normal way to read the button is to read the input pin status in a loop and handle debouncing at the same time.

However, if you want to sleep most of the time, polling is not an option. Instead, you can use interrupts, like pin change interrupt (PCINTxx).

So …

[more]

AVR-Ada 1.2.2 RPMs for Fedora 20

As a small Christmas gift, AVR-Ada 1.2.2 RPMs for Fedora 20 (i386 and x86_64) are now available in my fedora.ada-language.com repository.

Like always, create file /etc/yum.repos.d/fedora-adalanguage.repo with contents:

[fedora-adalanguage]
name=Tero's Fedora RPM repository for Ada packages
baseurl=http://fedora …
[more]

Saving power with AVR-Ada, part 2: power down mode and watchdog

After my previous article, Olimex people pointed out that their Olimexino-328 board is able to use much less than 4mA if powered through the battery connector.

So, I went and tested their claims and they were correct, indeed. When running Olimexino-328 at 3.3V using battery connector, power down mode …

[more]

« Page 3 / 8 »


Copyright © 2012, 2013 Tero Koskinen - Theme Skeleton; Blogging engine Pelican; Powered by Python