Sunday, 14 June 2015

Deck spring repair

How to repair a spring.  Well, bodge a repair to a spring.  This spring is pretty large - say 30cm total length.  The hooked end snapped off with what looked like a manufacturing shear defect after only around 20 years service.  Spares are available but around €20.
I simply got 2 cage terminals out of a 4mm din rail terminal which where the same width as the spring steel.  Then I found some steel of the same diameter, put a hook on one end, then overlayed on the spring steel and tightened down the terminal clamps, locking them  with thread lock.


As this spring takes up the slack on the deck blade engagement, when it's engaged, it's pretty well stretched out.  OK after 1 hour.

Friday, 29 May 2015

Oil change Harry + bikes

Halfords 10/40 semi-synthetic for the bikes + filter HF303 (+ about 1l of Motul same spec)
me 47440km
Stella 30718km
Ecauto (Intermarche) 15/40 for Harry 1.4 L.



Deck was thick with grass. Belt wear on inside edge closest to the ground.  The old pulley was rusty on the inside edge, so used a rotary brush to clean in smooth.  Replaced belt the other way up.  All bolts needed tightening

Stripped and greased starter.
Clean all airways.
Cleaned & oil foam filter. (junior too)
Put long spring from governor to carb back on.
Filled holes in exhaust, new metal covers and put in some new fibre glass.
Spark plug was quite black, so brushed it clean.  This suggest too rich, but idle mix was made richer turning ACW.
Turned idle mix out (ie richer) by 1/8 turn, so now 1 7/8 out, Reduced idle by 1/2 turn acw.
Plug was greyish on checking.
Warm starts ok on mid throttle now.  Cold start fine. Oil clean


Bike discs.
me
rear 4.8 . pads both 5.3
front
left 5.0 pads 4.46, 4.34
right 4.95 pads 4.2, 4.3

Stella
rear 4.9 pads both 4.6
front
left 5.0 pads 4.4, 4.0
right 4.9 pads 4.6 4.2

Thursday, 14 May 2015

Ralph sold

After being with us for over 5 years, Ralph the ride on got sold today.

Saturday, 25 April 2015

DIY wifi internet radio

The devil makes work for idle hands.  Well, maybe, but SWMBO is busy in the garden just now, so I had to think of something to do myself.
I bought a MRF24WB wireless module a few years back to use for wireless remote data collection, but then I had to run a cable for something else and module never got used.
I build a wired internet radio a few years back, so having a portable version made sense.  That and  the BBC recently went from AAC streams to MP3, which completely messed up the other wifi radio we have - it works now, but not through 'normal' channels'  It also gave me an excuse to play with direct memory access (DMA) which is extremely useful when you need to move a lot of data around.

Starting with a PIC I'd been given (thanks Mike) a 32MX675F512H, with 64k ram, an old Nokia 5110 LCD and along with a VLSI codec I had from the other radio project, the wifi module completed the package.

The design is nothing special, as the codec, LCD and wifi module are SPI devices.  I've used the latest TCP/IP stack from Microchip (V5.42.08 - v2013-06-15) and added extra functions to connect to a radio station, parse the result for meta data (song title etc) It also has a web server, so new stations can be added, and you can see extra data such as bit rates etc.  Couldn't resist adding buttons for volume and channel changing.
4 on-board buttons give menus to select and change stations, volume, mute, 
etc.
In looking for a case, preferably with a transparent window, I came across some old battery boxes that came with rechargeable AAs from 7dayshop.  It was a bit of a squeeze, but I got in everything I wanted.  I didnt go for portable, as this would need batteries and charge controllers etc.  It runs off a 5V USB charger, and I can always rig up a battery if needed.  The speakers are external  - old PC ones that everyone has lying around.

PCB - made using a paper mask on a laser printer.  I have made similar ones on a inkjet, but the TQFP pads are always a bit iffy perpendicular to the plane of the print head.
 Populated - top SMD side.  The PIC crystal (center) is disproportionately large. The codec crystal is on the other side. Wifi module bottom left.
 30 odd links on the bottom - I would have struggled to do this double sided, and in any event I don't have any board.  Programming port and debug pin bottom right.
 The working project
And boxed

It's been an interesting education in miniaturisation and my first almost fully surface mount. A few errors, but that's prototyping.
I've noticed that the router seems to give priority to other devices, as, during downloading on the PC, the data trickles to a halt on the radio - the wired version doesnt seem to suffer so much.  A few bits of other software to sort out - it never ends really when you can tweak your own interface and add new features. 


Saturday, 21 February 2015

Cuba and myths

Thought I'd share some experiences about a recent trip to Cuba, February 2015.


  • The Americans can't visit Cuba.  Well, they can, under a research program.  You couldn't move for them in one hotel, and I did whisper FFS as I got pushed out of the way so a perfectly modern Otis lift could be photographed inside.  The state seems to get the last laugh, as the trips cost around 3 times that for Europeans
  • the place is full of beggars.  Not really. Seen more in London.
  • give toiletries from the hotels to the beggars.  Beggars will be desperate, but not desperate enough to eat soap.  What do you think they will do with soap?  Either give them 50c or ignore them.
  • you must take US dollars. Well, if you earn in US dollars then it might make sense.  Otherwise take one of the currencies that the Cuban bank trades in.  They publish a full list and the state fixes the exchange rate.  
  • the water isn't potable.  As a general rule, this may be true.  We didn't drink the tap water, but I'm pretty sure the ice cubes (crushed in some cocktails) and lettuce washing in some places wasn't bottled water.
  • you tip everywhere.  Yep.  That one is true, particularly the loos.  Get some change in 25c pieces, but they won't chase you down the road if you don't tip.
  • don't respond to whistles and 'taxi sir' which seem to occur all the time; they're just trying to make a living
  • when looking for the tour bus in the airport car park, don't assume the smartly dressed guy that asks you for your tour company or bus number has anything to do with your tour.  Most likely a porter who will help you with your case and wants a tip.
  • No wifi.  True, and little internet access too.  It's available in some hotels, but it's very expensive - £10/day
  • ATMs are few and far between, and generally only in the bigger cities.  Make sure you take a card not issued by a US bank, or affiliation.  Some UK debit/credit cards worked, some didn't, according to various people I met.  Don't expect the machine to use English.
  • I didn't see a single Visa/MC sign in a shop, so take cash.
  • The classic old cars are in the minority, as they are difficult to repair and expensive to fuel.
  • if you really can't live without wine, take plenty of money.  A bottle of wine will cost at least £15, probably more, and often is not available per glass.  You drink local beer or coffee; both are excellent.
  • no real price mark up in hotels compared with shops on beer, wine, etc, but if you search out small outlets for lunch, you may get a beer for 75p vs £1.50.  Only rich Cubans eat out; average Cuban wage is £25-£35/month.  Those involved in tourism will earn considerably more - say £500/month.
  • don't forget to enjoy yourself

Saturday, 31 January 2015

Gutters cleaned

This batch of cold weather and rain and washed all the leaves to the lowest spot on the house.  Luckily, it's single storey.

Weather Station

The weather station lasted a week or so, then stopped working at high humidity again.  I could buy a spare transmitter for £15 from a Clas Olson shop.  It's special order, and I don't live anywhere near one to order and then go back to collect it.
So, I have an excuse for another project.  I'd never been entirely happy with the way the data was sent (every 48s)  You can't get a feel for conditions when the data is delayed.

I've made a new head end, re-used the wind/rain sensors, which will be wired into the main house data collector.


Data is sent every 2s.  2s was chosen due to the way the anemometer works.  The OEM (fine offset) have confirmed the 2s period, so it seemed sensible to work to it.  The minimum wind speed as a paltry 1 revolution per 2s (equivalent to 0.34m/s or 1.2kph)
With a few calculations, I can now send more, useful, data to Wunderground (http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IHAUTEPY4)
I've also added UV index (ML8511 sensor) soil temperature (LM61) and solar radiation, which will be derived from the solar panels.

March 2015
In a fit of over re-cycling, I decided to re-use the original display to display the data that I now get from my weather station.  Not wishing to take it apart, I decided to reverse the receive protocol.  It was quite easy to send 1 set of info, but sending it every 48s, as per the original transmitter, was challenging.  I had to increment the transmission interval in 0.1 second increments.  Now that's the secret to keeping battery consumption down.