Sat, 09 Oct 2021 16:52:19 +0200
HP34970A - part 6
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
1 | ========================================== |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
2 | HP 34970A Data Acquisition Unit - part 3 |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
3 | ========================================== |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
4 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
5 | :Author: David Douard |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
6 | :Category: Electronics |
130
56ffb9577050
Fix tags for HP 34970A posts
David Douard <david.douard@sdf3.org>
parents:
128
diff
changeset
|
7 | :Tags: HP, 34970A, HP34970A, DMM, repair, test equipment |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
8 | :series: HP 34970A repair |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
9 | :series_index: 3 |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
10 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
11 | |
128
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
12 | As explained in `the previous post in this series <{filename}/hp34970a_2.rst>`_, |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
13 | I've started to sniff the serial protocol between the main board and |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
14 | the display panel so I can replace the failed VFD by an OLED or TFT |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
15 | display managed by an arduino or similar. |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
16 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
17 | Protocol |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
18 | ======== |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
19 | |
130
56ffb9577050
Fix tags for HP 34970A posts
David Douard <david.douard@sdf3.org>
parents:
128
diff
changeset
|
20 | The serial communication takes place at a rather unusual speed: 187500 bit/s, |
56ffb9577050
Fix tags for HP 34970A posts
David Douard <david.douard@sdf3.org>
parents:
128
diff
changeset
|
21 | otherwise, a 8E1 scheme (with even parity bit). |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
22 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
23 | The protocol consist in a transmission frame with a start of |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
24 | transmission handcheck, some commands with arguments, and an end of |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
25 | transmission packet. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
26 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
27 | Each transmitted character is acknowledged by the receiver, either by |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
28 | a ``<0x99>`` (for the initial handcheck) or by a ``<0x00>`` for the |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
29 | other ones.. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
30 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
31 | I've only probed the CPU->DP communications. I don't really care the |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
32 | other way fr now since I plan to keep the original 80C51 so it manages |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
33 | this protocol and handle the keyboard. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
34 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
35 | In the direction CPU->DP, we can find: |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
36 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
37 | - ``<0x66>``: start of transmission, must be acknowledged by a |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
38 | ``<0x99>`` by the receiver; this start of transmission is then followed by a "command": |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
39 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
40 | - ``<CMD> <NCHAR> <CHAR1> ... <CHARN>``: the command byte is followed |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
41 | by the numer of characters sent as argument, then the characters |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
42 | themselves. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
43 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
44 | - ``<0x55>``: end of transmission. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
45 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
46 | |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
47 | I've only identified 3 commands for now, but these are the most |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
48 | important ones: |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
49 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
50 | - ``0x00``: send the chars to the main display |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
51 | - ``0x0C``: send the chars to the secondary channel display |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
52 | - ``0x0A``: set the display indicators |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
53 | |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
54 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
55 | Main display |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
56 | ------------ |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
57 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
58 | Characters are simply sent to the display. However, to specify that a |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
59 | part of the string to display should be less bright (usually, the |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
60 | selected option is bright and the other ones are dim), the CPU insert |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
61 | a special character (need to check which hexadecimal value it is) at |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
62 | the beginning and the end of the dim part of the string. |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
63 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
64 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
65 | Channel display |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
66 | --------------- |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
67 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
68 | Seems there is nothing special there. The frame payload always consist |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
69 | in 3 characters (the 3 digits). |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
70 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
71 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
72 | Indicator flags |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
73 | --------------- |
128
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
74 | |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
75 | The indicator flags are always sent as 4 bytes, each bit controlling |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
76 | one indicator. |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
77 | |
130
56ffb9577050
Fix tags for HP 34970A posts
David Douard <david.douard@sdf3.org>
parents:
128
diff
changeset
|
78 | The indicator flags I've been able to identify so far are below (please see |
56ffb9577050
Fix tags for HP 34970A posts
David Douard <david.douard@sdf3.org>
parents:
128
diff
changeset
|
79 | `this page <{filename}/hp34970a_protocol.rst>`_ for the complete protocol |
56ffb9577050
Fix tags for HP 34970A posts
David Douard <david.douard@sdf3.org>
parents:
128
diff
changeset
|
80 | description). |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
81 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
82 | Let's say the frame is: ``<0x0A> <0x04> <F1> <F2> <F3> <F4>``, then: |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
83 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
84 | |
128
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
85 | - F1.8 = |
66 | 86 | - F1.7 = HI |
87 | - F1.6 = Alarm | |
88 | - F1.5 = LO | |
89 | - F1.4 = Channels | |
90 | - F1.3 = Channels box | |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
91 | - F1.2 = Mx+B enabled |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
92 | - F1.1 = Alarm enabled (or the alarm frame) |
128
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
93 | |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
94 | - F2.5 = 4W |
66 | 95 | - F2.4 = Alarm 1 ? |
96 | - F2.3 = Alarm 3 | |
128
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
97 | - F2.2 = Alarm 4 |
66 | 98 | - F2.1 = Alarm 2 |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
99 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
100 | - F3.6 = |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
101 | - F3.5 = |
128
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
102 | |
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
103 | - F4.8 = |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
104 | - F4.7 = CONFIG (not sure) |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
105 | - F4.6 = |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
106 | - F4.5 = MON |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
107 | - F4.4 = VIEW |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
108 | - F4.3 = |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
109 | - F4.2 = |
128
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
110 | - F4.1 = |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
111 | |
128
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
112 | |
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
113 | |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
114 | Quick prototype |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
115 | =============== |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
116 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
117 | With this very incomplete reverse ingeeniring of the communication, I |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
118 | have enough meat to try a quick prototype. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
119 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
120 | I've used an Arduino Uno and a cheap 3.2" TFT color display. As I |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
121 | wanted to have my serial protocol to debug the code for the beginning, |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
122 | I've used the SoftwareSerial_ library for this prototype. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
123 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
124 | The result is this beautiful clean setup: |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
125 | |
115
6b6e13653348
content: use {static} instead of {filename} in image paths
David Douard <david.douard@sdfa3.org>
parents:
66
diff
changeset
|
126 | .. image:: {static}/images/hp34970a/poc_display.jpg |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
127 | :alt: A very quick proof of concept of an arduino based display replacement for the HP34970A. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
128 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
129 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
130 | As you can see, it works: I have the main content od the VFD display |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
131 | on my TFT module! |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
132 | |
115
6b6e13653348
content: use {static} instead of {filename} in image paths
David Douard <david.douard@sdfa3.org>
parents:
66
diff
changeset
|
133 | .. image:: {static}/images/hp34970a/poc_display_mux_off.jpg |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
134 | :alt: The FTF display showing the main area and the current channel area. |
128
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
135 | |
115
6b6e13653348
content: use {static} instead of {filename} in image paths
David Douard <david.douard@sdfa3.org>
parents:
66
diff
changeset
|
136 | .. image:: {static}/images/hp34970a/poc_display_vdc.jpg |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
137 | :alt: The same with the channel 209 configured as VDC, 6.5digits. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
138 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
139 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
140 | The job is far from finished however: I still have to figure out how |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
141 | the "annotation" flags are encoded and display them, and most |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
142 | importantly, I have it make it work with the hardwre USART of the |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
143 | mega328. This seems to mbe necessary because I have glitches |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
144 | sometimes. But I'm very happy it worked almost at my first try. I was |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
145 | quite surprised since the baudrate is above the maximum officially |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
146 | supported one (115200). |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
147 | |
128
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
148 | I'll release the code of the prototype any time soon. |
aba381b2bac9
Fix several inter-document links
David Douard <david.douard@sdf3.org>
parents:
115
diff
changeset
|
149 | |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
150 | .. _SoftwareSerial: https://www.arduino.cc/en/Reference/SoftwareSerial |