# "Smart" UTM tool-head

**URL:** <https://forum.farmbot.org/t/smart-utm-tool-head/8573>\
**Category:** Software\
**Created:** [April 21, 2023, 4:16pm UTC](https://forum.farmbot.org/t/smart-utm-tool-head/8573 "2023-04-21T16:16:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![juangrados](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/j/a698b9/32.png) [@juangrados](https://forum.farmbot.org/u/juangrados)\
**Post date:** [April 21, 2023, 4:16pm UTC](https://forum.farmbot.org/t/smart-utm-tool-head/8573/1 "2023-04-21T16:16:39Z")

</div>

Hi everyone,

I am looking to create a custom seeding tool head (yet another one). For that I want to control 2 servos and one TOF sensor.  
I think it would be better to integrate a small MCU to the tool head itself in order to control the servos and sensors, as well as for working as a interphase with the Farmduino board via the UTM pins.

So far I haven’t found much information if something like that is possible or not.

The only sort of useful information I found is the possibility to use UART communication but as I understand it, that is directly to the Raspberry Pi and not to the Farmduino board via the UTM pins.

> [@New Tool: Laser distance sensor](https://forum.farmbot.org/t/new-tool-laser-distance-sensor/7433):
>
> I want to build a tool for measuring the distance between the tool head and plants or soil beneath it. I ordered a [TOF10120](https://drive.google.com/file/d/1uaMZ421smI0FN40iJgn-ZKQG42KUvFfh/view) laser distance sensor for the task which should arrive any day. The module can communicate either via UART or i₂c. My question is: What is the best way to transfer the measurement to the FarmBot? I see the following options: Add a Arduino Nano to the tool which reads the sensor data and uses its PWM output to generate an analog signal which is transferred to the farm bo…

> **[UART](https://developer.farm.bot/v15/lua/functions/uart)**
>
> List of UART Lua functions in FarmBot OS

I hope someone can help me.  
The Famrbot project is super interesting but sometimes I have the feeling that the Software is quite rigid and not too easy to do new things. For me creating new tool heads should be one of the main features of the platform.

Anyway, thanks for your time and hard work!

---

<div class="post-metadata">

**Author:** ![system](https://forum.farmbot.org/user_avatar/forum.farmbot.org/system/32/4564_2.png) [@system](https://forum.farmbot.org/u/system)\
**Post date:** [May 21, 2023, 4:17pm UTC](https://forum.farmbot.org/t/smart-utm-tool-head/8573/2 "2023-05-21T16:17:19Z")

</div>

Closed on May 21, 2023, 4:17pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![Gabriel](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/g/9de0a6/32.png) [@Gabriel](https://forum.farmbot.org/u/Gabriel)\
**Post date:** [May 26, 2023, 7:22pm UTC](https://forum.farmbot.org/t/smart-utm-tool-head/8573/3 "2023-05-26T19:22:13Z")

</div>

Opened on May 26, 2023, 7:22pm UTC



---

<div class="post-metadata">

**Author:** ![Gabriel](https://forum.farmbot.org/letter_avatar_proxy/v4/letter/g/9de0a6/32.png) [@Gabriel](https://forum.farmbot.org/u/Gabriel)\
**Post date:** [May 26, 2023, 7:41pm UTC](https://forum.farmbot.org/t/smart-utm-tool-head/8573/4 "2023-05-26T19:41:43Z")

</div>

There’s lots of good information in the thread you’ve linked, and UART communication is implemented as outlined in the linked documentation page. To use the Lua UART functions to communicate with a device at the UTM, the wires in the UTM cable can be connected to a USB to serial adapter. Each of the UTM wires can be rerouted anywhere in the electronics box by using the pins on the Farmduino below the UTM cable connector.
