|
|
(26 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
| | {{Image|/public/Projekte/PUGAUGE/Hardware/PUGAUGE_BBD-002.JPG|height=400px}} |
|
| |
|
| | The PUGAUGE is intended to be a base platform for devices to display Information in an environment where low power requirements are mandatory. |
| | |
| | Examples are: |
| | |
| | * Bike computers |
| | * Thermometers |
| | * mobile measurement devices |
| | |
| == Hardware == | | == Hardware == |
|
| |
|
| * 8-Character Segmented LCD 14-segment Display
| | {{PUGAUGE Hardware Summary}} |
| * Atmel AVR ATmega6490A AVR microcontroller
| | |
| | == Software == |
| | |
| | === Platform === |
|
| |
|
| == Build notes ==
| | The PUGAUGE is intended to be Arduino-compatible. The application software shall benefit from the ease of use, familiarity of many developers and availability of many libraries for sensors and other peripherals. |
|
| |
|
| === TQFP-100 Breakout board ===
| | Therefore, an extension to the Arduino IDE is developed to allow the PUGAUGE being selected as a board type in the Arduino IDE. This should not be too complicated, as the PUGAUGE processor is an Atmel AVR processor closely related to the Atmel AVR processors used in the Arduino UNO and MEGA. |
|
| |
|
| When soldering the AVR6490 Chip in the TQFP-100 case to it's breakout board, I made an error:
| | Additionally the '''''atmegaboot''''' bootloader for the Arduino is being modified to run on the PUGAUGE and allow Arduino sketches to be uploaded onto the PUGAUGE. |
|
| |
|
| I turned it 90 degrees to the right. Therefore Pin 1 of the chip appears at Pin 76 of the breakout board
| | For the time being, a board/platform package is available with working minimal build and upload configuration: |
|
| |
| This table provides a correction lookup:
| |
|
| |
|
| |
| {{TableBegin}}
| |
| ! Pin of TQFP-100 ATmega6490A !! Pin of breakout board !! Pin of TQFP-100 ATmega6490A !! Pin of breakout board
| |
| |-
| |
| | 1 || 76 || 51 || 26
| |
| |-
| |
| | 2 || 77 || 52 || 27
| |
| |-
| |
| | 3 || 78 || 53 || 28
| |
| |-
| |
| | 4 || 79 || 54 || 29
| |
| |-
| |
| | 5 || 80 || 55 || 30
| |
| |-
| |
| | 6 || 81 || 56 || 31
| |
| |-
| |
| | 7 || 82 || 57 || 32
| |
| |-
| |
| | 8 || 83 || 58 || 33
| |
| |-
| |
| | 9 || 84 || 59 || 34
| |
| |-
| |
| | 10 || 85 || 60 || 35
| |
| |-
| |
| | 11 || 86 || 61 || 36
| |
| |-
| |
| | 12 || 87 || 62 || 37
| |
| |-
| |
| | 13 || 88 || 63 || 38
| |
| |-
| |
| | 14 || 89 || 64 || 39
| |
| |-
| |
| | 15 || 90 || 65 || 40
| |
| |-
| |
| | 16 || 91 || 66 || 41
| |
| |-
| |
| | 17 || 92 || 67 || 42
| |
| |-
| |
| | 18 || 93 || 68 || 43
| |
| |-
| |
| | 19 || 94 || 69 || 44
| |
| |-
| |
| | 20 || 95 || 70 || 45
| |
| |-
| |
| | 21 || 96 || 71 || 46
| |
| |-
| |
| | 22 || 97 || 72 || 47
| |
| |-
| |
| | 23 || 98 || 73 || 48
| |
| |-
| |
| | 24 || 99 || 74 || 49
| |
| |-
| |
| | 25 || 100 || 75 || 50
| |
| |-
| |
| | 26 || 1 || 76 || 51
| |
| |-
| |
| | 27 || 2 || 77 || 52
| |
| |-
| |
| | 28 || 3 || 78 || 53
| |
| |-
| |
| | 29 || 4 || 79 || 54
| |
| |-
| |
| | 30 || 5 || 80 || 55
| |
| |-
| |
| | 31 || 6 || 81 || 56
| |
| |-
| |
| | 32 || 7 || 82 || 57
| |
| |-
| |
| | 33 || 8 || 83 || 58
| |
| |-
| |
| | 34 || 9 || 84 || 59
| |
| |-
| |
| | 35 || 10 || 85 || 60
| |
| |-
| |
| | 36 || 11 || 86 || 61
| |
| |-
| |
| | 37 || 12 || 87 || 62
| |
| |-
| |
| | 38 || 13 || 88 || 63
| |
| |-
| |
| | 39 || 14 || 89 || 64
| |
| |-
| |
| | 40 || 15 || 90 || 65
| |
| |-
| |
| | 41 || 16 || 91 || 66
| |
| |-
| |
| | 42 || 17 || 92 || 67
| |
| |-
| |
| | 43 || 18 || 93 || 68
| |
| |-
| |
| | 44 || 19 || 94 || 69
| |
| |-
| |
| | 45 || 20 || 95 || 70
| |
| |-
| |
| | 46 || 21 || 96 || 71
| |
| |-
| |
| | 47 || 22 || 97 || 72
| |
| |-
| |
| | 48 || 23 || 98 || 73
| |
| |-
| |
| | 49 || 24 || 99 || 74
| |
| |-
| |
| | 50 || 25 || 100 || 75
| |
| {{TableEnd}}
| |
| == Connecting D301 LCD to ATmega6490 MCU ==
| |
|
| |
|
| {{TableBegin}} | | {{TableBegin}} |
| ! LCD pin name !! pin functions !! MCU pin name !! MCU pin number !! BBR pin number | | ! Feature !! Status PUGAUGE6490 !! Status PUGAUGE1284 |
| |- | | |- |
| | pin_1 | | | atmegaboot customization || complete || {{tbc}} |
| {{TableBegin}} | |
| ! function/plane !! digit !! segment
| |
| |- | | |- |
| | com1 || 1 || seg_x | | | build configuration || complete || {{tbc}} |
| |- | | |- |
| | com2 || 1 || seg_f | | | upload configuration || complete || {{tbc}} |
| |- | | |- |
| | com3 || 1 || seg_e | | | digital port customization || {{tbc}} || {{tbc}} |
| |- | | |- |
| | com4 || 1 || seg_d | | | analog input customization || {{tbc}} || {{tbc}} |
| {{TableEnd}} | |
| | SEG2 || 72 || 47
| |
| |- | | |- |
| | pin_2 | | | PWM "analog" output customization || {{tbc}} || {{tbc}} |
| {{TableBegin}} | |
| ! function/plane !! digit !! segment
| |
| |- | | |- |
| | com1 || 1 || seg_i | | | hardware serial core || {{tbc}} || {{tbc}} |
| |- | | |- |
| | com2 || 1 || seg_j | | | software serial core || {{tbc}} || {{tbc}} |
| |- | | |- |
| | com3 || 1 || seg_k | | | PUGAUGE LCD as standard Arduino library || {{tbc}} || {{tbc}} |
| |-
| |
| | com4 || 1 || seg_n
| |
| {{TableEnd}}
| |
| | SEG3 || 71 || 46
| |
| |-
| |
| | pin_3
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 2 || seg_s
| |
| |-
| |
| | com2 || 2 || seg_f
| |
| |-
| |
| | com3 || 2 || seg_e
| |
| |-
| |
| | com4 || 2 || seg_d
| |
| {{TableEnd}}
| |
| | SEG6 || 68 || 43
| |
| |-
| |
| | pin_4
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 2 || seg_i
| |
| |-
| |
| | com2 || 2 || seg_j
| |
| |-
| |
| | com3 || 2 || seg_k
| |
| |-
| |
| | com4 || 2 || seg_n
| |
| {{TableEnd}}
| |
| | SEG7 || 66 || 41
| |
| |-
| |
| | pin_5
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 3 || seg_s
| |
| |-
| |
| | com2 || 3 || seg_f
| |
| |-
| |
| | com3 || 3 || seg_e
| |
| |-
| |
| | com4 || 3 || seg_d
| |
| {{TableEnd}}
| |
| | SEG10 || 63 || 38
| |
| |-
| |
| | pin_6
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 3 || seg_i
| |
| |-
| |
| | com2 || 3 || seg_j
| |
| |-
| |
| | com3 || 3 || seg_k
| |
| |-
| |
| | com4 || 3 || seg_n
| |
| {{TableEnd}}
| |
| | SEG11 || 58 || 33
| |
| |-
| |
| | pin_7
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 4 || seg_s
| |
| |-
| |
| | com2 || 4 || seg_f
| |
| |-
| |
| | com3 || 4 || seg_e
| |
| |-
| |
| | com4 || 4 || seg_d
| |
| {{TableEnd}} | |
| | SEG14 || 55 || 30
| |
| |-
| |
| | pin_8
| |
| {{TableBegin}} | |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 4 || seg_i
| |
| |-
| |
| | com2 || 4 || seg_j
| |
| |-
| |
| | com3 || 4 || seg_k
| |
| |-
| |
| | com4 || 4 || seg_n
| |
| {{TableEnd}}
| |
| | SEG15 || 54 || 29
| |
| |-
| |
| | pin_9
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 5 || seg_s
| |
| |-
| |
| | com2 || 5 || seg_f
| |
| |-
| |
| | com3 || 5 || seg_e
| |
| |-
| |
| | com4 || 5 || seg_d
| |
| {{TableEnd}}
| |
| | SEG18 || 51 || 26
| |
| |-
| |
| | pin_10
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 5 || seg_i
| |
| |-
| |
| | com2 || 5 || seg_j
| |
| |-
| |
| | com3 || 5 || seg_k
| |
| |-
| |
| | com4 || 5 || seg_n
| |
| {{TableEnd}}
| |
| | SEG19 || 50 || 25
| |
| |-
| |
| | pin_11
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 6 || seg_s
| |
| |-
| |
| | com2 || 6 || seg_f
| |
| |-
| |
| | com3 || 6 || seg_e
| |
| |-
| |
| | com4 || 6 || seg_d
| |
| {{TableEnd}}
| |
| | SEG22 || 47 || 22
| |
| |-
| |
| | pin_12
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 6 || seg_i
| |
| |-
| |
| | com2 || 6 || seg_j
| |
| |-
| |
| | com3 || 6 || seg_k
| |
| |-
| |
| | com4 || 6 || seg_n
| |
| {{TableEnd}}
| |
| | SEG23 || 46 || 21
| |
| |-
| |
| | pin_13
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 7 || seg_s
| |
| |-
| |
| | com2 || 7 || seg_f
| |
| |-
| |
| | com3 || 7 || seg_e
| |
| |-
| |
| | com4 || 7 || seg_d
| |
| {{TableEnd}}
| |
| | SEG26 || 43 || 18
| |
| |-
| |
| | pin_14
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 7 || seg_i
| |
| |-
| |
| | com2 || 7 || seg_j
| |
| |-
| |
| | com3 || 7 || seg_k
| |
| |-
| |
| | com4 || 7 || seg_n
| |
| {{TableEnd}}
| |
| | SEG27 || 41 || 16
| |
| |-
| |
| | pin_15
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 8 || seg_s
| |
| |-
| |
| | com2 || 8 || seg_f
| |
| |-
| |
| | com3 || 8 || seg_e
| |
| |-
| |
| | com4 || 8 || seg_d
| |
| {{TableEnd}}
| |
| | SEG30 || 38 || 13
| |
| |-
| |
| | pin_16
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 8 || seg_i
| |
| |-
| |
| | com2 || 8 || seg_j
| |
| |-
| |
| | com3 || 8 || seg_k
| |
| |-
| |
| | com4 || 8 || seg_n
| |
| {{TableEnd}}
| |
| | SEG31 || 37 || 12
| |
| |-
| |
| | pin_17
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| {{TableEnd}}
| |
| | COM3 || 75 || 50
| |
| |-
| |
| | pin_18
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| {{TableEnd}}
| |
| | COM2 || 76 || 51
| |
| |-
| |
| | pin_19
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| {{TableEnd}}
| |
| | COM1 || 77 || 52
| |
| |-
| |
| | pin_20
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| {{TableEnd}}
| |
| | COM0 || 78 || 53
| |
| |-
| |
| | pin_21
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 8 || seg_a
| |
| |-
| |
| | com2 || 8 || seg_b
| |
| |-
| |
| | com3 || 8 || seg_c
| |
| |-
| |
| | com4 || 8 || seg_p
| |
| {{TableEnd}}
| |
| | SEG28 || 40 || 15
| |
| |-
| |
| | pin_22
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 8 || seg_h
| |
| |-
| |
| | com2 || 8 || seg_g
| |
| |-
| |
| | com3 || 8 || seg_l
| |
| |-
| |
| | com4 || 8 || seg_m
| |
| {{TableEnd}}
| |
| | SEG29 || 39 || 14
| |
| |-
| |
| | pin_23
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 7 || seg_a
| |
| |-
| |
| | com2 || 7 || seg_b
| |
| |-
| |
| | com3 || 7 || seg_c
| |
| |-
| |
| | com4 || 7 || seg_p
| |
| {{TableEnd}}
| |
| | SEG24 || 45 || 20
| |
| |-
| |
| | pin_24
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 7 || seg_h
| |
| |-
| |
| | com2 || 7 || seg_g
| |
| |-
| |
| | com3 || 7 || seg_l
| |
| |-
| |
| | com4 || 7 || seg_m
| |
| {{TableEnd}}
| |
| | SEG25 || 44 || 19
| |
| |-
| |
| | pin_25
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 6 || seg_a
| |
| |-
| |
| | com2 || 6 || seg_b
| |
| |-
| |
| | com3 || 6 || seg_c
| |
| |-
| |
| | com4 || 6 || seg_p
| |
| {{TableEnd}}
| |
| | SEG20 || 49 || 24
| |
| |-
| |
| | pin_26
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 6 || seg_h
| |
| |-
| |
| | com2 || 6 || seg_g
| |
| |-
| |
| | com3 || 6 || seg_l
| |
| |-
| |
| | com4 || 6 || seg_m
| |
| {{TableEnd}}
| |
| | SEG21 || 48 || 23
| |
| |-
| |
| | pin_27
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 5 || seg_a
| |
| |-
| |
| | com2 || 5 || seg_b
| |
| |-
| |
| | com3 || 5 || seg_c
| |
| |-
| |
| | com4 || 5 || seg_p
| |
| {{TableEnd}}
| |
| | SEG16 || 53 || 28
| |
| |-
| |
| | pin_28
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 5 || seg_h
| |
| |-
| |
| | com2 || 5 || seg_g
| |
| |-
| |
| | com3 || 5 || seg_l
| |
| |-
| |
| | com4 || 5 || seg_m
| |
| {{TableEnd}}
| |
| | SEG17 || 52 || 27
| |
| |-
| |
| | pin_29
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 4 || seg_a
| |
| |-
| |
| | com2 || 4 || seg_b
| |
| |-
| |
| | com3 || 4 || seg_c
| |
| |-
| |
| | com4 || 4 || seg_p
| |
| {{TableEnd}}
| |
| | SEG12 || 57 || 32
| |
| |-
| |
| | pin_30
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 4 || seg_h
| |
| |-
| |
| | com2 || 4 || seg_g
| |
| |-
| |
| | com3 || 4 || seg_l
| |
| |-
| |
| | com4 || 4 || seg_m
| |
| {{TableEnd}}
| |
| | SEG13 || 56 || 31
| |
| |-
| |
| | pin_31
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 3 || seg_a
| |
| |-
| |
| | com2 || 3 || seg_b
| |
| |-
| |
| | com3 || 3 || seg_c
| |
| |-
| |
| | com4 || 3 || seg_p
| |
| {{TableEnd}}
| |
| | SEG8 || 65 || 40
| |
| |-
| |
| | pin_32
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 3 || seg_h
| |
| |-
| |
| | com2 || 3 || seg_g
| |
| |-
| |
| | com3 || 3 || seg_l
| |
| |-
| |
| | com4 || 3 || seg_m
| |
| {{TableEnd}}
| |
| | SEG9 || 64 || 39
| |
| |-
| |
| | pin_33
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 2 || seg_a
| |
| |-
| |
| | com2 || 2 || seg_b
| |
| |-
| |
| | com3 || 2 || seg_c
| |
| |-
| |
| | com4 || 2 || seg_p
| |
| {{TableEnd}}
| |
| | SEG4 || 70 || 45
| |
| |-
| |
| | pin_34
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 2 || seg_h
| |
| |-
| |
| | com2 || 2 || seg_g
| |
| |-
| |
| | com3 || 2 || seg_l
| |
| |-
| |
| | com4 || 2 || seg_m
| |
| {{TableEnd}}
| |
| | SEG5 || 69 || 44
| |
| |-
| |
| | pin_35
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 1 || seg_a
| |
| |-
| |
| | com2 || 1 || seg_b
| |
| |-
| |
| | com3 || 1 || seg_c
| |
| |-
| |
| | com4 || 1 || seg_p
| |
| {{TableEnd}}
| |
| | SEG0 || 74 || 49
| |
| |-
| |
| | pin_36
| |
| {{TableBegin}}
| |
| ! function/plane !! digit !! segment
| |
| |-
| |
| | com1 || 1 || seg_h
| |
| |-
| |
| | com2 || 1 || seg_g
| |
| |-
| |
| | com3 || 1 || seg_l
| |
| |-
| |
| | com4 || 1 || seg_m
| |
| {{TableEnd}}
| |
| | SEG1 || 73 || 48
| |
| {{TableEnd}} | | {{TableEnd}} |
| | |
| | To add the PUGAUGE core to your Arduino installation, add the following URLs to the arduino board manager: |
| | |
| | * <code>https://github.com/esp8266/Arduino/releases/download/2.4.0-rc2/package_esp8266com_index.json</code>, |
| | * <code>http://scherer3002.duckdns.org/public/public/Projekte/PUGAUGE/downloads/package_pucon_pugauge_index.json</code> |
| | |
| | {{tbc}} |
| | |
| | === Application === |
| | |
| | A special LCD library is being developed that provides easy access to the on board LCD ( 8 characters, 14 segments plus decimal point and apostroph). |
| | |
| | {{tbc}} |
| | |
| | == Font made visible == |
| | |
| | Likewise, a graphic depiction of the 14-Segment font is to be found on the [[PUGAUGE Tables]] page. |
The PUGAUGE is intended to be a base platform for devices to display Information in an environment where low power requirements are mandatory.
Examples are:
- Bike computers
- Thermometers
- mobile measurement devices
Hardware
Overview
PUGAUGE Hardware consists of:
- 8-Character Segmented LCD 14-segment Display
- Atmel AVR ATmega6490A AVR microcontroller
- Atmel ISP Connection
- Arduino Upload Serial Interface
- A Status LED on MCU port PB0
Software
Platform
The PUGAUGE is intended to be Arduino-compatible. The application software shall benefit from the ease of use, familiarity of many developers and availability of many libraries for sensors and other peripherals.
Therefore, an extension to the Arduino IDE is developed to allow the PUGAUGE being selected as a board type in the Arduino IDE. This should not be too complicated, as the PUGAUGE processor is an Atmel AVR processor closely related to the Atmel AVR processors used in the Arduino UNO and MEGA.
Additionally the atmegaboot bootloader for the Arduino is being modified to run on the PUGAUGE and allow Arduino sketches to be uploaded onto the PUGAUGE.
For the time being, a board/platform package is available with working minimal build and upload configuration:
To add the PUGAUGE core to your Arduino installation, add the following URLs to the arduino board manager:
Application
A special LCD library is being developed that provides easy access to the on board LCD ( 8 characters, 14 segments plus decimal point and apostroph).(zu ergänzen)
Font made visible
Likewise, a graphic depiction of the 14-Segment font is to be found on the PUGAUGE Tables page.