Quantcast
Channel: Brad's *Duino Blog
Browsing latest articles
Browse All 25 View Live

Generating Sine Waves with an Arduino Uno or Arduino Due

Lately, I've been fiddling around with an oscilloscope and wanted to generate some steady sine waves.  I have found tutorials for the Arduino Uno and Arduino Due that have been very helpful.  I have...

View Article



The Sparkfun TMP006 Breakout & the Netduino Plus 2

The Sparkfun TMP006 breakout is a non-contact temperature sensor (mounted on a breakout board) that connects to a microcontroller using I2C.  The Sparkfun page includes links to a couple code examples...

View Article

Sending NMEA Commands from an Arduino Due Sketch to a Copernicus II (Trimble)...

Sparkfun's Copernicus II DIP Module Breakout is a GPS option that works quite handily with the Arduino Due.  The Trimble Studio utility is a free GUI tool for configuring the chip, but it is also quite...

View Article

A Couple Notes about Working with the Arduino Yún Examples

I got an Arduino Yún from Adafruit a couple weeks ago but have been slow in getting started with it.  In trying to get the TermperatureWebPanel example to work, I ran into a couple issues.  These...

View Article

RFID Using the Innovations ID-20LA & Arduino Yún

On October 24, 2013, Zoe Romano posted on the Arduino Blog about using an RFID reader and an Arduino Yún.  I've posted before about using Innovations RFID readers with the Arduino (connected via the...

View Article


Installing PHP on the Arduino Yun

Installing the CGI version of PHP5 on the Arduino Yun is quite simple.  I was able to get it installed in and running in a few minutes with the following steps:Use SSH to access the Yun's command Linux...

View Article

Displaying Sqlite3 Data Using PHP on the Arduino Yun

I posted previously about using Sqlite3 as the database on an Arduino Yun for verifying RFID tag IDs and logging access. The example below shows how to use PHP to read from the access table and display...

View Article

Recording 1-Wire Temperature Data to a CSV File on an Arduino Yún

The following example shows how to record temperature data from multiple DS18B20 sensors and write the data to a CSV file on an SD card.  This code uses the Bridge library for the Yún and its Process...

View Article


Note About Booting the Arduino Galileo from the SD Card

It always pays to read the instructions...I've had my Arduino Galileo for a few days and wanted to get it to boot from the micro SD card so I could log in and get to the Linux command line via SSH.I...

View Article


Reading Barometric Pressure with an Arduino Galileo & BMP085 Pressure Sensor

I have an Adafruit BMP085 (now replaced by BMP180) pressure sensor that I wanted to use with an Arduino Galileo, but I couldn't get the code that I had used with an Uno to work with the Arduino Galileo...

View Article

RFID Using the Innovations ID20-LA with the Arduino Yun's USB Host Port

I've posted previously about using the Innovations ID20-LA and the Sparkfun RFID Reader breakout board with the Arduino Yun.  My earlier post used the serial break-out pins on the reader board to...

View Article

Resolving a Connectivity Problem with the Arduino WiFi Shield: Wireless...

I had used the Arduino WiFi shield with an Arduino Uno successfully in the past, but a few months have gone by since I last did so.  It came as a surprise yesterday when I couldn't get the shield to...

View Article

Reading Temperature from Multiple 1-Wire DS18B20 Sensors via a um-FPU64 Math...

The um-FPU64 math coprocessor includes interfaces for connecting to many different kinds of sensors via its DEVIO functions. The free IDE that comes with the um-FPU64 includes examples of us er-defined...

View Article


Python Code to Read & Parse TSIP Data from a Copernicus II GPS Module on an...

The following example shows to read and parse some basic GPS data (location and time) in TSIP format from a Copernicus II GPS module. TSIP data is in binary format, unlike NMEA sentences that are in...

View Article

Measuring Barometric Pressure using a MPL115A1 with an Arduino Due

The example below shows how to use a MPL115A1 (on a breakout board from Sparkfun) to measure barometric pressure with an Arduino Due. This code is a simplified version of code by Jeremiah McConnell...

View Article


Two I2C Devices with the Same Address with an Arduino Due

The Arduino Due has two separate I2C connections, not just redundant pins connected to the same I2C pins on the processor (as on the Arduino Uno).  This makes it possible to use two I2C devices with...

View Article

Arduino Galileo Setup Error on Linux (invalid mode '+111')

I've had an Arduino Galileo (1st generation) board for more than a year, but I haven't done much with it.  I decided that I would perhaps get more use out of it if I could cross-compile C/C++ code to...

View Article


Installing the gcc Compiler on an Arduino Galileo Running Clanton

I posted yesterday about a problem I ran into in trying to get the tools to cross-compile C code to run on my first-generation Arduino Galileo.  As the previous post indicates, I fixed the problem and...

View Article

Installing the gdb Debugger on an Arduino Galileo (Clanton)

My previous post pointed out that the gcc compiler can be installed used opkg on an Arduino Galileo running Clanton (and booting from an SD card so there is room). I wasn't able to install the C/C++...

View Article

Python Script for an Arduino Galileo to Read Barometric Pressure from an...

This example shows how to read barometric pressure from an Adafruit BMP085 via I2C using a Python script on an Arduino Galileo (Gen. 1 running Clanton). I want to rewrite this code in C, but using this...

View Article

Building a Shared C Library Using gcc on the Arduino Galileo (Gen. 1)

I posted a couple days ago about installing the gcc compiler on an Arduino Galileo.  In the course of writing C code to use the Adafruit BMP085 barometric pressure sensor, I found this smbus code (in...

View Article


C Code for the Arduino Galileo to Read Barometric Pressure Using a BMP085

Below is a sample program written in C for the Galileo that reads the barometric pressure from an Adafruit BMP085.  This code just prints out the barometric pressure in inches of mercury (adjusted to...

View Article


C Program to Read a 4x4 Keypad Connected to an Arduino Galileo

The Arduino keypad library (written in C++) works with Arduino sketches running on the Galileo, but I wanted to access a 4x4 keypad from a standard C program.  The following code shows how to configure...

View Article

C Program to Read an MPR121 Capacitive Touch Keypad Connected to an Arduino...

This example presents C code that reads input from a Sparkfun MPR121 capacitive touch keypad. There are sample Arduino sketches around, but I wanted to use the keypad with a C program running at the...

View Article

C Program for the Arduino Galileo to Read RFID Cards with an Innovations...

The Sparkfun RFID USB reader board provides an easy way to hook up an Innovations RFID reader chip.  While its main feature is the USB connection, the RFID USB reader board also provides a break out of...

View Article

Browsing latest articles
Browse All 25 View Live




Latest Images