Saturday, March 29, 2014

pcDuino, LAMP Server

Since I needed a mini LAMP (Linux / Apache / MYSQL / PHP) server, I dug out my older pcDuino for the job. There's a Ubuntu image available at http://www.pcduino.com/?p=1892.

pcDuino is a mini PC platform that runs a PC like OS such as Ubuntu and Android ICS. It outputs video through a HDMI interface. Moreover, newer versions have hardware headers compatible with Arduino.

All I need to get going is a >8gb Micro SD card for the image, and a 2amp 5v Micro USB power supply. Stay tuned as this project gets off the ground.

Friday, March 28, 2014

Why is Steve getting a Raspberry Pi?

I've been avoiding the Pi. I like the Arduino platform, and since I haven't been pushing the limits of the Arduino's capabilities, I didn't see the need for a Pi. Well. I need a SQL database server for my Arduino Sensor network, and the Pi can run MYSQL, so ..........

Raspberry Pi Rev B

Using mysql on a Raspberry Pi

Arduino to MYSQL

Beginning Sensor Networks with Arduino and Raspberry Pi

Monday, March 24, 2014

RFID Access Control

Need to identify a RFID card, and allow access to a controlled space? Maybe log the time and date when a user swipes their card?

Now you can with an inexpensive (<$10) RFID solution. Just supply a Arduino, and maybe a relay to control a door strike, or a real time clock module to log date and time with the card number and user name. 

We connected our RFID Module as follows:

RFID     Arduino
SDA      10
SCK      13
MOSI    11
MISO    12
IRQ       N/C
Gnd       Gnd
RST       9
3.3v       3.3v

We also connected the anode of a Red LED to pin 6 and the anode of a Green LED to Pin 5. Cathodes of each connect to a 330 ohm resistor and then to Gnd. Look in void loop() for the interesting bits.

  Code