Browsing Posts tagged power

Second Box? Done! 02/02/13

Yes, yes, yes, I know, Dear Reader.  You’re about to faint.

But it is true.  The second box for TradeBase is actually finished.  What isn’t finished is the A-frame bit that the bike sits in.

But I will finish it, come Hell or high water.  It only needs the wheel sensor whacking on, and if I get a clear run at it (HA!), it’ll only take me a morning or an afternoon.

This second box now has much brighter LED’s than the original ‘demo’ box -bright enough to be easily visible even in direct sunshine.  And it only took another 16 transistors and 30 resistors on one board to achieve this.  Piece of cake!

Other news is that since Ian (no relation) gave me that little TV with the HDMI input socket, I’ve been ‘playing’ with the Raspberry Pi, and having a Big Lot of fun in the process.

I ordered a tiny little ‘wireless dongle’ for it -so I can use it on the Internet at home running wirelessly from my router. This really was a little swine to get going, and it took me a full half-day to get there, but it’s now working fine and very fast when you consider it’s a full computer the size of a credit card for less than £30.00.

“So what?” you quite rightly shout.

Ah, I actually plan to have a Pi down on The Plots in the top shed.  Because it’s so small, I can easily hide it away -probably behind somewhere or even under something, so any potential thieves won’t be able to find it.

I may take an old, empty PC case, and put that in there, complete with a couple of bricks in the bottom.  A scabby old 14″ CRT monitor (…which won’t work…), and a knackered keyboard and mouse will finish off my ‘stage set’.  If any thieves do break in, they see these, and take them.

I can imagine them picking up the empty PC case (…plus two bricks), and saying to each other;-

“Eh, Wayne!  Feel the weight of this!  Must cost a fortune, one of these!”

Ha!  Wait ’til they get it all home and try to plug it in.

Okay, an idle, but very fun thought…

Seven Segments. 18/11/11

‘Seven Segments’ refers to the little displays I’m currently wiring up to give us a distance traveled and speed.

This is not as easy as it may sound.  Big maths, thanks to ‘C’, and the wiring is a nightmare!

I have photos I’ll post later of the ‘underfloor heating’ required to hook these displays up.

Still, its a very pretty violet colour!

Upgrade, upgrade, upgrade! 17/11/10

Busy in the background -just where we like to be, myself & Dave are working on ‘Bicycle Power – The Next Generation*‘.

I’ve previously wittered on about the displays needed.  These include Time, Distance Travelled and Speed.

Also included will be the depressing (…trust me on this!..) Calorie Counter, along with the JBM (Jon’s Biscuit Meter) and the JCBM (Jon’s Chocolate Biscuit Meter).  These last three are a piece of cake (…pun intended!..) -just number crunching, but the first three, while not impossible, will make serious dents in the processign power of the little PIC’s we’re using.

So, this evening, I rang Dave for a ‘weekly update’ session (…Okay, we had a gossip…), and amongst other things he told me that he’s just invested in some Printed Circuit Board (PCB) fabricating equipment, and now he’s learned how to use it (…no small feat!..), he’s very keen to begin fabricating boards for LEAF.  Circuit boards at cost?  Thankyou! Small fortune = Saved.

We also talked about these displays for the bikes, and he’s convinced that we should eventually go to a full LCD moving graphics display -the type found in car onboard navigation systems and the like.

Funnily enough, Microchip have just announced that they are moving into LCD displays, and are offering a ‘demo’ board for Not A Big Lot Of Money.  Methinks in a couple of weeks, one of these Bad Boys will just need to be purchased!  I’ll let you know how we get on.

So, while chatting about his new ‘fabbing’ equipment, he’s found some great ‘Open Source’ (…i.e. Free…) software called ‘expresspcb’.  A simple ‘Google’ will get you there to download it.

However, the only drawback is that this software won’t allow you to print in reverse.  The idea is that you mail the company with your designs and they reverse it for the actual PCB process, charging you for the circuit board.

Well, we liked everything up to the ‘You Pay Us’ bit, so Dave, being Dave, set about The Net and came up with a really neat solution.

You simply download ‘Cutepdf’ which then installs as a virtual printer, and as part of that process, you can reverse your PCB designs with virtually no effort on your part.

We like this!

Dave was also bemoaning the fact that despite ‘winning’ a laser printer from ‘FreeCycle’, it really isn’t up to the job as the circuit board drawings need to be ultra-sharp to allow you to make really fine tracks in copper.

