Board/ILC/ILC1073-dat/2023-09-13-13-48-16.png
... ...
Binary files /dev/null and b/Board/ILC/ILC1073-dat/2023-09-13-13-48-16.png differ
Board/ILC/ILC1073-dat/ILC1073-dat.md
... ...
@@ -28,31 +28,43 @@ Schematic
28 28
- https://github.com/harbaum/LCD2USB/blob/master/contrib/LCD2USB-smartie.zip
29 29
- libusb-win32 need to be installed
30 30
31
+![](2023-09-13-13-48-16.png)
31 32
32 33
### Firmware flash command
33 34
34
- avrdude -c usbasp-clone -p m8 -U flash:w:"E:\Git-category\Git-AVR\AVR_firmware\Firmware\LCD2USB\firmware.hex":a -U lfuse:w:0x9F:m -U hfuse:w:0xC9:m
35
-
36
-method 2
37
-
35
+ avrdude -c usbasp-clone -p m8 -U flash:w:"E:\Git-category\Git-AVR\AVR_firmware\lcd2usb\firmware.hex":a -U lfuse:w:0x9F:m -U hfuse:w:0xC9:m
38 36
avrdude -c usbasp -p atmega8 -U lfuse:w:0x9f:m -U hfuse:w:0xc9:m -U flash:w:firmware-avrusb.hex
39 37
40
-
41
-
42 38
### Debug
43 39
44 40
- tune the brightness if nothing show up
45 41
- contrast is also set in default firmware, pre-uploaded
46
-
42
+
43
+lcd2USB.c
44
+
45
+ /* target is value to set */
46
+ #define LCD_SET_CONTRAST (LCD_SET | (0<<3))
47
+ #define LCD_SET_BRIGHTNESS (LCD_SET | (1<<3))
48
+ #define LCD_SET_RESERVED0 (LCD_SET | (2<<3))
49
+ #define LCD_SET_RESERVED1 (LCD_SET | (3<<3))
47 50
48 51
## Demos
49 52
50 53
Need to set contrast
51 54
- https://twitter.com/electro_phoenix/status/987251467861061632
52 55
56
+python with lcd2usb
57
+- pip install lcd2usb
58
+
59
+test application
60
+- https://github.com/harbaum/LCD2USB/tree/master/testapp
61
+
62
+
53 63
54 64
## ref
55 65
56 66
- origin project - https://github.com/harbaum/LCD2USB
57 67
- python library - https://github.com/xyb/lcd2usb
58
-- [[avrdude-dat]]
... ...
\ No newline at end of file
0
+- [[avrdude-dat]]
1
+
2
+- [[atmega8]]
... ...
\ No newline at end of file
Board/ILC/ILC1073-dat/test.py
... ...
@@ -0,0 +1,11 @@
1
+
2
+# pip install lcd2usb
3
+# https://github.com/xyb/lcd2usb
4
+
5
+from lcd2usb import LCD
6
+lcd = LCD()
7
+lcd.info()
8
+
9
+print (lcd.version)
10
+
11
+lcd.write('Flying with PYTHON', 0, 1)
... ...
\ No newline at end of file
SDK/avrdude-dat/2023-09-12-17-52-25.png
... ...
Binary files /dev/null and b/SDK/avrdude-dat/2023-09-12-17-52-25.png differ
SDK/avrdude-dat/avrdude-dat.md
... ...
@@ -2,7 +2,32 @@
2 2
3 3
# avrdude-dat
4 4
5
-## == AVRDUDE + Arduino-ISP ==
5
+AVR firmware - https://github.com/Edragon/AVR_firmware/tree/master/avrdude
6
+
7
+## Version
8
+
9
+- avrdudess
10
+
11
+## examples
12
+
13
+
14
+* Arduino as ISP (UNO) = programmer
15
+* target customized board atmega328p
16
+* ersult efuse FD, high fuse DA, low fuse FF
17
+
18
+test:
19
+
20
+ D:\avr-gcc\bin>avrdude -c avrisp -p m328p -P com4 -b 19200
21
+ avrdude: AVR device initialized and ready to accept instructions
22
+ Reading | ################################################## | 100% 0.04s
23
+ avrdude: Device signature = 0x1e950f (probably m328p)
24
+ avrdude: safemode: Fuses OK (E:FD, H:DA, L:FF)
25
+ avrdude done. Thank you.
26
+
27
+
28
+
29
+
30
+## AVRDUDE + Arduino-ISP
6 31
7 32
find version
8 33
... ...
@@ -67,4 +92,10 @@ Flash bootloader for Arduino UNO
67 92
avrdude -CD:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\tools\avr\etc\avrdude.conf -c usbasp -p m328p -b 19200 -U flash:w:"D:\Git-code\arduino\arduino-1.8.12-windows\arduino-1.8.12\hardware\arduino\avr\bootloaders\optiboot\optiboot_atmega328.hex":a
68 93
69 94
95
+## Supported List
96
+
97
+- Commands: avrdude -p ?
98
+
99
+![](2023-09-12-17-52-25.png)
100
+
70 101
- [[avrdude]]
... ...
\ No newline at end of file