# How to obtain a square wave from QTR-1RC?

**URL:** https://forum.pololu.com/t/how-to-obtain-a-square-wave-from-qtr-1rc/6182
**Category:** Electronics
**Created:** [August 13, 2013, 1:45pm UTC](https://forum.pololu.com/t/how-to-obtain-a-square-wave-from-qtr-1rc/6182 "2013-08-13T13:45:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Allan.Ribeiro](https://forum.pololu.com/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@Allan.Ribeiro](https://forum.pololu.com/u/Allan.Ribeiro)
#### Post date: [August 13, 2013, 1:45pm UTC](https://forum.pololu.com/t/how-to-obtain-a-square-wave-from-qtr-1rc/6182/1 "2013-08-13T13:45:18Z")

</div>

Hi I need to know how can i get a square wave from QTR-1RC, i 'll connect on arduino’s port 2. In my tests i realise the QTR’s wave isn’t digital, so if I don’t process this wave before i connect the sensor, my circuit will not work.  
TKS

---

<div class="post-metadata">

### Author: ![Jim\_Remington](https://forum.pololu.com/letter_avatar_proxy/v4/letter/j/a3d4f5/32.png) [@Jim\_Remington](https://forum.pololu.com/u/Jim_Remington)
#### Post date: [August 13, 2013, 3:21pm UTC](https://forum.pololu.com/t/how-to-obtain-a-square-wave-from-qtr-1rc/6182/2 "2013-08-13T15:21:58Z")

</div>

How do you expect a “square wave” to work?
