Rallylog

Introduction

Rallylog is an open hardware project that is used in Rally time trial competitions.

Project Home : http://code.google.com/p/rallylog/

Specifications

  • RTC with battery backup
  • SD Card Data Logging
  • RFID
  • LCD
  • Battery Powered
  • Low Powered Handheld device
  • Atmega328P
  • USB
  • Arduino compatible

Widget running on the smell of a single AA

For the next version of the widget, I’m planning to have an on board boost regulator. This design will allows the widget to run from just about any voltage source as low as 0.7v (so NiMh will be fine) and up to 5.5v, this boost regulator in conjunction with a standard LDO regulator will give me a nice input voltage range of 0.7v – 12V. Before I finalise the design I wanted to test things to see how well it’ll work.
Continue reading “Widget running on the smell of a single AA”

Strobit M8 Files

Jans Gentsch has made his compact version of the Strobit Triggr available to the community, his version, the Strobit M08 based on AVR design can be found here.   Please note that there are a couple of things that need doing to the PCB, if you get a chance to implement Jans design, please post back any changes to me so I can make them available.

Hello Stephen,

I’ve attached the Eagle-Design-Data as well as the source code. I haven’t found time to do anything on those since my post, so the are not in the best state. There are a few Problems with the board design:

Transmitter – There is a connection missing between the processor and NIRQ of the transmitter-module (the transmitter module doesn’t have a fifo, so that the nirq-line is needed to clock out the data). I just added a piece of loose wire during assembly.
Receiver – NIRQ isn’t connected as well, so I am constantly polling, not really a power saving design. however I am still running on the first set of batteries so it’s not like they are being drained empty immediatly.
IO-Board – Thr optocoupley was meant to sit on the bottom side but I got confused. It has to sit on top now.

Getting everything into the housing was a major challenge.

The source code has been developed using avr-gcc and the eclipse ide.
As it stands only the most basic function, tiggering, is working. The control flow will have to be reworked in order to add the rest of the functionality. And of course my “magic” trigger id should be changed.

Have fun!

Alle the best
Jan

Files

You will need Eagle PCB to view/edit the schematics and PCB files, found here –http://www.cadsoft.de/

The firmware is written using winavr found here – http://winavr.sourceforge.net/

Tests

Here’s are some initial non scientific test results of the prototype.

Sidenote: I had some fun testing these outside at night, everytime a car drove past I triggered the strobe, instant brake lights, hehe (The use of speed cameras are notorious here in Western Australia).

The Unit, both the master and slave are identical, personality is determined at powerup by pressing the trigger button if you want a master.
IMG_5569

Test Rig of slave mounted on a strobe.
IMG_5560

Running at 12500bps, camera syncs to 1/125 ~60m
12500

running at 9600bps, camera syncs to 1/100 ~120m
9600

Firmware

Firmware Details:

At the moment it’s pretty basic, but works!  Source is available via SVN (see download page)

The mode is set at powerup by pressing the manual trigger button. If pressed then mode is set to Master, default powerup is in slave mode (i.e.. do nothing). Master mode is identified by a single flash of the LED, Slave is a double flash. This way any of the units can be master or a slave.

Master mode sends a remote trigger command to the slaves when the manual trigger button is pressed, or a trigger signal is detected on the Trigger Input. The LED is light briefly when triggered.

Slaves will only trigger the local strobe if trigger test button is pressed, or a remote trigger command is received via RF. The status LED will light briefly when triggered by either of these means.

The Master will send out a keep-alive broadcast once every 5 seconds. The units LED (master and slaves) will blink briefly to indicated successful RF Link.

Back-Prototype Triggr Home Next – Protocol Details

Prototype

Prototype boards RF module Testing

