Arduino

From: ANT_THOMAS27 May 2015 00:06
To: ALL381 of 542
Well after not sorting the board for my timezone map I decided to do something useful with some of the LEDs. I made a dimable strip to go behind the bed-head. It worked quite well so I made a permanent board. Though they're bright white LEDs so it's a bit clinical.

Controlled via my home automation web remote, which tells a Raspberry Pi to transmit a 433 MHz signal. Different signals give different results. 100%/80%/60%/40%/20%/Off and Up & Down (by 10 units on the PWM scale).

Test breadboard:


Permanent board:
 

It is probably my best soldering attempt to date. Only made one mistake which was easily fixed.

Testing:
From: Serg (NUKKLEAR) 3 Jun 2015 09:37
To: ANT_THOMAS 382 of 542
I take it it's linked to a g-sensor bolted to the bed and it decides what brightness it shines at depending on... you know...?
 :-O
From: ANT_THOMAS 3 Jun 2015 09:43
To: Serg (NUKKLEAR) 383 of 542
 (hippo)
From: Chris (CHRISSS)27 Jun 2015 17:26
To: ALL384 of 542
Well my battery optimising was worth it. My temp sensor has been running for 2.5 months on 2 AAs. I'm not sure if I checked it at the start, I probably did, but since the 24th of April the battery has stayed at 2.9V. It wouldn't make a very interesting graph.
From: ANT_THOMAS27 Jun 2015 17:36
To: Chris (CHRISSS) 385 of 542
How often are you transmitting? Is this using an RF24 transmitter?
From: Chris (CHRISSS)27 Jun 2015 18:04
To: ANT_THOMAS 386 of 542
Yup, using a nRF24L01+. Transmits between every minute and, er, 7 or 8 minutes. Depends if the temp has changed since last check.
From: Chris (CHRISSS)29 Jul 2015 22:01
To: ALL387 of 542
Oh no, it's gone down by 0.1V. Not bad after 3.5 months. Not sure if it would have lasted slightly longer if there wasn't a power outage the day before yesterday and the sensor was trying to send to a switched off Pi for over 24 hours.
From: ANT_THOMAS17 Aug 2015 18:37
To: ALL388 of 542
I'm in the process of doing some work in my loft - boarding it and opening up the loft hatch so it's much bigger.

Hatch was been made bigger today, it's massive and maybe a bit too big (nj). Gone from 35cm x 51cm to 78cm x 90cm.

I'm trying to figure out the best way to work the ladders and hatch. Motorised ladders cost an absolute fortune so I'll be going for some regular loft ladders. But a motorised hatch door seems like a reasonable possibility. The hatch will be over 3m high so that's why I like the idea of it being motorised.

I'm thinking an arduino, a motor and 433 MHz receiver (plus 433Mhz 2 button remote).

The door will be opening inwards into the attic, rather than down into the landing space. It will also be able to fall against the wall next to it, rather than open to 180 degrees flat.

Something like:
Code: 
               |
              /|
       Door  / | Wall
            /  |
           /   |
__________/    |


What would be the best sort of motor for this sort of thing? A stepper motor so I can move it a specific distance?

The hatch door will be made out of MDF and will probably be a decent weight.

A simple case of having string/rope attached to the door and winding/unwinding it around a spool?

But with it going past 90 degrees that means I'd need something to get it past the 90 degree point to shut it. That might be difficult to do all that without it slamming and/or putting a huge strain on the motor.

Or I put something in place to prevent it going past 90 degrees and maybe have an electromagnet to hold it open. 
 
Code: 
                  |
          |       |
      Door|__ Post| Wall
          |  |    |
          |  |    |
__________|__|____|


Or I just get a really long post to push it open (yj).
From: graphitone17 Aug 2015 20:03
To: ANT_THOMAS 389 of 542
Could you have the door on the back on the ladder, like this:

From: CHYRON (DSMITHHFX)17 Aug 2015 20:33
To: graphitone 390 of 542
Where's his helmet and safety harness?
From: koswix17 Aug 2015 20:38
To: ANT_THOMAS 391 of 542
Windscreen wiper motor.
From: graphitone17 Aug 2015 20:46
To: CHYRON (DSMITHHFX) 392 of 542
Indeed, for a man who stores his dustpan upright on a shelf, he should know better... he'll have a boiler suit set aside for DIY matters, a utility belt/kilt for demanding jobs and his screws all sorted into individual compartments in a wall thinger.
From: ANT_THOMAS17 Aug 2015 20:49
To: koswix 393 of 542
And just run it for x seconds?
From: ANT_THOMAS17 Aug 2015 20:50
To: graphitone 394 of 542
It is a nice idea, but I think they're still too expensive, pretty tight budget.
From: CHYRON (DSMITHHFX)17 Aug 2015 20:53
To: graphitone 395 of 542
Mine are piled in cardboard cartons -- when I remember to put them back.
From: ANT_THOMAS17 Aug 2015 21:05
To: ANT_THOMAS 396 of 542
Or I could use a hall effect sensor or two to detect whether it is open or shut.
From: graphitone17 Aug 2015 22:41
To: CHYRON (DSMITHHFX) 397 of 542
Mine are in an old Fairy tub. :J
From: koswix17 Aug 2015 23:07
To: ANT_THOMAS 398 of 542
They use a mechanical linkage which reverses direction (motor runs continuously in one direction), so just install it so that turn in direction coincides with the max open position of the hatch, then add a limit switch to stop the motor when it reaches there.

They use a worm gear in the gearbox so produce substantial torque, but I've no idea if it's enough to lift a MDF door from horizontal. If there was torque figure available somewhere it's fairly trivial to work it out, though. Or just try it and see, if I doesn't work you have a spare motor for making a robot.
From: CHYRON (DSMITHHFX)18 Aug 2015 21:13
To: ANT_THOMAS 399 of 542
Is it finished?
From: ANT_THOMAS18 Aug 2015 21:25
To: CHYRON (DSMITHHFX) 400 of 542
Which bit?

It's half boarded and the hatch frame is in. Should get it pretty much finished tomorrow. Then I'll design some ridiculous way to open the hatch door.