# From java to android

**URL:** <https://discourse.processing.org/t/from-java-to-android/25022>\
**Category:** Processing for Android\
**Tags:** homework\
**Created:** [October 29, 2020, 7:51pm UTC](https://discourse.processing.org/t/from-java-to-android/25022 "2020-10-29T19:51:26Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![r0x15](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r0x15](https://discourse.processing.org/u/r0x15)\
**Post date:** [November 8, 2020, 9:13pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/21 "2020-11-08T21:13:39Z")

</div>

[quote=“svan, post:18, topic:25022, full:true”]  
good  
I found the piece of hardware that they are talking about. Where talking about?

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [November 8, 2020, 9:33pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/22 "2020-11-08T21:33:25Z")

</div>

[https://www.sparkfun.com/products/11574](https://www.sparkfun.com/products/11574)

---

<div class="post-metadata">

**Author:** ![r0x15](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r0x15](https://discourse.processing.org/u/r0x15)\
**Post date:** [November 8, 2020, 9:44pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/23 "2020-11-08T21:44:31Z")

</div>

See … What you gotta do with this heart transducer

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [November 8, 2020, 10:14pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/24 "2020-11-08T22:14:12Z")

</div>

You hook the sensor to your Arduino: 5v, gnd, A0. There’s a starter project on the SparkFun website which is a lot easier to follow. I already have the setup described previously.

---

<div class="post-metadata">

**Author:** ![r0x15](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r0x15](https://discourse.processing.org/u/r0x15)\
**Post date:** [November 9, 2020, 8:55pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/25 "2020-11-09T20:55:55Z")

</div>

Svan  
help me 🙂  
make me on app V3 2 button forward and revese and one slider for speed

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [November 9, 2020, 9:03pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/26 "2020-11-09T21:03:00Z")

</div>

That costs extra ;-). Wouldn’t the direction and speed be controlled by your encoder and Arduino? Isn’t that encoder on a motor? It seems the speed would be set by how fast you ran the motor and the direction by whether or not the motor was reversed.

---

<div class="post-metadata">

**Author:** ![r0x15](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r0x15](https://discourse.processing.org/u/r0x15)\
**Post date:** [November 9, 2020, 9:19pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/27 "2020-11-09T21:19:02Z")

</div>

what you say all right but the motor was not connected I turned it by hand because still on the arduino there is no software and not even in the v3 app to drive it

[image]

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [November 9, 2020, 9:28pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/28 "2020-11-09T21:28:02Z")

</div>

The image didn’t come through. There are motor shields that you can put on an Arduino:  
[https://www.youtube.com/watch?v=5\_bqeOZStr0](https://www.youtube.com/watch?v=5_bqeOZStr0)

---

<div class="post-metadata">

**Author:** ![r0x15](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r0x15](https://discourse.processing.org/u/r0x15)\
**Post date:** [November 9, 2020, 9:42pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/29 "2020-11-09T21:42:01Z")

</div>

hehhe this e game!

```auto

look this

```

---

<div class="post-metadata">

**Author:** ![svan](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@svan](https://discourse.processing.org/u/svan)\
**Post date:** [November 9, 2020, 9:47pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/30 "2020-11-09T21:47:41Z")

</div>

It disappeared when I clicked on it. Please post URL.

---

<div class="post-metadata">

**Author:** ![r0x15](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r0x15](https://discourse.processing.org/u/r0x15)\
**Post date:** [November 9, 2020, 9:57pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/31 "2020-11-09T21:57:47Z")

</div>

[![](https://img.youtube.com/vi/K7FQSS_iAw0/maxresdefault.jpg "Arduino PID based DC motor position control system") ](https://www.youtube.com/watch?v=K7FQSS_iAw0)

---

<div class="post-metadata">

**Author:** ![r0x15](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r0x15](https://discourse.processing.org/u/r0x15)\
**Post date:** [November 9, 2020, 9:59pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/32 "2020-11-09T21:59:23Z")

</div>

this have pid position  
you have speed control

i need have speed and position contro

---

<div class="post-metadata">

**Author:** ![r0x15](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@r0x15](https://discourse.processing.org/u/r0x15)\
**Post date:** [November 9, 2020, 10:48pm UTC](https://discourse.processing.org/t/from-java-to-android/25022/33 "2020-11-09T22:48:16Z")

</div>

give me info for my request i now go to sleep tomorrow im working  
tnx1000

[Previous page](https://discourse.processing.org/t/from-java-to-android/25022.md?page=1)
