Showing posts with label guide. Show all posts
Showing posts with label guide. Show all posts

Tuesday, 28 March 2023

How to create a Photo-Log or Timelapse with a simple raspberry and an usb webcam

As the title may suggest... Started with a bit of scripting, had a Raspberry pi 3b+ lying around and decided to use it for some time-passing productive activity so I just attached it to a Microsoft LifeCam HD-3000 I had unused, fresh raspbian installed on the SD card and SSH enabled through the raspi-config.

In Summary we used:
  1. Raspberry Pi 3b+
  2. Raspberry power supply
  3. Sandisk microSD card 16gb with raspbian installed on it
  4. usb webcam

So we create the following bash script which I named autoshot.sh I used NANO editor to create this (sudo nano autoshot.sh), script content as follows:

 #!/bin/bash
echo off
DATE=$(date +"%Y-%m-%d")
COUNT=1

while [ $COUNT -le 120 ]
do
        echo Photo: $COUNT
        TIME=$(date +"%H%M%S")
        fswebcam -r 1024x768 -S 10 /home/pi/PROJ/webcam/photos/$DATE-$COUNT-$TIME.jpg
        sleep 30s
        ((COUNT++))
done

And we run as follows and get the following result as well:

pi@raspberrypi:~/PROJ/webcam $ ./autoshot.sh
off
Photo: 1
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Adjusting resolution from 1024x768 to 1280x720.
--- Capturing frame...
Skipping 10 frames...
Capturing 1 frames...
Captured 11 frames in 0.33 seconds. (33 fps)
--- Processing captured image...
Writing JPEG image to '/home/pi/PROJ/webcam/photos/2021-04-05-1-180416.jpg'.
Photo: 2
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Adjusting resolution from 1024x768 to 1280x720.
--- Capturing frame...
Skipping 10 frames...
Capturing 1 frames...
Captured 11 frames in 0.33 seconds. (33 fps)
--- Processing captured image...
Writing JPEG image to '/home/pi/PROJ/webcam/photos/2021-04-05-2-180447.jpg'.

Then we just need to either use the raspbian GUI or setup a samba shared folder on the raspberry to grab the photos from a windows machine, for example.

Monday, 5 April 2021

CARS > Mini > Cooper S vs Cooper S JCW ( R52 / R53 )

Mini John Cooper Works GP Kit
(Original source: thejcwregister)
 
John Cooper Works (JCW) is a British car marque now owned by BMW and used on its Mini vehicles. Founded in 2002 by Michael Cooper, son of John Cooper, the racing car maker and tuner responsible for the original Mini Cooper.
For the R53 generation of the Mini Cooper, John Cooper Garages developed a BMW Supported Performance upgrade kit for the cars.

This guide is to determine on an R52 (cabriolet) or R53 (Hardtop) whether a car is a John Cooper works equipped car.

First it is important to note that a JCW kit was an UPGRADE KIT available at your local BMW dealership, it started out with what they call the 200 Horsepower kit or JCW 200 kit, which was developed for release in 2002 and was mainly installed on Prefacelift cars (2002-2004).
Cooper S (left) vs Cooper S JCW (right)

The JCW 200 Tuning kit was released on 2002:
  • Uprated cylinder head, gas-flowed and ported (bigger exhaust ports)
  • 1-step colder spark plugs
  • Replacement supercharger – Teflon coated core
  • 11% Reduction of the supercharger pulley diameter, making more boost / pressure
    (from the same supercharger spinning faster for a particular engine speed)
  • Uprated exhaust system with decorative JCW tips
    (maintaining the same header and catalytic converter)
  • Remapped ECU
  • Decorative Badges
  • Individually serial Numbered rocker cover plate
Later they developed the John Cooper works 210 Horsepower Kit or JCW 210 kit, which while able to be fitted to Prefacelift cars was mainly fitted to Facelift cars (late 2004-2006+). In later years in some countries a car was also able to be purchased from the factory as a JCW 210, these werent available in some countries such as Australia and the upgrade kit was the only method of getting a JCW equipped R53.


The JCW 210 Tuning Kit released in 2005: 
  • Upgraded Cylinder head- The difference from a cooper S cylinder head being slightly enlargened on the exhaust ports.
  • 11% Reduction supercharger pulley – Spins the supercharger faster for more boost
  • 1-step colder spark plugs
  • Uprated injectors (380cc/min instead of 330 cc/min)
  • A JCW cat-back exhaust system with decorative JCW tips
  • Replacement supercharger – Teflon coated core
  • Remapped ECU (Different tune to JCW 200 to support the larger injectors)
  • Uprated air intake system and Pod style air filter
  • Decorative Badges Individually serial Numbered rocker cover plate
During the same time period BMW also made optional extras for the cars that were individually able to be optioned or bought from the BMW dealership under the John cooper works banner, any JCW tuning kit equipped car could have the following options added, or a cooper S could also have these options added but it is widely accepted that these options dont make a cooper S a JCW, only the addition of the 200 or 210 tuning kit make a JCW.


