Tue, 28 Aug 2018 15:07:01 +0200
[hp34970] replace dailymotion by peertube for embedded video
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 |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
7 | :Tags: HP, 34970A, DMM, repair, test equipment |
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 | |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
12 | As explained in `the previous post in this series <{filename}/hp34970a_2.rst>`_, |
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 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
20 | The serial communication takes place at a rather unusual speed: 187.5 |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
21 | kbits/s, otherwise, a standard 8N1 scheme. |
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 | --------------- |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
74 | |
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 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
78 | The indicator flags I've been able to identify so far |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
79 | are below. |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
80 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
81 | 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
|
82 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
83 | |
66 | 84 | - F1.8 = |
85 | - F1.7 = HI | |
86 | - F1.6 = Alarm | |
87 | - F1.5 = LO | |
88 | - F1.4 = Channels | |
89 | - F1.3 = Channels box | |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
90 | - F1.2 = Mx+B enabled |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
91 | - F1.1 = Alarm enabled (or the alarm frame) |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
92 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
93 | - F2.5 = 4W |
66 | 94 | - F2.4 = Alarm 1 ? |
95 | - F2.3 = Alarm 3 | |
96 | - F2.2 = Alarm 4 | |
97 | - F2.1 = Alarm 2 | |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
98 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
99 | - F3.6 = |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
100 | - F3.5 = |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
101 | |
66 | 102 | - F4.8 = |
64
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
103 | - F4.7 = CONFIG (not sure) |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
104 | - F4.6 = |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
105 | - F4.5 = MON |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
106 | - F4.4 = VIEW |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
107 | - F4.3 = |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
108 | - F4.2 = |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
109 | - F4.1 = |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
110 | |
dcb6f3fcbd1e
[hp34970a] add some stuff on the flags decoding
David Douard <david.douard@logilab.fr>
parents:
63
diff
changeset
|
111 | |
63
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
112 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
113 | Quick prototype |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
114 | =============== |
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 | 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
|
117 | have enough meat to try a quick prototype. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
118 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
119 | 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
|
120 | 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
|
121 | 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
|
122 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
123 | The result is this beautiful clean setup: |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
124 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
125 | .. image:: {filename}/images/hp34970a/poc_display.jpg |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
126 | :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
|
127 | |
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 | 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
|
130 | on my TFT module! |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
131 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
132 | .. image:: {filename}/images/hp34970a/poc_display_mux_off.jpg |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
133 | :alt: The FTF display showing the main area and the current channel area. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
134 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
135 | .. image:: {filename}/images/hp34970a/poc_display_vdc.jpg |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
136 | :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
|
137 | |
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 | 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
|
140 | 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
|
141 | 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
|
142 | 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
|
143 | 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
|
144 | 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
|
145 | supported one (115200). |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
146 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
147 | I'll release the code of the prototype any time soon. |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
148 | |
64a7d3e2b2a8
[hp34970a] poc of an arduino display
David Douard <david.douard@logilab.fr>
parents:
diff
changeset
|
149 | .. _SoftwareSerial: https://www.arduino.cc/en/Reference/SoftwareSerial |