“No problem, Dave!” I exclaimed. “Diane still hasn’t picked up that HP LaserJet that I won for her from FreeCycle yet, so until she does, I’m sure she wouldn’t mind us running off a couple of circuit prints for you.  It is for The Project, and anyway, its a full laser, and you know how you need to run a few sheets off those things every week, just to keep them in shape, don’t you?!

So, a few days down the line, and we hope to have fully professional quality (…well, nearly…) PCBs to stuff with components and program.

I can finally see the end in sight for ‘VeroBoard’.

Joy Of Joys!

* A bit like ‘Star Trek’, but without Captain Picard. Or Deanna Troi. Unfortunately.

A few quick calculations.

Ah, before you click away, we’re not asking you to do them!

No.  I’ve been doing some rough calculations on battery usage, and given that the bike wasn’t really used as much as it could be, and even then wasn’t really being ridden hard in a high gear, I reckon that for the riding that was done -about three quarters of an hour in total- that we ‘added’ another hours’-worth of life into the battery with the bicycle attached. continue reading…

Moving forward.

So, this last couple of weeks really has seen a massive jump forward with the power generation plans.

What had been just that -plans- have now come to fruition.  We can now generate our own power down on The Plots -despite the nights drawing in, meaning that for get-togethers and celebrations, we’ll no longer have to fumble about in the dark with battery-driven torches.

We can simply put the three gazebos up -a very simple job- while its still light, hook up the lamps where we want them and throw the switches.  Ta-Da!  Get cycling!

Last post I mentioned the future developments with the generators -the addition of displays to show time, distance and current speed of cycling.  Also requested is another display to show a read-out of just how many calories have been burned off.  Remembering my visits to various gyms over the years and their exercise cycles, I think our volunteers may be a little surprised -and depressed- at just how few calories are burned off during a session.

Still, onwards and upwards!

Adding simple displays to our bike system may sound easy, but after the hardware is constructed -pretty straight forward- the coding, well, there’s the rub.  The coding will be a ‘challenge’, to say the least!

With all that done, there’s just the job of the ‘iButtons’ so the system can store individual ‘profiles’ of various volunteers.  That really will be a toughie!

Still, if it was easy, it wouldn’t be so much fun!

Sunshine!

Well, the day dawns sunny and bright.  Checking the BBC weather website this morning shows that apart from maybe a little light rain later this afternoon, the day promises clear blue skies.  The temperature may not be up to much, but an extra layer of clothing or two and the promise of a leaf clamp to empty, and I’m sure we’ll not get too cold. continue reading…

Direct A – B testing.

2 comments

Sounds complicated, but its not really!

This Saturday marks ‘Bonfire Night’ where all Britain ‘celebrates’ the failure of the ‘Gunpowder Plot’ by Guy Fawkes and his motley crew to blow up the English Houses Of Parliament.

We’ll be ‘celebrating’ with a bonfire of our own and, more importantly, electric lighting.

For this Saturday, I had wanted to show another generator, this time with displays showing time cycled, distance travelled and speed of cycling, but on reflection, this would be a bad move.  Too much to do in too little time and therefore a recipe for certain disaster!

Instead, I’m going to show the first one again, and alongside it another box with everything identical apart from the electronics.  This box will simply be a battery box, connected to identical lights.

To do the test, I’m going to make sure that all the lights are switched on and off at the same time.  The following day, I’m going to check the levels of charge in each battery -the one that just had the lights on and the one with the charging circuit.  This will give me a direct comparison as to just how much charge was put back into the battery, and just as importantly, just how much was taken out by the lights being connected for so long.

So, I’m really sorry to disappoint, but as someone famous once said, ‘A man’s gotta know his limitations.’

Is that it?

Yesterday afternoon and evening, for me, went with a strange sense of anticlimax.

Nearly everything went according to plan!

Amazing and somewhat off-putting.  This is not how things normally go for a ‘Big Switch On’ on a Wardian project.

Things just worked.  Nothing blew up, there were no tell-tale plumes of blue smoke; there were no bad smells of burning silicon; there were no muffled ‘crumps‘ as something big and expensive died.

So, as the title today suggests, I’m sat here, with a slightly dazed feeling.

How could it all have gone so well?!

Yesterday, I got back from that meeting much later than planned -I’d been kept waiting for over an hour, and there were still a couple of soldering jobs to finish -I had to re-solder the 9-pin serial connector, the power switch and the programming switch so that it would all fit in the box.

