Arduino

From: graphitone20 Aug 2015 09:29
To: ANT_THOMAS 411 of 542
:D looks like it's going well, but a pretty big job. Are you taking time off work to do this? How did you tidy up the top of the uprights (the bits that cover the gap in the suspended ceiling) from the hatch where it meets the boards above? It looks nice n' neat.

Are you boarding over the insulation stuff or removing that as you go?  That's reminded me, I had a look in our loft space the other week. Like yours it's got a suspended ceiling from when the attic was converted from a room and a corridor into one big room. They made some attempt at insulation - there's a bag of polystyrene pellets up there covering about a square meter's worth of floor space. It's just above my dart board, so at least that'll be nice and warm come the winter. :/

I like the light well. :)

 
From: Chris (CHRISSS)20 Aug 2015 22:25
To: ANT_THOMAS 412 of 542
I can't open attachments on my Kindle. I'm avoiding any new threads with attachments til I get home. Looks like you have a nice bit of attic space. Mine is pretty big but there are s many bits of wood supporting the roof (I don't know the tevhnical term for them) that it makes it very awkars to move around the attic.
From: ANT_THOMAS26 Aug 2015 12:49
To: koswix 413 of 542
On the windscreen wiper motor.

Is it generally a simple case of polarity changing to switch direction? Or is it a little more complicated?
From: koswix26 Aug 2015 14:31
To: ANT_THOMAS 414 of 542
Depends on the motor (generally: permanent magnets, no. electromagnets, yes), but probably easier just to use a linkage to reverse direction. That way for half the time the door is opening and half the time it's closing, but the motor runs constantly in the same direction.
From: CHYRON (DSMITHHFX)26 Aug 2015 14:37
To: ANT_THOMAS 415 of 542
The motor will fail, and you will be trapped up there, your muffled shouts drowned out by the tv and traffic.

After a week of missing posters on shop windows and telephone poles, and cops scouring the neighborhood, it will be assumed you ran off, or just got offed.

Years later, your dried husk will be found with broken fingernails and deep scratches in the hatch, after your family moves away.

Or, you can stop right now.
From: ANT_THOMAS26 Aug 2015 15:39
To: koswix 416 of 542
I still don't understand :((

So let's say I was to apply a voltage to the relevant wires it wouldn't turn 360 deg continuously? It would go, say, 180 deg and back again?

I just want a simple motor I can turn 360 for a set amount of time, then -360 deg.

Also, my hall effect sensors arrived, but I forgot to order magnets. I've had so much stuff from China arrive in less than 2 weeks recently. One item in 7 days too.
From: ANT_THOMAS26 Aug 2015 15:39
To: CHYRON (DSMITHHFX) 417 of 542
I think I'll fit an emergency axe in the attic.
From: koswix26 Aug 2015 17:39
To: ANT_THOMAS 418 of 542
From: ANT_THOMAS26 Aug 2015 18:10
To: koswix 419 of 542
Thank you :$
From: koswix26 Aug 2015 18:21
To: ANT_THOMAS 420 of 542
It's done like that because rapidly switching the direction on a motor (like windscreen wipers would have to) is really not nice for the motor, especially when there's a biggish load on the motor.
From: ANT_THOMAS26 Aug 2015 18:36
To: koswix 421 of 542
Makes total sense, and I quite like that video. I could probably get one for a fiver at the scrap yard or 7 quid buy it now on ebay. I think I'll buy one and have a play.
From: koswix26 Aug 2015 18:46
To: ANT_THOMAS 422 of 542
Worst case scenario you have a relatively small, relatively high torque motor. That'll definitely find itself another use if it's not suitable for the door thing.
From: ANT_THOMAS30 Aug 2015 20:04
To: ALL423 of 542
Discovered you can make a H Bridge using two relays. I happen to have a 2xRelay module which is now working as a H Bridge. Really really simple to use. If the relays are the same (high/low) the motor would be off. Set one relay high to turn the motor, swap which is high to change direction.

Eg
L/L & H/H - Off
L/H - Forward
H/L - Backwards
From: ANT_THOMAS31 Aug 2015 14:29
To: ALL424 of 542
Super dull video

Arduino, 433 MHz receiver, relay module and hall effect sensor.

The idea is to have the motor running for x seconds, but if the hall effect sensor is triggered it stops. A bit of a fail safe to stop the motor in case it is already fully open.

EDITED: 31 Aug 2015 14:48 by ANT_THOMAS
From: ANT_THOMAS 2 Sep 2015 18:23
To: ALL425 of 542
Erm, I shouldn't have bought a rear wiper motor. Back to ebay (or hack this apart).



From: ANT_THOMAS 5 Sep 2015 12:26
To: ALL426 of 542
That's better. Ford Focus front wiper motor.

It's got quite a kick to it.

From: Dan (HERMAND) 5 Sep 2015 12:55
To: ANT_THOMAS 427 of 542
Your vid is private :(
From: ANT_THOMAS 5 Sep 2015 12:58
To: Dan (HERMAND) 428 of 542
Should work now.
From: Dan (HERMAND) 5 Sep 2015 13:00
To: ANT_THOMAS 429 of 542
Haha - they've got some real torque haven't they!
From: ANT_THOMAS 5 Sep 2015 18:29
To: ALL430 of 542
Bloody hell, it actually works.

Need to add the magnets/hall sensors - edit: added one for opening, works well.
Change the open/shut duration,
Support the upright better,
Possibly switch the side of the motor because it is slower in one direction compared to the other. I'd rather the closing direction be slower and more controlled.
Add some flyback diodes.

EDITED: 5 Sep 2015 20:23 by ANT_THOMAS