Tuesday, June 3, 2008

Goodbye!

Hi all. Finally remembered to sign off on the blog! Project is done report is in and results are already out :-) Hope you enjoyed the show.

Wednesday, April 30, 2008

Nearly There

Ok im way behind on my blogging so heres what i've been up to. Fixed the problem i was having with the LCD. Its now displaying the cues. From an implementation point of view im pretty much done. I think i might make a few changes to the python code but nothing major. I also want to tidy up the website and the way cues are displayed, again only a few small changes. I'll get this done Saturday. Final draft of report is due Friday so i've a few things to finish this evening. Tomorrow i've to get the final evaluation done and added to the report along with a data flow diagram. Hopefully that will be the final draft done. Wish me luck :-)

Tuesday, April 22, 2008

Pouch

Ok got the pouch finished today, which somehow took hours. Sewing is really hard. Also soldered the circuit and went to hook up everything but ran into a slight snag. Ok so theres two serial ports on the gumstix, one for the LCD and one for RFID reader. Reader only works on second one for some reason so i had to use the first for the LCD but it turns out when the gumstix boots up it outputs its startup messages on the first port, which looks like crazy code on the screen, so i tried getting them both to work off the second port but no luck. I decided then to just have two different batteries one for reader and gumstix, powering gumstix will just be for demos and stuff if i dont want it plugged in all the time, then second battery powers the screen. Turning on the screen seperatly avoids the crazy output when the gumstix boots. Ok thats fine for now however there seems to be something funny going on with the code now. RFID stuff works but not all messages are being sent to the screen. I cant see whats wrong at all. I'll give my brain a break from it and take another look tomorrow. Will make a short survey like thing before i go to bed about the cues evaluation and get some people to do it tomorrow.

Saturday, April 19, 2008

LCD update

Finished off a spot of coding today. The LCD will now display the time and date of when u last had something. It does this in a loop. The screen only gives 32 characters, and doesnt scroll which i initially thought, so the info it displays is fairly simple. Just the item with the date and time of when u last had it. The only thing left to do with this is to solder its circuit properly. I'll do this next week when im making the pouch. Also want to look into getting the LCD backlight working, not that its really important but it looks better. It works for its self testing setting but not when i send data to it. I think i recall seeing a list of codes online somewhere to make it do different things so i'll have a look for this. I finished off my second draft of the report today and sent it to Graeme. For next week i want to do the survey for the readable cues evaluation, make the pouch and test it, and also now that i have a bit extra time left i will take another look into the bluetooth and see if i can get it workin. Wish me luck!

Thursday, April 17, 2008

Progress... Finally!!

Ok finally a good day. I started off today writing a C program to open the Gumstix's serial port and send data to the LCD. Was'nt too bad in the end, thanks for the sample code Steve, and seemed to be running fine but nothing was being displayed on screen? I was testing this on fedora 6 first because you cant compile anything on the Gumstix. Anyway i decided to just try the code on the gumstix but it didnt like it one bit. Before fixing this i decided to make sure data was actually getting to the screen. I went over the circuit again and it turned out i had the transistor the wrong way round. The LCD was still being powered so i didnt realise. Anyway i fixed this and tested it by just echoing strings to the serial port. The screens cursor seemed to react so i figured it was getting data now. Just for the craic i thought i'd try python again because it connects to the serial and sends data in just two lines of code, and also you can set the correct connection bit rate which might have had something to do with echo not really working. Well anyway it worked!! Its also super handy that i can use python because i can edit the python script which processes tag reads to also send data to the screen. Im just not sure yet what actual info im gonna display???? :-/

Wednesday, April 16, 2008

Update

Ok just a quick update on whats happening. The bluetooth work is going on hold for the moment as its proven very difficult to find a stable buildroot with wireless and bluetooth capabilities. I have a backup plan for later if theres time. Started work on the LCD screen. It was pretty straightforward to bulid the circuit for connecting it however programming with it has proven difficult. I initially tried python with pySerial but didnt get any results. Im going to try C next which i was going to work on today however i forgot that the lab computers have security on the serial ports in Linux. It seems serial ports are a security risk in linux and you can use it to access data. Nevermind i can work on it tomorrow at home. This has given me time to work on my report and i should be pretty much finished my second draft today. I also took some time to get some feedback on what i could call my system. This was less productive...
Suggestions so far are:
  • The Colinator
  • Find your crap if you lose it machine
  • Come find with Colin
  • Find that bitch
  • Colon
  • Find me
  • Locate -"This already exists :-/"

A big thanks to everyone for their amazing suggestions...

Tuesday, April 8, 2008

Still going bald

Ok i think everything that could possibly go wrong at this point has gone wrong so its all up hill from here lol. Had some trouble flashing buildroot yesterday. First filesystem didnt work but i think thats because i didnt pick right format for gumstix. Second one was too big, it has to be less than 16mb. Finally have a proper one just need to flash it over. The annoying thing is all these things take hours. Had to leave buildroot running all night. It also didnt help that my laptop decided to stop working half way through all this. It turns out if the root folder is completely full, then linux cant boot properly. On the plus side i know how to flash the filesystem correctly now, its incredibly simple using hyperterminal in windows, which is what i had anyway to begin with. Aghhh! Ok deep breaths... :-) Also i updated uboot so thats much easier for flashing file system now. Also i had time to go over programming with bluetooth and python again and it seems very straightforward. So for today i need a break from this and will concentrate on my report, but am still determined to get the bluetooth part finished by tomorrow or thursaday!