Posts

Showing posts from 2013

Wildcat rides

Image
I've just come across this amazing beast  on Hackaday: I suspect that there are some heavy-duty pneumatics buried in the body. I wonder how close one could get using a much, much smaller body and conventional servos.

Arduino adds two more products to the range - Galileo and Tre

Image
Yesterday's announcement of the Arduino Galileo at Make Faire Rome overshadowed a second significant announcement: The Arduino Tre . Arduino Galileo The Arduino Galileo is based on the Intel Quark SoC X1000, and should be in the store by the end of November, though the lucky attendees at Maker Faire were given one at the door yesterday. (If anyone has a spare...) Intel plan to give away 50,000 to Universities over the next few months. Arduino Tre The Arduino Tre is based on the TI Sitara AM335x ARM Cortex-A8, built around a Leonardo core.  It has a 1GHz processor with 512M of RAM. It supports 1920x1020 HDMI video output and HDMI/Stereo Analogue audio. It's expected to be available in Spring 2014. Linux everywhere Both boards run Linux, and both can be programmed using the Arduino IDE. The Arduino family now spans a huge range of processing power while supporting a common development environment and compatible libraries across the whole range.

Text LCDs and the Raspberry Pi - continued

Over the weekend I spent some time on the LCD text display using the LiquidCrystalFast library. There's still work to do, but the core hardware is working. When I've finished the hardware and software I'll post the details but first I thought I'd document the mistakes I made and the processes I followed to troubleshoot the project and get it back on the rails. My normal workflow for a new hardware design takes things in small steps, with lots of testing as I go. I start with a rough design, which may be on paper or in my head, and then I breadboard and test. Once the breadboarded version is working I transfer the design to stripboard or to one of Adafruit's wonderful PermaProto boards , and test again. If appropriate, I then design a board and send the files off to a PCB fab shop to make the first PCB version, which may need further testing and revision. My First Mistake This time I took a short cut. I've built a dozen or so Arduino clones on stripboa

Text LCDs and the Raspberry Pi

One project I'm hoping to complete in the next day or so is an I2C-based Text LCD for use with the Raspberry Pi. Why bother? After all, the Pi has an HDMI output, and it's easy to connect the Pi via Ethernet or wireless. The problem is that there are situations where you really need a stand-alone display. Stand-alone Pi Projects If you're building a battery-powered  stand alone project you may need an output mechanism that's a bit more informative that a few flashing LEDs,  your power budget may not run to WiFi, and you may want to use what you're making in an environment where a network-based solution is not practical. Another application: running a physical computing course It may be hard to connect to the Pi because you don't know its IP address. Earlier this year I helped to run a couple of workshops covering physical computing on the Pi. Practical considerations meant that we couldn't use monitors for each Pi, and we had to connect to the lo

The Arduino Yún just keeps on going

The Arduino Yún has been running for a couple of days now. Nothing earth-shattering about that, you might think:  one of my Linux boxes got rebooted  just four times in a decade, twice for house moves, once for a power cut, and once for a kernel upgrade. However,  my Arduino Ethernet board crashes repeatedly after a few hours of air-time. I don't know whether that is due to software problems with the Ethernet stack or a hardware issue, but the Yún seems much more reliable.

Driving text LCDs with the teensy 3.0

Image
A few days ago I started exploring the teensy 3.0 . I'm keen to see if we should consider using the teensy for C3Pi , so I want to get more familiar with the teensy hardware and the development environment. When you install teensy's extensions to the Arduino IDE you are given a chance to install a number of additional libraries that have been tested on the teensy family. One of them - LiquidCrystalFast - caught my eye and I decided to explore it in more detail. The LiquidCrystalFast library LiquidCrystalFast is yet another library for driving text LCDs based on the ubiquitous Hitachi HD44780. I love these displays, and so do many hobbyists; a old post about an  Arduino DVM with LCD display  is one of the most visited pages on this blog. The standard Arduino LiquidCrystal library works pretty well, but suffers from two minor issues. The first is that it doesn't work as it should for 4-row 16-column displays. (It's fine for 2 row displays and for the 4-row 20-co

Arduino Yún - first impressions

Image
The Arduino Yún is the latest addition to the Arduino range, and it looks very exciting. In this post I'm assuming that you are familiar with the Arduino and with Linux; I may write a beginner's introduction later. The Yún combines the features of a traditional Arduino with a tightly-coupled Linux System-on-a-chip (SoC). The two are seamlessly connected via SPI using a Bridge class on the Arduino and some Python code on the Soc. Easy internet connectivity The Yún's Linux SoC makes it easy to integrate physical computing projects with the Internet. Previously you'd have needed an Ethernet shield or an Ethernet Arduino, using a fairly limited API which was not  always reliable. The Yún gives you many different ways to connect you applications to the internet. Some are useful but very simple; some will take longer to master but look extremely flexible. Shield Compatibility The Yún follows the form factor of its predecessors, so you can use it with many e

Three reasons why I like teensy 3.0

Image
I've just been experimenting with the Teensy 3.0, and it's fantastic. The teensy 3.0 is the latest member of Paul Stoffregen's teensy family. The teensy boards are USB-based micro-controller development environments, like the Arduino but teensy :) Three reasons why I like teensy 3.0 ARM Hardware Arduino Software It's breadboard-friendly ARM Hardware with lots of extra functionality Early versions of the teensy used Atmel AVR chips, like the Arduino, but the teensy 3.0 uses an ARM processor. The  teensy 3.0's CPU is a 32-bit MK20DX128 Cortex-M4 from Freescale. You can run it at up to 96 MHz. That's six times faster than the clock on a typical Arduino, and the speed is matched by plenty of memory for program and data. There's space for 128K bytes of program in flash and 16K bytes of data in RAM. As an added bonus, teensy 3.0 has plenty of pins, both general-purpose and specialised: 34 general-purpose GPIO pins, of which 12 can be used as a