Skip to content
gregd72002 edited this page Jan 14, 2015 · 19 revisions

Q: How do I start?
1) Wire up everything
2) Flash you RPI image onto SD card
3) Power up
4) connect using Wifi or Bluetooth (Serial connection is also active but used for debugging)
5) Fire up your computer browser and navigate to AvrMiniCopter IP address for further configuration
6) Flash provided Arduino image

Q: How do I flash Arduino?
You will need to place your AVR image file into /avr/ folder. AvrMiniCopter monitors this folder and will try to flash it. The dropped file will be deleted once processed.

You can use “scp” to transfer files.

Q: Why does AvrMiniCopter boot two times?
AvrMiniCopter will boot twice only on the very first boot. This is to setup and tweak the operating system.

Q: What is the password?
SSH password: rpicopter
Bluetooth password: 0000
Ad-hoc WEP password: 01234
AP WPA password: 01234567

Q: How do I connect over bluetooth
AvrMiniCopter implements Bluetooth PAN networking.
For security reasons you will need to enter your client device MAC address into /etc/wireless/pin
Reboot and retry.

Q: How do I connect over Wifi
By default AvrMiniCopter creates a Ad-Hoc hotspot. You can connect to it using your wireless device.
Please note that Android devices do not fully support Ad-hoc networking and as such you might need to use a different device.

Q: What is AvrMiniCopter IP address
WIFI network IP: 10.0.2.1
If you are using bluetooth the IP is: 10.0.1.1

Q: How do I change WIFI settings?
If you have network connection to AvrMiniCopter, open you internet browser and navigate to the IP address of AvrMiniCopter. Choose “Wifi Settings”.

Edit “wifi.sh”, lines 76-78:
For Ad-hoc – uncomment createAdHocNetwork
For AP network – uncomment createAPNetwork
createSoftAPNetwork is an experimental option for devices that do not support AP network, most likely will not work

You can also connect AvrMiniCopter to your existing Access Point. To do so:
1) edit “wifi.sh” line 5 and enter your AP name
2) edit “wpa_supplicant.conf” to reflect your network security

Q: How do I test my setup?
Navigate to AvrMiniCopter WWW, select “Live Charts” and select “Accel”. This should start showing u acceleration values for your AvrMiniCopter. This proves that the communication between IMU<→AVR<→ODROID is working as it should.

You can also use “Websock Debug” to send direct messages to AVR and check for correct response. See help on “Websock Debug” screen.

Q: What range will I be getting?
This very much depends on the devices used. In terms of bluetooth this will be limited to around 50 meters.
For Wifi this will vary greatly and can be as long as a few kilometres with the right setup.
http://forum.xda-developers.com/showthread.php?t=1916898&page=25

Clone this wiki locally