Arduino

Introduction

The Arduino Controller

The Arduino that I am using is the Duemilanove. Analog pins 4 and 5 are the SDA and SCL lines to the I2C bus, going to pins 15 and 14 respectively on the PCF8574 I/O expander.

Digital Temperature Sensors

I am currently exploring 2 different temperature sensing devices for the Arduino:

  1. the Digital Temperature Sensor DS18B20 - Watertight - 3m Wire
  2. the DHT22 Digital Temperature and Humidity Sensor AM2302

Hints

Using the CLI

Compiling

  $ arduino-cli compile -b arduino:avr:mega MyFirstSketch

where MyFirstSketch is a directory containing the sketch file MyFirstSketch.ino

Software

DHTLib

From the Arduino Playground comes this Class for DHTxx sensors (xx=11-21-22-33-44). Copy at /home/ajh/Arduino/dht_test, libraries at /home/ajh/Arduino/libraries/DHTLib.

This page is copyright, and maintained by John Hurst. 164 accesses all since
13 Aug 2023
My PhotoMy PhotoTrain Photo

Local servers: Localhost Newport Burnley Jeparit Reuilly Spencer (accessible only on local network.)
Public Web Servers: ajhurst.org ajh.co ajh.id.au (not all may be active.)
Dynamically generated at 20240221:0251 from an XML file modified on 20230813:0054, by index.py version 1.6.5. (UTC)