An LM317 Calculator with Python Deployment

Le Thu 05 October 2017

As an exercise in Python Code deployment I wrote a small test script for calculating the various volatges and resistances from am LM317 regulator. I used Tkinter and embedded an image in the interface. In the end I had a nice little utility that I felt might be more useful than just for testing code deployment. So here is the LM317 code and calculator tool together with a brief description of what I did for deploying it an an executable that will work on Linux and on Windows XP. It probably works on later versions of Windows, but seeing as I have no way of testing that I can't say for sure.

Lire la suite - Read More …

Par Hamish Trolove, Catégorie : Tutorials

Tags : Python / Tools / Electronics /

Autres articles

A Stop Motion Calculator

Le Thu 31 August 2017

My stopmotion animation skills are pretty awful. I tend to find I move objects far too much between frames. In order to try to create the illusion of motion appropriate for the size of the object being animated, I designed a calculator. There is a spreadsheet version and a Python version. Input the target speeds and accelerations and this calculator works out how far you need to move the object each frame taking account of framerate and scale. Both tools put out a table with the frame numbers, times, and distance to move the object for each frame.

Par Hamish Trolove, Catégorie : Tutorials

Tags : Stopmotion / Python / Tools /

Lire la suite - Read More …

Organising a Public Drone Racing Event

Le Tue 13 June 2017

Each year Hutt City Council runs a STEMM festival to promote the “Technology Valley” concept. As part of the STEMM festival for 2017, the Council and Hutt City Libraries were keen to run a Drone Racing Day with the local talent turning up to one of the local sports-grounds which would be set up with a course and video equipment for spectators to view the race from the pilot's view. organising this required a Health and Safety plan and Event management plan to be produced. In the end the event was cancelled due to rubbish weather. So as not to waste the effort used to produce the plans, I am keen to share them here in the hope that they save someone else a bit of effort organising similar events.

Par Hamish Trolove, Catégorie : RC Gear

Tags : RC Aircraft / tools /

Lire la suite - Read More …

Vacuum Formed Thin Plastic Domes

Le Thu 20 April 2017

This is a description of a small project to produce a thin clear plastic dome for a 3D printed model. The process uses vacuum forming.

Par Hamish Trolove, Catégorie : Tech Projects

Tags : Tools /

Lire la suite - Read More …

Python and Scribus Scripts to Deal Story Cards

Le Wed 23 November 2016

I enjoy story-telling games. I have various story telling games such as Gloom, a game I made up loosely based on Nanofictionary, The Extraordinary Adventures of Baron Munchausen, and various heavily modified versions of Atlas Games' Once Upon a Time. Of course the natural thing to do was to come up with my own game. This has a working title of “Story Soup” and about 600 cards ... which means to shuffle the cards effectively you need pretty big hands. I have yet to finalise this, but in the meantime I was keen to use it to generate some plots for some stories. This article descibes and lists the scripts.

Par Hamish Trolove, Catégorie : Tutorials

Tags : Scribus / Python / Graphics / Tools /

Lire la suite - Read More …

Battery Discharge Tester

Le Tue 28 June 2016

I have quite a few rechargable AA and AAA batteries kicking around that I'd like to use in various projects, but I know a number of them are pretty crappy. This article describes an Arduino based device that conducts a controlled discharge of the battery cells and logs the voltages. By analysing the discharge curves the battery health can be assessed.

Par Hamish Trolove, Catégorie : Tech Projects

Tags : Arduino / Electronics / CSV / Tools / Energy /

Lire la suite - Read More …

A Scribus Script to Load Text from a List

Le Tue 23 June 2015

I am creating a story telling card game with a particularly large deck of cards. In order to be focused on creating the content, I wanted to come up with some tools to take a text list and distribute it across a series of pages to make cards and then add a background image to each card. Scribus is an excellent tool for doing this efficiently and accurately. Two python scripts have been developed; one to apply the background images, and the one described on this page to convert a list of text into the words on the card faces.

Par Hamish Trolove, Catégorie : Tutorials

Tags : Scribus / Python / Graphics / Tools /

Lire la suite - Read More …

A Scribus Script to Distribute Images Across Page

Le Tue 23 June 2015

I am creating a story telling card game with a particularly large deck of cards. In order to be focused on creating the content, I wanted to come up with some tools to take a text list and distribute it across a series of pages to make cards and then add a background image to each card. Scribus is an excellent tool for doing this efficiently and accurately. Two python scripts have been developed; one to convert a list of text into the words on the card faces, and the one described on this page to apply the background images.

Par Hamish Trolove, Catégorie : Tutorials

Tags : Scribus / Python / Graphics / Tools /

Lire la suite - Read More …

Turning a Text List into Inkscape Text Objects

Le Wed 10 June 2015

Have you ever been faced with re-typing a list of text as a series of text objects in a graphics package? Yeah. It's tedious eh? Well here is a quick and dirty python script to take a list of text and convert it to a number of text objects in an SVG file that Inkscape can read.

Par Hamish Trolove, Catégorie : Tutorials

Tags : Inkscape / Python / Graphics / Tools /

Lire la suite - Read More …

Creating New Scenery for RC Desk Pilot

Le Wed 24 December 2014

I was browsing around to see what radio control aircraft model simulators were avilable when I came across R/C Desk Pilot, which I felt was a pretty slick little simulator. Unfortunately it only had one scene, so I picked at it a bit and found that it was possible to make new scenes for it. This tutorial / guide explains the process of building a new scene.

Par Hamish Trolove, Catégorie : Tutorials

Tags : Textures / Planet / Games / RC Aircraft / Python / Simulators / Graphics / Tools /

Lire la suite - Read More …