Some of these options included: 
  • Carbon Fibre Dash Inserts (3 piece facelift and 5 piece pre-facelift)
  • Carbon Fibre Downtubes
  • Carbon Fibre Cup-holder shift gator rings
  • Carbon Fibre Steering wheel trims
  • Carbon Fibre Shift Knob
  • Carbon Fibre Park-Brake Handle
  • Carbon Fibre Bonnet Scoop
  • Carbon Fibre Wing-Mirror Covers
  • Carbon Fibre Rear Hatch Handle
  • Carbon Fibre Rear Wing
  • Upgraded front brakes (Calliper size increase and rotor diameter increased to 294mm from standard 276)
  • Upgraded suspension kit (Including thicker sway bars and upgraded shock-absorbers and lowered springs)
  • Sports Steering wheel with Alcantara and Leather.
  • Sports Steering Wheel with Leather
  • Sparco Seat Upgrade Front and rear (Imprint of JCW logo in seat top)
  • Carbon Fibre seat inserts (Sparco only)
  • Leather Downtubes 
  • Leather Dash Inserts -Stamped with JCW logo (3 piece Facelift)
  • Leather cup holder trims and shift gator trim.
  • Alcantara Hand-brake Boot and Shift gator
  • JCW Door sill Strips
  • JCW Wheel Centers
  • Front Strut Brace (JCW engraved)
A couple of options that are quite sought after that weren’t classed as a JCW Part that many accidentally believe are:
  • Aerodynamic Upgrade kit – Included
    Upgraded front bumper
    Upgraded Side-skirts
    Upgraded Rear Bumper
    Slightly larger rear wing
  • Additional Guage setups
    Available for installation in the center console under the switch panel
    or 
    Available as guage pods next to the steering wheel mounted tachometer. 
  • Retrofit Shift indicator
    Gear shift indicator lights Mounting above center Tachometer on the dashboard
  • Recaro Front and rear seats
    Available in several colour options including all Black, but most commonly seen as Black and Grey.

NOW HOW DO I TELL WHETHER THE CAR I’M LOOKING AT HAS A JOHN COOPER WORKS TUNING KIT?


The key thing to remember is that any cooper S can have any of the options that were offered from BMWs line of John Cooper works optional extras, even the exhaust and intake could be purchased as a package from BMW under the classification of a Sound Kit.

There are however a few key spots to look to determine if the car you are looking at is a real John Cooper works or whether its “Dressed Up” to look like one.


The first thing to ask the owner is Does it have the John Cooper works certificate- This is an A5 piece of card that was given to the owner with the VIN of the car put on it with the kit serial and generally popped away safely in the cars service book. While the owner looks for this, have a walk-around of the car, look for the JCW badges on the front grill and rear hatch lid (Some may have had them removed) and have a look at the exhaust tips, do they have JCW engraved in them? (Also may have been swapped for an aftermarket system)

If the car has these it is a great start- Many believe this is a way to determine it, but what if the any of these gets lost or damaged over years of ownership with many owners?

The next thing to check is the engine bay first key things you are looking for is a logo on the rocker cover with the individual JCW kit serial number.

Once in the engine bay without having to measure pulley sizes or pull the ecu out, the best thing to do is to have a look to the left of the left hand side intercooler horn at the cylinder head – cars equipped with the JCW tuning kit will ordinarily have a red Stamp just there as shown in the image (Several cars have been found not to have the stamp but the majority of cars will have this as its extremely rare not to, it has been said that late model Factory JCWs dont have this marking usually late 2006 models)
Other things to check is if the car is equipped with a JCW 210 kit you will easily be able to see a John Cooper works labelled airbox, and with a torch if you peak underneath the intercooler from the left hand side, you should be able to just see the injectors, a JCW 210 should have Blue Injectors whereas a JCW 200 or a standard Cooper S will have white or beige injectors.

JCW injectors without the intercooler covering them.


Looking for the red dot on a car (In this case was a cooper S head, not a JCW)

And the difference between the exhaust ports on a head off a cooper S compared to a JCW head.

Some cars have had it come off over its life so if you are still doubting whether it is equipped with a JCW tuning kit, both the JCW 200 and JCW 210 kit had a sticker on the ECU after tuning. Remove power from the battery and let it sit for a few minutes and pop the ecu out of the housing on the side of the air intake extremely carefully, you should see a sticker like this:

(Note not all cars had this, but still a good indicator)

Monday, 31 December 2018

Ireland erasmus guide


Please, follow this simple rules:

#1 Rule: Pay an intermediary business to get you a real company.
(Even if it seems not legal, there are loads of this type on companys that, actually, can get you into a huge, better company and avoid getting yourself with hands on dough making cakes after your MBA in business)

#2 Rule: Do not pay the intermediary for transport.
(Unless you are gonna use the bus more than twice a day, you are paying more than you should for the same)


#Last Rule: Search yourself for the accommodation.
(Avoid paying 700 hard earned bucks for a two squared meter room in an acommodation without even a desk. Apartment prices are on the rise but you can probably get something better)