Swordfish Projects


swordfish

Swordfish (also known as SF) offers a truly structured and modular approach toward program development - very similar in some respects to programming with Visual Basic.

Swordfish produces extremely efficient and stable code. For more information or assistance, please visit the forum.

Free version limitations; 200 variables on compile, no program length restrictions. Download.



Big GPS Clock +

Big GPS Clock Big GPS Clock
What's not to like about the idea? A GPS module is the perfect companion to the humble clock and ensures the time is always accurate and never needs adjusting (unless you live in an area that has daylight savings). Better still, the GPS module does not require a "lock" to multiple satellites - just one or more. "I want to build one!" I hear you say - well read on...
Author: Graham

Tetris on a PIC Microcontroller +

Tetris on a PIC Microcontroller Tetris on a PIC Microcontroller
The PIC Tetris game (PICtris) spawned from a recent question by RetroBrad in the forum. He wanted to know how to manipulate LEDs and draw 2D graphics. I'm more of a practical kind of guy and in the past, graphics were never an area of concern. I was intrigued to delve into the world of 2D to find out how things tick. The 64 LEDs and four buttons are controlled by a single PIC (18LF4520) and two AA batteries. The source code operates very efficiently,...
Author: Graham

24 Timers! +

24 Timers! 24 Timers!
The purpose of the project was to create a 'box' that could control 12-24 timers independently. Each timer required both visual and audible ques. It was a quick-and-easy fun project that threw some curve balls when it came to writing a program that could control 24 timers which could have different states at any point of time. With a PIC...

Mitchy's Geeky Clock +

Mitchy's Geeky Clock Mitchy's Geeky Clock
Credit where credit is due, this project was inspired by Jon Chandler's Clock for Geeks. After reading through one of Jon Chandlers recent projects, I was rather inspired to make my own! The Geek Clock is a great spin on a more then well known concept - displaying time. His method employs a Servo, PIC and a little intuition.
Author: Graham

TAP-28 Daughter Board (DS1307 RTC) +

TAP-28 Daughter Board (DS1307 RTC) TAP-28 Daughter Board (DS1307 RTC)
This is my first daughter board for the low cost TAP-28 Development Board made by Jon Chandler. It's future purpose is to be used in my own variant of the Servo Clock (also made by Jon!). Why use the TAP-28 if I had to physically make my own board anyway? Because the TAP-28 has 90% of the gear required to get any small project online and running.
Author: Graham

Servo Clock Calibration +

Servo Clock Calibration Servo Clock Calibration
The first servo clock was built using a name-brand servo known for its linearity.  The second iteration was built using a low-cost mini-servo.  Its linearity was not as good; uncorrected, the time readout was not acceptable. In the ideal case, locating the delay value at the starting and ending points would be enough for the clock to read properly across the range.  The angle of rotation...
Author: Jon Chandler

Development Board: Servo "Ranger" +

Development Board: Servo "Ranger" Development Board: Servo "Ranger"
Overview To ensure my Dedicated Servo Controller worked and was stable, I made a Servo "Ranger" program. It's a dual purpose design (discussed later) that allows the user to control 8 servos via two potentiometers. One potentiometer selects the servo, and the other sets the position. While there are 8 servos to choose from, there is a 9th mode which displays both the total...
Author: Graham

A Clock for Geeks +

A Clock for Geeks A Clock for Geeks
[Note: a more rigorous calibration approach for dealing with non-linear servos can be found here.] Clocks abound with all kinds of off-beat styles.  Here's a clock that appeals to geeks (and also works well for stealth clock watching) .
Author: Jon Chandler

Development Board: Wireless Transceiver (Sure Electronics, PN GP-GC011) +

Development Board: Wireless Transceiver (Sure Electronics, PN GP-GC011) Development Board: Wireless Transceiver (Sure Electronics, PN GP-GC011)
After a recent article from Jon Chandler, I thought it best to share my recent work on the Sure Electronics 915Mhz Wireless Transceivers. Here's what one looks like from the box; It's very important to note here that they come in a pair. That means 2xTransceivers and 2xOmni Antenna. At the time of purchase/writing this article, the modules cost US$17.72 a pair. The...
Author: Graham

Wireless Temperature and Humidity Sensor +

Wireless Temperature and Humidity Sensor Wireless Temperature and Humidity Sensor
My most recently completed project is a remote temperature and humidity sensor which wirelessly sends the readings to a base station to display and log the data. For the base station I used an old iPaq Pocket PC which was past its useful life.  The remote sensor is controlled by a PIC18F1220.
Author: AndyO

Development Board: Dedicated 8 Channel Servo Controller +

Development Board: Dedicated 8 Channel Servo Controller Development Board: Dedicated 8 Channel Servo Controller
Download the Swordfish program and Gerber files here: Dedicated Servo Controller Source Files This project offers a dedicated solution to control servo motors, which can be controlled via USART data packets. This approach has it advantages, though Andy has made an excellent feature...
Author: Graham

Sure 2.4 GHz UART Module +

Sure 2.4 GHz UART Module Sure 2.4 GHz UART Module
I've recently had a few applications where a wireless link would be handy. Looking on eBay, I found that Sure makes a 2.4 GHz UART module for a decent price (US$14 each on eBay including shipping).  These are designed as a cable replacement, with a claimed range of 10 meters. 
Author: Jon Chandler

TAP-28 - A “throw away” PIC board for quick and dirty applications +

