September 2010
M T W T F S S
« Aug    
 12345
6789101112
13141516171819
20212223242526
27282930  

Categories

Arduino reading a CSV pachube feed with the ENC28J60

The question of how to do GET requests with the ENC28J60 arose recently so here is an example.
This is using the etherShield from Nuelectronics and @andrewdlindsay‘s etherShield library.

The code assumes some familiarity with the ethershield examples.

#include <etherShield.h>

static uint8_t mymac[6] = {0×54,0×55,0×58,0×10,0×00,0×28};
static uint8_t myip[4] = {192,168,1,25};
// Default gateway. The ip address of your DSL router. It [...]

Hacking the pink IM-Me Part 1

This is the first of several posts about the IM-Me pink wireless toy from Mattell. The aim of this post is to collect all of the relevant links I have found useful from the web.

You can currently get one (or more) of these toys for £8.99 at Amazon
The IM-Me is based upon the TI CC1110F32 [...]

MISO and Arduino Ethernet Shields

Both of the major Arduino ethernet shields (standard Arduino and NueElectronics) have issues with the MISO signal which prevent them being used with other SPI devices.

The standard Arduino shield uses the Wiznet5100 chip – this chip has a flaw in that the CS signal does not tri-state the MISO line. The Wiznet application note can [...]

I2C LCD and keypad controller using ATTiny2313

A while back @andrewoke was bemoaning the availability of an open source HD4470 I2C LCD and keypad controller. So I wrote one – the code fits into an Attiny2313 (just). ATTiny2313 chips are available for under $2.
The AVRDude command line I use to program the ATTiny2313 with Adafruit’s USBTiny programmer is: (note the fuse change [...]

New Home Monitoring – part 2

*********
Notice – the protocol to be used has pretty much completely changed. I am adopting the aProtocol described on the OpenKontrol web site

aProtocol is essentially a hub polling devices, it does allow for devices to announce events but in the main it is polling.
The aProtocol is still work in development, I have joined the team [...]

Arduino XBee shield issue

The Arduino XBee shield uses a resistor divider to connect the TTL 5V Arduino Tx to the XBee Din line. This has the side effect of pulling the Din line to GND if the Arduino is not asserting the Tx line. Problem is that the Arduino does not have control of the TX line during [...]

New home monitoring setup - part 1

Updated 26/2/2010
I have been looking at revisiting my home monitoring setup for some time. Whilst I have considered plug computers and other slugs as the hub for this I keep coming back to the Arduino. An Arduino has enough CPU power, is cheap, very low power and I can maintain it should it develop a [...]

FIO (Arduino and XBEE) door, doorbell and others monitor

I have been extending my range of inputs to the CurrentCost, Ardunio, Xport pachube logger.
In order to do this I wanted a wireless sensor module.
After looking round I chose the FIO, has an XBEE socket and ATMega168, very little else. Can be powered from a rechargeable LiPo battery.
The next step was to look at the [...]

A TinyXML library for the Arduino

A lot of devices use XML these days – and parsing the XML by hand is quite complex. I use a CurrentCost CC128 power monitor and also Twitter. Both of these have an XML interface.

Over the last couple of months I have been developing a simple XML parser as an Arduino library – it is [...]

Playing with Arduino Nokia 3310 shield

The Arduino Nokia 3310 shield come from NuElectronics. I have been using this shield with an Arduino Ethernet shield together with Andrew Lindsay’s Nokia 3310 library. I upgraded the library to be compatible with multiple SPI components, you need to bend digital pin 10 so that it does not make contact and then connect it [...]