Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 472
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:472)
OrbWorks Community Forum • View topic - A PocketC LapTimer
Page 1 of 1

PostPosted: Wed Dec 20, 2000 2:16 am
by gganio
<html>
<head>
<title>A PocketC LapTimer (Palm OS)</title>
</head>

<body bgcolor="#FFFFFF" text="#000000">

<TITLE>A PocketC LapTimer / Stopwatch</TITLE>

</HEAD>
<BODY LINK="#0000ff" VLINK="#800080">

<b>[size=5]<P ALIGN="CENTER">A PocketC LapTimer: A Pocket-C Based Laptimer (Stopwatch) for PalmOS machines </b></P>
</FONT>
<P ALIGN="CENTER">Palm OS v 1.00 (12/3/2000)</P>

[size=5]<P>Introduction</P>
</b></FONT><P>Laptimer that runs on Palm OS machines. It has been written with PocketC of (<A HREF="http://www.orbworks.com/">www.orbworks.com</A>).<br>
It is of very simple use. It features, big digits, remote button control (with external cable), Lap Time Log file downloadable to your PC.
I am still testing it, but is should work under all existing Palm Os.It has been so far tested on a couple of 4 stroke engine vehicles, and on a couple of 2 stroke go-karts. During the 2 Stroke testing application, some problems surfaced, see <A HREF="#Limitations">Limitations</A> section.</P>

<b>[size=5]<P><A NAME="Current_Features">Feature</A> List</P>

<ul>
</b></FONT>
<li>Resolution 1/100 sec</li>
<li>Screen and remote button triggering</li>
<li>Big Digits </li>
<li>Max Lap Time (TBD)</li>
<li>Min Lap Time (2 sec)</li>
<li>Max Number of laps (99)</li>
<li>Best LapTime displayed</li>
<li>Freeware</li>
<li>Lap Times saved to PalmOS memo, downloadable to PC</li>
<li>Image Background</li>
<li>Reusable code for personal modifications</li>
<li>Backlight possibility for night use</li>
<li>On Vehicle use possible</li>
</ul>

<P><HR></P>

<b>[size=5]<P><A NAME="History">History</A></P></b></FONT>
<TABLE CELLSPACING=0 BORDER=0 CELLPADDING=7 WIDTH=626>

<TR><TD WIDTH="20%" VALIGN="TOP">
<P>v1.00 Palm OS 12/4/2000</TD>
<TD WIDTH="80%" VALIGN="TOP">
<P>Initial Release</TD>
</TR>
</TABLE>
Details:<br>
I am useing the picture of a pocket bike as wallpaper for this software, because I have thought that a Pocket PC machine running on PocketC would have look good with a picture of a Pocket Bike.<br>
Prerelease History:<br>
My first version of this software was triggered by Sersend(a). That allowed to use a conventional Palm Pilot Serial Cable. Unfortunately, I have found out that it was necessary to have the Palm Pilot to be waked up on the event of time triggering. That happens with the command wait()+Hookhard() and triggering with the Hotsync button.<br>

<b>[size=5]<P><A NAME="Files">Files</A></P></b></FONT>

For Users: PoCLaTi1users.zip:<br>
<A HREF="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/dlpoclatiusers.html">
Download here PoCLaTi1users.zip</A>
<br>

<pre>
PoCLaTi1.prc PocketC Laptimer v.1.00 (.prc style)
PoCLaTi1ni.pdb PocketC Laptimer v.1.00 (.pdb style), basically it has no icon
PocketC.prc PocketC palm OS runtime application v.3.7rt
PktCSysLib.prc PocketC Palm OS system library
PoCLaTi1Readme.txt This file
PoCrtReadme.txt Read me of PocketC Palm OS runtime v.3.7rt
PktCSysLibReadme.html Read me of PocketC system library

</pre>

For Developers: PoCLaTi1developers.zip:<br>
<A HREF="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/dlpoclatidevelopers.html">
Download here PoCLaTi1developers.zip</A>
<br>

