Editing Alpha Clock Serial

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
The standard [[Alpha Clock Firmware]] for [[Alpha Clock Five]] has a built in serial interface protocol that supports several basic functions, including time sync and displaying text on the alphanumeric LED display.
+
The standard [[Alpha Clock Firmware]] for [[Alpha Clock Five]] has a built in serial interface protocol that supports several simple functions, including time sync and displaying text on the alphanumeric LED display.
  
  
Line 6: Line 6:
 
The serial interface is a "TTL Serial" type, connected directly to the microcontroller, and supports logic-level signals only.  The interface is normally configured for 19,200 baud, 8N1.
 
The serial interface is a "TTL Serial" type, connected directly to the microcontroller, and supports logic-level signals only.  The interface is normally configured for 19,200 baud, 8N1.
  
For most applications a USB-TTL interface such as the [http://shop.evilmadscientist.com/productsmenu/partsmenu/130-usbttl FTDI TTL-232R] or the Adafruit [http://shop.evilmadscientist.com/productsmenu/accessories/210 FTDI Friend] is an excellent choice.
+
For most applications a USB-TTL interface such as the [http://evilmadscience.com/productsmenu/partsmenu/130-usbttl FTDI TTL-232R] or the Adafruit [http://evilmadscience.com/productsmenu/accessories/210 FTDI Friend] is an excellent choice.
 
The FTDI interface connects to location J2 on the circuit board.
 
The FTDI interface connects to location J2 on the circuit board.
  
Line 57: Line 57:
 
   
 
   
 
Note that the set of characters available (ASCII 32-96) is defined in the firmware.  If you need to display characters not in that set, or would like to change the shape of the displayed characters, that can be made possible by editing and uploading a new version of the firmware.  
 
Note that the set of characters available (ASCII 32-96) is defined in the firmware.  If you need to display characters not in that set, or would like to change the shape of the displayed characters, that can be made possible by editing and uploading a new version of the firmware.  
 
 
To blank the display, you can send an string consisting of spaces, "    ".
 
  
  
 
==== MT: Mode Time ====
 
==== MT: Mode Time ====
  
The MT function is used to resume normal display mode-- showing the time --after command A0 has been issued.
+
The MT function is used to resume time display mode, after command A0 has been issued.
  
  
Line 109: Line 106:
 
* B*  (B, followed by any character)  
 
* B*  (B, followed by any character)  
 
* SA  (May be used for Set Alarm time in future firmware)
 
* SA  (May be used for Set Alarm time in future firmware)
* SB  (May be used for Set Brightness in future firmware)   
+
* SB  (May be used for Set Brightness in future firmware)
* M*  Where * is in the range 2-9. (May be used for mode setting in future firmware)
+
* M0  (May be used for Alarm Off in future firmware)
 +
* M1   (May be used for Alarm On in future firmware)
 +
* M*  Where * is in the range 2-9
 
* TP  (May be used for producing sounds in future firmware)
 
* TP  (May be used for producing sounds in future firmware)

Please note that all contributions to Evil Mad Scientist Wiki are considered to be released under the GNU Free Documentation License 1.3 (see Evil Mad Scientist Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)