Offline
Newbie
Karma: 0
Posts: 11
|
 |
« on: March 09, 2013, 10:28:04 pm » |
Hello, i would like to make simple device that will switch from 5V to 0V on output. This shloud be controlled by Android phone and device shloud be charged from USB. I looked up on Arduino NANO but it looks like that is not supported by ADK. Could you tell me whitch Arduino shloud i use?
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Offline
Edison Member
Karma: 31
Posts: 1730
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #1 on: March 10, 2013, 01:26:08 am » |
Well your not sending it directly to the Arduino, but to the Bluetooth or wifi adapter. Any Arduino will work, especially the Mega with ADK. You need to first learn Java and start with a simple sketch that will work in the serial monitor. If it works there, it will work with an android.
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 11
|
 |
« Reply #3 on: March 10, 2013, 09:34:09 am » |
Thanks for respond. I can program well (I hope) and i already have Android application. (Arduino code reminds me Assembly language for PIC procesors). I cant use bluetooth or wi-fi so i need to do it over USB. So my question is if i will buy Arduino Nano can i connect this to my Android tablet (Google Nexus 7) and send some message to Arduino? Or which other Arduino shloud i use?
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Offline
Edison Member
Karma: 31
Posts: 1730
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #4 on: March 10, 2013, 10:59:00 am » |
Mega ADK, is made for a USB connection, but it is a lot more expensive. Why can't you use bluetooth?
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 11
|
 |
« Reply #5 on: March 10, 2013, 12:26:44 pm » |
Security reasons. Meybe i can use it. Can you tell me which arduino have bluetooth module?
|
|
|
|
|
Logged
|
|
|
|
|
Queens, New York
Offline
Edison Member
Karma: 31
Posts: 1730
"Of all the things I've ever lost, I miss my mind the most" -Ozzy Osbourne
|
 |
« Reply #6 on: March 10, 2013, 12:36:53 pm » |
There are bluetooth shields for arduino. Also there Modules you can get at digikey or eBay.
|
|
|
|
|
Logged
|
UNO, MEGA, NANO, 4x4 keypad, micro servos, RF transceivers, bluetooth, ultrasonic sensor, 20x4 I2C LCD, 3.2 TFT touch screen, L298N Dual motor driver, Voice Recognition 15W
"If your doing nothing, it does not mean your lazy, it just means your open for anything that suits you" - Unknown
|
|
|
|
Rome, Italy
Offline
Sr. Member
Karma: 20
Posts: 442
|
 |
« Reply #7 on: March 10, 2013, 02:15:42 pm » |
You are probably aware of the main problem in using Usb, which is having one of the devices operating as a Usb host. That's basically what the Arduino ADKs are all about. If the Nexus can provide this functionality you can probably do without the ADK. Both ways, you will then have to work on serial communication. A nice feature of Usb hosts is that they can also provide power to connected devices, so if you choose the ADK as the host it will charge your Nexus  Not exactly your requirement, but you may probably solve the problem through a powered Usb hub.
|
|
|
|
|
Logged
|
|
|
|
|
|