<pre>
PoCLaTi1.prc PocketC Laptimer v.1.00 (.prc style)
PoCLaTi1.pc Source for PocketC Laptimer v.1.00 (.prc style)
PoCLaTi1ni.pdb PocketC Laptimer v.1.00 (.pdb style), basically it has no icon
PoCLaTi1ni.pc Source for PocketC Laptimer v.1.00 (.pdb style)
PocketC.prc PocketC palm OS runtime application v.3.7rt
PktCSysLib.prc PocketC Palm OS system library
PoCLaTi1Readme.txt This file
PoCrtReadme.txt Read me of PocketC Palm OS runtime v.3.7rt
PktCSysLibReadme.html Read me of PocketC system library
pocketbiks.bmp small icon for PoCLaTi1.pc compileing
pocketbikl.bmp large icon for PoCLaTi1.pc compileing
PktCSysLib.lib Source for PocketC Palm OS system library
Palmconnector.txt Info on the Palm connector
</pre>
<A HREF="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/dlpoclatidevelopers.html">
skinsanddigits.zip:</A>
<pre>
skinsanddigits.zip:
contains the .bmp and .txt files to build digits and skins for PocketC
Laptimer developing
</pre>

<b>[size=5]<P><A NAME="File Installation">File Installation</A></P>
</b></FONT>

Using your favorite PalmPilot program, install :<br>

(from PoCLaTi1users.zip)<br>

PocketC.prc <br>
PoCLaTi1.prc <br>
PktCSysLib.prc<br>
(optional PoClaTi1ni.pdc)<br>
<br>

Additionally, if you want modify this software you will need:<br>

files from PoCLaTi1developers.zip<br>
PocketC for palm OS full version<br>
<br>
It is possible to download the full version of PocketC at:
<A HREF="http://www.orbworks.com/">
OrbWorks</A>
<br>


<b>[size=5]<P><A NAME="Operation">Operation</A></P>
</b></FONT>

For screen triggering:<br>
start up either PoCLaTi1.prc or PoCLaTi1.pdb and touch the screen or any key button when ever
you want to measure a laptime. This data will be saved at the indicated memo file.<br>
<br>

For Hotsync button triggering:<br>
In the Prefs menu set the Hotsync Button to call PocketC.
Start up either PoCLaTi1.prc or PoCLaTi1.pdb and touch the button when ever
you want to measure a laptime. This data will be saved at the indicated memo file.<br>
<br>
The following pictures will further explain how to operate this software:<br>
<br>
<img src="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/scr01.gif" border=0>
<img src="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/scr02.gif" border=0><br>
<br>
<img src="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/scr03.gif" border=0>
<img src="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/scr04.gif" border=0><br>
<br>
<img src="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/scr05.gif" border=0>
<img src="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/scr06.gif" border=0><br>
<br>
<img src="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/scr07.gif" border=0>
<img src="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/scr08.gif" border=0><br>
<br>


<b>[size=5]<P><A NAME="System Hardware">System Hardware</A></P>
</b></FONT>

The following two pictures are some examples of onboard use of the Palm machine for Lap Timing:
<br>
<img src="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/otobaipocketclaptimer.jpg" border=0>
<img src="http://www.geocities.com/gganio.geo/PalmCELapTimer/PalmOS/kartpocketclaptimer.jpg" border=0><br>
<br>
During Onboard use, I have been putting my PDA machine into one of these boxes:<br>
<A HREF="http://www.otterbox.com/">
<img src="http://www.otterbox.com/images/2000.jpg" border=0> </A>
<br>
<A HREF="http://www.smartcart.com/diving/cgi/display.cgi?item_num=otter">Buy them here</A><br>
<br>
It is possible to buy cost effectively Palm Pilots or PocketPC machines and their Serial Cables at any Internet Auction. Here a link for two of them: <A HREF="http://list.auctions.yahoo.com/23557-category.html?alocale=1us&acc=us">
Yahoo Auctions US</A>
,
<A HREF="http://list.auctions.yahoo.co.jp/jp/23557-category.html?alocale=0jp">
Yahoo Auctions Japan</A>
<br>
<br>

The Palm Connector:<br>
The LapTimer can be triggered remotely thru the Hotsync button. The 2 hotsync pins of the Palm connector are not linked to the SD9 serial connector. Therefore it is necessary to modify an exixting Hotsync cable to enable it to trigger remotely the laptimer. It would also be possible to build on purpose a cable to link the Palm machine to a button. Unfortunately , Palm Inc., basically forbid the sale of the connector as an electronic component in order to maintain a large profit on the sales of the hotsync cables. <br>
I am trying to find a source of the Palm Pilot connector in order to build a remote Hotsync button for the right price. So far what I have been doing has been modifying existing Palm Pilot serial cables. These three links can help for custom building of modifyed Hotsync cables:<br>

