Chapter 3: Introduction to the Telecontrol Project

We have put together a video as an introduction to our Telecontrol project.

The default configuration with the current version of the firmware (0.4.0) allows the device to perform the following tasks via the web service (api) and/or plugins:

  • - Set the state of up to 12 digital outputs (the analogue input pins can be used as digital outputs).
  • - Set a PWM (pulse width modulation) value on up to 2 output pins.
  • - Get the status of up to 12 digital inputs (the analogue input puns can be used as digital inputs).
  • - Get the input value of up to 6 analogue inputs (returns a value of 0 – 1023 representing a voltage between 0v – 5v).
  • - Define and set the states of up to 2 sets of shift registers (allowing up to 32 shift registers per set), allowing up to a total of 512 digital outputs via the shift registers.
  • - 10 timer slots for shift register instructions (for example, you can instruct an output to remain ‘on’ for X number of milliseconds, or up to approx 4.5 hours).
  • - Send up to 128 bytes of serial data to the serial port on the device.
  • - Get up to 128 bytes of serial data from the serial port on the device.
  • - Define and set the position of up to 6 servos.

The following list explains the flash codes on the Status LED:

  • 1 – Network configuration.
  • 2 – Locating the telecontrol server address.
  • 3 – Connecting to the telecontrol server.
  • 4 – Successfully connected to the telecontrol server, authenticated and initialised.
  • 5 – Successfully connected to the telecontrol server, however the module key is either invalid, inactive, or there is already a device online using that particular module key. Module will reboot after 30 seconds of displaying this code.
  • 6 – Reboot instruction received from the server. Going to reboot.
  • 9 – Connection dropped. Going to reboot.

If there is an error during the boot process, the module will flash the code that it failed on for a predetermined period of time. The module will then reboot.

The next chapters will show how to flash the firmware to the device, and how to configure the device via the web interface.

If you have any questions, please feel free to contact us via the Contact page, or via the comments section below.

One Response to “Chapter 3: Introduction to the Telecontrol Project”

  1. Tweets that mention Kennedy Technology┬╗ Blog Archive ┬╗ Chapter 3: Introduction to the Telecontrol Project -- Topsy.com Says:

    [...] This post was mentioned on Twitter by Craig Dealey, Nathan Kennedy. Nathan Kennedy said: New blog post: Chapter 3: Introduction to the Telecontrol Project http://bit.ly/bPWOEV [...]

Leave a Reply

This entry was posted on Monday, June 7th, 2010 at 11:14 pm and is filed under Telecontrol. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.