added notes to doco and fixed pinout on PIC
authordrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 18 May 2008 07:26:37 +0000 (07:26 +0000)
committerdrowe67 <drowe67@01035d8c-6547-0410-b346-abe4f91aad63>
Sun, 18 May 2008 07:26:37 +0000 (07:26 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@22 01035d8c-6547-0410-b346-abe4f91aad63

wispcar/documentation.txt
wispcar/sym/PC12F510.sym
wispcar/wispcar_sch.pdf

index b350ce2fd836c6af603c34ab9c9b38ac65e12fa5..f7ebc0ab85dabef6fc63622f1fffdcd71922c124 100644 (file)
@@ -113,11 +113,25 @@ router without level conversion, see reference docs for RS232 software
 UART code in wispcar.asm.  I used a MAX232 type chip for interfacing
 the RS232 tx & rx to a PC's serial port for testing.
 
-Gotcha
-------
+Gotchas
+-------
+
+1/ On the PIC12F510 we can only use 'call' to call an address in the
+first 256 bytes, so put all funcs at the start of the program, main at
+the end.
+
+2/ If the RS232 characters have occasional errors, the internal clock
+oscillator may need tweaking.  You can check the baud rate of the
+RS232 signals using an oscilloscope, at 4800 baud the bit period
+should be 208us.  See PIC data sheet for information on adjusting the
+internal oscillator.
 
-Can only use 'call' to call an address in the first 256 bytes, so put
-all funcs at the start of the program, main at the end.
+3/ The Vce(max) rating of Q2 is 35V, and Vgs(max) of Q1 +/- 20V.  As
+R1/R2 form a voltage divider I think this sets the maximum Vbat at 35V
+for the current version, i.e. Q1 will pop first (as Vgs will hit 20V
+when Vbat=40V).  Need higher Vce Q2 or change circuit to limit
+Vgs(max). Need to make sure sufficient Vgs to switch on Q1 at low
+Vbat.  Maybe two versions with different R1/R2?
 
 TODO List
 ---------
@@ -129,17 +143,20 @@ TODO List
     [ ] connect + & - together on unsued op-amp sections
     [ ] TAPR open harwdare license
 
-[ ] svn repository
+[X] svn repository
     + with datasheet pdfs ?
 [ ] wire correctly for power on reset
     + test with dodgy power on curve (slow power up)
-[ ] blog post
-[ ] README in SVN
+[X] blog post
+[X] README in SVN
+    + this file
+[ ] Add 4th digit to sleep timer
 [ ] test with WRT54
 [ ] add brown out detector to PIC reset to be double sure?
     + see PIC data sheet
 [ ] check what happens in overvoltage on input, how can we protect?
 [ ] document test plan
+[ ] get PIC part name right in symbol file
 [X] make sure we can't stall in RS232 input routine
     + need a way to get around this.....
     + malformed RS323 could cause a hang
@@ -177,3 +194,5 @@ TODO List
 [ ] work out how to run from 60V
     + 78L05 pops at 35V
 
+[ ] Will 5V levels from PIC play nicely with 3V3 levels of router -
+check data sheets!
index f33ada5a1c3eedf3c354431a65f4c65b564baa5c..7198d934719be26b568a79eac379a45ca41298ac 100644 (file)
@@ -49,7 +49,7 @@ numslots=0
 P 1800 1600 1500 1600 1 0 0
 {
 T 1600 1650 5 8 1 1 0 0 1
-pinnumber=1
+pinnumber=8
 T 1450 1550 5 8 1 1 0 6 1
 pinlabel=GND
 T 2100 1700 5 8 0 1 0 8 1
@@ -58,7 +58,7 @@ pintype=pwr
 P 1800 400 1500 400 1 0 0
 {
 T 1600 450 5 8 1 1 0 0 1
-pinnumber=4
+pinnumber=5
 T 1450 350 5 8 1 1 0 6 1
 pinlabel=GP2
 T 2000 450 5 8 0 1 0 8 1
@@ -67,7 +67,7 @@ pintype=io
 P 1800 800 1500 800 1 0 0
 {
 T 1600 850 5 8 1 1 0 0 1
-pinnumber=3
+pinnumber=6
 T 1450 750 5 8 1 1 0 6 1
 pinlabel=GP1
 T 2000 950 5 8 0 1 0 8 1
@@ -76,7 +76,7 @@ pintype=io
 P 1800 1200 1500 1200 1 0 0
 {
 T 1600 1250 5 8 1 1 0 0 1
-pinnumber=2
+pinnumber=7
 T 1450 1150 5 8 1 1 0 6 1
 pinlabel=GP0
 T 2050 1300 5 8 0 1 0 8 1
index bfd688922b80c371a55520a299c0d93d3ee75eb5..9678b6411bb5e068bfe724c7439d214cd0b42c56 100644 (file)
Binary files a/wispcar/wispcar_sch.pdf and b/wispcar/wispcar_sch.pdf differ