# Assorted Logic Modules

**URL:** <https://forum.audulus.com/t/assorted-logic-modules/1709>\
**Category:** Building\
**Created:** [February 21, 2019, 9:37pm UTC](https://forum.audulus.com/t/assorted-logic-modules/1709 "2019-02-21T21:37:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![stschoen](https://forum.audulus.com/user_avatar/forum.audulus.com/stschoen/32/42_2.png) [@stschoen](https://forum.audulus.com/u/stschoen)\
**Post date:** [February 21, 2019, 9:37pm UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/1 "2019-02-21T21:37:25Z")

</div>

# Assorted Logic Modules

This is a collection of some of the basic logic elements I’ve developed. Most are the result of a quest that @robertsyrett and I embarked on to find the perfect reset. It eventually led to a resettable S&H node that could be reset even when the trigger was held high. With this as a building block, I developed a variety of counters, flip-flops etc. I broke them out into various categories and I’ve included brief text descriptions of each module. Most have been pretty well debugged and I thought they might prove useful to others building their own modules. I also have a selection of decimal to binary converters, LED ladder drivers etc. if anyone is interested.

## Version History

### Counters

| Revision | File | Date | Notes |
| --- | --- | --- | --- |
| 1.4 | [Counters V1.4.audulus](https://discourse.carlnet.ddnsgeek.com/uploads/default/original/2X/d/d5ac108afb2e7fb07f8767848be60c2c9a595a11.audulus) (260.9 KB) | 03/01/2019 | added bidirectional counter, updated chasing and multi counters |
| 1.3 | superceded | 02/28/2019 | bug fixes and new counters |

### S&H, Switches, Latches, Flip-flops, Shift Registers

| Revision | File | Date | Notes |
| --- | --- | --- | --- |
| 1.0 | [Sample and Holds Switches Latches Flip-flops Shift Registers.audulus](https://discourse.carlnet.ddnsgeek.com/uploads/default/original/2X/1/187c33d7b2b35168648ae3e8649104ea8470a7b9.audulus) (723.9 KB) | 02/231/2019 | initial upload |

### Logic Modules, Gates, Decays

| Revision | File | Date | Notes |
| --- | --- | --- | --- |
| 1.0 | [Logic modules Gates and Decays.audulus](https://discourse.carlnet.ddnsgeek.com/uploads/default/original/2X/1/165bbd613a3213ab8707c5a2cdbb0a3093b8d4fa.audulus) (76.9 KB) | 02/21/2019 | initial upload |

---

<div class="post-metadata">

**Author:** ![robertsyrett](https://forum.audulus.com/user_avatar/forum.audulus.com/robertsyrett/32/6507_2.png) [@robertsyrett](https://forum.audulus.com/u/robertsyrett)\
**Post date:** [February 21, 2019, 10:17pm UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/2 "2019-02-21T22:17:31Z")

</div>

These are super useful building blocks!

---

<div class="post-metadata">

**Author:** ![espiegel123](https://forum.audulus.com/letter_avatar_proxy/v4/letter/e/c6cbf5/32.png) [@espiegel123](https://forum.audulus.com/u/espiegel123)\
**Post date:** [February 22, 2019, 2:02am UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/3 "2019-02-22T02:02:48Z")

</div>

Cool! These will be very helpful.

---

<div class="post-metadata">

**Author:** ![biminiroad](https://forum.audulus.com/user_avatar/forum.audulus.com/biminiroad/32/6749_2.png) [@biminiroad](https://forum.audulus.com/u/biminiroad)\
**Post date:** [February 22, 2019, 2:46am UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/4 "2019-02-22T02:46:29Z")

</div>

Impressive collection! Thanks for sharing 🙂

---

<div class="post-metadata">

**Author:** ![stschoen](https://forum.audulus.com/user_avatar/forum.audulus.com/stschoen/32/42_2.png) [@stschoen](https://forum.audulus.com/u/stschoen)\
**Post date:** [February 22, 2019, 2:37pm UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/5 "2019-02-22T14:37:10Z")

</div>

I accidentally posted my WIP patch “Basic Logic Modules V1.0” containing all the modules. Some of the modules in this patch are old revisions or are buggy so I’ve removed it from the post. All of the generally useful stuff is in the individual patches. If you grabbed the “Basic Logic Modules V1.0” you’re welcome to use anything you like but I would recommend the versions from the individual patches. 🤠

---

<div class="post-metadata">

**Author:** ![RileyGuy](https://forum.audulus.com/user_avatar/forum.audulus.com/rileyguy/32/90_2.png) [@RileyGuy](https://forum.audulus.com/u/RileyGuy)\
**Post date:** [February 22, 2019, 10:15pm UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/6 "2019-02-22T22:15:33Z")

</div>

Thank you for this!

---

<div class="post-metadata">

**Author:** ![stschoen](https://forum.audulus.com/user_avatar/forum.audulus.com/stschoen/32/42_2.png) [@stschoen](https://forum.audulus.com/u/stschoen)\
**Post date:** [February 27, 2019, 10:30pm UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/7 "2019-02-27T22:30:24Z")

</div>

I wanted to point out that the counters all assume that the limit value is \> 0. Most won’t work with a negative limit value. I was working on a counter for @biminiroad today and realized that this was a limitation. For most uses it shouldn’t be a problem, but I wanted to let you know. I have some updates to a couple of the units which will support negative values which I’ll post when I’m sure they’re debugged.

---

<div class="post-metadata">

**Author:** ![biminiroad](https://forum.audulus.com/user_avatar/forum.audulus.com/biminiroad/32/6749_2.png) [@biminiroad](https://forum.audulus.com/u/biminiroad)\
**Post date:** [February 27, 2019, 11:02pm UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/8 "2019-02-27T23:02:33Z")

</div>

Thanks!

---

<div class="post-metadata">

**Author:** ![stschoen](https://forum.audulus.com/user_avatar/forum.audulus.com/stschoen/32/42_2.png) [@stschoen](https://forum.audulus.com/u/stschoen)\
**Post date:** [February 28, 2019, 3:26pm UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/9 "2019-02-28T15:26:20Z")

</div>

Updated the counters collection. I fixed a couple of bugs, improved the docs, and added a few new counters to the collection. I’ll be updating the other collections as time permits.

---

<div class="post-metadata">

**Author:** ![stschoen](https://forum.audulus.com/user_avatar/forum.audulus.com/stschoen/32/42_2.png) [@stschoen](https://forum.audulus.com/u/stschoen)\
**Post date:** [February 28, 2019, 7:20pm UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/10 "2019-02-28T19:20:47Z")

</div>

Update counters to V1.3 bug fixes in chasing and multi-counters

---

<div class="post-metadata">

**Author:** ![stschoen](https://forum.audulus.com/user_avatar/forum.audulus.com/stschoen/32/42_2.png) [@stschoen](https://forum.audulus.com/u/stschoen)\
**Post date:** [March 1, 2019, 6:31pm UTC](https://forum.audulus.com/t/assorted-logic-modules/1709/11 "2019-03-01T18:31:23Z")

</div>

Update counters to V1.4 Added bidirectional counter and improved versions of chasing counters and multi-counter