TAP-28 - A “throw away” PIC board for quick and dirty applications TAP-28 - A “throw away” PIC board for quick and dirty applications
TAP-28 Introduction Microprocessor applications often require only a simple microprocessor circuit to control an external board, read a few sensors, control a motor or LED using PWM or even run a servo. Implementation of such a circuit is a hassle: dedicating a complex dev board to the task, maybe using a solderless breadboard or hand-assembling the circuit on perf board. None of these is an ideal solution, costing more than needed, having a less-than-robust...
Author: Jon Chandler

Projected Date (calculates the date in X days time) +

Projected Date (calculates the date in X days time) Projected Date (calculates the date in X days time)
OK, so this project might not be a killer robot or auto-guided missile, though for what ever reason(s) it has turned out to be a decently sized program! The scenario that brought this project to life would most likely be quite unique and rarely encountered, though I thought it would still be worth sharing as the program has a few handy little features and nifty tricks.
Author: Graham

PCB Rocker +

PCB Rocker PCB Rocker
Another quick and easy project, this time focused toward a simple robot that rocks a tank full of PCB etchant. Anyone that fabricates their own Printed Circuit Boards (PCB's) at home will either have a commercial etching tank, or manually rock their etchant solution until the process is complete. Given the price of commercial models are anywhere between $70 and $150, I thought some DIY was in order here. For less than $20 in parts you can make...
Author: Graham

Feature Lighting - Entertainment Unit +

Feature Lighting - Entertainment Unit Feature Lighting - Entertainment Unit
LED Boards I recently brought a few components from Sure Electronics which included aluminium based LED boards. They caught my eye given the cheap price, US$2.04 (at the time of writing this article) and come completely assembled ready to be connected to 12-13.8V. Here's...
Author: Graham

Development Board: SD/MMC Cards +

Development Board: SD/MMC Cards Development Board: SD/MMC Cards
Note: Please ensure you are using the latest version of SDFileSystem.bas (at time of writing: 4.1.4). If you are updating (or do not have the library), then ensure to remove the old "C:\ProgramData\Mecanique\Swordfish\Library\SDMMC" files (if you haven't already).
Author: Graham

F16 Flight Control Grip Movement & Position Sensor +

F16 Flight Control Grip Movement & Position Sensor F16 Flight Control Grip Movement & Position Sensor
A work colleague was about 90% of the way through building his own F16 flight sim cockpit, and from what I saw, the whole project was built from the ground up with the highest of care and attention to detail. From the individual control panels to the different displays and other physical aspects. Better yet, it was all DIY. Everything was a near replica of that in real life, and his final hurdle was to design/build something to interface with a High...
Author: Graham
Title Filter      Display #  
# Article Title Date Author Hits
1 Big GPS Clock Monday, 19 July 2010 Graham 965
2 Tetris on a PIC Microcontroller Friday, 18 June 2010 Graham 8934
3 24 Timers! Tuesday, 01 June 2010 Graham 1427
4 Mitchy's Geeky Clock Thursday, 01 April 2010 Graham 1369
5 TAP-28 Daughter Board (DS1307 RTC) Saturday, 27 March 2010 Graham 2300

Page 1 of 4

Start
Prev
1

Forum Feed

New Articles



Not Quite Trivial - A Tip for using the Software UART with the PICKit 2 +

Not Quite Trivial - A Tip for using the Software UART with the PICKit 2
This tip is almost trivial, but it's a D'uh moment too.  Just in case anyone else has missed the obvious. here's a quick tip.   I usually use Swordfish's hardware UART routines and I don't recommend Swordfish's software UART for input, where there...
Author: Jon Chandler

Simulating Analog Sensor Inputs +

Simulating Analog Sensor Inputs
When developing an embedded application using analog sensor inputs, testing at specific sensor levels can be difficult.  For example, in my icemaker controller project, actions need to occur at certain water levels.  Using the actual sensor...
Author: Jon Chandler

Simple Signal Generator - Revised +

Simple Signal Generator - Revised
I recently had use for the simple signal generatorI described before for testing out some piezo buzzers I got for next to nothing.  I reloaded the code onto a TAP-28 board...
Author: Jon Chandler

Reliable Header Connectors +

Reliable Header Connectors
Header pins are ubiquitous on dev boards.  Jumpers can be used to make connections during tests and code development but real-world applications need reliable connections.  Connectors for single row headers have always been a problem for me,...
Author: Jon Chandler

Swordfish Module - NMEA2 +

Swordfish Module - NMEA2
I had a couple of issues when using David Barkers module NMEA.bas on my Big GPS Clock project. In particular, variables were being corrupted making the program very unstable. I'm not familiar...
Author: Graham

10 Keys on One Port Pin? +

10 Keys on One Port Pin?
I'm working on a control system that will have several relays, a bunch of LEDs and a number of switches.  I was rapidly running out of port pins on a TAP-28 board to handle all the desired I/O.  Possible solutions included adding an I2C port...
Author: Jon Chandler
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

Member Access



Whos Online

 We have 16 guests and 3 members online


showcase

Graham reviews the Sure Electronics 915Mhz Wireless Transceivers...

More

Geeky Clock


feature_d_small

Jon uses a servo to display the time. There is an impressive geek factor to this project

More

Project The Date


feature_c_small

What's the date 30 days from now? What about 180 days from now? This little box will tell you in a jiff

More

24 Timers!


feature_b_small

One PIC controlling 24 timers, easy! Add visual and audiable indications for each to spice things up

More

Member Access