Diane texted me saying she’d be round imminently, leaving me barely half an hour to finish it all off.

This was how a project ought to go!

But by the time she’d arrived, miraculously, I’d just about done.  While she made herself a cup of tea, I finished it off, screwed the lid down and switched it on.

Flashing lights, and briefly getting on the bike and pedaling to confirm the PWM was working, yes, it was.

Strange!

Diane took the box, the bike holder and the lights over to The Plots in her car while I cycled over.  This was fun, as the back tire is a ‘slick’ (…to reduce noise when pedaling…), and luckily the roads were quite dry.  Had there been any rain in the air, then I’d have been kissing the backside of a bus as the back tried to catch up with the front when I touched the rear brakes.

Claps and cheers as I arrived (…Thanks, Diane!..), and there were quite a few ‘Junior Plotters’ about.  I’d come down on my bike, was there any chance that the we were having a demonstration of the power project?  Yes, there was.

Initial shouts and cries of disbelief were quickly quelled as I explained that Diane had all the bits in her car.

So myself, Sara, John and Gary put up the three gazebos in an ‘L’ shape, then tie-wrapped the legs together where they met.  Junior Plotters were bouncing around, obviously keen for me to set up the bike, so I eventually gave in and set it up.

Then I had an idea.  The recent light frosts have meant that the nasturtiums on the mound have now mostly died back, but they’ve left their seeds.  You may recall that I pickled a jar’s-worth a few weeks ago, and I was keen to get some more for another pickling session.

So, I told the Plot Kids that I’d only let the taller ones have a go on the bike if they picked me enough nasturtium seeds.  Well, they set off as if possessed, eager to bring me as many of them as possible.  Kyle in particular was very anxious to ‘have a go’.

Is this enough?

Is this enough?

Here he is with the bowl.

After a cursory scout round myself; “You missed this one!  And this!”, I finally, ‘reluctantly’ gave in, and we all went over to the bike.

I switched it on, and yes, as Kyle had requested, they could see the blue LEDs!

I got on, started pedaling, and more lights came on -to show that the PWM was working and that charge was being put back in the battery.

The ‘Grown-Ups’ heard all the commotion and came over, and quite soon, quite a crowd had gathered.

Kyle cycling to keep the lights on.

Kyle cycling to keep the lights on.

We were also celebrating Chloe’s birthday, and various cakes and pastries had been brought to share, so we set them up under one of the gazebos, and here you can see the interest is pretty evenly split between the food on the table and the bike.

In the meantime, nearly everybody ‘had a go’, and here’s Gary doing his ten minutes-worth.

Go for it Gary!

Go for it Gary!

John and I had positioned the lights such that three of them were on the pillar where all three gazebos me in the elbow on the ‘L’ shape with the fourth light shining directly down on the bike itself.  Well, it was centre stage!

Also to note was that there were a couple of comments about the height of the saddle, and Diane in particular found it quite painful to be so low because she has problems with her left hip.  So, before the next ‘outing’, a quick-release adjuster for the height adjuster will be bought.

Another comment was the fact that the bike was positioned so it was ‘pointing uphill’ on the driveway.  This was to counteract the fact that the back wheel is slightly raised by the frame in which it sits, so it ended up being fairly level to ride, rather than feeling like you’re going downhill all the time.

All too soon it was going dark.

Now, on a ‘normal’ Plot Day -as much as one ever can be normal, we always treat the dusk with a ‘groan’ for it means that very soon we have to stop work, but yesterday, we couldn’t wait!

People had started to drift off, but there were just enough of us left to put down the gazebos and stow the equipment away ready for its first ‘official’ outing on Saturday for Halloween.

Control box and cables, lit as it goes dark.

Control box and cables, lit as it goes dark.

Here, you can see a final shot before we packed it all up with the plain black control box, surrounded by the lighting cables, bathed by the light of some of the spotlights.

A suggestion was made that for a future version.  I should make the top out of clear perspex so interested people could look inside.

Of course, people are ‘spoiled’ by ‘Star Trek’  and other sci-fi where there are lights behind all the panels, so if I do make a clear lid, I’ll have to make sure there are plenty of flashing tell-tales.

Of course, people will then ask what each LED represents, so I’ll have to get creative with the various functions inside.  Words like ‘plasma flow injectors’ and ‘wave-guides’ will have to be thought up.  ‘Manifold’ will have to come into is somewhere.

