/srv/irclogs.ubuntu.com/2012/11/14/#ubuntu-nz.txt

chiltsmorning18:37
ibeardsleemorning18:37
hadsmorning18:38
ibeardsleeshit .. opened up the wrong irc screen session first ;)18:38
ajmitchmorning18:40
ibeardsleehmm Evolution in Quantal is a POS.19:12
ajmitchI suspect it's not getting a lot of love upstream these days19:18
ibeardsleewhich is sad, because Ubuntu still hasn't completed the switch to Thunderbird19:20
ojwbmorning19:51
mwhudsonmorning20:01
mwhudsonhads: ping20:01
hadsmwhudson: pong21:50
mwhudsonhads: hi, sorry about the delay22:21
mwhudsonhads: i have a couple of electronics gadgets i want to build, was wondering if you could supply the parts22:22
mwhudsonor even the prebuilt gadgets :)22:22
hadsmwhudson: Sure, probably the former, possibly the latter.22:23
mwhudsonhads: one is a way of powering on and off this 5v device i have from software22:23
lifelessmwhudson: do you want to build, or to have ;)22:23
mwhudsonlifeless: well, i want to have22:23
mwhudsonhads: it's got a 5.5 mm OD 2.1 mm ID dc jack so i'm thinking a dc plug -> bare wire -> usb controlled relay -> bare wire -> dc connector type assembly22:24
hadsYup sounds about right.22:25
mwhudsonhads: the other is a way of completely unplugging a usb device from software, which i guess is a similar hack, although i don't know if you need relay on each wire or if one on the +5v wire is enough22:25
hadsI've wanted to do the same myself actually.22:26
hadsLet me think about it.22:26
mwhudsonfor the former task in our lab we have a bunch of 240v pdus on the upside of the 5v power supplies22:28
mwhudsonbut that's kinda ridiculous22:28
hadsIt's more than one?22:28
mwhudsonwell22:29
mwhudsonwe have a lab with 50 odd devices that need to be power controlled22:29
mwhudsonfor development on my desk i have 122:29
hadsAh right. Can I ask what they are?22:29
mwhudsonhads: sure, they're arm developer boards22:30
mwhudsona panda in my case22:30
hadsCool.22:30
mwhudson(actually i have three boards, but one is a broken panda and another is a beagle xm and noone seems to care about omap3 any more in linaro)22:30
hadsI just bought in an XM for someone yesterday.22:30
* ajmitch wants to do something slightly simpler, a lap counter/timer for a slot car track :)22:31
mwhudsoni found a place you could buy usb to bare wire cables, of course ironically it costs a lot more than a regular usb cable :)22:32
hadsajmitch: You need lasers :)22:32
mwhudsoni would like to avoid soldering if i can, but even i can manage wire strippers22:32
ajmitchhads: obviously22:33
ajmitchthough I think I may keep it a *little* simpler than that22:33
hadsYeah, people ask about custom cables occastionally. 90% of the time it's cheaper and quicker to get a normal one and cut it in half.22:33
hadsHmm new word.22:33
hadsmwhudson: Are you in a rush? I could probably whip something up but it might take a while.22:34
mwhudsonhads: no not really22:34
mwhudsonhads: define "a while"?  weeks, months?22:34
hadsI would say weeks but then it's not too many weeks until Christmas :/22:35
mwhudsonheh22:35
mwhudsonearly ish 2013 would be fine22:36
hadsOkay cool, let me add it to my list :)22:36
mwhudsonheh22:36
hadsEvery time I try and start working on something for myself I get more work for someone else :)22:38
hadsmwhudson: ~$50 https://www.yoctopuce.com/EN/products/usb-actuators/yocto-relay22:41
mwhudsonhads: panda requires 3a :(22:42
mwhudsonhads: i had found these: http://www.sedonia.co.nz/TCTEC-Super4-USB-relay-module.htm22:42
hadsSeems cheap enough. You'd need to figure out if you can talk to it easily.22:44
mwhudsonthey have some demo c code22:45
mwhudsonit's some ftdi chip22:45
hadshttp://www.sigma-shop.com/product/7/usb-relay-controller-one-channel-box.html22:45
mwhudsoni wonder if they just show up as /dev/ttySOMETHING when you plug them in22:46
mwhudsonoh heh22:47
mwhudsonthe manual has as sample code:22:47
mwhudsonstty -F /dev/ttyUSB0 9600 // the relay 1 go ON.22:47
mwhudsonecho $'\xff\x01\x01' > ttyUSB022:47
hadsYeah that last one shows up as a USB serial port.22:48
hadsSo that would be super easy.22:48
hadsThat's how I'd build it too.22:48
mwhudsonor /dev/serial/by-path/$foo for added sanity22:48
mwhudsoni guess the one with 4 relays would mean you could build more stuff for less $$22:49
hadsThere probably isn't much point me reinventing those wheels.22:54
mwhudsoni guess not, i should probably just buy a dc cable and a relay and get the wire strippers out22:57
ojwbso i complain to air nz about them using poli which is windows only23:00
ojwband they assume I'm a mac user23:00
ojwbI feel insulted!23:00
hadsmwhudson: In the next week or so I'll have some 5.5/2.1mm DC cable pigtails :)23:00
hadsojwb: AirNZ are terrible.23:00
mwhudsonbut all other airlines are worse23:01
ojwbsadly there aren't great alternatives much of the time23:01
mwhudsonhads: oh cool!23:01
hadsojwb: Extortionate CC fees that aren't reflective of what they actually cost.23:01
ojwbcharging for actually paying is such a budget airline tactic too23:01
ojwbi can't really see why they're trying to position themselves in that area of the market23:01
hadsThe are a budget airline now as much as they don't like to admit it.23:02
mwhudsonhads: do you have terminal blocks (i think that's the right word?) appropriate for connecting the ends that won't go into the relay?23:02
mwhudsonjaycar only seem to have hilariously huge ones in stock23:02
hadsojwb: They must be charged around 1.5% CC fees from the bank, on cheaper flights with AirNZ you can be paying 10-20%23:02
Gojwb: wasn't it at one point that AirNZ would waive the fee if you couldn't pay with POLi because you didn't use Windows?23:03
hadsI think they still may.23:03
ojwbthey certainly don't automatically now23:03
Gojwb: I think you had to call up and moan at them23:03
hadsNo you have to ring and try and get someone to understand.23:03
ojwbhmm, the email reply said I could phone, but "not all fares may be available through reservations"23:04
hadsmwhudson: Not sure what type of thing you mean sorry, link?23:04
Gpersonally dare I say it, I've had better service from Qantas lately compared to AirNZ (online checkin certainly is a plus too)23:04
mwhudsonhads: http://www.jaycar.co.nz/productView.asp?ID=HM3196&keywords=hm3194&form=KEYWORD23:05
mwhudsonhads: except only one of them, and smaller than the 10a rated one23:05
hadsI always fly Emirates when I have the option.23:14
hadsmwhudson: Ah right, sorry I don't stock those. The local electrical wholesaler will have them, 6A is the smallest.23:15
mwhudsonoh right23:16
mwhudsonso like bunnings or equivalent?23:16
ojwbsadly there doesn't seem to be any alternative airline for wellington to dunedin23:41
ojwbperhaps I could fly via auckland with jetstar, though it doesn't let me book it without 26 hours in auckland23:41
ajmitchflying via auckland on jetstar is getting pretty desperate23:44
ojwbindeed23:45
ojwbauckland airport is even further from dunedin than dunedin airport is23:45
ajmitchwhy would you want to visit dunedin anyway?23:50
ajmitchit's a bit damp down here today23:51
ojwbconference thing in december23:53
ajmitchI see23:54
chiltsit's a bit damp down there in December23:54
* chilts speculates23:54
ajmitchmight be23:54
ojwbhopefully they're holding it indoors23:56
ojwbif anyone fancies meeting for lunch on 4th or 7th, let me know23:57
ajmitchare you available on the evening of the 4th? that's when we have our monthly codecraft meeting on campus23:58
ajmitch5:30 on the tuesday afternoon if you are around for it23:58
ojwbmight be23:59
ojwbthere's stuff on the 5th and 6th evenings, but I don't know of anything on 4th yet23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!