Components

24 Twig Components
98 Render Count
404 ms Render Time
16.0 MiB Memory Usage

Components

Name Metadata Render Count Render Time
settings_row_switch
"App\Twig\Components\SettingsRowSwitchComponent"
components/_settings_row_switch.html.twig
15 14.22ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
10 1.47ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
9 7.83ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
8 0.83ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
8 8.44ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
8 6.83ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
7 416.34ms
user_avatar
"App\Twig\Components\UserAvatarComponent"
components/user_avatar.html.twig
7 7.50ms
entry_comments_nested
"App\Twig\Components\EntryCommentsNestedComponent"
components/_cached.html.twig
7 295.88ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 0.70ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.37ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 22.72ms
entries_cross
"App\Twig\Components\EntriesCrossComponent"
components/_cached.html.twig
1 40.57ms
editor_toolbar
"App\Twig\Components\EditorToolbarComponent"
components/editor_toolbar.html.twig
1 0.23ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 0.42ms
magazine_box
"App\Twig\Components\MagazineBoxComponent"
components/magazine_box.html.twig
1 24.69ms
magazine_sub
"App\Twig\Components\MagazineSubComponent"
components/magazine_sub.html.twig
1 0.54ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 2.94ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 6.23ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 1.47ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 1.63ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 1.48ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 0.20ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 2.51ms

Render calls

