# I need a code for a radar

**URL:** <https://discourse.processing.org/t/i-need-a-code-for-a-radar/47892>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [February 16, 2026, 3:01am UTC](https://discourse.processing.org/t/i-need-a-code-for-a-radar/47892 "2026-02-16T03:01:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![theradarguy](https://avatars.discourse-cdn.com/v4/letter/t/dfb087/32.png) [@theradarguy](https://discourse.processing.org/u/theradarguy)\
**Post date:** [February 16, 2026, 3:01am UTC](https://discourse.processing.org/t/i-need-a-code-for-a-radar/47892/1 "2026-02-16T03:01:58Z")

</div>

i need code for a radar that makes it into a stl 3d item that downloads once i hit a button it downloads it the port is /dev/cu.usbmodem4827E2E111D02 my arduino code prints out the distance and its constantly rotating a servo

---

<div class="post-metadata">

**Author:** ![discourse\_ai\_spam](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/discourse_ai_spam/32/21056_2.png) [@discourse\_ai\_spam](https://discourse.processing.org/u/discourse_ai_spam)\
**Post date:** [February 16, 2026, 3:02am UTC](https://discourse.processing.org/t/i-need-a-code-for-a-radar/47892/2 "2026-02-16T03:02:01Z")

</div>



---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/system/32/18341_2.png) [@system](https://discourse.processing.org/u/system)\
**Post date:** [February 16, 2026, 10:58am UTC](https://discourse.processing.org/t/i-need-a-code-for-a-radar/47892/3 "2026-02-16T10:58:52Z")

</div>



---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [February 16, 2026, 11:40am UTC](https://discourse.processing.org/t/i-need-a-code-for-a-radar/47892/4 "2026-02-16T11:40:17Z")

</div>

Hello @theradarguy,

Welcome!

This will help you get started:

> [@Welcome to the Processing Foundation Discourse](https://discourse.processing.org/t/welcome-to-the-processing-foundation-discourse/8):
>
> This is a place to discuss [Processing](https://processing.org/), [p5.js](https://p5js.org/), [Processing for Android](http://android.processing.org/), Processing for Pi, [Processing.py](http://py.processing.org/) and related software initiatives. It’s a place to talk about general ideas and specific projects. You can learn more about the [Processing Foundation](https://processingfoundation.org/) on its website. Our goal is to promote software literacy within the visual arts, and visual literacy within technology-related fields — and to make these fields accessible to diverse communities. Our goal is to empower people of all interests and …

---

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [February 19, 2026, 10:43pm UTC](https://discourse.processing.org/t/i-need-a-code-for-a-radar/47892/5 "2026-02-19T22:43:17Z")

</div>

Could you describe what your goal is?

What radar hardware do you use exactly?

How is your setup, does the sensor rotate around the center on a circle, so that the object you want to.scan is in the center? And the sensor rotates around it? Looking inward?
