Vladimir Smagin 1 year ago
commit
09daeea4fe
11 changed files with 115 additions and 0 deletions
  1. BIN
      Programmator/gromov.zip
  2. BIN
      Programmator/uniprof.rar
  3. BIN
      display-chars.png
  4. 22
    0
      elements.txt
  5. BIN
      firmware (Mega88-20PU & Mega48-20PU).zip
  6. 55
    0
      lcd4linux.conf
  7. 38
    0
      lcd4linux2.conf
  8. BIN
      readme.zip
  9. BIN
      scheme.png
  10. BIN
      sources.zip
  11. BIN
      usb-pinout.png

BIN
Programmator/gromov.zip View File


BIN
Programmator/uniprof.rar View File


BIN
display-chars.png View File


+ 22
- 0
elements.txt View File

@@ -0,0 +1,22 @@
- USB connector

- Inductor 100µ

- Resistors:
count value
1 1 MOm
1 1.5 KOm
2 75 Om
1 0-3.3 KOm
- Capacitors:
count value
1 33 µF (electrolytic)
2 22 pF

- Quartz 16 MHz

- LCD WH1602A-NGG-CT (with cyrillic support, without backlight)

- ATMEGA88-20PU or ATMEGA48-20PU



BIN
firmware (Mega88-20PU & Mega48-20PU).zip View File


+ 55
- 0
lcd4linux.conf View File

@@ -0,0 +1,55 @@
Display SimpleLCD {
Driver 'SimpleLCD'
Port '/dev/ttyACM0'
Speed 1200
Options 0
Size '16x2'
}

Widget WanTx {
class 'Text'
expression netdev('eth0.1', 'Tx_bytes', 1000)/1024
prefix 'WAN ^'
precision 0
update 1000
}

Widget WanRx {
class 'Text'
expression netdev('eth0.1', 'Rx_bytes', 1000)/1024
prefix 'v'
precision 0
update 1000
}

Widget Load {
class 'Text'
expression loadavg(1)
prefix 'LA '
precision 1
update 1000
width 8
}

Widget Busy {
class 'Text'
expression proc_stat::cpu('busy', 1000)
prefix 'CPU '
precision 0
update 1000
width 8
}

Layout L16x2 {
Row1 {
Col1 'WanTx'
Col11 'WanRx'
}
Row2 {
Col1 'Busy'
Col9 'Load'
}
}

Display 'SimpleLCD'
Layout 'L16x2'

+ 38
- 0
lcd4linux2.conf View File

@@ -0,0 +1,38 @@
Display SimpleLCD {
Driver 'SimpleLCD'
Port '/dev/ttyACM0'
Speed 1200
Options 0
Size '16x2'
}

Widget Termo {
class 'Text'
expression exec('wget -q http://termo.tomsk.ru/data.txt -O-',60000).' C'
width 16
prefix iconv('UTF-8', 'KOI8-R', 'В Томске ')
update 60000
}

Widget Time {
class 'Text'
align 'A'
speed 250
prefix iconv('UTF-8', 'KOI8-R', 'Сегодня ')

expression iconv('UTF-8', 'KOI8-R', exec('LANG=ru_RU.UTF8 date +"%d %B, %H:%M"',1000))
width 16
update 1000
}

Layout My {
Row1 {
Col1 'Termo'
}
Row2 {
Col1 'Time'
}
}

Display 'SimpleLCD'
Layout 'My'

BIN
readme.zip View File


BIN
scheme.png View File


BIN
sources.zip View File


BIN
usb-pinout.png View File


Loading…
Cancel
Save