Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

Tuesday, 7 January 2025

BirdNet-Pi: export audio recordings as video

Posting audio detection recordings for others can be tricky.

 

It seems that apps like Facebook don't support audio files.

So I was looking for an easy way around this issue.

Sunday, 17 December 2023

Sunday, 15 November 2015

Hanging on the BlockChain

There has been much discussion (and some excitement) in our house recently about the BlockChain.


Interest is also growing in large financial institutions, and companies are beginning to invest in research & development to ensure that they don't get left behind.


So will the BlockChain change our lives, or is it a techno dead-end?

Saturday, 2 May 2015

RaspberryPi, Serial Comms & PHP

I've been playing around with serial comms on 2 Raspberry Pi computers for the last couple of days.


And I now understand a little of the black-art required to get this working, including how to send serial data via a PHP web page.


So I thought I'd write up the details before I have time to forget it all again!

Wednesday, 22 April 2015

Raspberry Pi GPIO control with PHP

When I setup my Raspberry Pi server 8 months ago, one of its potential uses was for me to play with PHP and hopefully learn more about this language.


I found a bit of time this week, so decided to try making a minimal PHP program to control the Pi gpio from a remote computer or phone.


What I've come up with is a simple file using HTML and a few lines of PHP code.

Wednesday, 26 November 2014

Getting & using data from OpenWeatherMap

It is easy to get local or international weather data (such as current temperature, humidity, wind speed & so on) using the OpenWeatherMap API.

 

This could be very useful to me as part of my bird box project for 2015.


But my immediate concern involves our central heating system, and how to determine the local weather conditions.

Friday, 31 October 2014

PHP Image Creation on RaspberryPi

PHP can harness the power of the GD Graphic Library, allowing the generation and manipulation of images.


You can create images based upon simple lines, rectangles, arcs and circles, as well an manipulating existing graphics files.


So I recently took my first steps in creating images in PHP on a RaspberryPi.

Sunday, 14 September 2014

RaspberryPi Web server: GPIO access

Controlling the RaspberryPi GPIO remotely, over a network or across the internet, seems like an interesting trick.


I copied some code from the net and gave it a try, but unfortunately it didn't want to play.


So I went back to basics and created my own simple test routine.

Wednesday, 23 July 2014

RaspberryPi Webserver: install & configure

The low power consumption of the RaspberryPi means that it wont run up a huge electricity bill if left on all the time.


So its a good candidate for a webserver, either as part of your home automation system, or just for experimentation.


This post describes how I configured a Raspberry Pi using a light-weight web server application.