Tero's Arduino Blog

Using Arduino with Ada

Arduino Leonardo and (bad) USB interrupt

This is little heads-up for people, in case someone else also hits the same problem.

When playing with Arduino Leonardo, I noticed that if I enable interrupts, the code seems to freeze.

After some debugging and Google search, I found out that USB is turned on by the boot loader ...

[more]

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]

Page 1 / 6 »


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