Swordfish Modules


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.



Swordfish Module - NMEA2 +

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 with Davids programming approach, so I went on to create my own NMEA parser.
Author: Graham

Swordfish User Module Pack +

Swordfish User Module Pack Swordfish User Module Pack
Here's a list of commonly used Swordfish User Modules I tend to use. If you would like to add your own user module to the pack, please post a request in the forum!   Download the User Module Pack: User Module Pack.zip Name                          ...
Author: Graham

Swordfish Module - Servo.bas +

Swordfish Module - Servo.bas Swordfish Module - Servo.bas
Download the module: Servo.bas   Full credit is given to MichealM, whose method of controlling servos - posted here - forms the basis of this module.   This module controls between 1 and 8 hobby servos connected to PortB.  The module will only affect the pins which have servos connected...
Author: AndyO

Swordfish Module - MCP23S17 (SPI Shift Register) +

Swordfish Module - MCP23S17 (SPI Shift Register) Swordfish Module - MCP23S17 (SPI Shift Register)
After a recent discussion on the forum regarding shift registers, I thought I would share what I have done with the feedback from others. Whats a MCP23S17? Its a 16-Bit I/O Expander with Serial Interface. In other words, it extends the number of logic I/O's available to a micro controller (handy for driving a large number of LEDs for example!).
Author: Jarrod

Swordfish Module - Infrared (IR) Modulated UART +

Swordfish Module - Infrared (IR) Modulated UART Swordfish Module - Infrared (IR) Modulated UART
Want to be able to transmit data effectively, reliably, and most importantly wirelessly? Well Infrared modulated UART could be the cheapest and most effective solution. This guide provides a great solution for remote control and wireless data communication, and while it only covers the fundamentals, the possibilities are up to you. With the circuits/products and programs listed below, I have been able to achieve over 20 meters of IR data communication.
Author: Graham

Swordfish Module - RandGen +

Swordfish Module - RandGen Swordfish Module - RandGen
Download the module: RandGen This module implements a simple modulo-based PSEUDO Random Number Generator for Swordfish Basic. It's difficult to generate true random numbers from a deterministic machine like PIC. Hopefully, some mathematical methods let us have a series of numbers that seems really random, although they have all a fixed cycle upon which they restart to give the...
Author: Graham

Swordfish Module - External EEPROM (24LC family) +

Swordfish Module - External EEPROM (24LC family) Swordfish Module - External EEPROM (24LC family)

External EEPROMS are great for storing data, and to interface with them is not all that hard. Most use the I2C protocol. In this example the 24LC256 is used. I2C communication is great as it can allow serial data communication between many devices on a single 2 wire bus. These two lines are referred too as SDA and SCL. Basically SDA is the serial data and SCL maintains the clock/frequency in which data is transferred. Like most peripherals,...
Author: Graham

Swordfish Module - 7 Segment Display (Multiple) +

Swordfish Module - 7 Segment Display (Multiple) Swordfish Module - 7 Segment Display (Multiple)
User Module Downloads for this tutorial   Pre-Notes: LCD's don't require continual updates/multiplexing to display data, and require less Input/Output pins to interface with. Using interrupts to multiplex will interfere with long delays and loops (eg, DelayMS(100) could take ~105ms to complete while multiplexing. For a brief overview on how a 7 segment display works, see the single...

Swordfish Module - 7 Segment Display (Single) +

Swordfish Module - 7 Segment Display (Single) Swordfish Module - 7 Segment Display (Single)
This is a very limited example of segment displays. For full functionality and extended library support, please go to the multiple segment display tutorial.   7 segment displays are a cheap and effective way to display data. The only real downsides to them are; Unable to retain data if more than one display is used (ie, need to continually refresh each...
Author: Graham
Title Filter      Display #  
# Article Title Date Author Hits
1 Swordfish Module - NMEA2 Wednesday, 28 July 2010 Graham 317
2 Swordfish User Module Pack Monday, 29 March 2010 Graham 833
3 Swordfish Module - Servo.bas Sunday, 07 March 2010 AndyO 590
4 Swordfish Module - MCP23S17 (SPI Shift Register) Saturday, 23 January 2010 Jarrod 667
5 Swordfish Module - Infrared (IR) Modulated UART Saturday, 04 April 2009 Graham 1421

Page 1 of 2

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

Mitchy's project inspired by Jon Chandlers Geeky Clock. There's a PIC micro and servo at the core

More


showcase

Jon looks at the types of boards available and for what situations a given board might be appropriate

More


showcase

Graham explores a popular method for charging NiMH cells - float charging

More

DS1307 RTC


feature_a_small

This project makes use of Jon Chandlers TAP-28 development board. The DS1307...

More

Member Access