Tero's Arduino Blog

Using Arduino with Ada

AVR-Ada RPMs for Fedora 17 and 18

I finally managed to find time to create AVR-Ada RPMs for Fedora. The packages are available for Fedora 17 and 18 on i386 and x86_64 architectures.

To install them you need to create file /etc/yum.repos.d/fedora-adalanguage.repo with contents:

[fedora-adalanguage]
name=Tero's Fedora RPM repository for …
[more]

Temperature measurement with DS18B20 and one-wire protocol

Required parts:

  • Arduino UNO or Duemilanove
  • DS18B20 temperature sensor
  • Some jumper wires
  • About 5K ohm resistor (4.7Kohm or 4.99Kohm is ok)

I had a couple of extra DS18B20 temperature sensors lying around, so I was interested in communicating with them using Arduino.

DS18B20 uses 1-wire protocol for communication …

[more]

Arduino Due

Arduino Due is another Arduino board, but with Atmel ARM processor instead of AVR. I have had Due for a while, but flashing it on Linux had not been working. However, now I managed to flash simple blink app (written in C++) on Linux using bossac:

sudo ~/programs64/arduino-1.5 …
[more]

Counting seconds with attiny4313

AVR-Ada includes AVR.Real_Time package and separate AVR.Real_Time.Clock function, whose job is to return the current time. On Arduino, the current time means seconds from the device bootup, in other words it tells you how long the device has been on.

Relevant code is following

with …
[more]

Controlling 4-digit 7-segment display

Introduction

A seven-segment display is nice for showing a single number. And 4-digit display is 4 times as nice since it can show four numbers.

However, using 4-digit version is also somewhat more complicated. The 4-digit 7-segment display (which I use) is done so that each digit will have same …

[more]

« Page 6 / 8 »


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