Arduino

posted @ 5:29 pm on Sunday, June 13, 2010

I picked up an Arduino prototyping board the other day. For my first Arduino project I’m pretty much doing the Practical Arduino Appliance Remote Control project, with a few twists.

The project out of the box will allow you to use a pc connected Arduino board to turn on/off a remote control power adapter. I intend on using this to turn on/off my lounge room heater.

Why not just use a reasonably cheap timer power adapter I hear you say… well..

  1. I want this device accessible via a web browser (pc, phone etc) over the internet.
  2. I want it to not plug into a pc but instead be accessible over my home wireless network.
  3. I want it to track ambient temperature of my lounge room so it can be graphed by munin or mrtg

Moving on from that I would like it to automatically turn on the heater on weekdays around an hour before I get home from work but to only do so if the temperature inside is under a certain threshold.

Given that this device would technically only be relevant for the winter months there is nothing really stopping me from altering the code to interact with an air conditioner during the summer :)

What have I been up to..?

posted @ 3:19 pm on Friday, August 28, 2009

- Had a retard car driver do a u-turn in front of my motorbike, wrote off the bike and had some nasty bruises after sliding some distance and slamming into the gutter on the opposite side of the road. :(
- Insurance replaced my ’07 Honda CBR1000RR Fireblade with a freakin’ sexy new 2009 model :)
- Promotion at work
- Played more paintball, figured I liked it enough to start getting my own gear but that involves getting a firearms permit.. joy..
- Burnt out doing hard core World of Warcraft progression raiding and stopped playing cold turkey for over a month.
- Transferred my WoW chars back to one of my original realms to play casually..
- Rolled a Resto Druid and am loving the healing thing :)
- Rolled a Rogue.. because I can ;P
- New furniture
- Currently have the flu and can’t seem to shake it.. *sigh*
- Got tickets to see Pearl Jam again wOO! ;P
- Got tickets to see Faith No More when they come to Sydney in February 2010 for Soundwave.. tho i really hope they do their own side show. Annoying ppl at those music festivals are annoying..

