Posts

Showing posts from May, 2011

First project with the Jeenode and GLCD

Image
Having had my Jeenodes for a while now and eventually got some code to actually work, reading DS18B20s and displaying the results on a 16x2 line display, I fancied getting to grips with the GLCD, also from Jeelabs. This is just a project to help me learn about the hardware and software, it may be useful in to someone out there.  I've tried to put plenty of comments in the code, mainly so I remember what I did when I look at it in two weeks time.
My target project is to create a portable (small) display that I can control the central heating from, i.e. room temp., heating on/off and hot water temp. control.  This project is the prototype phase.
At first it was a bit of a slog trying to understand the glcd library and how to send float variables to the screen (C++ is a new language for me), after that came the RTC coding to get the time on the screen, especially with leading zeros.
What I eventually came up with was a display showing the time, with leading zeros (thanks to 'sprintf…

Really Really small Oscilloscope

Image
I came across this post on the Jeelabs website and thought it was worth posting.
This thing is about the size of a 9V PP3 battery, based on an ATXMEGA32A4 processor with a 0.96" white OLED display it includes the functionality of a dual channel oscilloscope, multimeter, protocol sniffer and waveform generator.

It can be found here and there are some videos of it in operation here.

The firmware can be updated but it needs a special USB/programming cable and it will, in the future, be connectable to the PC and use PC based interface.

The waveform generator operates independently from the scope function so you can apply the signal to a filter circuit and watch the results on the scope.

It's also possible to write your own software and use it for other projects, there is one picture on the site showing it displaying temperature from a DS18B20.  I think this requires a special programmer though.

All for a price of $49, a bargain!

I don't know about availability in the UK but If …

Next consumer computing phase ?

Image
Every now and then something comes along that changes people's attitudes towards technology, for me there was VHS/Betamax video recorder, the Commodore VIC20, the BBC Micro, the CD player, to name a few.

For me, the main impacts have always been with the introduction of new computing technologies, like the first Toshiba dual floppy DOS based laptop I had access to at work, closely followed by my own 286 Turbo PC I built at home.

The last key step in computers, for me, was the Netbook, inspired by the goal to supply cheap computing to the third world it soon became a whole new platform that was so much more portable.

Of course there is tablet computing but as yet I've not found the need to spend the money to go there!

Now there is a branch of computing technology to embrace and it looks like it will be very affordable, the Raspberry Pi.

Being developed by the Raspberry Pi Foundation, a UK registered charity, they hope it will become an ultracheap computer platform to …

Free Web based Autorouting software

In my internet travels I came across a really useful site for autorouting PCBs, the application is Java based and runs from the website.
It's compatible with most main PCB design SW like the free version of CADsoft-Eagle and even though it's still in the development phase, its on-line version is free to use.
So if you've got a nice Arduino clone design and you want to optimise the PCB by reducing the amount of vias you have then give it a try, if you haven't got a PCB ready then you can still give it a try with the demo files supplied.
The site can be found here http://www.freerouting.net/

Jeenodes are here

Image
At last my Jeenodes arrived and I started to programme them with some of the code I was using on the Arduino UNO to display temperatures from a DS18B20 on the LCD.

I was now using the I2C LCD interface from Jeelabs (LCD Plug) so I used the Demo LCD sketch from Jeelabs and modified it using the Dallas temperature library to read a DS18B20 conected to port 4.


I have the Graphic board on order so I can use a large display and, using the code from Jeelabs, create a remote temp. sensing and control unit for my central heating control project.

The built in 868MHz Transciever will allow comm'.s back to the control unit in the airing cupboard.

Hopefully with the efforts made by Jeelabs to extend battery life I hope to get months of usage from a couple of AA batteries.