<A HREF="http://www.syncablesolutions.com/">
Syncable Solutions (Palm Cables en Vrac)</A>
<br>
<A HREF="http://www.gethightech.com/homepage.html">
Gethightech.com (Palm Spare parts)</A>
<br>
<A HREF="http://www.pacificneotek.com/">
Pacific Neo-Tek(They have the E-Z Syncable)</A>
<br>
It follows a description of the cradle pinout for help in case of custom modifying of the Palm Pilot Serial Cable.
<p>

<a name=3></a>
<h3>Palm HotSync(tm) Cradle Pinout</h3>
<pre>
Pinout (left to right, facing the front of the cradle) seems to be:

cradle cable Palm/PalmPilot
------ ----- -----
pin 1 DE9.6, DB25.6 Palm DTR (GPIO output) -> PC DSR
pin 2 N/C +3.3V on PalmPilot and Palm III handheld
(current limited by 330 Ohm series resistor.)
not connected on PalmPilot cradle
(+4.1V) (or +4.07V measured on my Palm V cradle)
pin 3 DE9.3, DB25.2 Palm RxD <- PC TxD
pin 4 DE9.8, DB25.5 Palm RTS -> PC CTS
pin 5 DE9.2, DB25.3 Palm Txd -> PC RxD
pin 6 DE9.7, DB25.4 Palm CTS <- PC RTS
pin 7 N/C GPIO input pin for detecting hotsync, contacts
with pin 2 when the hotsync button is pressed.
pin 8 N/C GPIO (input only, not connected in cable)
(+5.5V) (or around +5.5 on Palm V cradle only)
pin 9 N/C N/C (spare?)
pin 10 DE9.5, DB25.7 Signal Ground

N/C DE9.4, DB25.20 (PC DTR not connected to Palm)
N/C DE9.1, DB25.8 (PC DCD unconnected to Palm)

(Cradle uses single sided gold PCB edge connector with 2mm contact spacing.)

</pre>
Additional Info at 3Com/Palm's
<a href ="http://www.palm.com/devzone/hw.html">
Hardware Development</a> page.
<br>


<b>[size=3]<P><A NAME="System Weights">System Weights</A></P>
</b></FONT>
<pre>
Palm Pilot = TBD
Palm III = TBD
Palm Hotsysnc Cable = TBD
Sub D 9 connector and button = 40 g
Otter box 2000 series = TBD g

</pre>

<b>[size=5]<P><A NAME="Limitations">Limitations</A></P>
</b></FONT>
<P>So far tested only on Palm OS 2.0 and 3.1.1 <br>
When used on vehicles, powered by single cylinder 2 stroke engines, it has been noticed that the local EMI produced by these engines are capable of shutting off a Palm Pilot. Especially the early models. This software doesn't need to operate with the Palm powered up. It simply will be turned on by the time trggering operation, and it will be , randomly , shut off by the engine EMI. Testing on 4 stroke engines had no problems.
<br>
The time display doesn't flow with the time. It simply displays the last measured laptime and the current best laptime.
<br>
Current remote trggering is with a button. I have not yet developed, or found a way to trigger the LapTimer remotely from an off board source.
</P>

<b>[size=5]<P><A NAME="Future Developments">Future Developments</A></P>
</b></FONT>
I plan to port this Laptimer to Windows CE.<br>
I plan to figure out a way to trigger with an outboard source the laptimer.
<br>

<b>[size=5]<P><A NAME="legal_stuff">Legal Stuff</A>
</P>
</b></FONT><P>*.</P>

<b>[size=5]<P><A NAME="Special_Thanks">Special Thanks</A></P></FONT></b>
Special thanks to
<A HREF="http://alienbill.com/abp/pocketc.html">Alien Bill PocketC Page</A>, because of BMP2Hex (for Windows).<br>

Special thanks to <A HREF="http://hotfiles.zdnet.com/cgi-bin/texis/swlib/hotfiles/info.html?fcode=0011J4&b=zdpalm">Jolly Roger</A>
,screen capture software.<br>



<b>[size=5]<P><A NAME="Contact_Info">Contact Information</A></P>
[/b]</FONT><P>Please direct any bugs, suggestions, or feedback to <a href="mailto:gganio.geo@yahoo.com">gganio.geo@yahoo.com.</a><br>
See also my web site:<A HREF="http://www.geocities.com/gganio.geo">http://www.geocities.com/gganio.geo</A><br>


</BODY>
</HTML>




Edited by - gganio on 12/19/2000 20:22:33