Welcome to my Software Examples page!
All software examples can be downloaded by right-clicking then using "Save target as..."
- scroll down to see various downloads.
The code and designs are copyright of Redford-Tech Limited.
They are freely licenced for non-commercial use.
Redford-Tech Limited and the author, Simon Redford, have provided these examples
to show how various applications may be programmed - there may be better or simpler
ways of coding some of these examples and they may or may not behave the way I
intended them to in some different environments.
The original set of examples relate to animation of a Scroll Expander from work
around the development of
Organic Rankine Cycle micro-CHP products. Originally
programmed in VB.NET (Microsoft Studio) to help explain how scroll expanders (and
compressors) work, I re-wrote the animation for Java/Netbeans environment
and also revived an MS Excel demo - all available below - FREE!
The intention in providing these examples is to help you get going quickly in GUI
environments. I found that after getting through the basics of time control and
creating smooth animations, it's easier to then expand your knowledge from the
plethora of advice available from searches and on-line videos. Each of the four
Java/Netbeans examples leading to the scroll simulation are described in
Youtube videos.
Please note that if you want to run the runtime only (.jar) files, you may need
to install a Java Runtime Environment if one is not already installed on your
computer. The Java Runtime Environment can be downloaded from
here
I hope they work for you!
Java SE 1.8 + Netbeans IDE 8.2 developed on 64-bit laptop running Windows 10
Stop Watch Example (StopWatch):
Animation Example (AnnieMate):
Analogue Clock Example (Clock):
Nixie Tube Clock (NixieApp):
Scroll Expander Example (ScrollSimulation):
Scroll Visualisation (ScrollOrbit)
This App animates actual scroll images
Notes (pdf files):
See below
See below
See above
See above
Please note that screen resolution may need adjusting to see these examples as
they were intended, particularly if your screen scale is not 100%
Scroll Simulation in Excel
An animated Excel file showing the construction and operation of Scroll compressors and expanders
can be downloaded below. Two versions are available, the original for operation in older, 32-bit versions
of Excel and the newer version for newer, 64-bit versions of Excel . To see the scroll chart orbiting you
may need to alter Excel security settings to allow macros to run. The equations that describe the scroll
involutes (or wraps) can be seen and the relative position of the dynamic involute to the static involute
is changes one step at a time to animate the orbit motion. Pockets of gas travelling through the meshed
involutes are illustrated by coloured outlines. Depending on your computer performance, the size of step
will vary the simulation speed.
Scroll Simulation for older versions of Excel
Scroll Simulation for newer versions of Excel
Arduino Sketches for Logging Mains Electricity Consumption
A set of Arduino Sketches for long-term half-hourly monitoring and recording of mains
electricity profiles saved to SD cards. Three different methods are presented:
-
Measuring current with a CT and voltage with a VT for true power
-
Monitoring Utility meter LED pulse outputs
-
Monitoring Utility meter Volt-Free pulse contacts
The sketch code to setup the Arduino Real-Time Clock, Serial Numbers and SD Card write, to test
that the setup is correct (right time etc.), and the three sketches for the different logging
techniques are presented - all are listed and can be downloaded as zip files. Additional equipment
required is also listed with links to further information. Click on images to go to the Arduino
Logging page.