How arduino should be coded to control Two motors using amarino codes..

19 views
Skip to first unread message

Sanket Ganorkar

unread,
Jan 29, 2017, 12:37:42 AM1/29/17
to Amarino Toolkit
I want to control two motors using arduino via Android'sensor (rotation vector ) with amarino.
I have installed amarino apk and amarino plugins also.
What i don't know is how coding should be done to control those..
Please suggest me reference to learn amarino coding ..or sketch

Edgar Acosta

unread,
Jan 29, 2017, 5:00:45 PM1/29/17
to Amarino Toolkit
Hi.

   I use Amarino, Arduino, Android, 4 years ago in a school project to control a robotic arm with 6 motors.  I have not work in Amarino since then.  But let me share you parts of my code.  I remember i download the Amarino library for Android and also for Arduino,  also i use the Goldsmirf gold bluetooth circuit.  this circuit is connected to the TX/RX if the Arduino.  and you have to Pair the Bluetooth Goldsmirf circuit with the Android Phone, also  you have to download the Amarino app for android, to make this pair. 

   Here i will attach to you one of my Android Java Activity in which i am sending signals the command to move the motors.  Also the Arduino Program, and the Amarino Android library i used 4 years ago, at the moment a new version shall exist in the site                          http://www.amarino-toolkit.net. And the MeetAndroid.h library that the Arduino project shall have in order to receive and send signals to the Android Phone.    You can find a lot of information in the   http://www.amarino-toolkit.net 

 Note:  The Amarino Library for Android,  has the extension xlm because Gmail was not accepting the attachment with zip.  Just remove the extension xlm and extract the zip, and there is the Marino Library for Android (Jar File) you need to add this file in your Android project.

     To understand the code.  just look the ManualControl.java file, is the File that sends signals to Arduino.  and understand the Arduino_Robot_Arm.ino file this is the file in Arduino.    IS very simple to understand.  


   


--

---
You received this message because you are subscribed to the Google Groups "Amarino Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amarino-toolkit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ManualControl.java
Arduino_Robot_Arm.ino
AmarinoLibrary_v0_55.jar.zip.xlm
MeetAndroid.h

Sanket Ganorkar

unread,
Feb 4, 2017, 4:40:37 AM2/4/17
to amarino...@googlegroups.com

Thanks Edger ..
Your attachments had helped me lot
.
Thank uoy once again ..😊☺😊

You received this message because you are subscribed to a topic in the Google Groups "Amarino Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/amarino-toolkit/luZgrPAbVMs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to amarino-toolkit+unsubscribe@googlegroups.com.

Edgar Acosta

unread,
Feb 4, 2017, 5:56:50 AM2/4/17
to amarino...@googlegroups.com
Great

If you i can help let me know


On Sat, 4 Feb 2017 at 10:40, Sanket Ganorkar <sanketg...@gmail.com> wrote:

Thanks Edger ..
Your attachments had helped me lot
.
Thank uoy once again ..😊☺😊

On 30-Jan-2017 3:30 am, "Edgar Acosta" <eacos...@gmail.com> wrote:
Hi.

   I use Amarino, Arduino, Android, 4 years ago in a school project to control a robotic arm with 6 motors.  I have not work in Amarino since then.  But let me share you parts of my code.  I remember i download the Amarino library for Android and also for Arduino,  also i use the Goldsmirf gold bluetooth circuit.  this circuit is connected to the TX/RX if the Arduino.  and you have to Pair the Bluetooth Goldsmirf circuit with the Android Phone, also  you have to download the Amarino app for android, to make this pair. 

   Here i will attach to you one of my Android Java Activity in which i am sending signals the command to move the motors.  Also the Arduino Program, and the Amarino Android library i used 4 years ago, at the moment a new version shall exist in the site                          http://www.amarino-toolkit.net. And the MeetAndroid.h library that the Arduino project shall have in order to receive and send signals to the Android Phone.    You can find a lot of information in the   http://www.amarino-toolkit.net 

 Note:  The Amarino Library for Android,  has the extension xlm because Gmail was not accepting the attachment with zip.  Just remove the extension xlm and extract the zip, and there is the Marino Library for Android (Jar File) you need to add this file in your Android project.

     To understand the code.  just look the ManualControl.java file, is the File that sends signals to Arduino.  and understand the Arduino_Robot_Arm.ino file this is the file in Arduino.    IS very simple to understand.  


   
On Sun, Jan 29, 2017 at 6:37 AM, Sanket Ganorkar <sanketg...@gmail.com> wrote:
I want to control two motors using arduino via Android'sensor (rotation vector ) with amarino.
I have installed amarino apk and amarino plugins also.
What i don't know is how coding should be done to control those..
Please suggest me reference to learn amarino coding ..or sketch

--

---
You received this message because you are subscribed to the Google Groups "Amarino Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amarino-toolk...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "Amarino Toolkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/amarino-toolkit/luZgrPAbVMs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to amarino-toolk...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "Amarino Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to amarino-toolk...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages