-
Notifications
You must be signed in to change notification settings - Fork 8
Misc Notes
Aaron Crawford edited this page Jun 15, 2014
·
7 revisions
...
...
...
- Raspbian - Linux Distribution (Debian based)
- espeak
- Python
- Apache
- PHP
- MySQL
- Charisma Admin Template by Muhammad Usman (http://usman.it/free-responsive-admin-template/) - This is the basis of design for the “front end” of the web based administration...modified of course. Licensed under Apache License, Version 2.0
...
- [DONE] Research: Look into feasibility of the project. Look for other real world projects utilizing the technologies on the Raspberry Pi that I will require for my setup. Technologies such as LAMP (Linux-Apache-MySQL-PHP) used for the web based interface to configure the repeater controller and speech synthesis and audio playback for voice and CW identification/notices and courtesy tones.
- [MOSTLY DONE] Virtualized Development: Created a virtual machine running Debian with minimal system resources to begin coding Python program for repeater controls, integrate technologies for voice ID, CW ID, and courtesy tone playback. Configure LAMP server for UI control and configuration storage. Start documentation.
- Begin Raspberry Pi Testing: Move same configuration on virtual machine on to an actual Raspberry Pi and start refining and testing code with basic GPIO inputs and outputs.
- Circuit Design: Start designing and refining circuitry for radio interfacing and make prototype board.
- Further Design and Programing Refinements
- Work towards low number production run
- Marketing and Future Direction Evaluation and Planning
- Install Raspbian on SD card and boot (configure any basic options)
- sudo apt-get update
- sudo apt-get upgrade
- Set Static IP address on eth0
- sudo nano /etc/network/interfaces
- Change “iface eth0 inet dhcp” to “iface eth0 inet static”
- address 192.168.1.73, netmask 255.255.255.0, gateway 192.168.1.1
- sudo reboot
- Setup WiFi Adapter and Wireless Access Point
- sudo apt-get install hostapd dnsmasq
- sudo nano /etc/network/interfaces
- auto wlan0, iface wlan0 inet static
- address 10.0.0.1, netmask 255.255.255.0
- sudo nano /etc/dnsmasq.conf
- interface=wlan0
- dhcp-range=10.0.0.2,10.0.0.100,12h
- sudo nano /etc/hostapd/hostapd.conf (NEW FILE)
- interface=wlan0
- driver=nl80211
- ssid=repeater
- hw_mode=g
- channel=8
- wpa=2
- wpa_passphrase=raspberry
- wpa_key_mgmt=WPA-PSK
- wpa_pairwise=CCMP
- rsn_pairwise=CCMP
- sudo nano /etc/default/hostapd.conf
- DAEMON_CONF="/etc/hostapd/hostapd.conf"
- Setup Samba (File Sharing)
- sudo apt-get install samba
- sudo nano /etc/samba/smb.conf
- Global Settings (Modify/Add)
- workgroup = WORKGROUP
- netbios name = raspberrypi
- Authentication (Modify)
- security = share
- Share Definitions (Add)
- [html_root]
- comment = htmlRoot
- path = /var/www
- read only = no
- guest ok = yes
- ( 2nd Share for Scripts)
- sudo chmod -R 777 /var/www
- sudo /etc/init.d/samba restart
- Install Web Server (Apache, PHP, MySQL, phpMyAdmin) sudo apt-get install apache2 php5 libapache2-mod-php5 (sudo groupadd www-data) (sudo usermod -g www-data www-data) sudo service apache2 restart sudo nano /etc/apache2/sites-enabled/000-default Change "AllowOverride None" to "AllowOverride ALL" (under /var/www/) sudo service apache2 restart sudo apt-get install mysql-server mysql-client php5-mysql (PW for MySQL root: raspberry) Install phpMyAdmin Download latest version from http://www.phpmyadmin.net Unzip locally and rename to phpMyAdmin Move to web root via network share created above Access via web browser and login with root account previously setup
- Install MemCached sudo apt-get install memcached sudo apt-get install php-pear sudo apt-get install php5-dev sudo pecl install memcache sudo apt-get install python-memcache Add “extension=memcached.so” to php.ini (located at /etc/php5/apache2/php.ini and restart apache)
- Install Various Dependancies (espeak, etc) sudo apt-get install python-mysqldb sudo apt-get install espeak sudo apt-get install mpg321
- Copy Program Files
- MySQL
- Setup username in phpMyAdmin (username: pi, password: raspberry, host: localhost, privileges: ALL)
- Import SQL for database (repeater)
- Copy HTML/PHP Files
- Copy Python Program Files
- MySQL
Setup Wifi Adapter as Access Point http://raspberrypi.stackexchange.com/questions/9998/turning-raspberry-pi-into-a-access-point http://sirlagz.net/2012/08/09/how-to-use-the-raspberry-pi-as-a-wireless-access-pointrouter-part-1/ http://www.instructables.com/id/How-to-make-a-WiFi-Access-Point-out-of-a-Raspberry/ http://www.daveconroy.com/using-your-raspberry-pi-as-a-wireless-router-and-web-server/ Install Apache
- OS
- SPEECH SYNTHESIS
- GPIO PINS(INPUT/OUTPUT)
- MORSE CODE
- http://www.youtube.com/watch?v=z1KApYld-Yg
- raspberry pi text to morse code
- DTMF DECODER
- COURTESY TONES
- See Zip File (Compiled by Scott Zimmerman N3XCC)
- GPS Receiver (gpsd)