#garfield Logs

Mar 04 2015

#garfield Calendar


00:02 rue_bed ?
00:03 rue_bed you need a waver to buy a house?
00:03 zhanx Va gives you 144000 towards a house
00:03 rue_bed ah
00:03 zhanx Better house?
00:04 rue_bed prices are high here, I'msure it means more out there
00:04 zhanx And I get ramps for some reason
00:04 rue_bed I got the cheapest place on the market, god knows how many years ago 625k
00:05 rue_bed your disabled, you must need ramps
00:05 zhanx Not yet darn it
00:05 zhanx I can still make it
00:07 zhanx No but in reality they are planning ahead etc
22:44 zhanx Up rue?
22:45 Tom_itx damn android
22:45 Tom_itx can't connect it to the pc
22:45 zhanx Fun
22:45 Tom_itx keep getting a usb driver error
22:45 zhanx Spent 6 hours at the VA today
22:46 Tom_itx not fun
22:46 zhanx Got new pstd meds, blood tests and pre op appointments
22:47 zhanx Looks like my knees will get done in may, maybe
22:48 zhanx And on the bright side. Got my touch screens in!
22:48 Tom_itx nice, i wish i had one of those
22:48 zhanx My home automation project is waiting on a cable (can't find the cable for my programmer )
22:49 zhanx 2.8" ones prefect size for outlet boxes
22:50 zhanx Doing zone control smart house and learning android programming so it's a smart app
22:53 zhanx Tom _ itx school me on relays and Uc's please
22:54 zhanx Tom_itx
23:07 Tom_itx ?
23:07 Tom_itx i'm goin to sleep now..
23:08 Tom_itx just keep the current under the rated current for the pin and put a diode across the coil
23:08 Tom_itx for back emf
23:08 zhanx But why.?
23:08 Tom_itx or use an opto isolator
23:08 Tom_itx because it will blow out the pin if you don't
23:09 zhanx K
23:09 zhanx Flyback I take it?
23:09 Tom_itx back emf can be 2x voltage
23:09 Tom_itx yes
23:10 zhanx Ok will Google me on it
23:11 Tom_itx http://www.electroschematics.com/8512/microcontroller-relay-interface-and-driver/
23:12 zhanx Thanks
23:12 Tom_itx some can be driven directly from the controller pin but you still need the diode
23:12 Tom_itx 'logic level' relay
23:13 Tom_itx http://electronics.stackexchange.com/questions/25673/driving-a-relay-directly-with-a-microcontroller
23:14 zhanx Controlling 120vac and 24vdc
23:15 Tom_itx controlling 120vac with an avr: http://tom-itx.no-ip.biz:81/~webpage/toaster_oven/blinktest2.jpg
23:15 Tom_itx http://tom-itx.no-ip.biz:81/~webpage/toaster_oven/control_sch.png
23:16 Tom_itx right side is the high v part
23:16 Tom_itx the opto is a zero crossing opto
23:16 zhanx Can I use a npn?
23:17 Tom_itx for 120vac?
23:17 Tom_itx i doubt it
23:17 Tom_itx well if you use a relay you can
23:17 zhanx So I get to learn more :)
23:17 Tom_itx i'm using a triac there
23:17 zhanx Never used a trial yet
23:18 Tom_itx http://tom-itx.no-ip.biz:81/~webpage/toaster_oven/triac1_rev2.jpg
23:18 Tom_itx there's the driver boards
23:21 zhanx I want this to fit in a wall outlet
23:21 Tom_itx look at a sprinkler control for 24v control
23:21 Tom_itx it could
23:21 zhanx Ok
23:22 zhanx Same circuit for simply can control DC also?
23:22 Tom_itx triac is for ac only
23:23 zhanx Need to control both so more research then.
23:25 zhanx Cnc applications might shed more light on this for me
23:27 Tom_itx they mostly use relays
23:29 zhanx Well after controlling the screen and sensors I got 6 free pins for stuff, minus serial
23:30 zhanx Got to love a r
23:30 zhanx Avr
23:31 zhanx So triac circuit for the ac side, anything for the dc?