QuadX (Arduino Yun) controlled from laptop via WiFi
Posted: Mon Jun 23, 2014 9:21 am
Hello !
I am building my first QuadX prototype and even though there are simpler solutions and with greater wireless coverage,
I would like to use WiFi on Arduino Yun to control my quadcopter from my laptop.
Reading the instruction on http://www.multiwii.com and I then created the following logic diagram:
------------
PS1 gamepad
USB
------------
------------
USB
Laptop
WiFi
------------
------------
WiFi (AR9331)
Arduino Yun
ATmega 32u4
------------
------------
ESC/Motors/Props
------------
From top, I want to control the quadcopter with PS1 gamepad (with USB converter) connected to my laptop. Laptop reach Arduino Yun via WiFi.
Within Arduino Yun the information can be passed from AR9331 (Linino) to ATmega 32u4 and finally to ESC/Motors/Props.
I found an interesting tutorial on http://www.multiwii.be/multiwiijoystick, but that was on Bluetooth module and I need on Arduino Yun.
I would like to understand the parameters to be changed in the Multiwii configuration files to channel the info via WiFi then AR9331/ATmega32u4 console.
(what it is peculiar is that I don't need extra module on Arduino because WiFi is built-in)
In other words, the question are:
(1) how can I use Multiwii GUI over WiFi (Arduino Yun) instead of serial communication (COM) ?
(2) how can I pass the pitch/roll/yaw/throttle commands from my laptop (gamepad but keyboard should be the same) to Arduino Yun over WiFi tuning Multiwii software ?
I read lots of forum and google it as well, but if I missed a post where this is explained, thanks for sharing with me
Cheers!
GF
I am building my first QuadX prototype and even though there are simpler solutions and with greater wireless coverage,
I would like to use WiFi on Arduino Yun to control my quadcopter from my laptop.
Reading the instruction on http://www.multiwii.com and I then created the following logic diagram:
------------
PS1 gamepad
USB
------------
------------
USB
Laptop
WiFi
------------
------------
WiFi (AR9331)
Arduino Yun
ATmega 32u4
------------
------------
ESC/Motors/Props
------------
From top, I want to control the quadcopter with PS1 gamepad (with USB converter) connected to my laptop. Laptop reach Arduino Yun via WiFi.
Within Arduino Yun the information can be passed from AR9331 (Linino) to ATmega 32u4 and finally to ESC/Motors/Props.
I found an interesting tutorial on http://www.multiwii.be/multiwiijoystick, but that was on Bluetooth module and I need on Arduino Yun.
I would like to understand the parameters to be changed in the Multiwii configuration files to channel the info via WiFi then AR9331/ATmega32u4 console.
(what it is peculiar is that I don't need extra module on Arduino because WiFi is built-in)
In other words, the question are:
(1) how can I use Multiwii GUI over WiFi (Arduino Yun) instead of serial communication (COM) ?
(2) how can I pass the pitch/roll/yaw/throttle commands from my laptop (gamepad but keyboard should be the same) to Arduino Yun over WiFi tuning Multiwii software ?
I read lots of forum and google it as well, but if I missed a post where this is explained, thanks for sharing with me
Cheers!
GF