-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDEFAULT.ini
126 lines (112 loc) · 2.47 KB
/
DEFAULT.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
# Fixed in hardConfig.py:
# CONFdirectory = ~/akuino
# HARDdirectory = ~/akuino/hardware
# Raspbian is queried to learn hostname (name of the hardware configuration .ini file) and:
#
[DEFAULT.ini]
[system]
# Memory file system
# Recommandé : /run/akuino/user/1000/
# Ou 1000 est l'UID de l'utilisateur qui lance akuino
RUNdirectory=/run/akuino
# Raspberry model (2=2B+ or 3=3B for now)
model=3
# Model implies default serial port
# 3: serial=/dev/ttyS0
# other: serial=/dev/ttyAMA0
# I2C.bus=1 is implied: it may have to be enabled in raspi-config
#[I2C]
#bus=1
# SPI channel=0,device=0 (/dev/spidev0.0) is implied:
# SPI may have to be enabled in raspi-config
#[SPI]
#channel=0
[PCB]
# I/O Adaptation PCB installed
#installed=no,0(version 0=old), 1(version 1=current),Custard
installed=no
# ELA modem connected to serial port
[ELA]
installed=no
# no is default
bauds=9600
reset=[9C5E01]
[bluetooth]
installed=yes
# yes is default for RPi3
[wifi]
installed=yes
# yes is default for RPi3
#1-WIRE = /dev/i2c-1
[owfs]
installed=no
# no is default
[OLED]
#OLED installed=no,I2C or SPI(future implementation)
installed=no
# yes is default for PCB installed=0 or 1
# if I2C, i2c=address of the OLED controller (hexadecimal)
i2c=3C
# if SPI, spi=0 : CS0=GPIO8=Pin24, spi=1 : CS1=GPIO7=Pin26
spi=1
# Old board:reset=GPIO5 (default for PCB installed=0), newer PCBs:reset=GPIO25
reset=25
[battery]
#ADC installed=no,I2C or SPI
installed=no
# SPI is default for PCB installed=Custard, I2C for version 0 or more
# C-TEC Power supply
#breakout_volt=10.8
# Meanwelll Power supply
breakout_volt=11.6
# if I2C, i2c=address of the battery voltage ADC (hexadecimal)
i2c=69
# For MCP342x (I2C), configuration byte (hexadecimal):
#configuration = 98
# if SPI, spi=0 : CS0=GPIO8=Pin24, spi=1 : CS1=GPIO7=Pin26
spi=0
# 2 ADC port (1 and 2):
port=1
# Voltage divider: Vin<-RV->ADC<-RG->GND
RV=45000
RG=5000
# (RV+RG)/RG is around 9.4727
# shutdown = sudo shutdown +1 "ON FERME!"
[shutdown]
# Button to shutdown the application and then the computer
# GPIO to be monitored (pull-up: GND=0=button pressed; 1=button not pressed)
# GPIO23 = Pin16
installed=no
[running]
# Application running LED (reversed: GND=0=LED ON; 1=LED OFF)
# GPIO17 = Pin11
installed=no
[keypad]
installed=no
#PCB installed=1, 4x4
r0=26
r1=12
r2=20
r3=21
c0=5
c1=6
c2=13
c3=19
#PCB installed=1, 3x4
#r0=6
#r1=20
#r2=12
#r3=19
#c0=13
#c1=5
#c2=16
#PCB installed=0, 3x4
#r0=18
#r1=23
#r2=24
#r3=25
#c0=4
#c1=17
#c2=22
# Future extension:
#GPIO0,2,3 = [17,27,22]