Posts

Showing posts with the label veroduino

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...

Bluebot-L the retired veroduino robot

Image
Bluebot-L We learn by our mistakes, but it can be cheaper and less painful to learn from the mistakes of others. Here's one of my mistakes; I hope the story will save you time and money. A few months ago I started work on a wheeled robot based on Veroduino - an Arduino clone build using Vero strip board. I had a wheeled base which contained a couple of geared motors. They drew a fairly low current so I decided to use a TC4427A h-bridge controller on a shield-like board that sat atop the ATMega326 micro controller. I decided to use separate power supplies for the controller and the motors;  I bought a couple of battery holders, each taking 4 AA cells. I used foam plastic for the base; it's easy to cut and drill,  and it's lightweight, but strong enough for the job (so long as it isn't crushed). Construction was rapid and I soon got to the point where I could try it out on a simple line-following exercise. Disaster! The b...

Arduino on a budget - part 7

Image
My Veroduino is compact, cheap and easy to use. The Mk 1 is a little fiddly to construct; I hope to build Mk 2 as soon as the components arrive. The two strips alongside the microprocessor (MPU) allow you to link plugboard components to any MPU pin. The male jumper to the left of the MPU allows you to provide power from a FTDI USB TTL cable , and to program the device using the Arduino development environment. The pushbutton resets the MPU; you need do a manual reset while programming. Timing the reset is a matter of trial and error. I will buy and build a USB breakout board soon. That should perform an auto-reset when programming. The boad is built on a type of Vero stripboard which has a central break in all the coper trackes. This is ideal for boards which carry Dual-in-line chips like the MPU. The board layout is very simple, with only five manual strip breaks needed. Four of the breaks are underneath the jumper for the FTDI cable. The outside jumper pins are soldered to stipboard ...

Arduino on a budget - part 5

Image
Introducing the Veroduino The Veroduino is inspired by the Paperduino , Adafruit's Boarduino and Oomlout's Breadboard Arduino Compatible Kit . I built it on a length of Vero's 01-0171 stripboard . It's a narrow board with a central gap in the conductive strips. It's perfect for DIL components. I used Oomlout's Arduino Compatible Component Bundle and a set of stackable headers . The Veroduino Mk 1 has room for a 5v regulated power supply but for now I am using the FTDI USB TTL serial cable from Oomlout to program the board and to provide power. Veroduino Mk 1 almost fits on the stripboard but the Crystal overhangs the edge by about a millimeter. Mk2 will use a ceramic resonator and should be both cheaper and smaller. The cost of the Veroduino is under £15 inc VAT. You will also need a serial cable (£15.50 inc VAT). Oneof these can be used to program as many Veroduino boards as you want. You can develop and download software to the Veroduino using the Arduino d...