# Bit shift register

**URL:** https://forum.xod.io/t/bit-shift-register/1259
**Category:** Uncategorized
**Created:** [October 22, 2018, 5:51pm UTC](https://forum.xod.io/t/bit-shift-register/1259 "2018-10-22T17:51:24Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)
#### Post date: [October 22, 2018, 5:51pm UTC](https://forum.xod.io/t/bit-shift-register/1259/1 "2018-10-22T17:51:24Z")

</div>

Hi, I need help. I want to make a shift register (like 4017) but I can not find a schematic of its logic gates and flip-flops.  
It is very important to me because then with that I can make several applications.  
I appreciate any ideas, how to sequence  
br

link [bit-shift-register](https://xod.io/libs/cesars/bit-shift-register/)

---

<div class="post-metadata">

### Author: ![dox](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/dox/32/424_2.png) [@dox](https://forum.xod.io/u/dox)
#### Post date: [October 23, 2018, 11:44am UTC](https://forum.xod.io/t/bit-shift-register/1259/2 "2018-10-23T11:44:04Z")

</div>

CD4017 is a decade counter. Unfortunately I have only my cell phone ready an not my PC, so I can not send you a .xodball file. I would use a counter and some “equal” nodes. Connect the counter output to the first inputs of the equal nodes. Write fixed values to the second pin of the equal nodes (0?, 1, 2, 3…). Connect the outputs of the equal nodes to the inputs of some digital write nodes. If you want to reset the counter aften n-steps you need a additional equal-node connected to a defer-node generating a pulse for the reset input of the counter.

---

<div class="post-metadata">

### Author: ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)
#### Post date: [October 23, 2018, 2:31pm UTC](https://forum.xod.io/t/bit-shift-register/1259/3 "2018-10-23T14:31:11Z")

</div>

Thanks @dox , I’ll see what I can do I already have a rough idea.

---

<div class="post-metadata">

### Author: ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)
#### Post date: [October 24, 2018, 2:06am UTC](https://forum.xod.io/t/bit-shift-register/1259/4 "2018-10-24T02:06:35Z")

</div>

@dox , It was very helpful, thank you

Edit: CD4017  
[BIT-SHIFT-REGISTER.xodball](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/3b9508347d301cbe642413248e795016860a4564.xodball) (44.7 KB)

![bsr](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/3950f7d8f24a0adbb53e6846197e537dd93185b6.png)

---

<div class="post-metadata">

### Author: ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)
#### Post date: [October 25, 2018, 6:33pm UTC](https://forum.xod.io/t/bit-shift-register/1259/5 "2018-10-25T18:33:14Z")

</div>

At the moment in omitted C ++ ([Flip-Flop type D](https://forum.xod.io/t/flip-flop-type-d/1266))

Here is the result using parts of the library @gweimer  
[BSR2.xodball](https://forum.xod.io/uploads/xod/original/1X/4037bb05f6a6b63c5cb5eb0d7eec0271681ba009.xodball) (41.9 KB)

 ![bsr](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/459712aa8263e96827f7782368816c72c6db9ff1.png)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)
#### Post date: [October 27, 2018, 6:33pm UTC](https://forum.xod.io/t/bit-shift-register/1259/6 "2018-10-27T18:33:24Z")

</div>

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