1 # ETG Helmet, Electronic Tour Guide Bike/Segway Headset
3 This is an experimental version of the Electronic Guide, designed specifically for use with tour groups during bicycle or segway rides.
5 The device operates by analyzing the user's location, direction, and speed of travel. It automatically compiles a narrative that adjusts in real-time as the style of the ride changes. This ensures that the narrative remains engaging and relevant to the listener's experience.
7 Moreover, the device facilitates communication between the ride leader and all group members. By creating the network, the devices enable an exchange of audo messages and communication.
9 The unique algorithm creates a non-linear narrative. By maintaining a common thread that ties all the stories together and ensures that the group remains engaged throughout the journey."
11 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/IMG_2030.jpeg)
15 The device's enclosure is fully designed using OpenSCAD. This approach allows for the easy modification of basic dimensions and the placement of elements, making it adaptable to meet the requirements of various projects.
17 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/helmet__tor_bigger_moreheight__.png)
18 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/helmet__tor_bigger_moreheight__1.png)
19 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/helmet__tor_bigger_moreheight__2.png)
20 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/helmet__tor_bigger_moreheight__3.png)
21 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/helmet__tor_bigger_moreheight__4.png)
22 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/helmet__tor_bigger_moreheight__5.png)
26 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/IMG_2563.jpg)
27 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/IMG_2564.jpg)
31 Note: All of the following must be done on the Omega2+ module unless otherwise noted. Flashing and setting up SSH access to the device is out of scope of this description. Please refer to the ![original documentation](https://docs.onion.io/omega2-docs/omega2p.html) if necessary.
33 ssh to Omega and install necessary utils
38 mcedit /etc/opkg/distfeeds.conf
41 src/gz reboot_base http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base
42 src/gz reboot_packages http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages
44 opkg install usbutils screen alsa-lib libsndfile alsa-utils madplay openssh-sftp-server libxml2 e2fsprogs socat netcat sox espeak lftp
46 copy files from SOFTWARE/OMEGA2 in /root/ on Omega
48 add 'etg' service in init.d
50 #!/bin/sh /etc/rc.common
57 ./run.sh 2>&1 > /dev/null
58 echo $! > /tmp/ETGPID/run
62 for pid in $(ls /tmp/ETGPID/)
64 kill $(cat /tmp/ETGPID/$pid)
69 disable default console (probably not required) ([community topic](https://community.onion.io/topic/1112/resolved-disable-the-serial-console-that-s-messing-up-my-serial-comms/3))
72 # ::askconsole:/bin/ash --login
75 # ::askconsole:/usr/libexec/login.sh
79 /etc/init.d/etg enable
81 set your client-server settings in settings.sh
87 add your playback logic in player.sh
89 playFile <your_current_file.mp3>
97 ./fast-gpio bgread 0xf800d echo
107 stop it alternatively
109 for pid in $(ls /tmp/ETGPID/); do kill $(cat /tmp/ETGPID/$pid); echo "killed $pid"; done
111 100% CPU usage isuue, disable wifimanager ([community topic](http://community.onion.io/topic/1902/wifimanager-over-90-cpu-usage-omega2p))
113 /etc/init.d/wifimanager stop; /etc/init.d/wifimanager disable; killall wifimanager; rm /etc/rc.d/S79wifimanager
117 - Optimise sound recording, connect USB SND via DC-DC decoupler, remove filtering
118 - Upgrade HW to LiFePO battery, remove USB boost converter
120 ## Assembled devices and testing
122 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/IMG_2288.jpg)
123 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/IMG_2292.jpg)
124 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/IMG_2302.jpg)
125 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/IMG_2289.jpg)
127 ![ETG Helmet](https://shalnoff.com/pics/2024/ETG_Helmet/IMG_6063.jpg)
131 Copyright © 2019 Dmitry Shalnov [electronictourguide.com] [interplaymedium.org]
133 Licensed under the Apache License, Version 2.0 (the "License");
134 you may not use this files except in compliance with the License.
135 You may obtain a copy of the License at
137 http://www.apache.org/licenses/LICENSE-2.0
139 Unless required by applicable law or agreed to in writing, software
140 distributed under the License is distributed on an "AS IS" BASIS,
141 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
142 See the License for the specific language governing permissions and
143 limitations under the License.