Digital gage, Arduinos and Netduinos

Since my last update I’ve been busily collecting Arduinos and various other things. This is getting sort of expensive. Anyways, first off.

Digi-Gage

My Digi-Gage is coming along quite nicely. I spun a set of boards from Itead studio a couple of weeks ago, paid a bit extra for the ENIG and the black soldermask. very nice indeed.

Digi gage board

This board is for my digital gage. The board interfaces a PIC18F4685 to a LS7166 and thus counts ticks from a run of the mill glass scale. Hopefully it’ll work as well as I hope.

Digi gage board semi-populated

This is it semi-populated. turns out I forgot to buy the TQFP package MCU hence why the mcu isn’t present on the board. I’ll get the rest of the parts from Digikey soon.

Arduino – devboard collection

Devboard city

Well, I’ve been spending money on all kinds of things and perhaps it’s time to slow down a bit. Especially considering that I don’t use them. Here’s what I’ve got and some thoughts about them.

  • Arduino Uno – The standard arduino, handy, very handy
  • Arduino Mega 2560 – A bigger version of the standard. Good for extra pinouts.
  • Arduino Nano – Extremely handy, combining both the arduino usefulness with a breadboardable stick.
  • Chipkit Uno – A (much) faster 32 bit arduino. Only disadvantage is the 3.3 volt limit on IO. That said, it has double the IO of a standard arduino and uses the Arduino IDE
  • Chipkit Max – A larger version of the previous one with many more IO.
  • AVR Butterfly – Haven’t really played with it yet but it seems pretty promising for something cute and interesting.
  • Netduino Plus – Like an arduino but faster and able to be programmed in visual c#. I haven’t figured out how to program it in VB yet, perhaps it’s not even possible.
  • Netduino Mini – like the above but with a smaller form. Neat little device.
  • Duinomite Mini – another cool device with VGA out just like the Duinomite standard.
  • Beaglebone – Still haven’t used this much yet
  • Olimexino 328 – An arduino but built well. Great for industrial use. Gotta love olimex.
Anyways, here’s a gallery of the images.

Update time..

First off, something fun (if you’re boring like me)

I decided to record data in my car overnight and through the daytime. From 12:00am to 7:00pm thereabouts. I recorded the data every 4 seconds with the following sensors

  • NTC Thermistor
  • Low Sensitivity CDS (Resistor that changes when light hits it)
  • High Sensitivity CDS
  • Accelerometer X,Y,Z axis

Why did I do this? just cause. here is the resulting chart

Recorded data for Feb 1, 2012 in my car

Here is the legend: B = Temperature , C = Low Sens. Light, D = High Sens. Light, E = X axis accel, F = Y axis accel, G = Z axis accel.

All of these values are as the MCU read them, ranging from 0-1023. They are also logarithmic so as they approach 1024, the value is ‘squished’ so large changes appear small.  anyways, I thought it was neat to see the following things occur.

  • Temperature of the device goes down as the night wears on. There are some lights detected, probably people passing by in the alley behind my car. some drift is noticeable from the accelerometers (due to temperature change?). Also something to notice is that  X and Y are pretty much the same
  • The light appears to go haywire, this is me driving in the dark and going under streetlights. Also, the temperature increases, the accelerometers shake and show the duration of my drive to work.
  • As my car is parked you can see that I have parked crooked by the X and Y axis. Also, the sun starts to come up. As far as I could tell, it was pitch dark outside, the sensitive light meter says differently.
  • During the day, the overcast sky keeps the sky about the same light level, whereas with the less sensitive instrument, since it’s further from saturation, shows variations in the ambient light level through the day. Temperature also fluctuates.
  • The Drive home, very similar to the drive to work.
  • The car is level again and the light level drops as well as the temperature.

Anyways, I know it’s boring but it’s neat to see real world events (ones you didn’t know about) show up on the chart.

Arduino measurement

Update on the Digital Gage

Digital Gage

Things are proceeding apace with this as well. The rail and the encoder are attached together and they also slide together with the aluminum part I machined for that purpose. Now as for the board, this was a nightmare. Nothing but problems. I started out with a PIC18F46K80, the faster/cheaper versions of the high end 18f4680 and initially it was all OK. Until I tried to use the UART. For the life of me, I could not get the UART to stop spitting out junk. Once I started getting it to stop spitting out junk, it then output nothing at all. 🙁

RTJ gage board

Now, I’ve switch over to a standard 18f4680 but the LS7166 is giving me problems. aaargh! Anyways, things should improve with a bit of hard work and a fresh mind on the idea.