Thursday, June 16, 2016

arduino based multi-function display for Vanagon - part 2


I added a clock and calendar screen. It took a bit of work to sort out the navigation logic since this is a new feature that I didn't plan for. With each feature that I add, it had been a hand-to-hand combat to conserve precious memory, both the flash and the static RAM. The latter is most critical as there is only 2k bytes. My goal is to have a least uncommitted 512 bytes left. The power management features that I implemented is working very well now and appears to have few bugs. The joystick UI is very smooth without mis-registration. I also managed to add time stamps to the file creation and modified.

Tuesday, June 14, 2016

arduino based multi-function display for Vanagon - part 1



This is the continuation of a series of post staring with my purchase of an Arduino Uno microcontroller board. Started as a project in search of a mission soon it took on an evolution. It evolved into a project that fulfills some needs that I have long wanted to address and more.

a multi-function display for isolde - part 9



The keyword for this post is power management. Dealing with power management is complex work in hardware or software design. The algorithm of this Vanagon multi-function display has now becomes quite complex. There is a round robin multitasking in which the tasks has their independent cadence and conditional logic. Additionally there is timer interrupt driven polling of the joystick. Now I am adding power management features to manage the ability of soft-on and soft-off based upon the Vanagon's ignition, as well as the ability to use the data logger function independent of the Vanagon's ignition key position. I started to add the power management function when the flash memory is already at 95% capacity. The RAM is already at 70% capacity. Cutting it tight is an understatement.

Friday, June 10, 2016

a multi-function display for isolde - part 8


A lot of Arduino toys keep arriving in the Asia to USA transit pipeline. Because of the 20 to 25 shipping time I have been trained to put stuffs that I anticipate I can use way ahead of time. I also tend to buy 2 if I anticipate the item would be good because I need to keep one copy of the system for continue code development and maintenance. I however buy 1 if the item is unknown or expensive. Most of these stuff cost between $1.50 to $6 so it is not like I am going poor house doing shopping spree.

Thursday, June 9, 2016

a multi-function display for isolde - part 7


The rude awakening that my code exceeded the 2k bytes of RAM in the Atmel ATmega328 uC's quickly put the brake on the progress. I have spent some time in the weekend investigating what are the big RAM consumers and to find way to work around them. Else I have to readjust the list of features that I set.

Friday, June 3, 2016

a multi-function display for isolde - part 6


More toys arrived from China. Among them are an 20x4 LCD display with I2C interface with green LED backlight, an accelerometer breakout board, Arduino Uno protoboards, and the most exciting one - a data logger shield that has an RTC and a SD card connector as well as some prototype area.

Tuesday, May 31, 2016

a multi-function display for isolde - part 5




This is a continuation of a previous post a multi-function display for isolde - part 4. I have been searching for ways to mount the OLED display and the joystick onto Isolde's accessory track. My plan is to hide away the Arduino Uno and the miscellaneous electronics in an enclosure.

Friday, May 27, 2016

a multi-function display for isolde - part 4


The reason I purchased these engine oil pressure and temperature gauge was to get the corresponding sensors. The gauges were so cheap ordered directly from China so I thought the purchase would be a good hedge against my homemade multi-function display project should I decided against it. I would have the option to install these two low cost, yet relatively unobtrusive gauges.

Monday, May 23, 2016

a multi-function display for isolde - part 3



This is the following on post to "a multi-function display for isolde - part 2". I am making some small progress on the programming, and more parts arrived. Among them is the 128x64 pixel OLED display that I was looking forward to play with.

isolde engine coolant warning


Recently I took Isolde out during an early hot day. The ambient temperature was about 88F which is unseasonably hot for May. In my return trip home, the red LED in the coolant gauge began to blink. I thought to myself this is not good. I was crossing a long bridge at the time and I had yet to gather my faculty as what the LED indicator is for. I initially thought it is the engine oil warning light.

Thursday, May 19, 2016

in good shape - brunnhilde part 22