Prototype Specs:

  • PIC16F88 running on internal 8MHz Clock – low cost and very popular, free development tools available, i.e. C compiler.
  • Works in unlicensed 915MHz ISM Band(Australia/US), can work at 433Mhz by changing RF module(US/EU/Australia).
  • RF uses FSK Modulation – Less prone to interference sources.
  • All aspects of the RF module is configurable via the firmware, i.e. frequency, Tx power, receiver bandwidth, modulation, datarate etc.
  • Indoor Range – ~30m+ works all through my house non line of sight, i.e. through multiple single brick walls, with transmitter at furtherest end, close to AV, TV & WIFI (i.e. interference sources) and receiver roaming throughout the house in different rooms, microwave oven also in the mix. No packets lost or dropped so far, but more testing needing to be done.
  • Outdoor Range – Untested, but from indoor tests I would guess 150-250m easily.
    Update:
    Outdoor Test Results here
  • Antenna – Simple 8cm whip (i.e. a single piece of wire), these RF units are matched to 50Ohm so an SMA antenna could be used
  • Sync to 1/125 – in theory it could easily sync upto 1/1000 as the Rf modules are capable of the bitrate necessary, however range will be affected by the higher the speed, also the processor / oscillator arrangement may need to be revised to handle the higher interrupt rate to process data, i.e may need to use a chip with onboard SPI support etc.
  • Can act as Master or Slave.
  • Can be programmed to use any frequency from 902Mhz to 928Mhz (using the 915Mhz module), using the 433Mhz Module will allow similar channels.
  • Can be triggered by a contact closure on Trigger Input. i.e. from camera
  • Can be manually triggered by test button.
  • Trigger output is isolated upto 400V, i.e. can safely trigger old stobe units with high voltage on hotshoe / sync terminals
  • Powered by x3 AA batteries. Currently no power management in the firmware.
  • Cost per prototype board AUD$ ~25

Note on the costs:

  • Most components are sourced via local retail outlets so are probably definately more expensive that sourcing elsewhere, i.e. this can be built a lot cheaper i.e. Sub $10 in parts.
  • Some of the components I had lying around at home so I’ve just used market prices in my estimates.
  • No freight was added to construction costs.
  • Some components have minimium order quanties such as the RF module.

Back – Triggr Home Next – Firmware

StrobIt Triggr

Introduction

20/03/09 *UPDATE * This project now has a new home and is actively being developed on Google code project hosting http://code.google.com/p/strobit/

IMPORTANT    This page is no longer being being maintained please go to the new project page.

Welcome to the Strobit Triggr Project, an open source hackable wireless trigger used in photography lighting by using low cost strobe units triggered remotely via RF. This was started while trying to find a cost effective and reliable solution to the commercial alternatives out there. At one end of the market is the Ebay or Cactus Trigger, which is low cost but rather unreliable. At the other end of the market there is the industry standard, Pocket Wizards, very reliable, but very expensive (i.e. way out of my price range).

What I wanted to do was to create an open platform that anyone can easily build for a low cost and then be expand upon by the community. The pair of prototypes I’ve built were a proof of concept that I can get a camera to trigger a strobe unit reliably at a low cost. From early tests it appears that I’ve succeeded in my goal, but further testing is required.

triggr0103

Project Status :

– Prototype successfully working in single master/slave configuration !

– (20/03/2009) Project now has a home at Google Code – http://code.google.com/p/strobit/

Still Todo:

  • Specifications
  • Hardware Design
    • Schematics
    • PCB
  • Software Design
    • Wireless
    • User Interface
    • Protocol
  • Hardware Prototype

License

The strobit hardware design is covered by The TAPR Open Hardware License. Please see http://www.tapr.org/ohl.html for further details.

Schematics:

Strobit Triggr Block Diagram Strobit Triggr Topology StrobIt Triggr Schematic

Prototype Details

Firmware Description

Protocol Description

Downloads – Files associated with the project

Tests – Tests done so Far

In the Wild – Version of this trigger made by others

I’m toying with the idea of putting together a low cost kit for the enthusiast. i.e. PCB, pre-programmed PIC, etc. So we could all benefit with a bulk order of the components. If your interested please email me using the contact form the top menu or use the mailing list signup on the right to give me an indication of numbers interested. Once I finaliaze the design and get some idea of numbers I’ll get a better idea of price. At the moment it will only be available in kit form due to FCC and other Licensing regulations.

Future Improvements:

  • Higher Sync Speed.
  • Frequency Hopping.
  • Forward Error Correction.
  • Power management.
  • UI to change settings, Channel etc.
  • Save settings in Flash memory.

Network Shutdown Agent

The last few weeks at work have been shocking with power outages, I think mainly to do with the summer heat ramping up, 38DegC yesterday,  at one site I we have a fairly overloaded UPS that does not stay up for very long, while a new 8500VA is on order, I have decided to write a small agent application to shutdown all our servers at that site in a graceful manner based on a UPS battery life remaining,  i.e. initially all non critical services are shutdown, than as battery life decreases then core servers get shutdown.  The servers are a mix are a mix of Windows 2000, 2003 and of course Linux 🙂  

Now being the glutton for punishment I am, I know there is probably something already out there that will send out a broadcast to shut things down, but always wanting to implement agent based solutions I think this would be a nice project.