MY Work

Programming Work

Raspberry pi 4 fan controller

This project provides a Python script to control a fan connected to a Raspberry Pi 4. The script computes the duty cycle for the fan based on the current temperature of the Raspberry Pi's CPU, ensuring efficient cooling.

Features

  • Automatic Fan Control: Adjusts the fan speed according to the CPU temperature.
  • Temperature Monitoring: Continuously monitors the CPU temperature.
  • Customizable Settings: Allows users to set temperature thresholds and corresponding fan speeds.

How It Works

  1. Temperature Reading: The script reads the current CPU temperature.
  2. Duty Cycle Calculation: Based on the temperature, it calculates the appropriate duty cycle for the fan.
  3. Fan Speed Adjustment: The fan speed is adjusted according to the calculated duty cycle.

Requirements

  • Raspberry Pi 4

  • Python 3

  • A fan connected to the GPIO pins

Installation

  1. Clone this repository:
  2. Navigate to the project directory:
    • cd raspberry-pi-fan-controller

  3. Run the script:
    • python3 fan_controller.py

Sample Corporate Projects

pensions calculations

As a software developer, I successfully developed an automated pensions calculation system for a Lloyds Bank client. This project involved creating a sophisticated pensions calculator that streamlined and enhanced the accuracy of pension computations, ensuring efficient and reliable results for the client.

Technology Behind the Pensions Calculator

 

In developing the automated pensions calculation system for Lloyds Bank, I utilized a range of advanced technologies and methodologies to ensure precision and efficiency. Key technologies and tools included:

 

  • Programming Language: Python for robust and efficient development.
  • Database Management: Oracle for reliable and efficient data storage and retrieval.
  • Framework: Custom Python scripts calling SQL queries to interact with the Oracle database.
  • Automation Tools: AutoTag and Windward for automated document generation and reporting.

 

This combination of technologies enabled the creation of a sophisticated and reliable pensions calculator, significantly improving the client's operational efficiency and accuracy in pension computations.