my holidays are almost over .. :(

posted @ 1:27 am on Sunday, January 18, 2009

Its kinda hard to believe but my 4 weeks annual leave is almost over.. For the first time in a while I actually feel good so the extra time off has been worth it. Did lots of things and got lots of new goodies over the past few weeks which have kept me amused.

  • Guitar Hero World Tour – omg, the drum kit so rocks!
  • Shitloads of DVD’s.. I picked up the awesome Die Hard Quadrilogy on blueray. I must say DH1 & 4 were certainly the best.
  • 3G iPhone – Thanks to Brett for shipping it to me from the UK and to yellowsn0w for the painless unlocking. My 1st Gen has since made its way into Sara’s hot little hands ;P
  • New Scalar Rider FM after the previous one got waterlogged and stopped working (silly me must have left the recharge jack unsealed and it got soaked in some rain). The new one is cool though cause I can now listen to FM radio while riding the bike.
  • Replacement Power Supply for my file server @ home due to the last one going out with a (rather large) bang! The one I picked up from the local computer joint is too loud so I have another arriving hopefully on Monday which should bring the noise back down in my computer room. We’ll see how that pans out.
  • New clothes – as always happens every Christmas, and probably the only time I actually bother with clothes shopping too hehe. I really don’t like clothes shopping shopping in general and 90% of the time I just wear shit that Sara has bought me… pathetic .. I know ;P.
  • Custom moulded earplugs – I have quite narrow ear canals which makes wearing normal foam ear plugs quite uncomfortable and annoying. As I hav erecently been doing a lot of long distance rides, and my motorbike not being exactly quiet these things are awesome. Extremely comfortable, blocks out all that wind and engine noise but allows me to hear things I need to hear like horns and/or approaching cars etc.
  • Motorbike – Did another couple of big motorcycle rides, the latter was the one that took out my old Scaler Rider bluetooth headset for my mobile/gps. I have also seen on this ride, for the first time, a no speed limit sign. I didn’t even know they existed in this state, or at least anywhere close to civilisation, however considering we did around 700kms that day it was possible that we weren’t at all. Furthermore that particular street seemed to disappear off my GPS map as well.

    I still need to sort out the power cable for the GPS as I found that the internal battery seems to only last for about 6 hours before it goes completely flat. I did get the CBR1000RR in for its 12000km service too and was going to get the cable fitted however the day before putting it in for service I couldn’t find where I put the cable.. I think i put it in a ‘safe place’ hehe

  • Fishing – I also got back into a bit of fishing, had a few days there where I went out with my sister and some friends for a bit of fishing, I actually broke my several year drought and actually caught something worth keeping! w00t! hehe. It was a rock cod or something, tasted pretty good.
  • World of Warcraft – Contrary to speculation, I haven’t actually played much WoW over my holidays. Sure I have played it a bit, but there was a little over a week where I didn’t even log on. Of course this was over christmas, new years etc where I just had too much other shit going on. Was probably the longest time I’ve had away from it in a long time. There were certainly withdrawal symptoms happening though ;-) One thing is for sure though, the current content is just too freakin boring… the whole Naxxramas 10 man and 25 man is pathetic, no incentive to do 25′s when you can just do 10′s and get almost the same quality gear. the content is also WAY too easy, we’re burning through this content like a hot knife through butter.. I understand that they want the average joe to be able to experience end game content, but those hard core raiders who play specifically for end game progression have been slapped with a wet fish… On top of this a lot of classes are also in a bad shape after the expansion which has also resulted in a number of ppl leaving the game which has directly impacted our end game raiding :( To make matters worse our best raid leader has transferred and our guild master has decided to step down. I’m not too sure where this is going to leave the guild or if they are going to be able to recover. I guess I’m back into the same boat I was 7-8 months ago , looking for a decently progressed end game raiding guild that needs a Warlock :)
  • I’m sure there’s plenty of other crap thats happened that I’ve missed. I really should update this more often – but not as often as those wacky kids and their twitters ;P Yes I’m lookin at you both Daveg & Skywalka!

    The Butterfly Effect

    posted @ 1:31 am on Saturday, October 25, 2008

    Went and saw The Butterfly Effect on Thursday night and they absolutely rocked! The two support bands were good, but in particular I really liked the performance by the opening band Sleep Parade.

    If you get a chance to see TBE on their current tour, do it! ;-)

    Got Wine?

    posted @ 10:36 pm on Friday, January 4, 2008

    Sara and I were up in the Hunter Valley for the past couple of days and had a really good time. I do, however, think we got a little carried away as this is what we brought back.

    My new [Epic Mount]

    posted @ 7:50 pm on Saturday, December 22, 2007

    Its been over 3 years riding my trusty 2004 Honda CBR 600 F4i and the time finally came to upgrade. As a slightly early Christmas present to myself, I today just picked up my brand new 2007 Honda CBR1000RR Fireblade. I took a dodgy blurry pic of it after I got home, but the battery went flat in the Digital SLR and I was too lazy to recharge it and go take another photo ;P

    It was a pity that the weather was so crap today or I would have been out all day riding it. I’m really *really* happy with it so far. So I think if the weather is good tomorrow I’ll be putting it through its paces ;-)

    Free Image Hosting at www.ImageShack.us

    its been that long?

    posted @ 5:45 pm on Monday, November 19, 2007

    It came up in a topic of conversation between a couple of friends and the ‘better half’ over the weekend, reguarding how long I’ve been playing World of Warcraft. I did join the game a little later than others *cough* ..

    Account Created:
    June 18, 2006 1:23 AM PDT

    So there ya go..

    Another bit of trivia; WoW will be 3 years old next week, it was released on 23/11/04 :)

    I did what?!

    posted @ 10:49 pm on Sunday, August 5, 2007

    I bought an Apple Macbook Pro a little while ago! Now this is very significant coming from someone who has been a linux zealot for such a long time! Plain and simply though, I got tired of the instability of Transgaming’s Cedega product, which really is a modified version of wine to run your popular windows games on linux.

    I have been using cedega for quite some time, and up until recently have been very *very* happy with it. As a heavy World of Warcraft user, I need to periodically use a voice communication software like Ventrillo or Teamspeak. While Teamspeak does work under linux, it is a complete pain in the ass to use while World of Warcraft under Cedega is running. Ventrillo is almost fsck’ing useless , no wait.. it IS fsck’ing useless.. *sigh*

    I also started experiencing random crashes , more and more often, when playing WoW under Cedega and I could only attribute this to using it under Cedega so I finally got the shits with it to a point where I went out and bought a new 17″ Macbook Pro, one of the new ones with a 2.4GHz Intel Core 2 Duo CPU’s in it. I must say, its a freakin impressive looking machine. While it has taken a while to get used to the interface after using Fluxbox for so long, it really is quite a nice interface. There are still things that really annoy me but thats what I get for leaving a perfect (!) linux desktop (yes, if only games manufacturers would make them for linux as well as windows/mac…

    So the difference in gaming persormance I bet you are asking.. well.. at first it was pretty shit.. I was really *really* disappointed considering I had spent so much on a new laptop to replace my main desktop for the sole purpose of gaming. It turns out that there was a minor World of Warcraft tweak which completely turned those performance issues around. I now get more than 100ms network latency and around 30-50 frames per second improvement over running on linux. The Macbook pro has 2 x fans which dynamically change their speeds based on how hot the CPU or GPU are and when I am in certain graphically intense locations like Netherstorm, the fans kick in to their higher speeds and its rather audiable, but when I’m in these areas I tend to have the sound/music up and don’t really notice it too much at all. When I’m not gaming, the laptop is so quiet I really can’t hear a thing at all.

    I also had to pick up another new pair of Sennheiser headphones that used USB as the mac requires an amplified microphone which most microphones aren’t. So When I tried plugging in my previous sennheisers with the separate jacks it wouldn’t use the mic, and I was forced to use the one built into the laptop. While this laptop mic is quite good it caused problems when i was sitting back away from the laptop or leaning over looking at another screen/pc.

    After a great deal of issues trying to get a Sennheiser PC165 from any Australian store, I ended up getting a brand new pair of Sennheiser PC166′s from amazon.com which arrived within 3 working days and saved me over $100 from buying it locally which I also was rather impressed with. The PC166′s also perform really really well and I would have to say are my current favourite set.

    Moving house and dodgy ISP’s

    posted @ 5:57 pm on Wednesday, June 13, 2007

    We moved house a few weeks ago into an almost new town house from an older town house of around 1 MILLION years old.. (ok, I exaggerate.. it was only maybe 20 years old) so we are pretty happy. The cats are happy too ;P Not unlike a lot of other people, the owners of our previous place decided it was the right time to sell and the new owners wanted to move in. Luckily enough we knew this was coming for maybe a year before it happened so it was no great surprise.

    The move itself was rather uneventful which was great. Took a few days off work to do the move which was really handy. The only problem we really had was pertaining to our ADSL relocation. This actually turned out to be good in a way as it gave me almost a week and a half with no internet access and a good excuse not to play World of Warcraft. This allowed me to catch up on downloaded TV episodes. It was quite amusing that even though I had a lot of downloaded TV episodes that I hadn’t gotten around to watching for months yet I was still ahead of the Australian Free to Air broadcasts of the same shows.. Australian TV is really quite pathetic :(

    … I did write a whole lot of shit about Internode and my decision to change ISP’s but I deleted it in favour of a condensed version instead. The reasons essentially came down to the following:

    - Internode screwed up my relocation request causing over a week long outage
    - Was connected for 2 days then suffered an 8 hour outage, on a day that I was intending to work from home *arugh*.
    - Automated Internode relocation process whereby they create an alternate account (username_new) and do some kind of a switch over when told by telstra that the new location had been provisioned didn’t exactly work in the automated fashion as it was intended.. yet another Internode fuckup :\
    - 3 phone calls to Internode’s support and/or accounts teams whereby the calls averaged 50 minutes of on hold music before speaking to a human.
    - One of the above phone call instances involved a support person verbally promising to return my call within 1 hour but this did not happen, I had to call back and *wait* again..
    - 2 of the above mentioned phonecalls started outside of their indicated peak periods so I’d hate to see the wait during their peak periods.
    - Internode released new but significantly more expensive plans
    - I refuse to pay more than $100 a month for internet (I’ve gone by this personal rule ever since the dial up days)
    - Internode cannot provide me with ADSL2 yet other ISP’s (iinet in particular) can.

    Furthermore when I tried to cancel my service there were the following issues:

    - Cancellation could only be done online.
    - Online account cancellation was again poorly worded where ‘not required’ fields _were_ actually required to be filled. In this instance I left contact mobile number as I *obviously* would no longer have internet access to get my mail. That and I wanted to ensure that if they contacted me it was by voice. This caused the form to fail and I had to resubmit with the additional contact details.
    - After submitting the form, a week passes by and I did not receive as much as a verbal or email confirmation that my cancellation was recieved.
    - Followup email to their accounts department yielded no response.
    - Followup phonecall again was on hold for 30 mins (they do have a callback service which in this instance I used but didn’t get a call back for quite some time afterwards)
    - The return phonecall advised that someone had just then actioned my request and sure enough 10 minutes later I could no longer gain access to my home machines remotely.

    *peers up* even in point form the above is still a long list of irks that I had with them..

    So.. now I wait patiently for Telstra to remove the codes from my line which will enable me to get ADSL2+ from iinet. Past experience from other guys at work indicate that this will only take a couple of days so we’ll wait and see.. ;-)

    The straw that broke the camel’s back

    posted @ 1:17 am on Sunday, April 15, 2007

    Today is day 3 of what was supposed to be a nice relaxing 4 days off.. The first day and a bit was great, then it took a turn for the worse…

    To begin, the Thursday was really quite good; Sara and I went to see John Mayer at the Sydney Entertainment Center on Thursday night. As Sara was a member of some wacky Fan Club she left early in the day to go to a sound check, to do secret squirrel things those wacky fan club weirdo’s do.. ;) Anyway, I met up with her afterwards, and checked into the Novotel Darling Harbour and had dinner at their restaurant. The food was probably the best I had tasted in a long while and their service was impeccable, I was really quite impressed. Later we wandered down to the Entertainment Center and sat in our FRONT ROW seats! hehe, I’ve never been in a front row, at least not since I was a teenager crowd surfing in a mosh pit of some punk band.. They were Section B, Row 1, seats 1 & 2 which meant they were slightly offset from center, they were pretty remarkable seats. Sara’s hard work at getting into work nice and early, refreshing the Ticketek web page like a maniac the minutes leading up to the official time the fan club tickets went on sale obviously paid off ;P The concert was pretty good , I quite enjoyed it. Sara managed to get some decent photo’s and she is normally incapable of taking non-blurry photos, so a job well done on her part :)

    After our stay overnight, we decided to wander off home of which I had now started mentally preparing myself to have to deal with Sara’s Windows XP machine which had a failing 80Gb disk drive. I had earlier in the week ordered a replacment 500Gb SATA drive to replace it with and it merely was supposed to be an install of WinXp on the new disk, copy what data I could over to the new disk and restore anything else from backup tape.. This however turned into an all night event! I met problem after fucking problem with the pathetic thing they call Windows XP. Ok, I know its an ageing Operating System, but surely they can have *some* support for sata controllers?! The worst part about it is that you are required to use a fucking floppy disk to do the whole F6 at installer boot type deal, point it to the floppy with the sata drivers deal .. but seriously, who the fuck uses floppy drives these days?! It turned out that all bar ONE of my floppy disks were dead and the only functional floppy drive was in my pc, which I can’t stand powering down because its Linux and doesn’t have to! The only reason it even had a floppy drive was because I no longer have the floppy blank face place to my case anymore, its just a gap filler! So anyway.. Off I go and shut down my box, switch the hardware over so I can get an OS on Sara’s new disk but no, the pathetic windows install cd would refuse to complete its initial startup unless a Parallel ATA disk drive was present on one of the IDE controllers! **ARRRUUGGHHHH!!!**

    By the time I had figured out the crap deal with the ide, sata, boot sequence bullshit it had gotten late, and I had really wanted to spend a good part of my 4 days off playing World of Warcraft and levelling up my characters but as it would turn out, its day 3 of my 4 days off and I haven’t even logged in.. *sighs*

    So anyway, there comes today when I finally get the sata drivers into the winxp installer , it boots and i can see an OS.. problem solved yeah? No.. I need to install drivers for wireless card or the network card to get online and get patches etc but guess what? All the USB ports will not function once the OS loads until it gets more drivers. The BIOS sees the usb keyboard, Linux sees the USB keyboard, but then the freshly installed WinXP OS starts, it can’t see shit! Given that I’m a 100% Linux person for work and at home, I’m completely shocked that Operating Systems out there *still* are unable to get things right! It has been so long since I have come across a system that has hardware that has no kernel support (aside from dodgy assed IBM server gear, but lets not go there). Sure enough I pull out an old Knoppix CD and am able to boot, get on the network, mount NTFS filesystems, rsync Sara’s data from the failing disk to the new one without *any* problem, but expect windows to do that? NoooooOooo… The last straw, as you are probably wondering from the title of this post, was all of the above combined with the inability this morning for windows to actually get to its login screen.. This was it, I had enough, I didn’t want another windows machine in this house at all!

    This is about the time Sara and I start talking even more seriously about moving her to an Apple Mac. A decision was quickly made and we ended up wandering off and picking up a sexy little Apple Mac mini! It took approximately 30 mins to go between cleaning up Sara’s computer desk, removing the old hardware, unwrapping the Mac mini, gawking at it whilst taking photo’s for gallery purposes (and Arithon’s enjoyment) to having it up and running, on the wireless network and already patched to the latest patch levels!! If only I had of done this years ago, I could have allocated my time much better than spending hours and hours on end getting Sara’s Windows machines configured with all the drivers, updates, patches, security fixes, patches and service packs…

    All I have heard from Sara’s computer room all evening is little squeals of excitement, and yes, I’m sure she really is still playing with the Mac mini! ;) It really does have some sexy features, I’m really impressed with it and wouldn’t mind one myself. Apple sure have done an extremely impressive job with their Operating Systems since the days I remember playing with Eliza on some ancient Apple Mac back in High School.. The next test is to see if I can get World of Warcraft running on it and if so, I can’t see what’s stopping me from using one of them as a gaming pc in my computer room. Currently I play World of Warcraft using Transgaming’s Cedega on my Debian unstable/experimental machine, which works really well, but I’m missing certain things like apps to chat via voice with fellow team/guild members. Yes, I know TeamSpeak works under linux, and I do have it running nicely, but not everyone uses this. That and I just want one ;P

    Edit: OMG, wasn’t that a rant!