entry App\Twig\Components\EntryComponent 16.0 MiB 22.72 ms
Input props
[
  "entry" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  "isSingle" => true
  "showShortSentence" => false
  "showBody" => true
]
Attributes
[
  "class" => "entry--single section--top"
]
Component
App\Twig\Components\EntryComponent {#2960
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2961 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  +isSingle: true
  +showShortSentence: false
  +showBody: true
  +showMagazineName: false
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.27 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3143
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.21 ms
Input props
[
  "date" => DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3213
  +date: DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.14 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3277
  +createdAt: DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
  +editedAt: null
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.41 ms
Input props
[
  "subject" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3344
  +subject: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 1.10 ms
Input props
[
  "subject" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3415
  +formDest: "entry"
  +subject: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entries_cross App\Twig\Components\EntriesCrossComponent 16.0 MiB 40.57 ms
Input props
[
  "entry" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\EntriesCrossComponent {#3724
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  -repository: App\Repository\EntryRepository {#270 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
}
editor_toolbar App\Twig\Components\EditorToolbarComponent 16.0 MiB 0.23 ms
Input props
[
  "id" => "entry_comment_6910745d736707.88900767_body"
]
Attributes
[]
Component
App\Twig\Components\EditorToolbarComponent {#3849
  +id: "entry_comment_6910745d736707.88900767_body"
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 115.85 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4062
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4051 …}
    +nested: Doctrine\ORM\PersistentCollection {#4049 …}
    +votes: Doctrine\ORM\PersistentCollection {#4047 …}
    +reports: Doctrine\ORM\PersistentCollection {#4045 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
    -id: 7574
    -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/592699"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688445126 {#3994
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#4290
  +comment: App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4062
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4051 …}
    +nested: Doctrine\ORM\PersistentCollection {#4049 …}
    +votes: Doctrine\ORM\PersistentCollection {#4047 …}
    +reports: Doctrine\ORM\PersistentCollection {#4045 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
    -id: 7574
    -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/592699"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688445126 {#3994
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4002
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4061
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
    +entries: Doctrine\ORM\PersistentCollection {#3996 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
    +posts: Doctrine\ORM\PersistentCollection {#3986 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
    +follows: Doctrine\ORM\PersistentCollection {#3972 …}
    +followers: Doctrine\ORM\PersistentCollection {#3970 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
    +reports: Doctrine\ORM\PersistentCollection {#4087 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
    +violations: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
    +awards: Doctrine\ORM\PersistentCollection {#4079 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
    +categories: Doctrine\ORM\PersistentCollection {#4109 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
    +apId: "pneumapunk@lemmy.sdf.org"
    +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
    +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.sdf.org/inbox"
    +apDomain: "lemmy.sdf.org"
    +apPreferredUsername: "pneumapunk"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690017468 {#4057
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4055
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#4379
  +user: App\Entity\User {#4002
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4061
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
    +entries: Doctrine\ORM\PersistentCollection {#3996 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
    +posts: Doctrine\ORM\PersistentCollection {#3986 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
    +follows: Doctrine\ORM\PersistentCollection {#3972 …}
    +followers: Doctrine\ORM\PersistentCollection {#3970 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
    +reports: Doctrine\ORM\PersistentCollection {#4087 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
    +violations: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
    +awards: Doctrine\ORM\PersistentCollection {#4079 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
    +categories: Doctrine\ORM\PersistentCollection {#4109 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
    +apId: "pneumapunk@lemmy.sdf.org"
    +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
    +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.sdf.org/inbox"
    +apDomain: "lemmy.sdf.org"
    +apPreferredUsername: "pneumapunk"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690017468 {#4057
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4055
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1688445126 {#3994
    date: 2023-07-04 06:32:06.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#4434
  +date: DateTimeImmutable @1688445126 {#3994
    date: 2023-07-04 06:32:06.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688445126 {#3994
    date: 2023-07-04 06:32:06.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#4488
  +createdAt: DateTimeImmutable @1688445126 {#3994
    date: 2023-07-04 06:32:06.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.18 ms
Input props
[
  "user" => App\Entity\User {#4002
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4061
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
    +entries: Doctrine\ORM\PersistentCollection {#3996 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
    +posts: Doctrine\ORM\PersistentCollection {#3986 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
    +follows: Doctrine\ORM\PersistentCollection {#3972 …}
    +followers: Doctrine\ORM\PersistentCollection {#3970 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
    +reports: Doctrine\ORM\PersistentCollection {#4087 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
    +violations: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
    +awards: Doctrine\ORM\PersistentCollection {#4079 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
    +categories: Doctrine\ORM\PersistentCollection {#4109 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
    +apId: "pneumapunk@lemmy.sdf.org"
    +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
    +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.sdf.org/inbox"
    +apDomain: "lemmy.sdf.org"
    +apPreferredUsername: "pneumapunk"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690017468 {#4057
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4055
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#4544
  +width: 40
  +height: 40
  +user: App\Entity\User {#4002
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4061
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
    +entries: Doctrine\ORM\PersistentCollection {#3996 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
    +posts: Doctrine\ORM\PersistentCollection {#3986 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
    +follows: Doctrine\ORM\PersistentCollection {#3972 …}
    +followers: Doctrine\ORM\PersistentCollection {#3970 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
    +reports: Doctrine\ORM\PersistentCollection {#4087 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
    +violations: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
    +awards: Doctrine\ORM\PersistentCollection {#4079 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
    +categories: Doctrine\ORM\PersistentCollection {#4109 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
    +apId: "pneumapunk@lemmy.sdf.org"
    +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
    +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.sdf.org/inbox"
    +apDomain: "lemmy.sdf.org"
    +apPreferredUsername: "pneumapunk"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690017468 {#4057
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4055
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.51 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4062
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4051 …}
    +nested: Doctrine\ORM\PersistentCollection {#4049 …}
    +votes: Doctrine\ORM\PersistentCollection {#4047 …}
    +reports: Doctrine\ORM\PersistentCollection {#4045 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
    -id: 7574
    -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/592699"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688445126 {#3994
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#4664
  +subject: App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4062
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4051 …}
    +nested: Doctrine\ORM\PersistentCollection {#4049 …}
    +votes: Doctrine\ORM\PersistentCollection {#4047 …}
    +reports: Doctrine\ORM\PersistentCollection {#4045 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
    -id: 7574
    -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/592699"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688445126 {#3994
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.73 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4062
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4051 …}
    +nested: Doctrine\ORM\PersistentCollection {#4049 …}
    +votes: Doctrine\ORM\PersistentCollection {#4047 …}
    +reports: Doctrine\ORM\PersistentCollection {#4045 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
    -id: 7574
    -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/592699"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688445126 {#3994
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#4721
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4062
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4051 …}
    +nested: Doctrine\ORM\PersistentCollection {#4049 …}
    +votes: Doctrine\ORM\PersistentCollection {#4047 …}
    +reports: Doctrine\ORM\PersistentCollection {#4045 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
    -id: 7574
    -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/592699"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688445126 {#3994
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 91.92 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4062
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4051 …}
    +nested: Doctrine\ORM\PersistentCollection {#4049 …}
    +votes: Doctrine\ORM\PersistentCollection {#4047 …}
    +reports: Doctrine\ORM\PersistentCollection {#4045 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
    -id: 7574
    -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/592699"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688445126 {#3994
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#4966
  +comment: App\Entity\EntryComment {#4053
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4062
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4051 …}
    +nested: Doctrine\ORM\PersistentCollection {#4049 …}
    +votes: Doctrine\ORM\PersistentCollection {#4047 …}
    +reports: Doctrine\ORM\PersistentCollection {#4045 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
    -id: 7574
    -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/592699"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688445126 {#3994
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  +nestedComments: [
    15130 => App\Entity\EntryComment {#4266
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4053}
      +root: App\Entity\EntryComment {#4053}
      +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689285254 {#4264
        date: 2023-07-13 23:54:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@pneumapunk@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4267 …}
      +nested: Doctrine\ORM\PersistentCollection {#4269 …}
      +votes: Doctrine\ORM\PersistentCollection {#4271 …}
      +reports: Doctrine\ORM\PersistentCollection {#4273 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
      -id: 15130
      -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/984889"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689285254 {#4265
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    19326 => App\Entity\EntryComment {#4303
      +user: App\Entity\User {#4002}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4266}
      +root: App\Entity\EntryComment {#4053}
      +body: "That makes sense, it forms a simple snubber network. A capacitor in series with a low-value resistor might work even better. Did you try a freewheeling diode directly across the valve leads?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689481805 {#4301
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@pneumapunk@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4304 …}
      +nested: Doctrine\ORM\PersistentCollection {#4306 …}
      +votes: Doctrine\ORM\PersistentCollection {#4308 …}
      +reports: Doctrine\ORM\PersistentCollection {#4310 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4312 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4314 …}
      -id: 19326
      -bodyTs: "'across':31 'better':23 'capacitor':11 'diod':29 'direct':30 'even':22 'form':5 'freewheel':28 'lead':34 'low':17 'low-valu':16 'make':2 'might':20 'network':9 'resistor':19 'sens':3 'seri':13 'simpl':7 'snubber':8 'tri':26 'valu':18 'valv':33 'work':21"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/1071424"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689481805 {#4302
        date: 2023-07-16 06:30:05.0 +02:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 29.69 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4266
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4002
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4061
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
        +entries: Doctrine\ORM\PersistentCollection {#3996 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
        +posts: Doctrine\ORM\PersistentCollection {#3986 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
        +follows: Doctrine\ORM\PersistentCollection {#3972 …}
        +followers: Doctrine\ORM\PersistentCollection {#3970 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
        +reports: Doctrine\ORM\PersistentCollection {#4087 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
        +violations: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
        +awards: Doctrine\ORM\PersistentCollection {#4079 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
        +categories: Doctrine\ORM\PersistentCollection {#4109 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
        +apId: "pneumapunk@lemmy.sdf.org"
        +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
        +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.sdf.org/inbox"
        +apDomain: "lemmy.sdf.org"
        +apPreferredUsername: "pneumapunk"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690017468 {#4057
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4055
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4062
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4051 …}
      +nested: Doctrine\ORM\PersistentCollection {#4049 …}
      +votes: Doctrine\ORM\PersistentCollection {#4047 …}
      +reports: Doctrine\ORM\PersistentCollection {#4045 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
      -id: 7574
      -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/592699"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688445126 {#3994
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689285254 {#4264
      date: 2023-07-13 23:54:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4267 …}
    +nested: Doctrine\ORM\PersistentCollection {#4269 …}
    +votes: Doctrine\ORM\PersistentCollection {#4271 …}
    +reports: Doctrine\ORM\PersistentCollection {#4273 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
    -id: 15130
    -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984889"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689285254 {#4265
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5040
  +comment: App\Entity\EntryComment {#4266
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4002
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4061
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
        +entries: Doctrine\ORM\PersistentCollection {#3996 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
        +posts: Doctrine\ORM\PersistentCollection {#3986 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
        +follows: Doctrine\ORM\PersistentCollection {#3972 …}
        +followers: Doctrine\ORM\PersistentCollection {#3970 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
        +reports: Doctrine\ORM\PersistentCollection {#4087 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
        +violations: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
        +awards: Doctrine\ORM\PersistentCollection {#4079 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
        +categories: Doctrine\ORM\PersistentCollection {#4109 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
        +apId: "pneumapunk@lemmy.sdf.org"
        +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
        +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.sdf.org/inbox"
        +apDomain: "lemmy.sdf.org"
        +apPreferredUsername: "pneumapunk"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690017468 {#4057
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4055
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4062
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4051 …}
      +nested: Doctrine\ORM\PersistentCollection {#4049 …}
      +votes: Doctrine\ORM\PersistentCollection {#4047 …}
      +reports: Doctrine\ORM\PersistentCollection {#4045 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
      -id: 7574
      -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/592699"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688445126 {#3994
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689285254 {#4264
      date: 2023-07-13 23:54:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4267 …}
    +nested: Doctrine\ORM\PersistentCollection {#4269 …}
    +votes: Doctrine\ORM\PersistentCollection {#4271 …}
    +reports: Doctrine\ORM\PersistentCollection {#4273 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
    -id: 15130
    -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984889"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689285254 {#4265
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5087
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1689285254 {#4265
    date: 2023-07-13 23:54:14.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5142
  +date: DateTimeImmutable @1689285254 {#4265
    date: 2023-07-13 23:54:14.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1689285254 {#4265
    date: 2023-07-13 23:54:14.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5196
  +createdAt: DateTimeImmutable @1689285254 {#4265
    date: 2023-07-13 23:54:14.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5250
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.39 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4266
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4002
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4061
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
        +entries: Doctrine\ORM\PersistentCollection {#3996 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
        +posts: Doctrine\ORM\PersistentCollection {#3986 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
        +follows: Doctrine\ORM\PersistentCollection {#3972 …}
        +followers: Doctrine\ORM\PersistentCollection {#3970 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
        +reports: Doctrine\ORM\PersistentCollection {#4087 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
        +violations: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
        +awards: Doctrine\ORM\PersistentCollection {#4079 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
        +categories: Doctrine\ORM\PersistentCollection {#4109 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
        +apId: "pneumapunk@lemmy.sdf.org"
        +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
        +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.sdf.org/inbox"
        +apDomain: "lemmy.sdf.org"
        +apPreferredUsername: "pneumapunk"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690017468 {#4057
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4055
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4062
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4051 …}
      +nested: Doctrine\ORM\PersistentCollection {#4049 …}
      +votes: Doctrine\ORM\PersistentCollection {#4047 …}
      +reports: Doctrine\ORM\PersistentCollection {#4045 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
      -id: 7574
      -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/592699"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688445126 {#3994
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689285254 {#4264
      date: 2023-07-13 23:54:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4267 …}
    +nested: Doctrine\ORM\PersistentCollection {#4269 …}
    +votes: Doctrine\ORM\PersistentCollection {#4271 …}
    +reports: Doctrine\ORM\PersistentCollection {#4273 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
    -id: 15130
    -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984889"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689285254 {#4265
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5319
  +subject: App\Entity\EntryComment {#4266
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4002
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4061
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
        +entries: Doctrine\ORM\PersistentCollection {#3996 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
        +posts: Doctrine\ORM\PersistentCollection {#3986 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
        +follows: Doctrine\ORM\PersistentCollection {#3972 …}
        +followers: Doctrine\ORM\PersistentCollection {#3970 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
        +reports: Doctrine\ORM\PersistentCollection {#4087 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
        +violations: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
        +awards: Doctrine\ORM\PersistentCollection {#4079 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
        +categories: Doctrine\ORM\PersistentCollection {#4109 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
        +apId: "pneumapunk@lemmy.sdf.org"
        +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
        +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.sdf.org/inbox"
        +apDomain: "lemmy.sdf.org"
        +apPreferredUsername: "pneumapunk"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690017468 {#4057
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4055
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4062
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4051 …}
      +nested: Doctrine\ORM\PersistentCollection {#4049 …}
      +votes: Doctrine\ORM\PersistentCollection {#4047 …}
      +reports: Doctrine\ORM\PersistentCollection {#4045 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
      -id: 7574
      -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/592699"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688445126 {#3994
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689285254 {#4264
      date: 2023-07-13 23:54:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4267 …}
    +nested: Doctrine\ORM\PersistentCollection {#4269 …}
    +votes: Doctrine\ORM\PersistentCollection {#4271 …}
    +reports: Doctrine\ORM\PersistentCollection {#4273 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
    -id: 15130
    -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984889"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689285254 {#4265
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.70 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4266
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4002
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4061
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
        +entries: Doctrine\ORM\PersistentCollection {#3996 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
        +posts: Doctrine\ORM\PersistentCollection {#3986 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
        +follows: Doctrine\ORM\PersistentCollection {#3972 …}
        +followers: Doctrine\ORM\PersistentCollection {#3970 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
        +reports: Doctrine\ORM\PersistentCollection {#4087 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
        +violations: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
        +awards: Doctrine\ORM\PersistentCollection {#4079 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
        +categories: Doctrine\ORM\PersistentCollection {#4109 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
        +apId: "pneumapunk@lemmy.sdf.org"
        +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
        +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.sdf.org/inbox"
        +apDomain: "lemmy.sdf.org"
        +apPreferredUsername: "pneumapunk"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690017468 {#4057
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4055
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4062
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4051 …}
      +nested: Doctrine\ORM\PersistentCollection {#4049 …}
      +votes: Doctrine\ORM\PersistentCollection {#4047 …}
      +reports: Doctrine\ORM\PersistentCollection {#4045 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
      -id: 7574
      -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/592699"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688445126 {#3994
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689285254 {#4264
      date: 2023-07-13 23:54:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4267 …}
    +nested: Doctrine\ORM\PersistentCollection {#4269 …}
    +votes: Doctrine\ORM\PersistentCollection {#4271 …}
    +reports: Doctrine\ORM\PersistentCollection {#4273 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
    -id: 15130
    -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984889"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689285254 {#4265
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5376
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4266
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4002
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4061
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
        +entries: Doctrine\ORM\PersistentCollection {#3996 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
        +posts: Doctrine\ORM\PersistentCollection {#3986 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
        +follows: Doctrine\ORM\PersistentCollection {#3972 …}
        +followers: Doctrine\ORM\PersistentCollection {#3970 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
        +reports: Doctrine\ORM\PersistentCollection {#4087 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
        +violations: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
        +awards: Doctrine\ORM\PersistentCollection {#4079 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
        +categories: Doctrine\ORM\PersistentCollection {#4109 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
        +apId: "pneumapunk@lemmy.sdf.org"
        +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
        +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.sdf.org/inbox"
        +apDomain: "lemmy.sdf.org"
        +apPreferredUsername: "pneumapunk"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690017468 {#4057
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4055
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4062
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4051 …}
      +nested: Doctrine\ORM\PersistentCollection {#4049 …}
      +votes: Doctrine\ORM\PersistentCollection {#4047 …}
      +reports: Doctrine\ORM\PersistentCollection {#4045 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
      -id: 7574
      -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/592699"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688445126 {#3994
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689285254 {#4264
      date: 2023-07-13 23:54:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4267 …}
    +nested: Doctrine\ORM\PersistentCollection {#4269 …}
    +votes: Doctrine\ORM\PersistentCollection {#4271 …}
    +reports: Doctrine\ORM\PersistentCollection {#4273 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
    -id: 15130
    -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984889"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689285254 {#4265
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 22.73 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4266
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4002
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4061
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
        +entries: Doctrine\ORM\PersistentCollection {#3996 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
        +posts: Doctrine\ORM\PersistentCollection {#3986 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
        +follows: Doctrine\ORM\PersistentCollection {#3972 …}
        +followers: Doctrine\ORM\PersistentCollection {#3970 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
        +reports: Doctrine\ORM\PersistentCollection {#4087 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
        +violations: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
        +awards: Doctrine\ORM\PersistentCollection {#4079 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
        +categories: Doctrine\ORM\PersistentCollection {#4109 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
        +apId: "pneumapunk@lemmy.sdf.org"
        +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
        +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.sdf.org/inbox"
        +apDomain: "lemmy.sdf.org"
        +apPreferredUsername: "pneumapunk"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690017468 {#4057
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4055
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4062
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4051 …}
      +nested: Doctrine\ORM\PersistentCollection {#4049 …}
      +votes: Doctrine\ORM\PersistentCollection {#4047 …}
      +reports: Doctrine\ORM\PersistentCollection {#4045 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
      -id: 7574
      -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/592699"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688445126 {#3994
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689285254 {#4264
      date: 2023-07-13 23:54:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4267 …}
    +nested: Doctrine\ORM\PersistentCollection {#4269 …}
    +votes: Doctrine\ORM\PersistentCollection {#4271 …}
    +reports: Doctrine\ORM\PersistentCollection {#4273 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
    -id: 15130
    -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984889"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689285254 {#4265
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5616
  +comment: App\Entity\EntryComment {#4266
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4053
      +user: App\Entity\User {#4002
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4061
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
        +entries: Doctrine\ORM\PersistentCollection {#3996 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
        +posts: Doctrine\ORM\PersistentCollection {#3986 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
        +follows: Doctrine\ORM\PersistentCollection {#3972 …}
        +followers: Doctrine\ORM\PersistentCollection {#3970 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
        +reports: Doctrine\ORM\PersistentCollection {#4087 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
        +violations: Doctrine\ORM\PersistentCollection {#4120 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
        +awards: Doctrine\ORM\PersistentCollection {#4079 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
        +categories: Doctrine\ORM\PersistentCollection {#4109 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
        +apId: "pneumapunk@lemmy.sdf.org"
        +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
        +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.sdf.org/inbox"
        +apDomain: "lemmy.sdf.org"
        +apPreferredUsername: "pneumapunk"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690017468 {#4057
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4055
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4062
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4051 …}
      +nested: Doctrine\ORM\PersistentCollection {#4049 …}
      +votes: Doctrine\ORM\PersistentCollection {#4047 …}
      +reports: Doctrine\ORM\PersistentCollection {#4045 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
      -id: 7574
      -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.sdf.org/comment/592699"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688445126 {#3994
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689285254 {#4264
      date: 2023-07-13 23:54:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4267 …}
    +nested: Doctrine\ORM\PersistentCollection {#4269 …}
    +votes: Doctrine\ORM\PersistentCollection {#4271 …}
    +reports: Doctrine\ORM\PersistentCollection {#4273 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
    -id: 15130
    -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984889"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689285254 {#4265
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 12.74 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4303
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4266
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4002}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4062
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4051 …}
        +nested: Doctrine\ORM\PersistentCollection {#4049 …}
        +votes: Doctrine\ORM\PersistentCollection {#4047 …}
        +reports: Doctrine\ORM\PersistentCollection {#4045 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
        -id: 7574
        -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/592699"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688445126 {#3994
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689285254 {#4264
        date: 2023-07-13 23:54:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@pneumapunk@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4267 …}
      +nested: Doctrine\ORM\PersistentCollection {#4269 …}
      +votes: Doctrine\ORM\PersistentCollection {#4271 …}
      +reports: Doctrine\ORM\PersistentCollection {#4273 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
      -id: 15130
      -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/984889"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689285254 {#4265
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "That makes sense, it forms a simple snubber network. A capacitor in series with a low-value resistor might work even better. Did you try a freewheeling diode directly across the valve leads?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689481805 {#4301
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4304 …}
    +nested: Doctrine\ORM\PersistentCollection {#4306 …}
    +votes: Doctrine\ORM\PersistentCollection {#4308 …}
    +reports: Doctrine\ORM\PersistentCollection {#4310 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4312 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4314 …}
    -id: 19326
    -bodyTs: "'across':31 'better':23 'capacitor':11 'diod':29 'direct':30 'even':22 'form':5 'freewheel':28 'lead':34 'low':17 'low-valu':16 'make':2 'might':20 'network':9 'resistor':19 'sens':3 'seri':13 'simpl':7 'snubber':8 'tri':26 'valu':18 'valv':33 'work':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/1071424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689481805 {#4302
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5671
  +comment: App\Entity\EntryComment {#4303
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4266
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4002}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4062
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4051 …}
        +nested: Doctrine\ORM\PersistentCollection {#4049 …}
        +votes: Doctrine\ORM\PersistentCollection {#4047 …}
        +reports: Doctrine\ORM\PersistentCollection {#4045 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
        -id: 7574
        -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/592699"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688445126 {#3994
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689285254 {#4264
        date: 2023-07-13 23:54:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@pneumapunk@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4267 …}
      +nested: Doctrine\ORM\PersistentCollection {#4269 …}
      +votes: Doctrine\ORM\PersistentCollection {#4271 …}
      +reports: Doctrine\ORM\PersistentCollection {#4273 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
      -id: 15130
      -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/984889"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689285254 {#4265
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "That makes sense, it forms a simple snubber network. A capacitor in series with a low-value resistor might work even better. Did you try a freewheeling diode directly across the valve leads?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689481805 {#4301
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4304 …}
    +nested: Doctrine\ORM\PersistentCollection {#4306 …}
    +votes: Doctrine\ORM\PersistentCollection {#4308 …}
    +reports: Doctrine\ORM\PersistentCollection {#4310 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4312 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4314 …}
    -id: 19326
    -bodyTs: "'across':31 'better':23 'capacitor':11 'diod':29 'direct':30 'even':22 'form':5 'freewheel':28 'lead':34 'low':17 'low-valu':16 'make':2 'might':20 'network':9 'resistor':19 'sens':3 'seri':13 'simpl':7 'snubber':8 'tri':26 'valu':18 'valv':33 'work':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/1071424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689481805 {#4302
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 3
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4002
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4061
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
    +entries: Doctrine\ORM\PersistentCollection {#3996 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
    +posts: Doctrine\ORM\PersistentCollection {#3986 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
    +follows: Doctrine\ORM\PersistentCollection {#3972 …}
    +followers: Doctrine\ORM\PersistentCollection {#3970 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
    +reports: Doctrine\ORM\PersistentCollection {#4087 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
    +violations: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
    +awards: Doctrine\ORM\PersistentCollection {#4079 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
    +categories: Doctrine\ORM\PersistentCollection {#4109 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
    +apId: "pneumapunk@lemmy.sdf.org"
    +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
    +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.sdf.org/inbox"
    +apDomain: "lemmy.sdf.org"
    +apPreferredUsername: "pneumapunk"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690017468 {#4057
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4055
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5716
  +user: App\Entity\User {#4002
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4061
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
    +entries: Doctrine\ORM\PersistentCollection {#3996 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
    +posts: Doctrine\ORM\PersistentCollection {#3986 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
    +follows: Doctrine\ORM\PersistentCollection {#3972 …}
    +followers: Doctrine\ORM\PersistentCollection {#3970 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
    +reports: Doctrine\ORM\PersistentCollection {#4087 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
    +violations: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
    +awards: Doctrine\ORM\PersistentCollection {#4079 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
    +categories: Doctrine\ORM\PersistentCollection {#4109 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
    +apId: "pneumapunk@lemmy.sdf.org"
    +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
    +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.sdf.org/inbox"
    +apDomain: "lemmy.sdf.org"
    +apPreferredUsername: "pneumapunk"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690017468 {#4057
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4055
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1689481805 {#4302
    date: 2023-07-16 06:30:05.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5771
  +date: DateTimeImmutable @1689481805 {#4302
    date: 2023-07-16 06:30:05.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1689481805 {#4302
    date: 2023-07-16 06:30:05.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5825
  +createdAt: DateTimeImmutable @1689481805 {#4302
    date: 2023-07-16 06:30:05.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 5.12 ms
Input props
[
  "user" => App\Entity\User {#4002
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4061
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
    +entries: Doctrine\ORM\PersistentCollection {#3996 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
    +posts: Doctrine\ORM\PersistentCollection {#3986 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
    +follows: Doctrine\ORM\PersistentCollection {#3972 …}
    +followers: Doctrine\ORM\PersistentCollection {#3970 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
    +reports: Doctrine\ORM\PersistentCollection {#4087 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
    +violations: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
    +awards: Doctrine\ORM\PersistentCollection {#4079 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
    +categories: Doctrine\ORM\PersistentCollection {#4109 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
    +apId: "pneumapunk@lemmy.sdf.org"
    +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
    +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.sdf.org/inbox"
    +apDomain: "lemmy.sdf.org"
    +apPreferredUsername: "pneumapunk"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690017468 {#4057
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4055
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5879
  +width: 40
  +height: 40
  +user: App\Entity\User {#4002
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4061
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
    +entries: Doctrine\ORM\PersistentCollection {#3996 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
    +posts: Doctrine\ORM\PersistentCollection {#3986 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
    +follows: Doctrine\ORM\PersistentCollection {#3972 …}
    +followers: Doctrine\ORM\PersistentCollection {#3970 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
    +reports: Doctrine\ORM\PersistentCollection {#4087 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
    +violations: Doctrine\ORM\PersistentCollection {#4120 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
    +awards: Doctrine\ORM\PersistentCollection {#4079 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
    +categories: Doctrine\ORM\PersistentCollection {#4109 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
    +apId: "pneumapunk@lemmy.sdf.org"
    +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
    +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.sdf.org/inbox"
    +apDomain: "lemmy.sdf.org"
    +apPreferredUsername: "pneumapunk"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690017468 {#4057
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4055
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.50 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4303
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4266
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4002}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4062
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4051 …}
        +nested: Doctrine\ORM\PersistentCollection {#4049 …}
        +votes: Doctrine\ORM\PersistentCollection {#4047 …}
        +reports: Doctrine\ORM\PersistentCollection {#4045 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
        -id: 7574
        -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/592699"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688445126 {#3994
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689285254 {#4264
        date: 2023-07-13 23:54:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@pneumapunk@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4267 …}
      +nested: Doctrine\ORM\PersistentCollection {#4269 …}
      +votes: Doctrine\ORM\PersistentCollection {#4271 …}
      +reports: Doctrine\ORM\PersistentCollection {#4273 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
      -id: 15130
      -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/984889"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689285254 {#4265
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "That makes sense, it forms a simple snubber network. A capacitor in series with a low-value resistor might work even better. Did you try a freewheeling diode directly across the valve leads?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689481805 {#4301
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4304 …}
    +nested: Doctrine\ORM\PersistentCollection {#4306 …}
    +votes: Doctrine\ORM\PersistentCollection {#4308 …}
    +reports: Doctrine\ORM\PersistentCollection {#4310 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4312 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4314 …}
    -id: 19326
    -bodyTs: "'across':31 'better':23 'capacitor':11 'diod':29 'direct':30 'even':22 'form':5 'freewheel':28 'lead':34 'low':17 'low-valu':16 'make':2 'might':20 'network':9 'resistor':19 'sens':3 'seri':13 'simpl':7 'snubber':8 'tri':26 'valu':18 'valv':33 'work':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/1071424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689481805 {#4302
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5948
  +subject: App\Entity\EntryComment {#4303
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4266
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4002}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4062
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4051 …}
        +nested: Doctrine\ORM\PersistentCollection {#4049 …}
        +votes: Doctrine\ORM\PersistentCollection {#4047 …}
        +reports: Doctrine\ORM\PersistentCollection {#4045 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
        -id: 7574
        -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/592699"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688445126 {#3994
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689285254 {#4264
        date: 2023-07-13 23:54:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@pneumapunk@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4267 …}
      +nested: Doctrine\ORM\PersistentCollection {#4269 …}
      +votes: Doctrine\ORM\PersistentCollection {#4271 …}
      +reports: Doctrine\ORM\PersistentCollection {#4273 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
      -id: 15130
      -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/984889"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689285254 {#4265
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "That makes sense, it forms a simple snubber network. A capacitor in series with a low-value resistor might work even better. Did you try a freewheeling diode directly across the valve leads?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689481805 {#4301
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4304 …}
    +nested: Doctrine\ORM\PersistentCollection {#4306 …}
    +votes: Doctrine\ORM\PersistentCollection {#4308 …}
    +reports: Doctrine\ORM\PersistentCollection {#4310 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4312 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4314 …}
    -id: 19326
    -bodyTs: "'across':31 'better':23 'capacitor':11 'diod':29 'direct':30 'even':22 'form':5 'freewheel':28 'lead':34 'low':17 'low-valu':16 'make':2 'might':20 'network':9 'resistor':19 'sens':3 'seri':13 'simpl':7 'snubber':8 'tri':26 'valu':18 'valv':33 'work':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/1071424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689481805 {#4302
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 1.33 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4303
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4266
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4002}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4062
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4051 …}
        +nested: Doctrine\ORM\PersistentCollection {#4049 …}
        +votes: Doctrine\ORM\PersistentCollection {#4047 …}
        +reports: Doctrine\ORM\PersistentCollection {#4045 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
        -id: 7574
        -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/592699"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688445126 {#3994
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689285254 {#4264
        date: 2023-07-13 23:54:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@pneumapunk@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4267 …}
      +nested: Doctrine\ORM\PersistentCollection {#4269 …}
      +votes: Doctrine\ORM\PersistentCollection {#4271 …}
      +reports: Doctrine\ORM\PersistentCollection {#4273 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
      -id: 15130
      -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/984889"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689285254 {#4265
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "That makes sense, it forms a simple snubber network. A capacitor in series with a low-value resistor might work even better. Did you try a freewheeling diode directly across the valve leads?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689481805 {#4301
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4304 …}
    +nested: Doctrine\ORM\PersistentCollection {#4306 …}
    +votes: Doctrine\ORM\PersistentCollection {#4308 …}
    +reports: Doctrine\ORM\PersistentCollection {#4310 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4312 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4314 …}
    -id: 19326
    -bodyTs: "'across':31 'better':23 'capacitor':11 'diod':29 'direct':30 'even':22 'form':5 'freewheel':28 'lead':34 'low':17 'low-valu':16 'make':2 'might':20 'network':9 'resistor':19 'sens':3 'seri':13 'simpl':7 'snubber':8 'tri':26 'valu':18 'valv':33 'work':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/1071424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689481805 {#4302
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6005
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4303
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4266
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4002}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4062
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4051 …}
        +nested: Doctrine\ORM\PersistentCollection {#4049 …}
        +votes: Doctrine\ORM\PersistentCollection {#4047 …}
        +reports: Doctrine\ORM\PersistentCollection {#4045 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
        -id: 7574
        -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/592699"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688445126 {#3994
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689285254 {#4264
        date: 2023-07-13 23:54:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@pneumapunk@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4267 …}
      +nested: Doctrine\ORM\PersistentCollection {#4269 …}
      +votes: Doctrine\ORM\PersistentCollection {#4271 …}
      +reports: Doctrine\ORM\PersistentCollection {#4273 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
      -id: 15130
      -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/984889"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689285254 {#4265
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "That makes sense, it forms a simple snubber network. A capacitor in series with a low-value resistor might work even better. Did you try a freewheeling diode directly across the valve leads?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689481805 {#4301
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4304 …}
    +nested: Doctrine\ORM\PersistentCollection {#4306 …}
    +votes: Doctrine\ORM\PersistentCollection {#4308 …}
    +reports: Doctrine\ORM\PersistentCollection {#4310 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4312 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4314 …}
    -id: 19326
    -bodyTs: "'across':31 'better':23 'capacitor':11 'diod':29 'direct':30 'even':22 'form':5 'freewheel':28 'lead':34 'low':17 'low-valu':16 'make':2 'might':20 'network':9 'resistor':19 'sens':3 'seri':13 'simpl':7 'snubber':8 'tri':26 'valu':18 'valv':33 'work':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/1071424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689481805 {#4302
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 0.32 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4303
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4266
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4002}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4062
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4051 …}
        +nested: Doctrine\ORM\PersistentCollection {#4049 …}
        +votes: Doctrine\ORM\PersistentCollection {#4047 …}
        +reports: Doctrine\ORM\PersistentCollection {#4045 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
        -id: 7574
        -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/592699"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688445126 {#3994
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689285254 {#4264
        date: 2023-07-13 23:54:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@pneumapunk@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4267 …}
      +nested: Doctrine\ORM\PersistentCollection {#4269 …}
      +votes: Doctrine\ORM\PersistentCollection {#4271 …}
      +reports: Doctrine\ORM\PersistentCollection {#4273 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
      -id: 15130
      -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/984889"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689285254 {#4265
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "That makes sense, it forms a simple snubber network. A capacitor in series with a low-value resistor might work even better. Did you try a freewheeling diode directly across the valve leads?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689481805 {#4301
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4304 …}
    +nested: Doctrine\ORM\PersistentCollection {#4306 …}
    +votes: Doctrine\ORM\PersistentCollection {#4308 …}
    +reports: Doctrine\ORM\PersistentCollection {#4310 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4312 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4314 …}
    -id: 19326
    -bodyTs: "'across':31 'better':23 'capacitor':11 'diod':29 'direct':30 'even':22 'form':5 'freewheel':28 'lead':34 'low':17 'low-valu':16 'make':2 'might':20 'network':9 'resistor':19 'sens':3 'seri':13 'simpl':7 'snubber':8 'tri':26 'valu':18 'valv':33 'work':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/1071424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689481805 {#4302
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6245
  +comment: App\Entity\EntryComment {#4303
    +user: App\Entity\User {#4002
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4061
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4003 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4005 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3998 …}
      +entries: Doctrine\ORM\PersistentCollection {#3996 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3993 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3991 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3989 …}
      +posts: Doctrine\ORM\PersistentCollection {#3986 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3984 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3981 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3979 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3977 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3974 …}
      +follows: Doctrine\ORM\PersistentCollection {#3972 …}
      +followers: Doctrine\ORM\PersistentCollection {#3970 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4119 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4114 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4108 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4098 …}
      +reports: Doctrine\ORM\PersistentCollection {#4087 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4060 …}
      +violations: Doctrine\ORM\PersistentCollection {#4120 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4116 …}
      +awards: Doctrine\ORM\PersistentCollection {#4079 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4106 …}
      +categories: Doctrine\ORM\PersistentCollection {#4109 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4107 …}
      +apId: "pneumapunk@lemmy.sdf.org"
      +apProfileId: "https://lemmy.sdf.org/u/pneumapunk"
      +apPublicUrl: "https://lemmy.sdf.org/u/pneumapunk"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.sdf.org/inbox"
      +apDomain: "lemmy.sdf.org"
      +apPreferredUsername: "pneumapunk"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690017468 {#4057
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4055
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4266
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4053
        +user: App\Entity\User {#4002}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4062
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4051 …}
        +nested: Doctrine\ORM\PersistentCollection {#4049 …}
        +votes: Doctrine\ORM\PersistentCollection {#4047 …}
        +reports: Doctrine\ORM\PersistentCollection {#4045 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4013 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4017 …}
        -id: 7574
        -bodyTs: "'-10':230 '0.1':193 '1':229 '24dc':19,92 '24vdc':210 'across':130 'add':118 'adequ':66 'also':172 'anyway':113 'arc':183 'area':147 'assum':61 'back':89 'board':47 'breadboard':191 'bus':213 'cap':188,207 'close':138 'coil':41,134,155 'connect':23 'contact':179 'coupl':83 'd':117 'deal':226 'decoupl':187,206 'diod':164 'doesn':224 'driver':55 'eat':219 'flip':7 'form':151 'forward':98 'freewheel/clamping':163 'happi':204 'help':167 'ideal':136 'implaus':112 'impress':109 'improv':173 'induct':36,74 'interest':3 'isn':21,32 'job':69 'keep':201 'kick':37,75 'larger':205 'left':216 'let':59 'lifespan':175 'like':12,44 'littl':185 'logic':203 'long':16 'look':43 'loop':150 'lot':169 'main':122 'mayb':228 'minim':145 'need':125 'network':129 'outlet':96 'physic':137 'place':115 'power':197 'presum':31,54 'probabl':166,182 'problem':30 'rail':199,211 'regist':106 'relay':9,40,46,178 'say':192 'shift':105 'simpl':160 'small':186 'snubber':57,128,157,223 'solenoid':79,133 'someth':158 'stuff':49,120 'suppli':20,93,102,198 'thing':123 'three':114 'transient':221 'troubl':14 'true':27 'typic':35 'usb':101 'valv':78,132,141,154 'want':143 'way':86 'wire':156 'without':13 'would':165 'µf':194,231"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.sdf.org/comment/592699"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688445126 {#3994
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4053}
      +body: "Thanks for your thoughtful response… and sorry it took so long to get back to you. I tried different combinations of capacitors, a diode on the load lines, etc… nothing worked. And then I put a 0.1uF capacitor directly between the power leads on the valve itself… and everything started working fine. Admittedly, I’m not 100% sure why… but I won’t complain :)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689285254 {#4264
        date: 2023-07-13 23:54:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@pneumapunk@lemmy.sdf.org"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4267 …}
      +nested: Doctrine\ORM\PersistentCollection {#4269 …}
      +votes: Doctrine\ORM\PersistentCollection {#4271 …}
      +reports: Doctrine\ORM\PersistentCollection {#4273 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4275 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4277 …}
      -id: 15130
      -bodyTs: "'0.1':37 '100':58 'admit':54 'back':14 'capacitor':22,39 'combin':20 'complain':65 'differ':19 'diod':24 'direct':40 'etc':29 'everyth':50 'fine':53 'get':13 'lead':44 'line':28 'load':27 'long':11 'm':56 'noth':30 'power':43 'put':35 'respons':5 'sorri':7 'start':51 'sure':59 'thank':1 'thought':4 'took':9 'tri':18 'uf':38 'valv':47 'won':63 'work':31,52"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/984889"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689285254 {#4265
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4053}
    +body: "That makes sense, it forms a simple snubber network. A capacitor in series with a low-value resistor might work even better. Did you try a freewheeling diode directly across the valve leads?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689481805 {#4301
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@pneumapunk@lemmy.sdf.org"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4304 …}
    +nested: Doctrine\ORM\PersistentCollection {#4306 …}
    +votes: Doctrine\ORM\PersistentCollection {#4308 …}
    +reports: Doctrine\ORM\PersistentCollection {#4310 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4312 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4314 …}
    -id: 19326
    -bodyTs: "'across':31 'better':23 'capacitor':11 'diod':29 'direct':30 'even':22 'form':5 'freewheel':28 'lead':34 'low':17 'low-valu':16 'make':2 'might':20 'network':9 'resistor':19 'sens':3 'seri':13 'simpl':7 'snubber':8 'tri':26 'valu':18 'valv':33 'work':21"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.sdf.org/comment/1071424"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689481805 {#4302
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
  +nestedComments: []
  +level: 3
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 85.65 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4099
    +user: App\Entity\User {#4083
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4104
        date: 2023-07-29 18:31:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
      +entries: Doctrine\ORM\PersistentCollection {#4073 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +posts: Doctrine\ORM\PersistentCollection {#4065 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
      +follows: Doctrine\ORM\PersistentCollection {#4133 …}
      +followers: Doctrine\ORM\PersistentCollection {#4135 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
      +reports: Doctrine\ORM\PersistentCollection {#4145 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
      +awards: Doctrine\ORM\PersistentCollection {#4153 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
      +categories: Doctrine\ORM\PersistentCollection {#4157 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
      +apId: "grasib@lemmy.world"
      +apProfileId: "https://lemmy.world/u/grasib"
      +apPublicUrl: "https://lemmy.world/u/grasib"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "grasib"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690648229 {#4101
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4097
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4105
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4091 …}
    +nested: Doctrine\ORM\PersistentCollection {#4094 …}
    +votes: Doctrine\ORM\PersistentCollection {#4092 …}
    +reports: Doctrine\ORM\PersistentCollection {#4090 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 7500
    -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/786477"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688421809 {#4103
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6332
  +comment: App\Entity\EntryComment {#4099
    +user: App\Entity\User {#4083
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4104
        date: 2023-07-29 18:31:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
      +entries: Doctrine\ORM\PersistentCollection {#4073 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +posts: Doctrine\ORM\PersistentCollection {#4065 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
      +follows: Doctrine\ORM\PersistentCollection {#4133 …}
      +followers: Doctrine\ORM\PersistentCollection {#4135 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
      +reports: Doctrine\ORM\PersistentCollection {#4145 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
      +awards: Doctrine\ORM\PersistentCollection {#4153 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
      +categories: Doctrine\ORM\PersistentCollection {#4157 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
      +apId: "grasib@lemmy.world"
      +apProfileId: "https://lemmy.world/u/grasib"
      +apPublicUrl: "https://lemmy.world/u/grasib"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "grasib"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690648229 {#4101
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4097
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4105
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4091 …}
    +nested: Doctrine\ORM\PersistentCollection {#4094 …}
    +votes: Doctrine\ORM\PersistentCollection {#4092 …}
    +reports: Doctrine\ORM\PersistentCollection {#4090 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 7500
    -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/786477"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688421809 {#4103
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4083
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4104
      date: 2023-07-29 18:31:28.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
    +entries: Doctrine\ORM\PersistentCollection {#4073 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
    +posts: Doctrine\ORM\PersistentCollection {#4065 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
    +follows: Doctrine\ORM\PersistentCollection {#4133 …}
    +followers: Doctrine\ORM\PersistentCollection {#4135 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
    +awards: Doctrine\ORM\PersistentCollection {#4153 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
    +categories: Doctrine\ORM\PersistentCollection {#4157 …}
    -id: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
    +apId: "grasib@lemmy.world"
    +apProfileId: "https://lemmy.world/u/grasib"
    +apPublicUrl: "https://lemmy.world/u/grasib"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "grasib"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690648229 {#4101
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4097
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6377
  +user: App\Entity\User {#4083
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4104
      date: 2023-07-29 18:31:28.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
    +entries: Doctrine\ORM\PersistentCollection {#4073 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
    +posts: Doctrine\ORM\PersistentCollection {#4065 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
    +follows: Doctrine\ORM\PersistentCollection {#4133 …}
    +followers: Doctrine\ORM\PersistentCollection {#4135 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
    +awards: Doctrine\ORM\PersistentCollection {#4153 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
    +categories: Doctrine\ORM\PersistentCollection {#4157 …}
    -id: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
    +apId: "grasib@lemmy.world"
    +apProfileId: "https://lemmy.world/u/grasib"
    +apPublicUrl: "https://lemmy.world/u/grasib"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "grasib"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690648229 {#4101
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4097
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1688421809 {#4103
    date: 2023-07-04 00:03:29.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6432
  +date: DateTimeImmutable @1688421809 {#4103
    date: 2023-07-04 00:03:29.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688421809 {#4103
    date: 2023-07-04 00:03:29.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6486
  +createdAt: DateTimeImmutable @1688421809 {#4103
    date: 2023-07-04 00:03:29.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4083
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4104
      date: 2023-07-29 18:31:28.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
    +entries: Doctrine\ORM\PersistentCollection {#4073 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
    +posts: Doctrine\ORM\PersistentCollection {#4065 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
    +follows: Doctrine\ORM\PersistentCollection {#4133 …}
    +followers: Doctrine\ORM\PersistentCollection {#4135 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
    +awards: Doctrine\ORM\PersistentCollection {#4153 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
    +categories: Doctrine\ORM\PersistentCollection {#4157 …}
    -id: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
    +apId: "grasib@lemmy.world"
    +apProfileId: "https://lemmy.world/u/grasib"
    +apPublicUrl: "https://lemmy.world/u/grasib"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "grasib"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690648229 {#4101
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4097
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6540
  +width: 40
  +height: 40
  +user: App\Entity\User {#4083
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4104
      date: 2023-07-29 18:31:28.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
    +entries: Doctrine\ORM\PersistentCollection {#4073 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
    +posts: Doctrine\ORM\PersistentCollection {#4065 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
    +follows: Doctrine\ORM\PersistentCollection {#4133 …}
    +followers: Doctrine\ORM\PersistentCollection {#4135 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
    +reports: Doctrine\ORM\PersistentCollection {#4145 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
    +violations: Doctrine\ORM\PersistentCollection {#4149 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
    +awards: Doctrine\ORM\PersistentCollection {#4153 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
    +categories: Doctrine\ORM\PersistentCollection {#4157 …}
    -id: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
    +apId: "grasib@lemmy.world"
    +apProfileId: "https://lemmy.world/u/grasib"
    +apPublicUrl: "https://lemmy.world/u/grasib"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "grasib"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690648229 {#4101
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4097
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.35 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4099
    +user: App\Entity\User {#4083
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4104
        date: 2023-07-29 18:31:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
      +entries: Doctrine\ORM\PersistentCollection {#4073 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +posts: Doctrine\ORM\PersistentCollection {#4065 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
      +follows: Doctrine\ORM\PersistentCollection {#4133 …}
      +followers: Doctrine\ORM\PersistentCollection {#4135 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
      +reports: Doctrine\ORM\PersistentCollection {#4145 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
      +awards: Doctrine\ORM\PersistentCollection {#4153 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
      +categories: Doctrine\ORM\PersistentCollection {#4157 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
      +apId: "grasib@lemmy.world"
      +apProfileId: "https://lemmy.world/u/grasib"
      +apPublicUrl: "https://lemmy.world/u/grasib"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "grasib"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690648229 {#4101
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4097
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4105
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4091 …}
    +nested: Doctrine\ORM\PersistentCollection {#4094 …}
    +votes: Doctrine\ORM\PersistentCollection {#4092 …}
    +reports: Doctrine\ORM\PersistentCollection {#4090 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 7500
    -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/786477"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688421809 {#4103
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6621
  +subject: App\Entity\EntryComment {#4099
    +user: App\Entity\User {#4083
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4104
        date: 2023-07-29 18:31:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
      +entries: Doctrine\ORM\PersistentCollection {#4073 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +posts: Doctrine\ORM\PersistentCollection {#4065 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
      +follows: Doctrine\ORM\PersistentCollection {#4133 …}
      +followers: Doctrine\ORM\PersistentCollection {#4135 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
      +reports: Doctrine\ORM\PersistentCollection {#4145 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
      +awards: Doctrine\ORM\PersistentCollection {#4153 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
      +categories: Doctrine\ORM\PersistentCollection {#4157 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
      +apId: "grasib@lemmy.world"
      +apProfileId: "https://lemmy.world/u/grasib"
      +apPublicUrl: "https://lemmy.world/u/grasib"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "grasib"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690648229 {#4101
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4097
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4105
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4091 …}
    +nested: Doctrine\ORM\PersistentCollection {#4094 …}
    +votes: Doctrine\ORM\PersistentCollection {#4092 …}
    +reports: Doctrine\ORM\PersistentCollection {#4090 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 7500
    -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/786477"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688421809 {#4103
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.65 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4099
    +user: App\Entity\User {#4083
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4104
        date: 2023-07-29 18:31:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
      +entries: Doctrine\ORM\PersistentCollection {#4073 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +posts: Doctrine\ORM\PersistentCollection {#4065 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
      +follows: Doctrine\ORM\PersistentCollection {#4133 …}
      +followers: Doctrine\ORM\PersistentCollection {#4135 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
      +reports: Doctrine\ORM\PersistentCollection {#4145 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
      +awards: Doctrine\ORM\PersistentCollection {#4153 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
      +categories: Doctrine\ORM\PersistentCollection {#4157 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
      +apId: "grasib@lemmy.world"
      +apProfileId: "https://lemmy.world/u/grasib"
      +apPublicUrl: "https://lemmy.world/u/grasib"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "grasib"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690648229 {#4101
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4097
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4105
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4091 …}
    +nested: Doctrine\ORM\PersistentCollection {#4094 …}
    +votes: Doctrine\ORM\PersistentCollection {#4092 …}
    +reports: Doctrine\ORM\PersistentCollection {#4090 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 7500
    -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/786477"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688421809 {#4103
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6678
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4099
    +user: App\Entity\User {#4083
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4104
        date: 2023-07-29 18:31:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
      +entries: Doctrine\ORM\PersistentCollection {#4073 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +posts: Doctrine\ORM\PersistentCollection {#4065 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
      +follows: Doctrine\ORM\PersistentCollection {#4133 …}
      +followers: Doctrine\ORM\PersistentCollection {#4135 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
      +reports: Doctrine\ORM\PersistentCollection {#4145 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
      +awards: Doctrine\ORM\PersistentCollection {#4153 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
      +categories: Doctrine\ORM\PersistentCollection {#4157 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
      +apId: "grasib@lemmy.world"
      +apProfileId: "https://lemmy.world/u/grasib"
      +apPublicUrl: "https://lemmy.world/u/grasib"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "grasib"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690648229 {#4101
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4097
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4105
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4091 …}
    +nested: Doctrine\ORM\PersistentCollection {#4094 …}
    +votes: Doctrine\ORM\PersistentCollection {#4092 …}
    +reports: Doctrine\ORM\PersistentCollection {#4090 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 7500
    -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/786477"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688421809 {#4103
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 76.40 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4099
    +user: App\Entity\User {#4083
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4104
        date: 2023-07-29 18:31:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
      +entries: Doctrine\ORM\PersistentCollection {#4073 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +posts: Doctrine\ORM\PersistentCollection {#4065 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
      +follows: Doctrine\ORM\PersistentCollection {#4133 …}
      +followers: Doctrine\ORM\PersistentCollection {#4135 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
      +reports: Doctrine\ORM\PersistentCollection {#4145 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
      +awards: Doctrine\ORM\PersistentCollection {#4153 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
      +categories: Doctrine\ORM\PersistentCollection {#4157 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
      +apId: "grasib@lemmy.world"
      +apProfileId: "https://lemmy.world/u/grasib"
      +apPublicUrl: "https://lemmy.world/u/grasib"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "grasib"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690648229 {#4101
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4097
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4105
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4091 …}
    +nested: Doctrine\ORM\PersistentCollection {#4094 …}
    +votes: Doctrine\ORM\PersistentCollection {#4092 …}
    +reports: Doctrine\ORM\PersistentCollection {#4090 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 7500
    -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/786477"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688421809 {#4103
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6918
  +comment: App\Entity\EntryComment {#4099
    +user: App\Entity\User {#4083
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4104
        date: 2023-07-29 18:31:28.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
      +entries: Doctrine\ORM\PersistentCollection {#4073 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +posts: Doctrine\ORM\PersistentCollection {#4065 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
      +follows: Doctrine\ORM\PersistentCollection {#4133 …}
      +followers: Doctrine\ORM\PersistentCollection {#4135 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
      +reports: Doctrine\ORM\PersistentCollection {#4145 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
      +violations: Doctrine\ORM\PersistentCollection {#4149 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
      +awards: Doctrine\ORM\PersistentCollection {#4153 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
      +categories: Doctrine\ORM\PersistentCollection {#4157 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
      +apId: "grasib@lemmy.world"
      +apProfileId: "https://lemmy.world/u/grasib"
      +apPublicUrl: "https://lemmy.world/u/grasib"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.world/inbox"
      +apDomain: "lemmy.world"
      +apPreferredUsername: "grasib"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1690648229 {#4101
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4097
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4105
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4091 …}
    +nested: Doctrine\ORM\PersistentCollection {#4094 …}
    +votes: Doctrine\ORM\PersistentCollection {#4092 …}
    +reports: Doctrine\ORM\PersistentCollection {#4090 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
    -id: 7500
    -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/786477"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688421809 {#4103
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  +nestedComments: [
    15116 => App\Entity\EntryComment {#4251
      +user: Proxies\__CG__\App\Entity\User {#4248
        +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
        +cover: null
        +email: "Max_P@lemmy.max-p.me"
        +username: "@Max_P@lemmy.max-p.me"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Just some Internet guy\n
          \n
          He/him/them 🏳️\u{200D}🌈\n
          \n
          - IRC: Max-P on [libera.chat](https://libera.chat)\n
          - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
          """
        +lastActive: DateTime @1729541931 {#7063
          date: 2024-10-21 22:18:51.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
        +entries: Doctrine\ORM\PersistentCollection {#7076 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
        +posts: Doctrine\ORM\PersistentCollection {#7084 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
        +follows: Doctrine\ORM\PersistentCollection {#7096 …}
        +followers: Doctrine\ORM\PersistentCollection {#7098 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
        +reports: Doctrine\ORM\PersistentCollection {#7108 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
        +violations: Doctrine\ORM\PersistentCollection {#7112 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
        +awards: Doctrine\ORM\PersistentCollection {#7116 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
        +categories: Doctrine\ORM\PersistentCollection {#7120 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
        +apId: "Max_P@lemmy.max-p.me"
        +apProfileId: "https://lemmy.max-p.me/u/Max_P"
        +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.max-p.me/inbox"
        +apDomain: "lemmy.max-p.me"
        +apPreferredUsername: "Max_P"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727615060 {#7060
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7062
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4099}
      +root: App\Entity\EntryComment {#4099}
      +body: """
        Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
        \n
        Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688426966 {#4252
        date: 2023-07-04 01:29:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4245 …}
      +nested: Doctrine\ORM\PersistentCollection {#4243 …}
      +votes: Doctrine\ORM\PersistentCollection {#4247 …}
      +reports: Doctrine\ORM\PersistentCollection {#4258 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 15116
      -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.max-p.me/comment/41613"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688426966 {#4255
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    15117 => App\Entity\EntryComment {#4280
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4251}
      +root: App\Entity\EntryComment {#4099}
      +body: "Thanks so much! It turns out that the relay (8x) module I’m using - <https://www.amazon.com/gp/product/B00LX3UH9C> - has isolated relays… but I’ll try a diode, too."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1689284437 {#4285
        date: 2023-07-13 23:40:37.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@grasib@lemmy.world"
        "@Max_P@lemmy.max-p.me"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4288 …}
      +nested: Doctrine\ORM\PersistentCollection {#4292 …}
      +votes: Doctrine\ORM\PersistentCollection {#4294 …}
      +reports: Doctrine\ORM\PersistentCollection {#4295 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4297 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4299 …}
      -id: 15117
      -bodyTs: "'/gp/product/b00lx3uh9c':17 '8x':10 'diod':26 'isol':19 'll':23 'm':13 'modul':11 'much':3 'relay':9,20 'thank':1 'tri':24 'turn':5 'use':14 'www.amazon.com':16 'www.amazon.com/gp/product/b00lx3uh9c':15"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/984467"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689284437 {#4282
        date: 2023-07-13 23:40:37.0 +02:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 59.78 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4251
    +user: Proxies\__CG__\App\Entity\User {#4248
      +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
      +cover: null
      +email: "Max_P@lemmy.max-p.me"
      +username: "@Max_P@lemmy.max-p.me"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Just some Internet guy\n
        \n
        He/him/them 🏳️\u{200D}🌈\n
        \n
        - IRC: Max-P on [libera.chat](https://libera.chat)\n
        - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
        """
      +lastActive: DateTime @1729541931 {#7063
        date: 2024-10-21 22:18:51.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
      +entries: Doctrine\ORM\PersistentCollection {#7076 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
      +posts: Doctrine\ORM\PersistentCollection {#7084 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
      +follows: Doctrine\ORM\PersistentCollection {#7096 …}
      +followers: Doctrine\ORM\PersistentCollection {#7098 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
      +reports: Doctrine\ORM\PersistentCollection {#7108 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
      +violations: Doctrine\ORM\PersistentCollection {#7112 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
      +awards: Doctrine\ORM\PersistentCollection {#7116 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
      +categories: Doctrine\ORM\PersistentCollection {#7120 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
      +apId: "Max_P@lemmy.max-p.me"
      +apProfileId: "https://lemmy.max-p.me/u/Max_P"
      +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.max-p.me/inbox"
      +apDomain: "lemmy.max-p.me"
      +apPreferredUsername: "Max_P"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727615060 {#7060
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7062
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4099
      +user: App\Entity\User {#4083
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4104
          date: 2023-07-29 18:31:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
        +entries: Doctrine\ORM\PersistentCollection {#4073 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +posts: Doctrine\ORM\PersistentCollection {#4065 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
        +follows: Doctrine\ORM\PersistentCollection {#4133 …}
        +followers: Doctrine\ORM\PersistentCollection {#4135 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
        +reports: Doctrine\ORM\PersistentCollection {#4145 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
        +awards: Doctrine\ORM\PersistentCollection {#4153 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
        +categories: Doctrine\ORM\PersistentCollection {#4157 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
        +apId: "grasib@lemmy.world"
        +apProfileId: "https://lemmy.world/u/grasib"
        +apPublicUrl: "https://lemmy.world/u/grasib"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "grasib"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690648229 {#4101
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4097
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4105
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4091 …}
      +nested: Doctrine\ORM\PersistentCollection {#4094 …}
      +votes: Doctrine\ORM\PersistentCollection {#4092 …}
      +reports: Doctrine\ORM\PersistentCollection {#4090 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 7500
      -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/786477"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688421809 {#4103
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: """
      Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
      \n
      Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688426966 {#4252
      date: 2023-07-04 01:29:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4245 …}
    +nested: Doctrine\ORM\PersistentCollection {#4243 …}
    +votes: Doctrine\ORM\PersistentCollection {#4247 …}
    +reports: Doctrine\ORM\PersistentCollection {#4258 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 15116
    -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.max-p.me/comment/41613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688426966 {#4255
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6978
  +comment: App\Entity\EntryComment {#4251
    +user: Proxies\__CG__\App\Entity\User {#4248
      +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
      +cover: null
      +email: "Max_P@lemmy.max-p.me"
      +username: "@Max_P@lemmy.max-p.me"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Just some Internet guy\n
        \n
        He/him/them 🏳️\u{200D}🌈\n
        \n
        - IRC: Max-P on [libera.chat](https://libera.chat)\n
        - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
        """
      +lastActive: DateTime @1729541931 {#7063
        date: 2024-10-21 22:18:51.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
      +entries: Doctrine\ORM\PersistentCollection {#7076 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
      +posts: Doctrine\ORM\PersistentCollection {#7084 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
      +follows: Doctrine\ORM\PersistentCollection {#7096 …}
      +followers: Doctrine\ORM\PersistentCollection {#7098 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
      +reports: Doctrine\ORM\PersistentCollection {#7108 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
      +violations: Doctrine\ORM\PersistentCollection {#7112 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
      +awards: Doctrine\ORM\PersistentCollection {#7116 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
      +categories: Doctrine\ORM\PersistentCollection {#7120 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
      +apId: "Max_P@lemmy.max-p.me"
      +apProfileId: "https://lemmy.max-p.me/u/Max_P"
      +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.max-p.me/inbox"
      +apDomain: "lemmy.max-p.me"
      +apPreferredUsername: "Max_P"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727615060 {#7060
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7062
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4099
      +user: App\Entity\User {#4083
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4104
          date: 2023-07-29 18:31:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
        +entries: Doctrine\ORM\PersistentCollection {#4073 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +posts: Doctrine\ORM\PersistentCollection {#4065 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
        +follows: Doctrine\ORM\PersistentCollection {#4133 …}
        +followers: Doctrine\ORM\PersistentCollection {#4135 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
        +reports: Doctrine\ORM\PersistentCollection {#4145 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
        +awards: Doctrine\ORM\PersistentCollection {#4153 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
        +categories: Doctrine\ORM\PersistentCollection {#4157 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
        +apId: "grasib@lemmy.world"
        +apProfileId: "https://lemmy.world/u/grasib"
        +apPublicUrl: "https://lemmy.world/u/grasib"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "grasib"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690648229 {#4101
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4097
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4105
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4091 …}
      +nested: Doctrine\ORM\PersistentCollection {#4094 …}
      +votes: Doctrine\ORM\PersistentCollection {#4092 …}
      +reports: Doctrine\ORM\PersistentCollection {#4090 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 7500
      -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/786477"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688421809 {#4103
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: """
      Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
      \n
      Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688426966 {#4252
      date: 2023-07-04 01:29:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4245 …}
    +nested: Doctrine\ORM\PersistentCollection {#4243 …}
    +votes: Doctrine\ORM\PersistentCollection {#4247 …}
    +reports: Doctrine\ORM\PersistentCollection {#4258 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 15116
    -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.max-p.me/comment/41613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688426966 {#4255
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 2
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 4.13 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#4248
    +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
    +cover: null
    +email: "Max_P@lemmy.max-p.me"
    +username: "@Max_P@lemmy.max-p.me"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Just some Internet guy\n
      \n
      He/him/them 🏳️\u{200D}🌈\n
      \n
      - IRC: Max-P on [libera.chat](https://libera.chat)\n
      - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
      """
    +lastActive: DateTime @1729541931 {#7063
      date: 2024-10-21 22:18:51.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
    +entries: Doctrine\ORM\PersistentCollection {#7076 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
    +posts: Doctrine\ORM\PersistentCollection {#7084 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
    +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
    +follows: Doctrine\ORM\PersistentCollection {#7096 …}
    +followers: Doctrine\ORM\PersistentCollection {#7098 …}
    +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
    +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
    +reports: Doctrine\ORM\PersistentCollection {#7108 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
    +violations: Doctrine\ORM\PersistentCollection {#7112 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
    +awards: Doctrine\ORM\PersistentCollection {#7116 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
    +categories: Doctrine\ORM\PersistentCollection {#7120 …}
    -id: 24483
    -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
    +apId: "Max_P@lemmy.max-p.me"
    +apProfileId: "https://lemmy.max-p.me/u/Max_P"
    +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.max-p.me/inbox"
    +apDomain: "lemmy.max-p.me"
    +apPreferredUsername: "Max_P"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727615060 {#7060
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#7062
      date: 2023-07-12 07:31:04.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7023
  +user: Proxies\__CG__\App\Entity\User {#4248
    +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
    +cover: null
    +email: "Max_P@lemmy.max-p.me"
    +username: "@Max_P@lemmy.max-p.me"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Just some Internet guy\n
      \n
      He/him/them 🏳️\u{200D}🌈\n
      \n
      - IRC: Max-P on [libera.chat](https://libera.chat)\n
      - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
      """
    +lastActive: DateTime @1729541931 {#7063
      date: 2024-10-21 22:18:51.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
    +entries: Doctrine\ORM\PersistentCollection {#7076 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
    +posts: Doctrine\ORM\PersistentCollection {#7084 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
    +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
    +follows: Doctrine\ORM\PersistentCollection {#7096 …}
    +followers: Doctrine\ORM\PersistentCollection {#7098 …}
    +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
    +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
    +reports: Doctrine\ORM\PersistentCollection {#7108 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
    +violations: Doctrine\ORM\PersistentCollection {#7112 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
    +awards: Doctrine\ORM\PersistentCollection {#7116 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
    +categories: Doctrine\ORM\PersistentCollection {#7120 …}
    -id: 24483
    -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
    +apId: "Max_P@lemmy.max-p.me"
    +apProfileId: "https://lemmy.max-p.me/u/Max_P"
    +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.max-p.me/inbox"
    +apDomain: "lemmy.max-p.me"
    +apPreferredUsername: "Max_P"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727615060 {#7060
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#7062
      date: 2023-07-12 07:31:04.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1688426966 {#4255
    date: 2023-07-04 01:29:26.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7142
  +date: DateTimeImmutable @1688426966 {#4255
    date: 2023-07-04 01:29:26.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688426966 {#4255
    date: 2023-07-04 01:29:26.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7196
  +createdAt: DateTimeImmutable @1688426966 {#4255
    date: 2023-07-04 01:29:26.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 1.68 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#4248
    +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
    +cover: null
    +email: "Max_P@lemmy.max-p.me"
    +username: "@Max_P@lemmy.max-p.me"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Just some Internet guy\n
      \n
      He/him/them 🏳️\u{200D}🌈\n
      \n
      - IRC: Max-P on [libera.chat](https://libera.chat)\n
      - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
      """
    +lastActive: DateTime @1729541931 {#7063
      date: 2024-10-21 22:18:51.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
    +entries: Doctrine\ORM\PersistentCollection {#7076 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
    +posts: Doctrine\ORM\PersistentCollection {#7084 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
    +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
    +follows: Doctrine\ORM\PersistentCollection {#7096 …}
    +followers: Doctrine\ORM\PersistentCollection {#7098 …}
    +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
    +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
    +reports: Doctrine\ORM\PersistentCollection {#7108 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
    +violations: Doctrine\ORM\PersistentCollection {#7112 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
    +awards: Doctrine\ORM\PersistentCollection {#7116 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
    +categories: Doctrine\ORM\PersistentCollection {#7120 …}
    -id: 24483
    -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
    +apId: "Max_P@lemmy.max-p.me"
    +apProfileId: "https://lemmy.max-p.me/u/Max_P"
    +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.max-p.me/inbox"
    +apDomain: "lemmy.max-p.me"
    +apPreferredUsername: "Max_P"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727615060 {#7060
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#7062
      date: 2023-07-12 07:31:04.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7250
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#4248
    +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
    +cover: null
    +email: "Max_P@lemmy.max-p.me"
    +username: "@Max_P@lemmy.max-p.me"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Just some Internet guy\n
      \n
      He/him/them 🏳️\u{200D}🌈\n
      \n
      - IRC: Max-P on [libera.chat](https://libera.chat)\n
      - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
      """
    +lastActive: DateTime @1729541931 {#7063
      date: 2024-10-21 22:18:51.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
    +entries: Doctrine\ORM\PersistentCollection {#7076 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
    +posts: Doctrine\ORM\PersistentCollection {#7084 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
    +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
    +follows: Doctrine\ORM\PersistentCollection {#7096 …}
    +followers: Doctrine\ORM\PersistentCollection {#7098 …}
    +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
    +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
    +reports: Doctrine\ORM\PersistentCollection {#7108 …}
    +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
    +violations: Doctrine\ORM\PersistentCollection {#7112 …}
    +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
    +awards: Doctrine\ORM\PersistentCollection {#7116 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
    +categories: Doctrine\ORM\PersistentCollection {#7120 …}
    -id: 24483
    -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
    +apId: "Max_P@lemmy.max-p.me"
    +apProfileId: "https://lemmy.max-p.me/u/Max_P"
    +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.max-p.me/inbox"
    +apDomain: "lemmy.max-p.me"
    +apPreferredUsername: "Max_P"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727615060 {#7060
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#7062
      date: 2023-07-12 07:31:04.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 5.41 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4251
    +user: Proxies\__CG__\App\Entity\User {#4248
      +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
      +cover: null
      +email: "Max_P@lemmy.max-p.me"
      +username: "@Max_P@lemmy.max-p.me"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Just some Internet guy\n
        \n
        He/him/them 🏳️\u{200D}🌈\n
        \n
        - IRC: Max-P on [libera.chat](https://libera.chat)\n
        - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
        """
      +lastActive: DateTime @1729541931 {#7063
        date: 2024-10-21 22:18:51.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
      +entries: Doctrine\ORM\PersistentCollection {#7076 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
      +posts: Doctrine\ORM\PersistentCollection {#7084 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
      +follows: Doctrine\ORM\PersistentCollection {#7096 …}
      +followers: Doctrine\ORM\PersistentCollection {#7098 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
      +reports: Doctrine\ORM\PersistentCollection {#7108 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
      +violations: Doctrine\ORM\PersistentCollection {#7112 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
      +awards: Doctrine\ORM\PersistentCollection {#7116 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
      +categories: Doctrine\ORM\PersistentCollection {#7120 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
      +apId: "Max_P@lemmy.max-p.me"
      +apProfileId: "https://lemmy.max-p.me/u/Max_P"
      +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.max-p.me/inbox"
      +apDomain: "lemmy.max-p.me"
      +apPreferredUsername: "Max_P"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727615060 {#7060
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7062
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4099
      +user: App\Entity\User {#4083
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4104
          date: 2023-07-29 18:31:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
        +entries: Doctrine\ORM\PersistentCollection {#4073 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +posts: Doctrine\ORM\PersistentCollection {#4065 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
        +follows: Doctrine\ORM\PersistentCollection {#4133 …}
        +followers: Doctrine\ORM\PersistentCollection {#4135 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
        +reports: Doctrine\ORM\PersistentCollection {#4145 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
        +awards: Doctrine\ORM\PersistentCollection {#4153 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
        +categories: Doctrine\ORM\PersistentCollection {#4157 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
        +apId: "grasib@lemmy.world"
        +apProfileId: "https://lemmy.world/u/grasib"
        +apPublicUrl: "https://lemmy.world/u/grasib"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "grasib"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690648229 {#4101
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4097
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4105
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4091 …}
      +nested: Doctrine\ORM\PersistentCollection {#4094 …}
      +votes: Doctrine\ORM\PersistentCollection {#4092 …}
      +reports: Doctrine\ORM\PersistentCollection {#4090 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 7500
      -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/786477"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688421809 {#4103
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: """
      Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
      \n
      Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688426966 {#4252
      date: 2023-07-04 01:29:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4245 …}
    +nested: Doctrine\ORM\PersistentCollection {#4243 …}
    +votes: Doctrine\ORM\PersistentCollection {#4247 …}
    +reports: Doctrine\ORM\PersistentCollection {#4258 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 15116
    -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.max-p.me/comment/41613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688426966 {#4255
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7329
  +subject: App\Entity\EntryComment {#4251
    +user: Proxies\__CG__\App\Entity\User {#4248
      +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
      +cover: null
      +email: "Max_P@lemmy.max-p.me"
      +username: "@Max_P@lemmy.max-p.me"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Just some Internet guy\n
        \n
        He/him/them 🏳️\u{200D}🌈\n
        \n
        - IRC: Max-P on [libera.chat](https://libera.chat)\n
        - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
        """
      +lastActive: DateTime @1729541931 {#7063
        date: 2024-10-21 22:18:51.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
      +entries: Doctrine\ORM\PersistentCollection {#7076 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
      +posts: Doctrine\ORM\PersistentCollection {#7084 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
      +follows: Doctrine\ORM\PersistentCollection {#7096 …}
      +followers: Doctrine\ORM\PersistentCollection {#7098 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
      +reports: Doctrine\ORM\PersistentCollection {#7108 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
      +violations: Doctrine\ORM\PersistentCollection {#7112 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
      +awards: Doctrine\ORM\PersistentCollection {#7116 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
      +categories: Doctrine\ORM\PersistentCollection {#7120 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
      +apId: "Max_P@lemmy.max-p.me"
      +apProfileId: "https://lemmy.max-p.me/u/Max_P"
      +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.max-p.me/inbox"
      +apDomain: "lemmy.max-p.me"
      +apPreferredUsername: "Max_P"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727615060 {#7060
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7062
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4099
      +user: App\Entity\User {#4083
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4104
          date: 2023-07-29 18:31:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
        +entries: Doctrine\ORM\PersistentCollection {#4073 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +posts: Doctrine\ORM\PersistentCollection {#4065 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
        +follows: Doctrine\ORM\PersistentCollection {#4133 …}
        +followers: Doctrine\ORM\PersistentCollection {#4135 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
        +reports: Doctrine\ORM\PersistentCollection {#4145 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
        +awards: Doctrine\ORM\PersistentCollection {#4153 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
        +categories: Doctrine\ORM\PersistentCollection {#4157 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
        +apId: "grasib@lemmy.world"
        +apProfileId: "https://lemmy.world/u/grasib"
        +apPublicUrl: "https://lemmy.world/u/grasib"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "grasib"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690648229 {#4101
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4097
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4105
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4091 …}
      +nested: Doctrine\ORM\PersistentCollection {#4094 …}
      +votes: Doctrine\ORM\PersistentCollection {#4092 …}
      +reports: Doctrine\ORM\PersistentCollection {#4090 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 7500
      -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/786477"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688421809 {#4103
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: """
      Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
      \n
      Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688426966 {#4252
      date: 2023-07-04 01:29:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4245 …}
    +nested: Doctrine\ORM\PersistentCollection {#4243 …}
    +votes: Doctrine\ORM\PersistentCollection {#4247 …}
    +reports: Doctrine\ORM\PersistentCollection {#4258 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 15116
    -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.max-p.me/comment/41613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688426966 {#4255
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.90 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4251
    +user: Proxies\__CG__\App\Entity\User {#4248
      +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
      +cover: null
      +email: "Max_P@lemmy.max-p.me"
      +username: "@Max_P@lemmy.max-p.me"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Just some Internet guy\n
        \n
        He/him/them 🏳️\u{200D}🌈\n
        \n
        - IRC: Max-P on [libera.chat](https://libera.chat)\n
        - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
        """
      +lastActive: DateTime @1729541931 {#7063
        date: 2024-10-21 22:18:51.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
      +entries: Doctrine\ORM\PersistentCollection {#7076 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
      +posts: Doctrine\ORM\PersistentCollection {#7084 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
      +follows: Doctrine\ORM\PersistentCollection {#7096 …}
      +followers: Doctrine\ORM\PersistentCollection {#7098 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
      +reports: Doctrine\ORM\PersistentCollection {#7108 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
      +violations: Doctrine\ORM\PersistentCollection {#7112 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
      +awards: Doctrine\ORM\PersistentCollection {#7116 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
      +categories: Doctrine\ORM\PersistentCollection {#7120 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
      +apId: "Max_P@lemmy.max-p.me"
      +apProfileId: "https://lemmy.max-p.me/u/Max_P"
      +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.max-p.me/inbox"
      +apDomain: "lemmy.max-p.me"
      +apPreferredUsername: "Max_P"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727615060 {#7060
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7062
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4099
      +user: App\Entity\User {#4083
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4104
          date: 2023-07-29 18:31:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
        +entries: Doctrine\ORM\PersistentCollection {#4073 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +posts: Doctrine\ORM\PersistentCollection {#4065 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
        +follows: Doctrine\ORM\PersistentCollection {#4133 …}
        +followers: Doctrine\ORM\PersistentCollection {#4135 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
        +reports: Doctrine\ORM\PersistentCollection {#4145 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
        +awards: Doctrine\ORM\PersistentCollection {#4153 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
        +categories: Doctrine\ORM\PersistentCollection {#4157 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
        +apId: "grasib@lemmy.world"
        +apProfileId: "https://lemmy.world/u/grasib"
        +apPublicUrl: "https://lemmy.world/u/grasib"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "grasib"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690648229 {#4101
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4097
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4105
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4091 …}
      +nested: Doctrine\ORM\PersistentCollection {#4094 …}
      +votes: Doctrine\ORM\PersistentCollection {#4092 …}
      +reports: Doctrine\ORM\PersistentCollection {#4090 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 7500
      -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/786477"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688421809 {#4103
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: """
      Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
      \n
      Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688426966 {#4252
      date: 2023-07-04 01:29:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4245 …}
    +nested: Doctrine\ORM\PersistentCollection {#4243 …}
    +votes: Doctrine\ORM\PersistentCollection {#4247 …}
    +reports: Doctrine\ORM\PersistentCollection {#4258 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 15116
    -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.max-p.me/comment/41613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688426966 {#4255
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7386
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4251
    +user: Proxies\__CG__\App\Entity\User {#4248
      +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
      +cover: null
      +email: "Max_P@lemmy.max-p.me"
      +username: "@Max_P@lemmy.max-p.me"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Just some Internet guy\n
        \n
        He/him/them 🏳️\u{200D}🌈\n
        \n
        - IRC: Max-P on [libera.chat](https://libera.chat)\n
        - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
        """
      +lastActive: DateTime @1729541931 {#7063
        date: 2024-10-21 22:18:51.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
      +entries: Doctrine\ORM\PersistentCollection {#7076 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
      +posts: Doctrine\ORM\PersistentCollection {#7084 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
      +follows: Doctrine\ORM\PersistentCollection {#7096 …}
      +followers: Doctrine\ORM\PersistentCollection {#7098 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
      +reports: Doctrine\ORM\PersistentCollection {#7108 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
      +violations: Doctrine\ORM\PersistentCollection {#7112 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
      +awards: Doctrine\ORM\PersistentCollection {#7116 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
      +categories: Doctrine\ORM\PersistentCollection {#7120 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
      +apId: "Max_P@lemmy.max-p.me"
      +apProfileId: "https://lemmy.max-p.me/u/Max_P"
      +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.max-p.me/inbox"
      +apDomain: "lemmy.max-p.me"
      +apPreferredUsername: "Max_P"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727615060 {#7060
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7062
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4099
      +user: App\Entity\User {#4083
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4104
          date: 2023-07-29 18:31:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
        +entries: Doctrine\ORM\PersistentCollection {#4073 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +posts: Doctrine\ORM\PersistentCollection {#4065 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
        +follows: Doctrine\ORM\PersistentCollection {#4133 …}
        +followers: Doctrine\ORM\PersistentCollection {#4135 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
        +reports: Doctrine\ORM\PersistentCollection {#4145 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
        +awards: Doctrine\ORM\PersistentCollection {#4153 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
        +categories: Doctrine\ORM\PersistentCollection {#4157 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
        +apId: "grasib@lemmy.world"
        +apProfileId: "https://lemmy.world/u/grasib"
        +apPublicUrl: "https://lemmy.world/u/grasib"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "grasib"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690648229 {#4101
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4097
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4105
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4091 …}
      +nested: Doctrine\ORM\PersistentCollection {#4094 …}
      +votes: Doctrine\ORM\PersistentCollection {#4092 …}
      +reports: Doctrine\ORM\PersistentCollection {#4090 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 7500
      -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/786477"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688421809 {#4103
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: """
      Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
      \n
      Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688426966 {#4252
      date: 2023-07-04 01:29:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4245 …}
    +nested: Doctrine\ORM\PersistentCollection {#4243 …}
    +votes: Doctrine\ORM\PersistentCollection {#4247 …}
    +reports: Doctrine\ORM\PersistentCollection {#4258 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 15116
    -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.max-p.me/comment/41613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688426966 {#4255
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 31.09 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4251
    +user: Proxies\__CG__\App\Entity\User {#4248
      +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
      +cover: null
      +email: "Max_P@lemmy.max-p.me"
      +username: "@Max_P@lemmy.max-p.me"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Just some Internet guy\n
        \n
        He/him/them 🏳️\u{200D}🌈\n
        \n
        - IRC: Max-P on [libera.chat](https://libera.chat)\n
        - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
        """
      +lastActive: DateTime @1729541931 {#7063
        date: 2024-10-21 22:18:51.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
      +entries: Doctrine\ORM\PersistentCollection {#7076 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
      +posts: Doctrine\ORM\PersistentCollection {#7084 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
      +follows: Doctrine\ORM\PersistentCollection {#7096 …}
      +followers: Doctrine\ORM\PersistentCollection {#7098 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
      +reports: Doctrine\ORM\PersistentCollection {#7108 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
      +violations: Doctrine\ORM\PersistentCollection {#7112 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
      +awards: Doctrine\ORM\PersistentCollection {#7116 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
      +categories: Doctrine\ORM\PersistentCollection {#7120 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
      +apId: "Max_P@lemmy.max-p.me"
      +apProfileId: "https://lemmy.max-p.me/u/Max_P"
      +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.max-p.me/inbox"
      +apDomain: "lemmy.max-p.me"
      +apPreferredUsername: "Max_P"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727615060 {#7060
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7062
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4099
      +user: App\Entity\User {#4083
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4104
          date: 2023-07-29 18:31:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
        +entries: Doctrine\ORM\PersistentCollection {#4073 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +posts: Doctrine\ORM\PersistentCollection {#4065 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
        +follows: Doctrine\ORM\PersistentCollection {#4133 …}
        +followers: Doctrine\ORM\PersistentCollection {#4135 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
        +reports: Doctrine\ORM\PersistentCollection {#4145 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
        +awards: Doctrine\ORM\PersistentCollection {#4153 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
        +categories: Doctrine\ORM\PersistentCollection {#4157 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
        +apId: "grasib@lemmy.world"
        +apProfileId: "https://lemmy.world/u/grasib"
        +apPublicUrl: "https://lemmy.world/u/grasib"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "grasib"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690648229 {#4101
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4097
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4105
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4091 …}
      +nested: Doctrine\ORM\PersistentCollection {#4094 …}
      +votes: Doctrine\ORM\PersistentCollection {#4092 …}
      +reports: Doctrine\ORM\PersistentCollection {#4090 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 7500
      -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/786477"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688421809 {#4103
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: """
      Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
      \n
      Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688426966 {#4252
      date: 2023-07-04 01:29:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4245 …}
    +nested: Doctrine\ORM\PersistentCollection {#4243 …}
    +votes: Doctrine\ORM\PersistentCollection {#4247 …}
    +reports: Doctrine\ORM\PersistentCollection {#4258 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 15116
    -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.max-p.me/comment/41613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688426966 {#4255
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7308
  +comment: App\Entity\EntryComment {#4251
    +user: Proxies\__CG__\App\Entity\User {#4248
      +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
      +cover: null
      +email: "Max_P@lemmy.max-p.me"
      +username: "@Max_P@lemmy.max-p.me"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: """
        Just some Internet guy\n
        \n
        He/him/them 🏳️\u{200D}🌈\n
        \n
        - IRC: Max-P on [libera.chat](https://libera.chat)\n
        - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
        """
      +lastActive: DateTime @1729541931 {#7063
        date: 2024-10-21 22:18:51.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
      +entries: Doctrine\ORM\PersistentCollection {#7076 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
      +posts: Doctrine\ORM\PersistentCollection {#7084 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
      +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
      +follows: Doctrine\ORM\PersistentCollection {#7096 …}
      +followers: Doctrine\ORM\PersistentCollection {#7098 …}
      +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
      +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
      +reports: Doctrine\ORM\PersistentCollection {#7108 …}
      +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
      +violations: Doctrine\ORM\PersistentCollection {#7112 …}
      +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
      +awards: Doctrine\ORM\PersistentCollection {#7116 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
      +categories: Doctrine\ORM\PersistentCollection {#7120 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
      +apId: "Max_P@lemmy.max-p.me"
      +apProfileId: "https://lemmy.max-p.me/u/Max_P"
      +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
      +apFollowersUrl: null
      +apInboxUrl: "https://lemmy.max-p.me/inbox"
      +apDomain: "lemmy.max-p.me"
      +apPreferredUsername: "Max_P"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727615060 {#7060
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7062
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4099
      +user: App\Entity\User {#4083
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4104
          date: 2023-07-29 18:31:28.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
        +entries: Doctrine\ORM\PersistentCollection {#4073 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +posts: Doctrine\ORM\PersistentCollection {#4065 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
        +follows: Doctrine\ORM\PersistentCollection {#4133 …}
        +followers: Doctrine\ORM\PersistentCollection {#4135 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
        +reports: Doctrine\ORM\PersistentCollection {#4145 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
        +violations: Doctrine\ORM\PersistentCollection {#4149 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
        +awards: Doctrine\ORM\PersistentCollection {#4153 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
        +categories: Doctrine\ORM\PersistentCollection {#4157 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
        +apId: "grasib@lemmy.world"
        +apProfileId: "https://lemmy.world/u/grasib"
        +apPublicUrl: "https://lemmy.world/u/grasib"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.world/inbox"
        +apDomain: "lemmy.world"
        +apPreferredUsername: "grasib"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1690648229 {#4101
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4097
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4105
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4091 …}
      +nested: Doctrine\ORM\PersistentCollection {#4094 …}
      +votes: Doctrine\ORM\PersistentCollection {#4092 …}
      +reports: Doctrine\ORM\PersistentCollection {#4090 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
      -id: 7500
      -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/786477"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688421809 {#4103
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: """
      Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
      \n
      Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688426966 {#4252
      date: 2023-07-04 01:29:26.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4245 …}
    +nested: Doctrine\ORM\PersistentCollection {#4243 …}
    +votes: Doctrine\ORM\PersistentCollection {#4247 …}
    +reports: Doctrine\ORM\PersistentCollection {#4258 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
    -id: 15116
    -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.max-p.me/comment/41613"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688426966 {#4255
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 30.39 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4251
      +user: Proxies\__CG__\App\Entity\User {#4248
        +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
        +cover: null
        +email: "Max_P@lemmy.max-p.me"
        +username: "@Max_P@lemmy.max-p.me"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Just some Internet guy\n
          \n
          He/him/them 🏳️\u{200D}🌈\n
          \n
          - IRC: Max-P on [libera.chat](https://libera.chat)\n
          - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
          """
        +lastActive: DateTime @1729541931 {#7063
          date: 2024-10-21 22:18:51.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
        +entries: Doctrine\ORM\PersistentCollection {#7076 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
        +posts: Doctrine\ORM\PersistentCollection {#7084 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
        +follows: Doctrine\ORM\PersistentCollection {#7096 …}
        +followers: Doctrine\ORM\PersistentCollection {#7098 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
        +reports: Doctrine\ORM\PersistentCollection {#7108 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
        +violations: Doctrine\ORM\PersistentCollection {#7112 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
        +awards: Doctrine\ORM\PersistentCollection {#7116 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
        +categories: Doctrine\ORM\PersistentCollection {#7120 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
        +apId: "Max_P@lemmy.max-p.me"
        +apProfileId: "https://lemmy.max-p.me/u/Max_P"
        +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.max-p.me/inbox"
        +apDomain: "lemmy.max-p.me"
        +apPreferredUsername: "Max_P"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727615060 {#7060
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7062
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4099
        +user: App\Entity\User {#4083
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4104
            date: 2023-07-29 18:31:28.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: true
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: false
          +notifyOnNewEntryCommentReply: false
          +notifyOnNewPost: false
          +notifyOnNewPostReply: false
          +notifyOnNewPostCommentReply: false
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
          +entries: Doctrine\ORM\PersistentCollection {#4073 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +posts: Doctrine\ORM\PersistentCollection {#4065 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
          +follows: Doctrine\ORM\PersistentCollection {#4133 …}
          +followers: Doctrine\ORM\PersistentCollection {#4135 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
          +reports: Doctrine\ORM\PersistentCollection {#4145 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
          +violations: Doctrine\ORM\PersistentCollection {#4149 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
          +awards: Doctrine\ORM\PersistentCollection {#4153 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
          +categories: Doctrine\ORM\PersistentCollection {#4157 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
          +apId: "grasib@lemmy.world"
          +apProfileId: "https://lemmy.world/u/grasib"
          +apPublicUrl: "https://lemmy.world/u/grasib"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "grasib"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1690648229 {#4101
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4097
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4105
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4091 …}
        +nested: Doctrine\ORM\PersistentCollection {#4094 …}
        +votes: Doctrine\ORM\PersistentCollection {#4092 …}
        +reports: Doctrine\ORM\PersistentCollection {#4090 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 7500
        -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/786477"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688421809 {#4103
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4099}
      +body: """
        Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
        \n
        Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688426966 {#4252
        date: 2023-07-04 01:29:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4245 …}
      +nested: Doctrine\ORM\PersistentCollection {#4243 …}
      +votes: Doctrine\ORM\PersistentCollection {#4247 …}
      +reports: Doctrine\ORM\PersistentCollection {#4258 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 15116
      -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.max-p.me/comment/41613"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688426966 {#4255
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: "Thanks so much! It turns out that the relay (8x) module I’m using - <https://www.amazon.com/gp/product/B00LX3UH9C> - has isolated relays… but I’ll try a diode, too."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689284437 {#4285
      date: 2023-07-13 23:40:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
      "@Max_P@lemmy.max-p.me"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4288 …}
    +nested: Doctrine\ORM\PersistentCollection {#4292 …}
    +votes: Doctrine\ORM\PersistentCollection {#4294 …}
    +reports: Doctrine\ORM\PersistentCollection {#4295 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4297 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4299 …}
    -id: 15117
    -bodyTs: "'/gp/product/b00lx3uh9c':17 '8x':10 'diod':26 'isol':19 'll':23 'm':13 'modul':11 'much':3 'relay':9,20 'thank':1 'tri':24 'turn':5 'use':14 'www.amazon.com':16 'www.amazon.com/gp/product/b00lx3uh9c':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984467"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689284437 {#4282
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7464
  +comment: App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4251
      +user: Proxies\__CG__\App\Entity\User {#4248
        +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
        +cover: null
        +email: "Max_P@lemmy.max-p.me"
        +username: "@Max_P@lemmy.max-p.me"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Just some Internet guy\n
          \n
          He/him/them 🏳️\u{200D}🌈\n
          \n
          - IRC: Max-P on [libera.chat](https://libera.chat)\n
          - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
          """
        +lastActive: DateTime @1729541931 {#7063
          date: 2024-10-21 22:18:51.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
        +entries: Doctrine\ORM\PersistentCollection {#7076 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
        +posts: Doctrine\ORM\PersistentCollection {#7084 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
        +follows: Doctrine\ORM\PersistentCollection {#7096 …}
        +followers: Doctrine\ORM\PersistentCollection {#7098 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
        +reports: Doctrine\ORM\PersistentCollection {#7108 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
        +violations: Doctrine\ORM\PersistentCollection {#7112 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
        +awards: Doctrine\ORM\PersistentCollection {#7116 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
        +categories: Doctrine\ORM\PersistentCollection {#7120 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
        +apId: "Max_P@lemmy.max-p.me"
        +apProfileId: "https://lemmy.max-p.me/u/Max_P"
        +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.max-p.me/inbox"
        +apDomain: "lemmy.max-p.me"
        +apPreferredUsername: "Max_P"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727615060 {#7060
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7062
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4099
        +user: App\Entity\User {#4083
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4104
            date: 2023-07-29 18:31:28.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: true
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: false
          +notifyOnNewEntryCommentReply: false
          +notifyOnNewPost: false
          +notifyOnNewPostReply: false
          +notifyOnNewPostCommentReply: false
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
          +entries: Doctrine\ORM\PersistentCollection {#4073 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +posts: Doctrine\ORM\PersistentCollection {#4065 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
          +follows: Doctrine\ORM\PersistentCollection {#4133 …}
          +followers: Doctrine\ORM\PersistentCollection {#4135 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
          +reports: Doctrine\ORM\PersistentCollection {#4145 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
          +violations: Doctrine\ORM\PersistentCollection {#4149 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
          +awards: Doctrine\ORM\PersistentCollection {#4153 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
          +categories: Doctrine\ORM\PersistentCollection {#4157 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
          +apId: "grasib@lemmy.world"
          +apProfileId: "https://lemmy.world/u/grasib"
          +apPublicUrl: "https://lemmy.world/u/grasib"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "grasib"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1690648229 {#4101
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4097
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4105
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4091 …}
        +nested: Doctrine\ORM\PersistentCollection {#4094 …}
        +votes: Doctrine\ORM\PersistentCollection {#4092 …}
        +reports: Doctrine\ORM\PersistentCollection {#4090 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 7500
        -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/786477"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688421809 {#4103
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4099}
      +body: """
        Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
        \n
        Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688426966 {#4252
        date: 2023-07-04 01:29:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4245 …}
      +nested: Doctrine\ORM\PersistentCollection {#4243 …}
      +votes: Doctrine\ORM\PersistentCollection {#4247 …}
      +reports: Doctrine\ORM\PersistentCollection {#4258 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 15116
      -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.max-p.me/comment/41613"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688426966 {#4255
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: "Thanks so much! It turns out that the relay (8x) module I’m using - <https://www.amazon.com/gp/product/B00LX3UH9C> - has isolated relays… but I’ll try a diode, too."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689284437 {#4285
      date: 2023-07-13 23:40:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
      "@Max_P@lemmy.max-p.me"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4288 …}
    +nested: Doctrine\ORM\PersistentCollection {#4292 …}
    +votes: Doctrine\ORM\PersistentCollection {#4294 …}
    +reports: Doctrine\ORM\PersistentCollection {#4295 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4297 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4299 …}
    -id: 15117
    -bodyTs: "'/gp/product/b00lx3uh9c':17 '8x':10 'diod':26 'isol':19 'll':23 'm':13 'modul':11 'much':3 'relay':9,20 'thank':1 'tri':24 'turn':5 'use':14 'www.amazon.com':16 'www.amazon.com/gp/product/b00lx3uh9c':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984467"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689284437 {#4282
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 3
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.15 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7509
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1689284437 {#4282
    date: 2023-07-13 23:40:37.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7564
  +date: DateTimeImmutable @1689284437 {#4282
    date: 2023-07-13 23:40:37.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.11 ms
Input props
[
  "createdAt" => DateTimeImmutable @1689284437 {#4282
    date: 2023-07-13 23:40:37.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7618
  +createdAt: DateTimeImmutable @1689284437 {#4282
    date: 2023-07-13 23:40:37.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7672
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.47 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4251
      +user: Proxies\__CG__\App\Entity\User {#4248
        +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
        +cover: null
        +email: "Max_P@lemmy.max-p.me"
        +username: "@Max_P@lemmy.max-p.me"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Just some Internet guy\n
          \n
          He/him/them 🏳️\u{200D}🌈\n
          \n
          - IRC: Max-P on [libera.chat](https://libera.chat)\n
          - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
          """
        +lastActive: DateTime @1729541931 {#7063
          date: 2024-10-21 22:18:51.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
        +entries: Doctrine\ORM\PersistentCollection {#7076 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
        +posts: Doctrine\ORM\PersistentCollection {#7084 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
        +follows: Doctrine\ORM\PersistentCollection {#7096 …}
        +followers: Doctrine\ORM\PersistentCollection {#7098 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
        +reports: Doctrine\ORM\PersistentCollection {#7108 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
        +violations: Doctrine\ORM\PersistentCollection {#7112 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
        +awards: Doctrine\ORM\PersistentCollection {#7116 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
        +categories: Doctrine\ORM\PersistentCollection {#7120 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
        +apId: "Max_P@lemmy.max-p.me"
        +apProfileId: "https://lemmy.max-p.me/u/Max_P"
        +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.max-p.me/inbox"
        +apDomain: "lemmy.max-p.me"
        +apPreferredUsername: "Max_P"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727615060 {#7060
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7062
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4099
        +user: App\Entity\User {#4083
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4104
            date: 2023-07-29 18:31:28.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: true
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: false
          +notifyOnNewEntryCommentReply: false
          +notifyOnNewPost: false
          +notifyOnNewPostReply: false
          +notifyOnNewPostCommentReply: false
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
          +entries: Doctrine\ORM\PersistentCollection {#4073 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +posts: Doctrine\ORM\PersistentCollection {#4065 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
          +follows: Doctrine\ORM\PersistentCollection {#4133 …}
          +followers: Doctrine\ORM\PersistentCollection {#4135 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
          +reports: Doctrine\ORM\PersistentCollection {#4145 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
          +violations: Doctrine\ORM\PersistentCollection {#4149 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
          +awards: Doctrine\ORM\PersistentCollection {#4153 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
          +categories: Doctrine\ORM\PersistentCollection {#4157 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
          +apId: "grasib@lemmy.world"
          +apProfileId: "https://lemmy.world/u/grasib"
          +apPublicUrl: "https://lemmy.world/u/grasib"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "grasib"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1690648229 {#4101
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4097
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4105
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4091 …}
        +nested: Doctrine\ORM\PersistentCollection {#4094 …}
        +votes: Doctrine\ORM\PersistentCollection {#4092 …}
        +reports: Doctrine\ORM\PersistentCollection {#4090 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 7500
        -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/786477"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688421809 {#4103
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4099}
      +body: """
        Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
        \n
        Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688426966 {#4252
        date: 2023-07-04 01:29:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4245 …}
      +nested: Doctrine\ORM\PersistentCollection {#4243 …}
      +votes: Doctrine\ORM\PersistentCollection {#4247 …}
      +reports: Doctrine\ORM\PersistentCollection {#4258 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 15116
      -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.max-p.me/comment/41613"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688426966 {#4255
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: "Thanks so much! It turns out that the relay (8x) module I’m using - <https://www.amazon.com/gp/product/B00LX3UH9C> - has isolated relays… but I’ll try a diode, too."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689284437 {#4285
      date: 2023-07-13 23:40:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
      "@Max_P@lemmy.max-p.me"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4288 …}
    +nested: Doctrine\ORM\PersistentCollection {#4292 …}
    +votes: Doctrine\ORM\PersistentCollection {#4294 …}
    +reports: Doctrine\ORM\PersistentCollection {#4295 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4297 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4299 …}
    -id: 15117
    -bodyTs: "'/gp/product/b00lx3uh9c':17 '8x':10 'diod':26 'isol':19 'll':23 'm':13 'modul':11 'much':3 'relay':9,20 'thank':1 'tri':24 'turn':5 'use':14 'www.amazon.com':16 'www.amazon.com/gp/product/b00lx3uh9c':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984467"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689284437 {#4282
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7747
  +subject: App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4251
      +user: Proxies\__CG__\App\Entity\User {#4248
        +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
        +cover: null
        +email: "Max_P@lemmy.max-p.me"
        +username: "@Max_P@lemmy.max-p.me"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Just some Internet guy\n
          \n
          He/him/them 🏳️\u{200D}🌈\n
          \n
          - IRC: Max-P on [libera.chat](https://libera.chat)\n
          - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
          """
        +lastActive: DateTime @1729541931 {#7063
          date: 2024-10-21 22:18:51.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
        +entries: Doctrine\ORM\PersistentCollection {#7076 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
        +posts: Doctrine\ORM\PersistentCollection {#7084 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
        +follows: Doctrine\ORM\PersistentCollection {#7096 …}
        +followers: Doctrine\ORM\PersistentCollection {#7098 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
        +reports: Doctrine\ORM\PersistentCollection {#7108 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
        +violations: Doctrine\ORM\PersistentCollection {#7112 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
        +awards: Doctrine\ORM\PersistentCollection {#7116 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
        +categories: Doctrine\ORM\PersistentCollection {#7120 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
        +apId: "Max_P@lemmy.max-p.me"
        +apProfileId: "https://lemmy.max-p.me/u/Max_P"
        +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.max-p.me/inbox"
        +apDomain: "lemmy.max-p.me"
        +apPreferredUsername: "Max_P"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727615060 {#7060
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7062
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4099
        +user: App\Entity\User {#4083
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4104
            date: 2023-07-29 18:31:28.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: true
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: false
          +notifyOnNewEntryCommentReply: false
          +notifyOnNewPost: false
          +notifyOnNewPostReply: false
          +notifyOnNewPostCommentReply: false
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
          +entries: Doctrine\ORM\PersistentCollection {#4073 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +posts: Doctrine\ORM\PersistentCollection {#4065 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
          +follows: Doctrine\ORM\PersistentCollection {#4133 …}
          +followers: Doctrine\ORM\PersistentCollection {#4135 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
          +reports: Doctrine\ORM\PersistentCollection {#4145 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
          +violations: Doctrine\ORM\PersistentCollection {#4149 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
          +awards: Doctrine\ORM\PersistentCollection {#4153 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
          +categories: Doctrine\ORM\PersistentCollection {#4157 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
          +apId: "grasib@lemmy.world"
          +apProfileId: "https://lemmy.world/u/grasib"
          +apPublicUrl: "https://lemmy.world/u/grasib"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "grasib"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1690648229 {#4101
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4097
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4105
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4091 …}
        +nested: Doctrine\ORM\PersistentCollection {#4094 …}
        +votes: Doctrine\ORM\PersistentCollection {#4092 …}
        +reports: Doctrine\ORM\PersistentCollection {#4090 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 7500
        -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/786477"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688421809 {#4103
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4099}
      +body: """
        Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
        \n
        Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688426966 {#4252
        date: 2023-07-04 01:29:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4245 …}
      +nested: Doctrine\ORM\PersistentCollection {#4243 …}
      +votes: Doctrine\ORM\PersistentCollection {#4247 …}
      +reports: Doctrine\ORM\PersistentCollection {#4258 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 15116
      -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.max-p.me/comment/41613"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688426966 {#4255
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: "Thanks so much! It turns out that the relay (8x) module I’m using - <https://www.amazon.com/gp/product/B00LX3UH9C> - has isolated relays… but I’ll try a diode, too."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689284437 {#4285
      date: 2023-07-13 23:40:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
      "@Max_P@lemmy.max-p.me"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4288 …}
    +nested: Doctrine\ORM\PersistentCollection {#4292 …}
    +votes: Doctrine\ORM\PersistentCollection {#4294 …}
    +reports: Doctrine\ORM\PersistentCollection {#4295 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4297 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4299 …}
    -id: 15117
    -bodyTs: "'/gp/product/b00lx3uh9c':17 '8x':10 'diod':26 'isol':19 'll':23 'm':13 'modul':11 'much':3 'relay':9,20 'thank':1 'tri':24 'turn':5 'use':14 'www.amazon.com':16 'www.amazon.com/gp/product/b00lx3uh9c':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984467"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689284437 {#4282
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.74 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4251
      +user: Proxies\__CG__\App\Entity\User {#4248
        +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
        +cover: null
        +email: "Max_P@lemmy.max-p.me"
        +username: "@Max_P@lemmy.max-p.me"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Just some Internet guy\n
          \n
          He/him/them 🏳️\u{200D}🌈\n
          \n
          - IRC: Max-P on [libera.chat](https://libera.chat)\n
          - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
          """
        +lastActive: DateTime @1729541931 {#7063
          date: 2024-10-21 22:18:51.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
        +entries: Doctrine\ORM\PersistentCollection {#7076 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
        +posts: Doctrine\ORM\PersistentCollection {#7084 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
        +follows: Doctrine\ORM\PersistentCollection {#7096 …}
        +followers: Doctrine\ORM\PersistentCollection {#7098 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
        +reports: Doctrine\ORM\PersistentCollection {#7108 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
        +violations: Doctrine\ORM\PersistentCollection {#7112 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
        +awards: Doctrine\ORM\PersistentCollection {#7116 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
        +categories: Doctrine\ORM\PersistentCollection {#7120 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
        +apId: "Max_P@lemmy.max-p.me"
        +apProfileId: "https://lemmy.max-p.me/u/Max_P"
        +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.max-p.me/inbox"
        +apDomain: "lemmy.max-p.me"
        +apPreferredUsername: "Max_P"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727615060 {#7060
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7062
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4099
        +user: App\Entity\User {#4083
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4104
            date: 2023-07-29 18:31:28.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: true
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: false
          +notifyOnNewEntryCommentReply: false
          +notifyOnNewPost: false
          +notifyOnNewPostReply: false
          +notifyOnNewPostCommentReply: false
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
          +entries: Doctrine\ORM\PersistentCollection {#4073 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +posts: Doctrine\ORM\PersistentCollection {#4065 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
          +follows: Doctrine\ORM\PersistentCollection {#4133 …}
          +followers: Doctrine\ORM\PersistentCollection {#4135 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
          +reports: Doctrine\ORM\PersistentCollection {#4145 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
          +violations: Doctrine\ORM\PersistentCollection {#4149 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
          +awards: Doctrine\ORM\PersistentCollection {#4153 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
          +categories: Doctrine\ORM\PersistentCollection {#4157 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
          +apId: "grasib@lemmy.world"
          +apProfileId: "https://lemmy.world/u/grasib"
          +apPublicUrl: "https://lemmy.world/u/grasib"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "grasib"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1690648229 {#4101
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4097
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4105
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4091 …}
        +nested: Doctrine\ORM\PersistentCollection {#4094 …}
        +votes: Doctrine\ORM\PersistentCollection {#4092 …}
        +reports: Doctrine\ORM\PersistentCollection {#4090 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 7500
        -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/786477"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688421809 {#4103
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4099}
      +body: """
        Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
        \n
        Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688426966 {#4252
        date: 2023-07-04 01:29:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4245 …}
      +nested: Doctrine\ORM\PersistentCollection {#4243 …}
      +votes: Doctrine\ORM\PersistentCollection {#4247 …}
      +reports: Doctrine\ORM\PersistentCollection {#4258 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 15116
      -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.max-p.me/comment/41613"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688426966 {#4255
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: "Thanks so much! It turns out that the relay (8x) module I’m using - <https://www.amazon.com/gp/product/B00LX3UH9C> - has isolated relays… but I’ll try a diode, too."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689284437 {#4285
      date: 2023-07-13 23:40:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
      "@Max_P@lemmy.max-p.me"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4288 …}
    +nested: Doctrine\ORM\PersistentCollection {#4292 …}
    +votes: Doctrine\ORM\PersistentCollection {#4294 …}
    +reports: Doctrine\ORM\PersistentCollection {#4295 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4297 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4299 …}
    -id: 15117
    -bodyTs: "'/gp/product/b00lx3uh9c':17 '8x':10 'diod':26 'isol':19 'll':23 'm':13 'modul':11 'much':3 'relay':9,20 'thank':1 'tri':24 'turn':5 'use':14 'www.amazon.com':16 'www.amazon.com/gp/product/b00lx3uh9c':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984467"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689284437 {#4282
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7804
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4251
      +user: Proxies\__CG__\App\Entity\User {#4248
        +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
        +cover: null
        +email: "Max_P@lemmy.max-p.me"
        +username: "@Max_P@lemmy.max-p.me"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Just some Internet guy\n
          \n
          He/him/them 🏳️\u{200D}🌈\n
          \n
          - IRC: Max-P on [libera.chat](https://libera.chat)\n
          - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
          """
        +lastActive: DateTime @1729541931 {#7063
          date: 2024-10-21 22:18:51.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
        +entries: Doctrine\ORM\PersistentCollection {#7076 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
        +posts: Doctrine\ORM\PersistentCollection {#7084 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
        +follows: Doctrine\ORM\PersistentCollection {#7096 …}
        +followers: Doctrine\ORM\PersistentCollection {#7098 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
        +reports: Doctrine\ORM\PersistentCollection {#7108 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
        +violations: Doctrine\ORM\PersistentCollection {#7112 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
        +awards: Doctrine\ORM\PersistentCollection {#7116 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
        +categories: Doctrine\ORM\PersistentCollection {#7120 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
        +apId: "Max_P@lemmy.max-p.me"
        +apProfileId: "https://lemmy.max-p.me/u/Max_P"
        +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.max-p.me/inbox"
        +apDomain: "lemmy.max-p.me"
        +apPreferredUsername: "Max_P"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727615060 {#7060
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7062
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4099
        +user: App\Entity\User {#4083
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4104
            date: 2023-07-29 18:31:28.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: true
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: false
          +notifyOnNewEntryCommentReply: false
          +notifyOnNewPost: false
          +notifyOnNewPostReply: false
          +notifyOnNewPostCommentReply: false
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
          +entries: Doctrine\ORM\PersistentCollection {#4073 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +posts: Doctrine\ORM\PersistentCollection {#4065 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
          +follows: Doctrine\ORM\PersistentCollection {#4133 …}
          +followers: Doctrine\ORM\PersistentCollection {#4135 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
          +reports: Doctrine\ORM\PersistentCollection {#4145 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
          +violations: Doctrine\ORM\PersistentCollection {#4149 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
          +awards: Doctrine\ORM\PersistentCollection {#4153 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
          +categories: Doctrine\ORM\PersistentCollection {#4157 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
          +apId: "grasib@lemmy.world"
          +apProfileId: "https://lemmy.world/u/grasib"
          +apPublicUrl: "https://lemmy.world/u/grasib"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "grasib"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1690648229 {#4101
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4097
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4105
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4091 …}
        +nested: Doctrine\ORM\PersistentCollection {#4094 …}
        +votes: Doctrine\ORM\PersistentCollection {#4092 …}
        +reports: Doctrine\ORM\PersistentCollection {#4090 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 7500
        -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/786477"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688421809 {#4103
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4099}
      +body: """
        Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
        \n
        Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688426966 {#4252
        date: 2023-07-04 01:29:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4245 …}
      +nested: Doctrine\ORM\PersistentCollection {#4243 …}
      +votes: Doctrine\ORM\PersistentCollection {#4247 …}
      +reports: Doctrine\ORM\PersistentCollection {#4258 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 15116
      -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.max-p.me/comment/41613"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688426966 {#4255
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: "Thanks so much! It turns out that the relay (8x) module I’m using - <https://www.amazon.com/gp/product/B00LX3UH9C> - has isolated relays… but I’ll try a diode, too."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689284437 {#4285
      date: 2023-07-13 23:40:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
      "@Max_P@lemmy.max-p.me"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4288 …}
    +nested: Doctrine\ORM\PersistentCollection {#4292 …}
    +votes: Doctrine\ORM\PersistentCollection {#4294 …}
    +reports: Doctrine\ORM\PersistentCollection {#4295 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4297 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4299 …}
    -id: 15117
    -bodyTs: "'/gp/product/b00lx3uh9c':17 '8x':10 'diod':26 'isol':19 'll':23 'm':13 'modul':11 'much':3 'relay':9,20 'thank':1 'tri':24 'turn':5 'use':14 'www.amazon.com':16 'www.amazon.com/gp/product/b00lx3uh9c':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984467"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689284437 {#4282
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 5.42 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4251
      +user: Proxies\__CG__\App\Entity\User {#4248
        +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
        +cover: null
        +email: "Max_P@lemmy.max-p.me"
        +username: "@Max_P@lemmy.max-p.me"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Just some Internet guy\n
          \n
          He/him/them 🏳️\u{200D}🌈\n
          \n
          - IRC: Max-P on [libera.chat](https://libera.chat)\n
          - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
          """
        +lastActive: DateTime @1729541931 {#7063
          date: 2024-10-21 22:18:51.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
        +entries: Doctrine\ORM\PersistentCollection {#7076 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
        +posts: Doctrine\ORM\PersistentCollection {#7084 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
        +follows: Doctrine\ORM\PersistentCollection {#7096 …}
        +followers: Doctrine\ORM\PersistentCollection {#7098 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
        +reports: Doctrine\ORM\PersistentCollection {#7108 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
        +violations: Doctrine\ORM\PersistentCollection {#7112 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
        +awards: Doctrine\ORM\PersistentCollection {#7116 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
        +categories: Doctrine\ORM\PersistentCollection {#7120 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
        +apId: "Max_P@lemmy.max-p.me"
        +apProfileId: "https://lemmy.max-p.me/u/Max_P"
        +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.max-p.me/inbox"
        +apDomain: "lemmy.max-p.me"
        +apPreferredUsername: "Max_P"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727615060 {#7060
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7062
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4099
        +user: App\Entity\User {#4083
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4104
            date: 2023-07-29 18:31:28.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: true
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: false
          +notifyOnNewEntryCommentReply: false
          +notifyOnNewPost: false
          +notifyOnNewPostReply: false
          +notifyOnNewPostCommentReply: false
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
          +entries: Doctrine\ORM\PersistentCollection {#4073 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +posts: Doctrine\ORM\PersistentCollection {#4065 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
          +follows: Doctrine\ORM\PersistentCollection {#4133 …}
          +followers: Doctrine\ORM\PersistentCollection {#4135 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
          +reports: Doctrine\ORM\PersistentCollection {#4145 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
          +violations: Doctrine\ORM\PersistentCollection {#4149 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
          +awards: Doctrine\ORM\PersistentCollection {#4153 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
          +categories: Doctrine\ORM\PersistentCollection {#4157 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
          +apId: "grasib@lemmy.world"
          +apProfileId: "https://lemmy.world/u/grasib"
          +apPublicUrl: "https://lemmy.world/u/grasib"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "grasib"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1690648229 {#4101
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4097
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4105
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4091 …}
        +nested: Doctrine\ORM\PersistentCollection {#4094 …}
        +votes: Doctrine\ORM\PersistentCollection {#4092 …}
        +reports: Doctrine\ORM\PersistentCollection {#4090 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 7500
        -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/786477"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688421809 {#4103
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4099}
      +body: """
        Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
        \n
        Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688426966 {#4252
        date: 2023-07-04 01:29:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4245 …}
      +nested: Doctrine\ORM\PersistentCollection {#4243 …}
      +votes: Doctrine\ORM\PersistentCollection {#4247 …}
      +reports: Doctrine\ORM\PersistentCollection {#4258 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 15116
      -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.max-p.me/comment/41613"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688426966 {#4255
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: "Thanks so much! It turns out that the relay (8x) module I’m using - <https://www.amazon.com/gp/product/B00LX3UH9C> - has isolated relays… but I’ll try a diode, too."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689284437 {#4285
      date: 2023-07-13 23:40:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
      "@Max_P@lemmy.max-p.me"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4288 …}
    +nested: Doctrine\ORM\PersistentCollection {#4292 …}
    +votes: Doctrine\ORM\PersistentCollection {#4294 …}
    +reports: Doctrine\ORM\PersistentCollection {#4295 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4297 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4299 …}
    -id: 15117
    -bodyTs: "'/gp/product/b00lx3uh9c':17 '8x':10 'diod':26 'isol':19 'll':23 'm':13 'modul':11 'much':3 'relay':9,20 'thank':1 'tri':24 'turn':5 'use':14 'www.amazon.com':16 'www.amazon.com/gp/product/b00lx3uh9c':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984467"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689284437 {#4282
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8044
  +comment: App\Entity\EntryComment {#4280
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4251
      +user: Proxies\__CG__\App\Entity\User {#4248
        +avatar: Proxies\__CG__\App\Entity\Image {#7068 …}
        +cover: null
        +email: "Max_P@lemmy.max-p.me"
        +username: "@Max_P@lemmy.max-p.me"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: """
          Just some Internet guy\n
          \n
          He/him/them 🏳️\u{200D}🌈\n
          \n
          - IRC: Max-P on [libera.chat](https://libera.chat)\n
          - Matrix: [@max-p:max-p.me](https://matrix.to/#/@max-p:max-p.me)
          """
        +lastActive: DateTime @1729541931 {#7063
          date: 2024-10-21 22:18:51.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#7070 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#7072 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#7074 …}
        +entries: Doctrine\ORM\PersistentCollection {#7076 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#7078 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#7080 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#7082 …}
        +posts: Doctrine\ORM\PersistentCollection {#7084 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#7086 …}
        +postComments: Doctrine\ORM\PersistentCollection {#7088 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#7090 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#7092 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#7094 …}
        +follows: Doctrine\ORM\PersistentCollection {#7096 …}
        +followers: Doctrine\ORM\PersistentCollection {#7098 …}
        +blocks: Doctrine\ORM\PersistentCollection {#7100 …}
        +blockers: Doctrine\ORM\PersistentCollection {#7102 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#7104 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#7106 …}
        +reports: Doctrine\ORM\PersistentCollection {#7108 …}
        +favourites: Doctrine\ORM\PersistentCollection {#7110 …}
        +violations: Doctrine\ORM\PersistentCollection {#7112 …}
        +notifications: Doctrine\ORM\PersistentCollection {#7114 …}
        +awards: Doctrine\ORM\PersistentCollection {#7116 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#7118 …}
        +categories: Doctrine\ORM\PersistentCollection {#7120 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#7122 …}
        +apId: "Max_P@lemmy.max-p.me"
        +apProfileId: "https://lemmy.max-p.me/u/Max_P"
        +apPublicUrl: "https://lemmy.max-p.me/u/Max_P"
        +apFollowersUrl: null
        +apInboxUrl: "https://lemmy.max-p.me/inbox"
        +apDomain: "lemmy.max-p.me"
        +apPreferredUsername: "Max_P"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727615060 {#7060
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7062
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4099
        +user: App\Entity\User {#4083
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4104
            date: 2023-07-29 18:31:28.0 +02:00
          }
          +markedForDeletionAt: null
          +fields: null
          +oauthGithubId: null
          +oauthGoogleId: null
          +oauthFacebookId: null
          +oauthKeycloakId: null
          +hideAdult: true
          +showSubscribedUsers: true
          +showSubscribedMagazines: true
          +showSubscribedDomains: true
          +preferredLanguages: []
          +featuredMagazines: null
          +showProfileSubscriptions: true
          +showProfileFollowings: true
          +markNewComments: false
          +notifyOnNewEntry: false
          +notifyOnNewEntryReply: false
          +notifyOnNewEntryCommentReply: false
          +notifyOnNewPost: false
          +notifyOnNewPostReply: false
          +notifyOnNewPostCommentReply: false
          +addMentionsEntries: false
          +addMentionsPosts: true
          +isBanned: false
          +isVerified: false
          +isDeleted: false
          +isBot: false
          +spamProtection: true
          +customCss: null
          +ignoreMagazinesCustomCss: false
          +moderatorTokens: Doctrine\ORM\PersistentCollection {#4081 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4077 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4075 …}
          +entries: Doctrine\ORM\PersistentCollection {#4073 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4071 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +posts: Doctrine\ORM\PersistentCollection {#4065 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4063 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4124 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4127 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4129 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4131 …}
          +follows: Doctrine\ORM\PersistentCollection {#4133 …}
          +followers: Doctrine\ORM\PersistentCollection {#4135 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4137 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4139 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4141 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4143 …}
          +reports: Doctrine\ORM\PersistentCollection {#4145 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4147 …}
          +violations: Doctrine\ORM\PersistentCollection {#4149 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4151 …}
          +awards: Doctrine\ORM\PersistentCollection {#4153 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4155 …}
          +categories: Doctrine\ORM\PersistentCollection {#4157 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4159 …}
          +apId: "grasib@lemmy.world"
          +apProfileId: "https://lemmy.world/u/grasib"
          +apPublicUrl: "https://lemmy.world/u/grasib"
          +apFollowersUrl: null
          +apInboxUrl: "https://lemmy.world/inbox"
          +apDomain: "lemmy.world"
          +apPreferredUsername: "grasib"
          +apDiscoverable: true
          +apManuallyApprovesFollowers: false
          +privateKey: null
          +publicKey: null
          +apFetchedAt: DateTime @1690648229 {#4101
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4097
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4105
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4091 …}
        +nested: Doctrine\ORM\PersistentCollection {#4094 …}
        +votes: Doctrine\ORM\PersistentCollection {#4092 …}
        +reports: Doctrine\ORM\PersistentCollection {#4090 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4089 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4080 …}
        -id: 7500
        -bodyTs: "'0.35':17 '3':40 '35ma':29 '5':42 'chip':20 'coil':14 'connect':74 'could':60 'creat':61,65 'current':27,33,48 'diod':58 'entir':2 'free':56 'free-wheeling-diod':55 'gnd':76 'help':7 'higher':44 'hold':47 'induct':36 'issu':63 'load':37 'maximum':25 'may':51 'mayb':5 'output':26 'relay':11 'requir':16 'seem':21 'somehow':9 'spike':68 'strang':66 'suppli':72 'sure':3 'switch':31 'time':43 'usual':39 'valv':50 'voltag':67,73 'w':18 'wheel':57"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/786477"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688421809 {#4103
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4099}
      +body: """
        Yeah, decoupling cap here might as well just help OP fry the chip more effectively by ensuring it can sink all that current.\n
        \n
        Solution here is probably a transistor/MOSFET that the chip turns on, which in turn turns on the relay. Relay coils are inductors, so that probably also needs a diode to protect the transistor from inrush current and also the kickback when it turns off: inductors resist changes, so it’ll try to keep sinking the current and result in temporary spike of very high voltage: [spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688426966 {#4252
        date: 2023-07-04 01:29:26.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4245 …}
      +nested: Doctrine\ORM\PersistentCollection {#4243 …}
      +votes: Doctrine\ORM\PersistentCollection {#4247 …}
      +reports: Doctrine\ORM\PersistentCollection {#4258 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
      -id: 15116
      -bodyTs: "'/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':91 'also':49,61 'cap':3 'chang':70 'chip':13,32 'coil':43 'current':23,59,79 'decoupl':2 'diod':52 'effect':15 'ensur':17 'fri':11 'help':9 'high':87 'inductor':45,68 'inrush':58 'keep':76 'kickback':63 'll':73 'might':5 'need':50 'op':10 'probabl':27,48 'protect':54 'relay':41,42 'resist':69 'result':81 'sink':20,77 'solut':24 'spike':84 'spinningnumbers.org':90 'spinningnumbers.org/a/inductor-kickback.html](https://spinningnumbers.org/a/inductor-kickback.html)':89 'temporari':83 'transistor':56 'transistor/mosfet':29 'tri':74 'turn':33,37,38,66 'voltag':88 'well':7 'yeah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.max-p.me/comment/41613"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688426966 {#4255
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4099}
    +body: "Thanks so much! It turns out that the relay (8x) module I’m using - <https://www.amazon.com/gp/product/B00LX3UH9C> - has isolated relays… but I’ll try a diode, too."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1689284437 {#4285
      date: 2023-07-13 23:40:37.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
      "@grasib@lemmy.world"
      "@Max_P@lemmy.max-p.me"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4288 …}
    +nested: Doctrine\ORM\PersistentCollection {#4292 …}
    +votes: Doctrine\ORM\PersistentCollection {#4294 …}
    +reports: Doctrine\ORM\PersistentCollection {#4295 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4297 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4299 …}
    -id: 15117
    -bodyTs: "'/gp/product/b00lx3uh9c':17 '8x':10 'diod':26 'isol':19 'll':23 'm':13 'modul':11 'much':3 'relay':9,20 'thank':1 'tri':24 'turn':5 'use':14 'www.amazon.com':16 'www.amazon.com/gp/product/b00lx3uh9c':15"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/984467"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689284437 {#4282
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
  +nestedComments: []
  +level: 3
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 16.0 MiB 82.23 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4167
    +user: App\Entity\User {#4180
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4164
        date: 2024-10-12 20:47:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
      +entries: Doctrine\ORM\PersistentCollection {#4187 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
      +posts: Doctrine\ORM\PersistentCollection {#4195 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
      +follows: Doctrine\ORM\PersistentCollection {#4207 …}
      +followers: Doctrine\ORM\PersistentCollection {#4209 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
      +reports: Doctrine\ORM\PersistentCollection {#4219 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
      +violations: Doctrine\ORM\PersistentCollection {#4223 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
      +awards: Doctrine\ORM\PersistentCollection {#4227 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
      +categories: Doctrine\ORM\PersistentCollection {#4231 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
      +apId: "Rolive@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/Rolive"
      +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "Rolive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728133781 {#4165
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4166
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4161
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4170 …}
    +votes: Doctrine\ORM\PersistentCollection {#4172 …}
    +reports: Doctrine\ORM\PersistentCollection {#4174 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    -id: 7561
    -bodyTs: "'affect':50 'arduino':39 'attach':10 'bare':97 'behav':23 'believ':8 'case':27 'chip':34 'circuit':63 'clk':74 'conclus':9 'connect':59 'errat':24 'finish':117 'fulli':41 'guess':65 'high':100,102 'issu':17,81 'kill':85 'kind':93 'like':67 'link':3 'load':49 'main':62 'make':106 'microcontrol':115 'modul':21,53,109 'module/595':33 'mosfet':122 'never':57 'nois':87,89 'pin':77 'power':36,42 'probabl':91 'pulldown':69 'random':103 'rclk':76 'receiv':35 'regist':98 'relay':20,32,52,108 'resistor':70 'seem':1 'ser':73 'similar':16 'sinc':82 'solv':79 'someth':66,124 'start':118 'turn':111 'unlik':46 'use':120 'voltag':95 'websit':4 'would':22,78,84"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/601154"
    +editedAt: DateTimeImmutable @1688452608 {#4162
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4163
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8131
  +comment: App\Entity\EntryComment {#4167
    +user: App\Entity\User {#4180
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4164
        date: 2024-10-12 20:47:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
      +entries: Doctrine\ORM\PersistentCollection {#4187 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
      +posts: Doctrine\ORM\PersistentCollection {#4195 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
      +follows: Doctrine\ORM\PersistentCollection {#4207 …}
      +followers: Doctrine\ORM\PersistentCollection {#4209 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
      +reports: Doctrine\ORM\PersistentCollection {#4219 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
      +violations: Doctrine\ORM\PersistentCollection {#4223 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
      +awards: Doctrine\ORM\PersistentCollection {#4227 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
      +categories: Doctrine\ORM\PersistentCollection {#4231 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
      +apId: "Rolive@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/Rolive"
      +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "Rolive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728133781 {#4165
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4166
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4161
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4170 …}
    +votes: Doctrine\ORM\PersistentCollection {#4172 …}
    +reports: Doctrine\ORM\PersistentCollection {#4174 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    -id: 7561
    -bodyTs: "'affect':50 'arduino':39 'attach':10 'bare':97 'behav':23 'believ':8 'case':27 'chip':34 'circuit':63 'clk':74 'conclus':9 'connect':59 'errat':24 'finish':117 'fulli':41 'guess':65 'high':100,102 'issu':17,81 'kill':85 'kind':93 'like':67 'link':3 'load':49 'main':62 'make':106 'microcontrol':115 'modul':21,53,109 'module/595':33 'mosfet':122 'never':57 'nois':87,89 'pin':77 'power':36,42 'probabl':91 'pulldown':69 'random':103 'rclk':76 'receiv':35 'regist':98 'relay':20,32,52,108 'resistor':70 'seem':1 'ser':73 'similar':16 'sinc':82 'solv':79 'someth':66,124 'start':118 'turn':111 'unlik':46 'use':120 'voltag':95 'websit':4 'would':22,78,84"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/601154"
    +editedAt: DateTimeImmutable @1688452608 {#4162
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4163
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  +showMagazineName: false
  +showEntryTitle: false
  +showNested: true
  +level: 1
  +canSeeTrash: false
  +dateAsUrl: false
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4180
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4164
      date: 2024-10-12 20:47:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
    +entries: Doctrine\ORM\PersistentCollection {#4187 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
    +posts: Doctrine\ORM\PersistentCollection {#4195 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
    +follows: Doctrine\ORM\PersistentCollection {#4207 …}
    +followers: Doctrine\ORM\PersistentCollection {#4209 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
    +reports: Doctrine\ORM\PersistentCollection {#4219 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
    +violations: Doctrine\ORM\PersistentCollection {#4223 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
    +awards: Doctrine\ORM\PersistentCollection {#4227 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
    +categories: Doctrine\ORM\PersistentCollection {#4231 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
    +apId: "Rolive@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/Rolive"
    +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "Rolive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728133781 {#4165
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4166
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8176
  +user: App\Entity\User {#4180
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4164
      date: 2024-10-12 20:47:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
    +entries: Doctrine\ORM\PersistentCollection {#4187 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
    +posts: Doctrine\ORM\PersistentCollection {#4195 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
    +follows: Doctrine\ORM\PersistentCollection {#4207 …}
    +followers: Doctrine\ORM\PersistentCollection {#4209 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
    +reports: Doctrine\ORM\PersistentCollection {#4219 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
    +violations: Doctrine\ORM\PersistentCollection {#4223 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
    +awards: Doctrine\ORM\PersistentCollection {#4227 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
    +categories: Doctrine\ORM\PersistentCollection {#4231 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
    +apId: "Rolive@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/Rolive"
    +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "Rolive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728133781 {#4165
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4166
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1688442898 {#4163
    date: 2023-07-04 05:54:58.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8231
  +date: DateTimeImmutable @1688442898 {#4163
    date: 2023-07-04 05:54:58.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 16.0 MiB 0.13 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688442898 {#4163
    date: 2023-07-04 05:54:58.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1688452608 {#4162
    date: 2023-07-04 08:36:48.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8285
  +createdAt: DateTimeImmutable @1688442898 {#4163
    date: 2023-07-04 05:54:58.0 +02:00
  }
  +editedAt: DateTimeImmutable @1688452608 {#4162
    date: 2023-07-04 08:36:48.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 16.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4180
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4164
      date: 2024-10-12 20:47:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
    +entries: Doctrine\ORM\PersistentCollection {#4187 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
    +posts: Doctrine\ORM\PersistentCollection {#4195 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
    +follows: Doctrine\ORM\PersistentCollection {#4207 …}
    +followers: Doctrine\ORM\PersistentCollection {#4209 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
    +reports: Doctrine\ORM\PersistentCollection {#4219 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
    +violations: Doctrine\ORM\PersistentCollection {#4223 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
    +awards: Doctrine\ORM\PersistentCollection {#4227 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
    +categories: Doctrine\ORM\PersistentCollection {#4231 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
    +apId: "Rolive@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/Rolive"
    +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "Rolive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728133781 {#4165
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4166
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8339
  +width: 40
  +height: 40
  +user: App\Entity\User {#4180
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4164
      date: 2024-10-12 20:47:22.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
    +entries: Doctrine\ORM\PersistentCollection {#4187 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
    +posts: Doctrine\ORM\PersistentCollection {#4195 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
    +follows: Doctrine\ORM\PersistentCollection {#4207 …}
    +followers: Doctrine\ORM\PersistentCollection {#4209 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
    +reports: Doctrine\ORM\PersistentCollection {#4219 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
    +violations: Doctrine\ORM\PersistentCollection {#4223 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
    +awards: Doctrine\ORM\PersistentCollection {#4227 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
    +categories: Doctrine\ORM\PersistentCollection {#4231 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
    +apId: "Rolive@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/Rolive"
    +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "Rolive"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728133781 {#4165
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4166
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 16.0 MiB 0.41 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4167
    +user: App\Entity\User {#4180
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4164
        date: 2024-10-12 20:47:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
      +entries: Doctrine\ORM\PersistentCollection {#4187 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
      +posts: Doctrine\ORM\PersistentCollection {#4195 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
      +follows: Doctrine\ORM\PersistentCollection {#4207 …}
      +followers: Doctrine\ORM\PersistentCollection {#4209 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
      +reports: Doctrine\ORM\PersistentCollection {#4219 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
      +violations: Doctrine\ORM\PersistentCollection {#4223 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
      +awards: Doctrine\ORM\PersistentCollection {#4227 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
      +categories: Doctrine\ORM\PersistentCollection {#4231 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
      +apId: "Rolive@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/Rolive"
      +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "Rolive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728133781 {#4165
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4166
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4161
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4170 …}
    +votes: Doctrine\ORM\PersistentCollection {#4172 …}
    +reports: Doctrine\ORM\PersistentCollection {#4174 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    -id: 7561
    -bodyTs: "'affect':50 'arduino':39 'attach':10 'bare':97 'behav':23 'believ':8 'case':27 'chip':34 'circuit':63 'clk':74 'conclus':9 'connect':59 'errat':24 'finish':117 'fulli':41 'guess':65 'high':100,102 'issu':17,81 'kill':85 'kind':93 'like':67 'link':3 'load':49 'main':62 'make':106 'microcontrol':115 'modul':21,53,109 'module/595':33 'mosfet':122 'never':57 'nois':87,89 'pin':77 'power':36,42 'probabl':91 'pulldown':69 'random':103 'rclk':76 'receiv':35 'regist':98 'relay':20,32,52,108 'resistor':70 'seem':1 'ser':73 'similar':16 'sinc':82 'solv':79 'someth':66,124 'start':118 'turn':111 'unlik':46 'use':120 'voltag':95 'websit':4 'would':22,78,84"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/601154"
    +editedAt: DateTimeImmutable @1688452608 {#4162
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4163
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#8416
  +subject: App\Entity\EntryComment {#4167
    +user: App\Entity\User {#4180
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4164
        date: 2024-10-12 20:47:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
      +entries: Doctrine\ORM\PersistentCollection {#4187 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
      +posts: Doctrine\ORM\PersistentCollection {#4195 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
      +follows: Doctrine\ORM\PersistentCollection {#4207 …}
      +followers: Doctrine\ORM\PersistentCollection {#4209 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
      +reports: Doctrine\ORM\PersistentCollection {#4219 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
      +violations: Doctrine\ORM\PersistentCollection {#4223 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
      +awards: Doctrine\ORM\PersistentCollection {#4227 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
      +categories: Doctrine\ORM\PersistentCollection {#4231 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
      +apId: "Rolive@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/Rolive"
      +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "Rolive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728133781 {#4165
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4166
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4161
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4170 …}
    +votes: Doctrine\ORM\PersistentCollection {#4172 …}
    +reports: Doctrine\ORM\PersistentCollection {#4174 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    -id: 7561
    -bodyTs: "'affect':50 'arduino':39 'attach':10 'bare':97 'behav':23 'believ':8 'case':27 'chip':34 'circuit':63 'clk':74 'conclus':9 'connect':59 'errat':24 'finish':117 'fulli':41 'guess':65 'high':100,102 'issu':17,81 'kill':85 'kind':93 'like':67 'link':3 'load':49 'main':62 'make':106 'microcontrol':115 'modul':21,53,109 'module/595':33 'mosfet':122 'never':57 'nois':87,89 'pin':77 'power':36,42 'probabl':91 'pulldown':69 'random':103 'rclk':76 'receiv':35 'regist':98 'relay':20,32,52,108 'resistor':70 'seem':1 'ser':73 'similar':16 'sinc':82 'solv':79 'someth':66,124 'start':118 'turn':111 'unlik':46 'use':120 'voltag':95 'websit':4 'would':22,78,84"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/601154"
    +editedAt: DateTimeImmutable @1688452608 {#4162
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4163
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  +formDest: "entry_comment"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 16.0 MiB 0.68 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4167
    +user: App\Entity\User {#4180
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4164
        date: 2024-10-12 20:47:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
      +entries: Doctrine\ORM\PersistentCollection {#4187 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
      +posts: Doctrine\ORM\PersistentCollection {#4195 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
      +follows: Doctrine\ORM\PersistentCollection {#4207 …}
      +followers: Doctrine\ORM\PersistentCollection {#4209 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
      +reports: Doctrine\ORM\PersistentCollection {#4219 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
      +violations: Doctrine\ORM\PersistentCollection {#4223 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
      +awards: Doctrine\ORM\PersistentCollection {#4227 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
      +categories: Doctrine\ORM\PersistentCollection {#4231 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
      +apId: "Rolive@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/Rolive"
      +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "Rolive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728133781 {#4165
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4166
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4161
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4170 …}
    +votes: Doctrine\ORM\PersistentCollection {#4172 …}
    +reports: Doctrine\ORM\PersistentCollection {#4174 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    -id: 7561
    -bodyTs: "'affect':50 'arduino':39 'attach':10 'bare':97 'behav':23 'believ':8 'case':27 'chip':34 'circuit':63 'clk':74 'conclus':9 'connect':59 'errat':24 'finish':117 'fulli':41 'guess':65 'high':100,102 'issu':17,81 'kill':85 'kind':93 'like':67 'link':3 'load':49 'main':62 'make':106 'microcontrol':115 'modul':21,53,109 'module/595':33 'mosfet':122 'never':57 'nois':87,89 'pin':77 'power':36,42 'probabl':91 'pulldown':69 'random':103 'rclk':76 'receiv':35 'regist':98 'relay':20,32,52,108 'resistor':70 'seem':1 'ser':73 'similar':16 'sinc':82 'solv':79 'someth':66,124 'start':118 'turn':111 'unlik':46 'use':120 'voltag':95 'websit':4 'would':22,78,84"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/601154"
    +editedAt: DateTimeImmutable @1688452608 {#4162
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4163
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#8473
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4167
    +user: App\Entity\User {#4180
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4164
        date: 2024-10-12 20:47:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
      +entries: Doctrine\ORM\PersistentCollection {#4187 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
      +posts: Doctrine\ORM\PersistentCollection {#4195 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
      +follows: Doctrine\ORM\PersistentCollection {#4207 …}
      +followers: Doctrine\ORM\PersistentCollection {#4209 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
      +reports: Doctrine\ORM\PersistentCollection {#4219 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
      +violations: Doctrine\ORM\PersistentCollection {#4223 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
      +awards: Doctrine\ORM\PersistentCollection {#4227 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
      +categories: Doctrine\ORM\PersistentCollection {#4231 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
      +apId: "Rolive@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/Rolive"
      +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "Rolive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728133781 {#4165
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4166
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4161
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4170 …}
    +votes: Doctrine\ORM\PersistentCollection {#4172 …}
    +reports: Doctrine\ORM\PersistentCollection {#4174 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    -id: 7561
    -bodyTs: "'affect':50 'arduino':39 'attach':10 'bare':97 'behav':23 'believ':8 'case':27 'chip':34 'circuit':63 'clk':74 'conclus':9 'connect':59 'errat':24 'finish':117 'fulli':41 'guess':65 'high':100,102 'issu':17,81 'kill':85 'kind':93 'like':67 'link':3 'load':49 'main':62 'make':106 'microcontrol':115 'modul':21,53,109 'module/595':33 'mosfet':122 'never':57 'nois':87,89 'pin':77 'power':36,42 'probabl':91 'pulldown':69 'random':103 'rclk':76 'receiv':35 'regist':98 'relay':20,32,52,108 'resistor':70 'seem':1 'ser':73 'similar':16 'sinc':82 'solv':79 'someth':66,124 'start':118 'turn':111 'unlik':46 'use':120 'voltag':95 'websit':4 'would':22,78,84"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/601154"
    +editedAt: DateTimeImmutable @1688452608 {#4162
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4163
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 16.0 MiB 68.01 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4167
    +user: App\Entity\User {#4180
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4164
        date: 2024-10-12 20:47:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
      +entries: Doctrine\ORM\PersistentCollection {#4187 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
      +posts: Doctrine\ORM\PersistentCollection {#4195 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
      +follows: Doctrine\ORM\PersistentCollection {#4207 …}
      +followers: Doctrine\ORM\PersistentCollection {#4209 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
      +reports: Doctrine\ORM\PersistentCollection {#4219 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
      +violations: Doctrine\ORM\PersistentCollection {#4223 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
      +awards: Doctrine\ORM\PersistentCollection {#4227 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
      +categories: Doctrine\ORM\PersistentCollection {#4231 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
      +apId: "Rolive@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/Rolive"
      +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "Rolive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728133781 {#4165
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4166
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4161
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4170 …}
    +votes: Doctrine\ORM\PersistentCollection {#4172 …}
    +reports: Doctrine\ORM\PersistentCollection {#4174 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    -id: 7561
    -bodyTs: "'affect':50 'arduino':39 'attach':10 'bare':97 'behav':23 'believ':8 'case':27 'chip':34 'circuit':63 'clk':74 'conclus':9 'connect':59 'errat':24 'finish':117 'fulli':41 'guess':65 'high':100,102 'issu':17,81 'kill':85 'kind':93 'like':67 'link':3 'load':49 'main':62 'make':106 'microcontrol':115 'modul':21,53,109 'module/595':33 'mosfet':122 'never':57 'nois':87,89 'pin':77 'power':36,42 'probabl':91 'pulldown':69 'random':103 'rclk':76 'receiv':35 'regist':98 'relay':20,32,52,108 'resistor':70 'seem':1 'ser':73 'similar':16 'sinc':82 'solv':79 'someth':66,124 'start':118 'turn':111 'unlik':46 'use':120 'voltag':95 'websit':4 'would':22,78,84"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/601154"
    +editedAt: DateTimeImmutable @1688452608 {#4162
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4163
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8713
  +comment: App\Entity\EntryComment {#4167
    +user: App\Entity\User {#4180
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4164
        date: 2024-10-12 20:47:22.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#4181 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4183 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4185 …}
      +entries: Doctrine\ORM\PersistentCollection {#4187 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4189 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4191 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4193 …}
      +posts: Doctrine\ORM\PersistentCollection {#4195 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4197 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4199 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4201 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4203 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4205 …}
      +follows: Doctrine\ORM\PersistentCollection {#4207 …}
      +followers: Doctrine\ORM\PersistentCollection {#4209 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4211 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4213 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4215 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4217 …}
      +reports: Doctrine\ORM\PersistentCollection {#4219 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4221 …}
      +violations: Doctrine\ORM\PersistentCollection {#4223 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4225 …}
      +awards: Doctrine\ORM\PersistentCollection {#4227 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4229 …}
      +categories: Doctrine\ORM\PersistentCollection {#4231 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4233 …}
      +apId: "Rolive@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/Rolive"
      +apPublicUrl: "https://discuss.tchncs.de/u/Rolive"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "Rolive"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1728133781 {#4165
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4166
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4161
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4168 …}
    +nested: Doctrine\ORM\PersistentCollection {#4170 …}
    +votes: Doctrine\ORM\PersistentCollection {#4172 …}
    +reports: Doctrine\ORM\PersistentCollection {#4174 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4176 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4178 …}
    -id: 7561
    -bodyTs: "'affect':50 'arduino':39 'attach':10 'bare':97 'behav':23 'believ':8 'case':27 'chip':34 'circuit':63 'clk':74 'conclus':9 'connect':59 'errat':24 'finish':117 'fulli':41 'guess':65 'high':100,102 'issu':17,81 'kill':85 'kind':93 'like':67 'link':3 'load':49 'main':62 'make':106 'microcontrol':115 'modul':21,53,109 'module/595':33 'mosfet':122 'never':57 'nois':87,89 'pin':77 'power':36,42 'probabl':91 'pulldown':69 'random':103 'rclk':76 'receiv':35 'regist':98 'relay':20,32,52,108 'resistor':70 'seem':1 'ser':73 'similar':16 'sinc':82 'solv':79 'someth':66,124 'start':118 'turn':111 'unlik':46 'use':120 'voltag':95 'websit':4 'would':22,78,84"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/601154"
    +editedAt: DateTimeImmutable @1688452608 {#4162
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4163
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 16.0 MiB 0.22 ms
Input props
[
  "label" => "Sidebar position"
  "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION"
  "values" => [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  "defaultValue" => "RIGHT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#8838
  +label: "Sidebar position"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION"
  +values: [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  +defaultValue: "RIGHT"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.18 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#8902
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#8967
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Infinite scrolling"
  "help" => "Automatically load more content when you reach the bottom of the page."
  "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9023
  +label: "Infinite scrolling"
  +help: "Automatically load more content when you reach the bottom of the page."
  +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.14 ms
Input props
[
  "label" => "Sticky navbar"
  "help" => "The navbar will stick to the top of the page when you scroll down."
  "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9082
  +label: "Sticky navbar"
  +help: "The navbar will stick to the top of the page when you scroll down."
  +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 12.22 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9138
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.14 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9194
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.22 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9252
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Show "Support Us" block"
  "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9315
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.17 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9373
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.17 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9429
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 16.0 MiB 0.14 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9485
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9541
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.19 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9597
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9653
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.15 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9709
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.13 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9765
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.12 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9821
  +label: "Auto media preview"
  +help: "Automatically expand media previews."
  +settingsKey: "KBIN_POSTS_SHOW_PREVIEW"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.14 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9877
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 16.0 MiB 0.16 ms
Input props
[
  "label" => "Comment reply position"
  "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION"
  "values" => [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  "defaultValue" => "TOP"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#9933
  +label: "Comment reply position"
  +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top."
  +settingsKey: "KBIN_COMMENTS_REPLY_POSITION"
  +values: [
    [
      "name" => "top"
      "value" => "TOP"
    ]
    [
      "name" => "bottom"
      "value" => "BOTTOM"
    ]
  ]
  +defaultValue: "TOP"
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 16.0 MiB 0.17 ms
Input props
[
  "label" => "Show Comment Avatars"
  "help" => "Display/hide user avatars when viewing comments on a single thread or post."
  "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9991
  +label: "Show Comment Avatars"
  +help: "Display/hide user avatars when viewing comments on a single thread or post."
  +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR"
  +defaultValue: true
  +reloadRequired: true
}
user_actions App\Twig\Components\UserActionsComponent 16.0 MiB 0.42 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#10068
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
}
date App\Twig\Components\DateComponent 16.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10129
  +date: DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
}
magazine_box App\Twig\Components\MagazineBoxComponent 16.0 MiB 24.69 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  "showSectionTitle" => true
]
Attributes
[]
Component
App\Twig\Components\MagazineBoxComponent {#10185
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +showCover: true
  +showDescription: true
  +showRules: true
  +showSubscribeButton: true
  +showInfo: true
  +showMeta: true
  +showSectionTitle: true
  +stretchedLink: true
}
magazine_sub App\Twig\Components\MagazineSubComponent 16.0 MiB 0.54 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineSubComponent {#10244
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
}
date App\Twig\Components\DateComponent 16.0 MiB 0.19 ms
Input props
[
  "date" => DateTimeImmutable @1687144409 {#271
    date: 2023-06-19 05:13:29.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10356
  +date: DateTimeImmutable @1687144409 {#271
    date: 2023-06-19 05:13:29.0 +02:00
  }
}
user_inline App\Twig\Components\UserInlineComponent 16.0 MiB 2.55 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#10415
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#10462
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#10464 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10466 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10468 …}
    +entries: Doctrine\ORM\PersistentCollection {#10470 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10472 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10474 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10476 …}
    +posts: Doctrine\ORM\PersistentCollection {#10478 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10480 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10482 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10484 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10486 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10488 …}
    +follows: Doctrine\ORM\PersistentCollection {#10490 …}
    +followers: Doctrine\ORM\PersistentCollection {#10492 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10494 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10496 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10498 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10500 …}
    +reports: Doctrine\ORM\PersistentCollection {#10502 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10504 …}
    +violations: Doctrine\ORM\PersistentCollection {#10506 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10508 …}
    +awards: Doctrine\ORM\PersistentCollection {#10510 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10512 …}
    +categories: Doctrine\ORM\PersistentCollection {#10514 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10516 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#10463
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10433
  +user: Proxies\__CG__\App\Entity\User {#10415
    +avatar: null
    +cover: null
    +email: "kbin@j0h.nl"
    +username: "Sprite_tm"
    +roles: [
      "ROLE_ADMIN"
    ]
    +followersCount: 0
    +homepage: "front"
    +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com."
    +lastActive: DateTime @1707547382 {#10462
      date: 2024-02-10 07:43:02.0 +01:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: true
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#10464 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10466 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10468 …}
    +entries: Doctrine\ORM\PersistentCollection {#10470 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10472 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10474 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10476 …}
    +posts: Doctrine\ORM\PersistentCollection {#10478 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10480 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10482 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10484 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10486 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10488 …}
    +follows: Doctrine\ORM\PersistentCollection {#10490 …}
    +followers: Doctrine\ORM\PersistentCollection {#10492 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10494 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10496 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10498 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10500 …}
    +reports: Doctrine\ORM\PersistentCollection {#10502 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10504 …}
    +violations: Doctrine\ORM\PersistentCollection {#10506 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10508 …}
    +awards: Doctrine\ORM\PersistentCollection {#10510 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10512 …}
    +categories: Doctrine\ORM\PersistentCollection {#10514 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10516 …}
    +apId: null
    +apProfileId: null
    +apPublicUrl: null
    +apFollowersUrl: null
    +apInboxUrl: null
    +apDomain: null
    +apPreferredUsername: null
    +apDiscoverable: null
    +apManuallyApprovesFollowers: null
    +privateKey: """
      -----BEGIN PRIVATE KEY-----\r\n
      MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n
      YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n
      31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n
      MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n
      Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n
      QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n
      d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n
      sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n
      V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n
      /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n
      g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n
      OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n
      SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n
      WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n
      O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n
      FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n
      F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n
      L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n
      GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n
      yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n
      RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n
      aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n
      qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n
      bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n
      riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n
      K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n
      Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n
      Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n
      7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n
      CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n
      qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n
      1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n
      Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n
      v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n
      fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n
      psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n
      F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n
      gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n
      tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n
      Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n
      hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n
      jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n
      oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n
      +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n
      cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n
      pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n
      ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n
      aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n
      KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n
      Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n
      -----END PRIVATE KEY-----
      """
    +publicKey: """
      -----BEGIN PUBLIC KEY-----\r\n
      MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n
      TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n
      cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n
      zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n
      Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n
      55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n
      60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n
      OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n
      S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n
      beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n
      2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n
      U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n
      -----END PUBLIC KEY-----
      """
    +apFetchedAt: null
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686560440 {#10463
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: true
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 16.0 MiB 2.94 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#10624
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +title: "related_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#333 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 16.0 MiB 6.23 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#10711
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  -userRepository: App\Repository\UserRepository {#603 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_categories App\Twig\Components\RelatedCategoriesComponent 16.0 MiB 1.47 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#10770
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "related"
  +title: "related_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#10771 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 16.0 MiB 1.63 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#10841
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +post: null
  +title: "related_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#10840 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#389 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 16.0 MiB 1.48 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#10910
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +entry: null
  +title: "related_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#270 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#389 …}
}
support_us_block App\Twig\Components\SupportUsBlock 16.0 MiB 0.20 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#10979
  +subject: ? App\Entity\Contracts\VotableInterface
  +url: ? string
  -twig: Twig\Environment {#1252 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -partnerBlockRepository: App\Repository\PartnerBlockRepository {#10980 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 16.0 MiB 2.51 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#11068
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#333 …}
}