Oh, and there’ll be blue LEDs.

I promise.

Yesterday.

…Was utterly manic.

After I’d posted that last post, I carried on.  And on.  And on…

Diane, who’d got business around Sheffield with a meeting over the bees and many other jobs to do kept popping in to see the progress, and I think she was as amazed as I, when every time she came back and asked ‘How’s it going?’ the answer was ‘Fine!’.

Overnight, I’d painted the lid and touched up a few other places that needed it, so the case was just about dry to work on when I came to it.

So, amongst other jobs yesterday, I had to wire up all the lamps with all their power plugs, individual switches and long cables to connect them to the box.  This took forever, and I’d forgotten just how time-consuming and ball-aching wiring can be.

Then came work on the box itself as I wired up the power lead from the bike, then wired up the power outlet plugs and leads for the lights.

Then came the crunch time as I wired up the indicator LEDs on the new display board.

I then sprayed the board black -being careful to mask off the LEDs, then I masked off the top panel with coloured paper dots corresponding to where the LEDS were beneath.

A couple of coats of some excellent black spray Diane had bought, fifteen minutes drying time, then the little dots came off very very carefully with a scalpel to prevent damage to the surrounding still-tacky black paint.

Then I wired up the display board to the main processor board.

Then I wired up the ‘grunt electronics’ mounted on the box’s end cheeks to the processor board.

Then, after checking things though again, I said a quick prayer to whichever Gods may have been listening, and got on the bike.  And pedalled.

And lights lit, and there was definite resistance to my pedalling -meaning the PWM was working.

Well, I couldn’t quite believe it.  It had worked first time!

Anyway, I’d better get off -I have a meeting down in sunny Hillsborough this morning, then I have to come back and finally make sure everything’s ship-shape before Diane comes to pick me up with all the gear to take me down to The Plots.

Today is one of our ‘Junior Plotters’ birthday, and to celebrate we’ll be putting up a gazebo or two, wiring up the new lighting and singing ‘Happy Birthday’ to her this afternoon under the lights of our new, totally green power and lighting system!

Oh, and there’ll be cake as well.

Mmmmmm.  Cake…

Remember the swan?

Its been quiet this last couple of days on this website, but thats not because we’ve not been doing stuff!  As I’ve said before, like the swan, LEAF sometimes goes awfully quiet, yet underneath…

Yet more stuff on the board.

Yet more stuff on the board.

So, here you can see the board as it currently stands.  You may notice the new resistors running down the right hand side of it below the smoothing capacitor then ‘vero pins’ to the right of them.

These are the various outputs that will very soon connect to another board that will have indicators on.  And yes, due to popular demand, there will be blue LEDs.

While all this has been going on, I’ve also been working on the box to house this in, along with the battery.

I had made a box some months ago, but in the end, never used it ‘in rage’.  Well, it was time to resurrect it and make a new lid.

Old box, new lid.

Old box, new lid.

Here you can see it in my kitchen (…also known as ‘The Workshop’…) with a new lid, not yet painted with the awful blackboard paint I seem to have been given.

You’ll also notice that there is a square hole (…with rounded corners!..) in the top of the new lid.

Underneath this is a clear perpex panel.  This panel will be sprayed black from the underside later this afternoon and there will be small circular ‘dots’ left unpainted through which you’ll be able to see the various LEDs mounted on a display board underneath.  Also on this top panel will be the on/off switch, the 9-pin serial socket to connect to the computer and the little ‘programming’ switch to tell the board I want to program the chip inside.

The main circuit board will be mounted under the lid on the opposite side from the display board, and the ‘grunt’ electronics which handles the raw power coming off the bike is mounted on the end cheek you can see with the handle visible.

'Grunt' electronics on the end cheek.

'Grunt' electronics on the end cheek.

This shot shows a close-up of just some of the connectors to this section.  The two larger ones to the left are from the bike and to the battery, while the line of smaller ones feeds the individual lamp outputs.  You can just see the start of the big sensing resistor block towards the right and the choke/inductor is the circular round thing screwed down towards the middle.

Of course, I could have shown you a full shot of the entire electronics mounted on this end cheek, but anyone with any electronics knowledge would see what I’ve done and be able to copy it.  While we’re all for ‘shared knowledge’ and the rest, we feel that given the amount of work we’ve put into this, then anyone copying it should at least talk to us before attempting this.

Anyway, I’ve wittered too long.  I’d better get on…


SEO Powered By SEOPressor