I have been taking a lot of time pondering the best way to carry the Honda generator in Brunnhilde. There are only two viable options. Carry it inside or outside in the steel enclosure that I recently purchased. This is the follow-on post to the previous one in this series.

Tuesday, May 17, 2016

a multi-function display for isolde - part 2


This is the following on post to "a multi-function display for isolde - part 1". I have been giving some thoughts to how to package the bits and pieces of this multi-function display system. It is quite easy to design the electronics and develop the software. What often overlook aspect in project like this is how to package the electronics and dealing with the interconnects. Fabricating good looking enclosures are always the biggest challenge for hobbyists and I am no different.

Monday, May 16, 2016

a multi-function display for isolde - part 1


The idea of a multi-function display for Isolde came to me quite accidentally. It started from when I decided to play with the Arduino microcontroller board. In anticipating its arrival via long shipping time from China I tried to prepare for what simple programs to write. I found this LCD display that I have at home since circa 1994 without any expectation it is of any good  or I can find datasheet for it.

Sunday, May 15, 2016

invested in a microcontroller board - part 3


The more I play with the 4x20 dot matrix LCD display the more I like it. It is a nice size that offer good legibility and can display quite a lot of crucial information. It would serve well as a multi-function display that can be configured for many different purposes, including data logging. It would make a nice instrument without causing distraction for nighttime driving. It has great viewing angles and the font size is just perfect.

Saturday, May 14, 2016

invested in a microcontroller board - part 2



This is the following post to a previous post of a blog post series on my venture into tinkering with Arduino microcontroller boards. I have been doing a lot of reading about the Atmel's ATmega microcontroller architecture and programming. I also have been doing sporadic research of all the Arduino compatible sensor shields and breakout boards out there, and I have been itching to start playing with them. Yesterday the $3.99 Arduino Uno compatible board arrived from China.

Sunday, May 8, 2016

texas barbecue brisket - part 2



I learnt by mistakes of most things all my life, and making brisket is no exception. Fortunately for me I am an introvert. When confronted with a challenge I turn to myself to seek answers, as well as to read between the lines from those I respect and trust. This is my 3rd or 4th attempts in making smoked brisket. Do not trust the hypes on the internet, especially from those self-professed pit masters. They would lead you to believe it take decades of experience to make a edible brisket. With a lot of things there are more disinformation and "the dead leading the dead phenomena abound. When I first set out to make the authentic Texas barbecue brisket I thought it is some mystical thing that you can only learnt from the famed masters. Not until I turned inward and to read from those I trust and respect. Think out of the box is the password of this game.

Friday, May 6, 2016

compressor bit the dust - part 2



The problem with finding a replacement for this failed pressure switch is its unique design in which it has small plastic air nipple which it bolts up directly to the small air port of the gauge manifold. As this switch is long ceased to be in production substituting any other pressure switch, I must find a mean to plug up this port. This port sees the tank pressure which can be as high as about 125 PSI.

Thursday, May 5, 2016

compressor bit the dust - part 1

Nothing is permanent. All things die sooner or later. I bought this Campbell Hausfeld compressor from a local store long ago, during the early emergence of oilless compressors. I wanted a tried and true piston type, and chose this with cast iron pump that was made in USA. It have served me well all these decades. It also has a US made motor as well.

Saturday, April 30, 2016

invested in a microcontroller board - part 1



I am tired of sitting on the fence of which microcontroller to buy. I have been wanting a Raspberry Pi but upon some research I decided to start with a Arduino Uno as it is a better choice with hardware controls. I made a big $3.99 investment at less than 1/2 the cost on Amazon. It is a bare bone Uno but I should have everything else I need at home to get started.

Thursday, April 28, 2016

ventilation fan for brunnhilde - completed version


When I set out to build a ventilation fan for Brunnhilde in 2012, I envisioned it would eventually become automated. It took nearly 3 1/2 years for the pieces to all come together, while the manual version served well.