Components

24 Twig Components
103 Render Count
345 ms Render Time
20.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 2.02ms
user_avatar
"App\Twig\Components\UserAvatarComponent"
components/user_avatar.html.twig
12 6.66ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
10 1.46ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
9 3.23ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
8 8.35ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
8 5.62ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
8 13.97ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
7 321.81ms
entry_comments_nested
"App\Twig\Components\EntryCommentsNestedComponent"
components/_cached.html.twig
7 176.20ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 17.48ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.41ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 9.30ms
entries_cross
"App\Twig\Components\EntriesCrossComponent"
components/_cached.html.twig
1 36.92ms
editor_toolbar
"App\Twig\Components\EditorToolbarComponent"
components/editor_toolbar.html.twig
1 1.10ms
user_actions
"App\Twig\Components\UserActionsComponent"
components/user_actions.html.twig
1 0.44ms
magazine_box
"App\Twig\Components\MagazineBoxComponent"
components/magazine_box.html.twig
1 14.52ms
magazine_sub
"App\Twig\Components\MagazineSubComponent"
components/magazine_sub.html.twig
1 0.45ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 10.26ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 24.41ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 3.79ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 4.33ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 6.41ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 0.34ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 0.95ms

Render calls

entry App\Twig\Components\EntryComponent 20.0 MiB 9.30 ms
Input props
[
  "entry" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1962 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
    +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 {#2410
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1886 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1948 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +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 {#1850
      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 {#2966
  -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …}
  -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2967 …}
  -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 {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1962 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
    +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 {#2410
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1886 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1948 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +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 {#1850
      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 20.0 MiB 0.24 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3149
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 20.0 MiB 0.20 ms
Input props
[
  "date" => DateTimeImmutable @1688419656 {#1850
    date: 2023-07-03 23:27:36.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3219
  +date: DateTimeImmutable @1688419656 {#1850
    date: 2023-07-03 23:27:36.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 20.0 MiB 0.14 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688419656 {#1850
    date: 2023-07-03 23:27:36.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3283
  +createdAt: DateTimeImmutable @1688419656 {#1850
    date: 2023-07-03 23:27:36.0 +02:00
  }
  +editedAt: null
}
vote App\Twig\Components\VoteComponent 20.0 MiB 0.44 ms
Input props
[
  "subject" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1962 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
    +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 {#2410
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1886 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1948 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +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 {#1850
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3350
  +subject: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1962 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
    +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 {#2410
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1886 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1948 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +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 {#1850
      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 20.0 MiB 1.14 ms
Input props
[
  "subject" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1962 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
    +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 {#2410
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1886 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1948 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +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 {#1850
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3421
  +formDest: "entry"
  +subject: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1962 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
    +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 {#2410
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1886 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1948 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +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 {#1850
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entries_cross App\Twig\Components\EntriesCrossComponent 20.0 MiB 36.92 ms
Input props
[
  "entry" => App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1962 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
    +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 {#2410
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1886 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1948 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +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 {#1850
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\EntriesCrossComponent {#3730
  +entry: App\Entity\Entry {#2388
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +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 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -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 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1962 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
    +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 {#2410
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1886 …}
    +votes: Doctrine\ORM\PersistentCollection {#1973 …}
    +reports: Doctrine\ORM\PersistentCollection {#1948 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
    +badges: Doctrine\ORM\PersistentCollection {#2440 …}
    +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 {#1850
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  -repository: App\Repository\EntryRepository {#271 …}
  -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 20.0 MiB 1.10 ms
Input props
[
  "id" => "entry_comment_6910e2cc6eb2b2.72752793_body"
]
Attributes
[]
Component
App\Twig\Components\EditorToolbarComponent {#3855
  +id: "entry_comment_6910e2cc6eb2b2.72752793_body"
}
entry_comment App\Twig\Components\EntryCommentComponent 20.0 MiB 94.74 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4064
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4047 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -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 {#4000
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#4296
  +comment: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4064
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4047 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -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 {#4000
      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 20.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4063
      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 {#4004 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
    +entries: Doctrine\ORM\PersistentCollection {#3997 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
    +posts: Doctrine\ORM\PersistentCollection {#3987 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
    +follows: Doctrine\ORM\PersistentCollection {#4119 …}
    +followers: Doctrine\ORM\PersistentCollection {#4115 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
    +reports: Doctrine\ORM\PersistentCollection {#4118 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
    +violations: Doctrine\ORM\PersistentCollection {#4108 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
    +awards: Doctrine\ORM\PersistentCollection {#4109 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
    +categories: Doctrine\ORM\PersistentCollection {#4106 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4057
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#4385
  +user: App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4063
      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 {#4004 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
    +entries: Doctrine\ORM\PersistentCollection {#3997 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
    +posts: Doctrine\ORM\PersistentCollection {#3987 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
    +follows: Doctrine\ORM\PersistentCollection {#4119 …}
    +followers: Doctrine\ORM\PersistentCollection {#4115 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
    +reports: Doctrine\ORM\PersistentCollection {#4118 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
    +violations: Doctrine\ORM\PersistentCollection {#4108 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
    +awards: Doctrine\ORM\PersistentCollection {#4109 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
    +categories: Doctrine\ORM\PersistentCollection {#4106 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4057
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 20.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1688445126 {#4000
    date: 2023-07-04 06:32:06.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#4440
  +date: DateTimeImmutable @1688445126 {#4000
    date: 2023-07-04 06:32:06.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 20.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688445126 {#4000
    date: 2023-07-04 06:32:06.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#4494
  +createdAt: DateTimeImmutable @1688445126 {#4000
    date: 2023-07-04 06:32:06.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.23 ms
Input props
[
  "user" => App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4063
      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 {#4004 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
    +entries: Doctrine\ORM\PersistentCollection {#3997 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
    +posts: Doctrine\ORM\PersistentCollection {#3987 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
    +follows: Doctrine\ORM\PersistentCollection {#4119 …}
    +followers: Doctrine\ORM\PersistentCollection {#4115 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
    +reports: Doctrine\ORM\PersistentCollection {#4118 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
    +violations: Doctrine\ORM\PersistentCollection {#4108 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
    +awards: Doctrine\ORM\PersistentCollection {#4109 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
    +categories: Doctrine\ORM\PersistentCollection {#4106 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4057
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#4550
  +width: 40
  +height: 40
  +user: App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4063
      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 {#4004 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
    +entries: Doctrine\ORM\PersistentCollection {#3997 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
    +posts: Doctrine\ORM\PersistentCollection {#3987 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
    +follows: Doctrine\ORM\PersistentCollection {#4119 …}
    +followers: Doctrine\ORM\PersistentCollection {#4115 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
    +reports: Doctrine\ORM\PersistentCollection {#4118 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
    +violations: Doctrine\ORM\PersistentCollection {#4108 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
    +awards: Doctrine\ORM\PersistentCollection {#4109 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
    +categories: Doctrine\ORM\PersistentCollection {#4106 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4057
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 20.0 MiB 0.41 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4064
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4047 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -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 {#4000
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#4670
  +subject: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4064
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4047 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -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 {#4000
      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 20.0 MiB 0.64 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4064
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4047 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -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 {#4000
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#4727
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4064
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4047 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -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 {#4000
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 20.0 MiB 74.74 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4064
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4047 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -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 {#4000
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#4972
  +comment: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4064
      date: 2023-07-16 06:30:08.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4053 …}
    +nested: Doctrine\ORM\PersistentCollection {#4051 …}
    +votes: Doctrine\ORM\PersistentCollection {#4049 …}
    +reports: Doctrine\ORM\PersistentCollection {#4047 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
    -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 {#4000
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  +nestedComments: [
    15130 => App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4055}
      +root: App\Entity\EntryComment {#4055}
      +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 {#4270
        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 {#4273 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4277 …}
      +reports: Doctrine\ORM\PersistentCollection {#4279 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
      -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 {#4271
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    19326 => App\Entity\EntryComment {#4309
      +user: App\Entity\User {#4003}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4272}
      +root: App\Entity\EntryComment {#4055}
      +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 {#4307
        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 {#4310 …}
      +nested: Doctrine\ORM\PersistentCollection {#4312 …}
      +votes: Doctrine\ORM\PersistentCollection {#4314 …}
      +reports: Doctrine\ORM\PersistentCollection {#4316 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4318 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4320 …}
      -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 {#4308
        date: 2023-07-16 06:30:05.0 +02:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -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 20.0 MiB 36.66 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4063
          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 {#4004 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
        +entries: Doctrine\ORM\PersistentCollection {#3997 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
        +posts: Doctrine\ORM\PersistentCollection {#3987 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
        +follows: Doctrine\ORM\PersistentCollection {#4119 …}
        +followers: Doctrine\ORM\PersistentCollection {#4115 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
        +reports: Doctrine\ORM\PersistentCollection {#4118 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
        +violations: Doctrine\ORM\PersistentCollection {#4108 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
        +awards: Doctrine\ORM\PersistentCollection {#4109 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
        +categories: Doctrine\ORM\PersistentCollection {#4106 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4057
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4064
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4053 …}
      +nested: Doctrine\ORM\PersistentCollection {#4051 …}
      +votes: Doctrine\ORM\PersistentCollection {#4049 …}
      +reports: Doctrine\ORM\PersistentCollection {#4047 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
      -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 {#4000
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4270
      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 {#4273 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4277 …}
    +reports: Doctrine\ORM\PersistentCollection {#4279 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
    -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 {#4271
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5046
  +comment: App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4063
          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 {#4004 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
        +entries: Doctrine\ORM\PersistentCollection {#3997 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
        +posts: Doctrine\ORM\PersistentCollection {#3987 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
        +follows: Doctrine\ORM\PersistentCollection {#4119 …}
        +followers: Doctrine\ORM\PersistentCollection {#4115 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
        +reports: Doctrine\ORM\PersistentCollection {#4118 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
        +violations: Doctrine\ORM\PersistentCollection {#4108 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
        +awards: Doctrine\ORM\PersistentCollection {#4109 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
        +categories: Doctrine\ORM\PersistentCollection {#4106 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4057
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4064
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4053 …}
      +nested: Doctrine\ORM\PersistentCollection {#4051 …}
      +votes: Doctrine\ORM\PersistentCollection {#4049 …}
      +reports: Doctrine\ORM\PersistentCollection {#4047 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
      -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 {#4000
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4270
      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 {#4273 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4277 …}
    +reports: Doctrine\ORM\PersistentCollection {#4279 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
    -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 {#4271
      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 20.0 MiB 0.15 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5093
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 20.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1689285254 {#4271
    date: 2023-07-13 23:54:14.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5148
  +date: DateTimeImmutable @1689285254 {#4271
    date: 2023-07-13 23:54:14.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 20.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1689285254 {#4271
    date: 2023-07-13 23:54:14.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5202
  +createdAt: DateTimeImmutable @1689285254 {#4271
    date: 2023-07-13 23:54:14.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.13 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      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 {#5256
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 20.0 MiB 0.45 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4063
          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 {#4004 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
        +entries: Doctrine\ORM\PersistentCollection {#3997 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
        +posts: Doctrine\ORM\PersistentCollection {#3987 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
        +follows: Doctrine\ORM\PersistentCollection {#4119 …}
        +followers: Doctrine\ORM\PersistentCollection {#4115 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
        +reports: Doctrine\ORM\PersistentCollection {#4118 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
        +violations: Doctrine\ORM\PersistentCollection {#4108 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
        +awards: Doctrine\ORM\PersistentCollection {#4109 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
        +categories: Doctrine\ORM\PersistentCollection {#4106 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4057
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4064
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4053 …}
      +nested: Doctrine\ORM\PersistentCollection {#4051 …}
      +votes: Doctrine\ORM\PersistentCollection {#4049 …}
      +reports: Doctrine\ORM\PersistentCollection {#4047 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
      -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 {#4000
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4270
      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 {#4273 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4277 …}
    +reports: Doctrine\ORM\PersistentCollection {#4279 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
    -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 {#4271
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5325
  +subject: App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4063
          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 {#4004 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
        +entries: Doctrine\ORM\PersistentCollection {#3997 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
        +posts: Doctrine\ORM\PersistentCollection {#3987 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
        +follows: Doctrine\ORM\PersistentCollection {#4119 …}
        +followers: Doctrine\ORM\PersistentCollection {#4115 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
        +reports: Doctrine\ORM\PersistentCollection {#4118 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
        +violations: Doctrine\ORM\PersistentCollection {#4108 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
        +awards: Doctrine\ORM\PersistentCollection {#4109 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
        +categories: Doctrine\ORM\PersistentCollection {#4106 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4057
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4064
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4053 …}
      +nested: Doctrine\ORM\PersistentCollection {#4051 …}
      +votes: Doctrine\ORM\PersistentCollection {#4049 …}
      +reports: Doctrine\ORM\PersistentCollection {#4047 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
      -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 {#4000
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4270
      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 {#4273 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4277 …}
    +reports: Doctrine\ORM\PersistentCollection {#4279 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
    -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 {#4271
      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 20.0 MiB 0.86 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4063
          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 {#4004 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
        +entries: Doctrine\ORM\PersistentCollection {#3997 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
        +posts: Doctrine\ORM\PersistentCollection {#3987 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
        +follows: Doctrine\ORM\PersistentCollection {#4119 …}
        +followers: Doctrine\ORM\PersistentCollection {#4115 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
        +reports: Doctrine\ORM\PersistentCollection {#4118 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
        +violations: Doctrine\ORM\PersistentCollection {#4108 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
        +awards: Doctrine\ORM\PersistentCollection {#4109 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
        +categories: Doctrine\ORM\PersistentCollection {#4106 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4057
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4064
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4053 …}
      +nested: Doctrine\ORM\PersistentCollection {#4051 …}
      +votes: Doctrine\ORM\PersistentCollection {#4049 …}
      +reports: Doctrine\ORM\PersistentCollection {#4047 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
      -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 {#4000
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4270
      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 {#4273 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4277 …}
    +reports: Doctrine\ORM\PersistentCollection {#4279 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
    -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 {#4271
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#5382
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4063
          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 {#4004 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
        +entries: Doctrine\ORM\PersistentCollection {#3997 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
        +posts: Doctrine\ORM\PersistentCollection {#3987 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
        +follows: Doctrine\ORM\PersistentCollection {#4119 …}
        +followers: Doctrine\ORM\PersistentCollection {#4115 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
        +reports: Doctrine\ORM\PersistentCollection {#4118 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
        +violations: Doctrine\ORM\PersistentCollection {#4108 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
        +awards: Doctrine\ORM\PersistentCollection {#4109 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
        +categories: Doctrine\ORM\PersistentCollection {#4106 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4057
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4064
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4053 …}
      +nested: Doctrine\ORM\PersistentCollection {#4051 …}
      +votes: Doctrine\ORM\PersistentCollection {#4049 …}
      +reports: Doctrine\ORM\PersistentCollection {#4047 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
      -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 {#4000
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4270
      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 {#4273 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4277 …}
    +reports: Doctrine\ORM\PersistentCollection {#4279 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
    -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 {#4271
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 20.0 MiB 17.19 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4063
          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 {#4004 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
        +entries: Doctrine\ORM\PersistentCollection {#3997 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
        +posts: Doctrine\ORM\PersistentCollection {#3987 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
        +follows: Doctrine\ORM\PersistentCollection {#4119 …}
        +followers: Doctrine\ORM\PersistentCollection {#4115 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
        +reports: Doctrine\ORM\PersistentCollection {#4118 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
        +violations: Doctrine\ORM\PersistentCollection {#4108 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
        +awards: Doctrine\ORM\PersistentCollection {#4109 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
        +categories: Doctrine\ORM\PersistentCollection {#4106 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4057
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4064
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4053 …}
      +nested: Doctrine\ORM\PersistentCollection {#4051 …}
      +votes: Doctrine\ORM\PersistentCollection {#4049 …}
      +reports: Doctrine\ORM\PersistentCollection {#4047 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
      -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 {#4000
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4270
      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 {#4273 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4277 …}
    +reports: Doctrine\ORM\PersistentCollection {#4279 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
    -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 {#4271
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#5622
  +comment: App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4063
          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 {#4004 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
        +entries: Doctrine\ORM\PersistentCollection {#3997 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
        +posts: Doctrine\ORM\PersistentCollection {#3987 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
        +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
        +follows: Doctrine\ORM\PersistentCollection {#4119 …}
        +followers: Doctrine\ORM\PersistentCollection {#4115 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
        +reports: Doctrine\ORM\PersistentCollection {#4118 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
        +violations: Doctrine\ORM\PersistentCollection {#4108 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
        +awards: Doctrine\ORM\PersistentCollection {#4109 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
        +categories: Doctrine\ORM\PersistentCollection {#4106 …}
        -id: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4057
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4064
        date: 2023-07-16 06:30:08.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4053 …}
      +nested: Doctrine\ORM\PersistentCollection {#4051 …}
      +votes: Doctrine\ORM\PersistentCollection {#4049 …}
      +reports: Doctrine\ORM\PersistentCollection {#4047 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
      -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 {#4000
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4270
      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 {#4273 …}
    +nested: Doctrine\ORM\PersistentCollection {#4275 …}
    +votes: Doctrine\ORM\PersistentCollection {#4277 …}
    +reports: Doctrine\ORM\PersistentCollection {#4279 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
    -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 {#4271
      date: 2023-07-13 23:54:14.0 +02:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -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 20.0 MiB 16.45 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4064
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4053 …}
        +nested: Doctrine\ORM\PersistentCollection {#4051 …}
        +votes: Doctrine\ORM\PersistentCollection {#4049 …}
        +reports: Doctrine\ORM\PersistentCollection {#4047 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
        -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 {#4000
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4270
        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 {#4273 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4277 …}
      +reports: Doctrine\ORM\PersistentCollection {#4279 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
      -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 {#4271
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4307
      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 {#4310 …}
    +nested: Doctrine\ORM\PersistentCollection {#4312 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4316 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4318 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4320 …}
    -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 {#4308
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#5677
  +comment: App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4064
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4053 …}
        +nested: Doctrine\ORM\PersistentCollection {#4051 …}
        +votes: Doctrine\ORM\PersistentCollection {#4049 …}
        +reports: Doctrine\ORM\PersistentCollection {#4047 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
        -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 {#4000
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4270
        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 {#4273 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4277 …}
      +reports: Doctrine\ORM\PersistentCollection {#4279 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
      -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 {#4271
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4307
      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 {#4310 …}
    +nested: Doctrine\ORM\PersistentCollection {#4312 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4316 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4318 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4320 …}
    -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 {#4308
      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 20.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4063
      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 {#4004 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
    +entries: Doctrine\ORM\PersistentCollection {#3997 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
    +posts: Doctrine\ORM\PersistentCollection {#3987 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
    +follows: Doctrine\ORM\PersistentCollection {#4119 …}
    +followers: Doctrine\ORM\PersistentCollection {#4115 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
    +reports: Doctrine\ORM\PersistentCollection {#4118 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
    +violations: Doctrine\ORM\PersistentCollection {#4108 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
    +awards: Doctrine\ORM\PersistentCollection {#4109 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
    +categories: Doctrine\ORM\PersistentCollection {#4106 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4057
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5722
  +user: App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4063
      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 {#4004 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
    +entries: Doctrine\ORM\PersistentCollection {#3997 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
    +posts: Doctrine\ORM\PersistentCollection {#3987 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
    +follows: Doctrine\ORM\PersistentCollection {#4119 …}
    +followers: Doctrine\ORM\PersistentCollection {#4115 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
    +reports: Doctrine\ORM\PersistentCollection {#4118 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
    +violations: Doctrine\ORM\PersistentCollection {#4108 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
    +awards: Doctrine\ORM\PersistentCollection {#4109 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
    +categories: Doctrine\ORM\PersistentCollection {#4106 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4057
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 20.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1689481805 {#4308
    date: 2023-07-16 06:30:05.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5777
  +date: DateTimeImmutable @1689481805 {#4308
    date: 2023-07-16 06:30:05.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 20.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1689481805 {#4308
    date: 2023-07-16 06:30:05.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#5831
  +createdAt: DateTimeImmutable @1689481805 {#4308
    date: 2023-07-16 06:30:05.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4063
      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 {#4004 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
    +entries: Doctrine\ORM\PersistentCollection {#3997 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
    +posts: Doctrine\ORM\PersistentCollection {#3987 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
    +follows: Doctrine\ORM\PersistentCollection {#4119 …}
    +followers: Doctrine\ORM\PersistentCollection {#4115 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
    +reports: Doctrine\ORM\PersistentCollection {#4118 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
    +violations: Doctrine\ORM\PersistentCollection {#4108 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
    +awards: Doctrine\ORM\PersistentCollection {#4109 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
    +categories: Doctrine\ORM\PersistentCollection {#4106 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4057
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5885
  +width: 40
  +height: 40
  +user: App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4063
      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 {#4004 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
    +entries: Doctrine\ORM\PersistentCollection {#3997 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
    +posts: Doctrine\ORM\PersistentCollection {#3987 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
    +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
    +follows: Doctrine\ORM\PersistentCollection {#4119 …}
    +followers: Doctrine\ORM\PersistentCollection {#4115 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
    +reports: Doctrine\ORM\PersistentCollection {#4118 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
    +violations: Doctrine\ORM\PersistentCollection {#4108 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
    +awards: Doctrine\ORM\PersistentCollection {#4109 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
    +categories: Doctrine\ORM\PersistentCollection {#4106 …}
    -id: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4057
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 20.0 MiB 0.55 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4064
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4053 …}
        +nested: Doctrine\ORM\PersistentCollection {#4051 …}
        +votes: Doctrine\ORM\PersistentCollection {#4049 …}
        +reports: Doctrine\ORM\PersistentCollection {#4047 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
        -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 {#4000
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4270
        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 {#4273 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4277 …}
      +reports: Doctrine\ORM\PersistentCollection {#4279 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
      -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 {#4271
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4307
      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 {#4310 …}
    +nested: Doctrine\ORM\PersistentCollection {#4312 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4316 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4318 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4320 …}
    -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 {#4308
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#5954
  +subject: App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4064
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4053 …}
        +nested: Doctrine\ORM\PersistentCollection {#4051 …}
        +votes: Doctrine\ORM\PersistentCollection {#4049 …}
        +reports: Doctrine\ORM\PersistentCollection {#4047 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
        -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 {#4000
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4270
        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 {#4273 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4277 …}
      +reports: Doctrine\ORM\PersistentCollection {#4279 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
      -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 {#4271
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4307
      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 {#4310 …}
    +nested: Doctrine\ORM\PersistentCollection {#4312 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4316 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4318 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4320 …}
    -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 {#4308
      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 20.0 MiB 0.71 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4064
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4053 …}
        +nested: Doctrine\ORM\PersistentCollection {#4051 …}
        +votes: Doctrine\ORM\PersistentCollection {#4049 …}
        +reports: Doctrine\ORM\PersistentCollection {#4047 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
        -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 {#4000
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4270
        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 {#4273 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4277 …}
      +reports: Doctrine\ORM\PersistentCollection {#4279 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
      -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 {#4271
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4307
      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 {#4310 …}
    +nested: Doctrine\ORM\PersistentCollection {#4312 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4316 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4318 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4320 …}
    -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 {#4308
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6011
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4064
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4053 …}
        +nested: Doctrine\ORM\PersistentCollection {#4051 …}
        +votes: Doctrine\ORM\PersistentCollection {#4049 …}
        +reports: Doctrine\ORM\PersistentCollection {#4047 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
        -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 {#4000
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4270
        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 {#4273 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4277 …}
      +reports: Doctrine\ORM\PersistentCollection {#4279 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
      -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 {#4271
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4307
      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 {#4310 …}
    +nested: Doctrine\ORM\PersistentCollection {#4312 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4316 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4318 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4320 …}
    -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 {#4308
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 20.0 MiB 0.39 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4064
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4053 …}
        +nested: Doctrine\ORM\PersistentCollection {#4051 …}
        +votes: Doctrine\ORM\PersistentCollection {#4049 …}
        +reports: Doctrine\ORM\PersistentCollection {#4047 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
        -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 {#4000
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4270
        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 {#4273 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4277 …}
      +reports: Doctrine\ORM\PersistentCollection {#4279 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
      -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 {#4271
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4307
      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 {#4310 …}
    +nested: Doctrine\ORM\PersistentCollection {#4312 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4316 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4318 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4320 …}
    -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 {#4308
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6251
  +comment: App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4063
        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 {#4004 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4007 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#3999 …}
      +entries: Doctrine\ORM\PersistentCollection {#3997 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#3995 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#3992 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3990 …}
      +posts: Doctrine\ORM\PersistentCollection {#3987 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#3985 …}
      +postComments: Doctrine\ORM\PersistentCollection {#3983 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#3980 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#3978 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#3976 …}
      +follows: Doctrine\ORM\PersistentCollection {#4119 …}
      +followers: Doctrine\ORM\PersistentCollection {#4115 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4104 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4095 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4084 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4121 …}
      +reports: Doctrine\ORM\PersistentCollection {#4118 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4081 …}
      +violations: Doctrine\ORM\PersistentCollection {#4108 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4111 …}
      +awards: Doctrine\ORM\PersistentCollection {#4109 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4107 …}
      +categories: Doctrine\ORM\PersistentCollection {#4106 …}
      -id: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4057
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003}
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4064
          date: 2023-07-16 06:30:08.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4053 …}
        +nested: Doctrine\ORM\PersistentCollection {#4051 …}
        +votes: Doctrine\ORM\PersistentCollection {#4049 …}
        +reports: Doctrine\ORM\PersistentCollection {#4047 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4015 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4019 …}
        -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 {#4000
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4270
        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 {#4273 …}
      +nested: Doctrine\ORM\PersistentCollection {#4275 …}
      +votes: Doctrine\ORM\PersistentCollection {#4277 …}
      +reports: Doctrine\ORM\PersistentCollection {#4279 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4281 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4283 …}
      -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 {#4271
        date: 2023-07-13 23:54:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#4307
      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 {#4310 …}
    +nested: Doctrine\ORM\PersistentCollection {#4312 …}
    +votes: Doctrine\ORM\PersistentCollection {#4314 …}
    +reports: Doctrine\ORM\PersistentCollection {#4316 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4318 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4320 …}
    -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 {#4308
      date: 2023-07-16 06:30:05.0 +02:00
    }
  }
  +nestedComments: []
  +level: 3
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -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 20.0 MiB 84.86 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4087
    +user: App\Entity\User {#4076
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4096
        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 {#4075 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
      +entries: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
      +posts: Doctrine\ORM\PersistentCollection {#4127 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
      +follows: Doctrine\ORM\PersistentCollection {#4139 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
      +reports: Doctrine\ORM\PersistentCollection {#4151 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
      +violations: Doctrine\ORM\PersistentCollection {#4155 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
      +awards: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
      +categories: Doctrine\ORM\PersistentCollection {#4163 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
      +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 {#4097
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4094
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4093
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4091 …}
    +votes: Doctrine\ORM\PersistentCollection {#4082 …}
    +reports: Doctrine\ORM\PersistentCollection {#4085 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
    -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 {#4098
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6338
  +comment: App\Entity\EntryComment {#4087
    +user: App\Entity\User {#4076
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4096
        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 {#4075 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
      +entries: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
      +posts: Doctrine\ORM\PersistentCollection {#4127 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
      +follows: Doctrine\ORM\PersistentCollection {#4139 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
      +reports: Doctrine\ORM\PersistentCollection {#4151 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
      +violations: Doctrine\ORM\PersistentCollection {#4155 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
      +awards: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
      +categories: Doctrine\ORM\PersistentCollection {#4163 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
      +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 {#4097
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4094
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4093
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4091 …}
    +votes: Doctrine\ORM\PersistentCollection {#4082 …}
    +reports: Doctrine\ORM\PersistentCollection {#4085 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
    -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 {#4098
      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 20.0 MiB 0.16 ms
Input props
[
  "user" => App\Entity\User {#4076
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4096
      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 {#4075 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
    +entries: Doctrine\ORM\PersistentCollection {#4069 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
    +posts: Doctrine\ORM\PersistentCollection {#4127 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
    +follows: Doctrine\ORM\PersistentCollection {#4139 …}
    +followers: Doctrine\ORM\PersistentCollection {#4141 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
    +reports: Doctrine\ORM\PersistentCollection {#4151 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
    +violations: Doctrine\ORM\PersistentCollection {#4155 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
    +awards: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
    +categories: Doctrine\ORM\PersistentCollection {#4163 …}
    -id: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
    +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 {#4097
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4094
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6383
  +user: App\Entity\User {#4076
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4096
      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 {#4075 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
    +entries: Doctrine\ORM\PersistentCollection {#4069 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
    +posts: Doctrine\ORM\PersistentCollection {#4127 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
    +follows: Doctrine\ORM\PersistentCollection {#4139 …}
    +followers: Doctrine\ORM\PersistentCollection {#4141 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
    +reports: Doctrine\ORM\PersistentCollection {#4151 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
    +violations: Doctrine\ORM\PersistentCollection {#4155 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
    +awards: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
    +categories: Doctrine\ORM\PersistentCollection {#4163 …}
    -id: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
    +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 {#4097
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4094
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 20.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1688421809 {#4098
    date: 2023-07-04 00:03:29.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6438
  +date: DateTimeImmutable @1688421809 {#4098
    date: 2023-07-04 00:03:29.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 20.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688421809 {#4098
    date: 2023-07-04 00:03:29.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6492
  +createdAt: DateTimeImmutable @1688421809 {#4098
    date: 2023-07-04 00:03:29.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4076
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4096
      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 {#4075 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
    +entries: Doctrine\ORM\PersistentCollection {#4069 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
    +posts: Doctrine\ORM\PersistentCollection {#4127 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
    +follows: Doctrine\ORM\PersistentCollection {#4139 …}
    +followers: Doctrine\ORM\PersistentCollection {#4141 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
    +reports: Doctrine\ORM\PersistentCollection {#4151 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
    +violations: Doctrine\ORM\PersistentCollection {#4155 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
    +awards: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
    +categories: Doctrine\ORM\PersistentCollection {#4163 …}
    -id: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
    +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 {#4097
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4094
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6546
  +width: 40
  +height: 40
  +user: App\Entity\User {#4076
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4096
      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 {#4075 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
    +entries: Doctrine\ORM\PersistentCollection {#4069 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
    +posts: Doctrine\ORM\PersistentCollection {#4127 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
    +follows: Doctrine\ORM\PersistentCollection {#4139 …}
    +followers: Doctrine\ORM\PersistentCollection {#4141 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
    +reports: Doctrine\ORM\PersistentCollection {#4151 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
    +violations: Doctrine\ORM\PersistentCollection {#4155 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
    +awards: Doctrine\ORM\PersistentCollection {#4159 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
    +categories: Doctrine\ORM\PersistentCollection {#4163 …}
    -id: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
    +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 {#4097
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4094
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 20.0 MiB 0.46 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4087
    +user: App\Entity\User {#4076
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4096
        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 {#4075 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
      +entries: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
      +posts: Doctrine\ORM\PersistentCollection {#4127 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
      +follows: Doctrine\ORM\PersistentCollection {#4139 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
      +reports: Doctrine\ORM\PersistentCollection {#4151 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
      +violations: Doctrine\ORM\PersistentCollection {#4155 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
      +awards: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
      +categories: Doctrine\ORM\PersistentCollection {#4163 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
      +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 {#4097
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4094
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4093
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4091 …}
    +votes: Doctrine\ORM\PersistentCollection {#4082 …}
    +reports: Doctrine\ORM\PersistentCollection {#4085 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
    -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 {#4098
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6627
  +subject: App\Entity\EntryComment {#4087
    +user: App\Entity\User {#4076
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4096
        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 {#4075 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
      +entries: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
      +posts: Doctrine\ORM\PersistentCollection {#4127 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
      +follows: Doctrine\ORM\PersistentCollection {#4139 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
      +reports: Doctrine\ORM\PersistentCollection {#4151 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
      +violations: Doctrine\ORM\PersistentCollection {#4155 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
      +awards: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
      +categories: Doctrine\ORM\PersistentCollection {#4163 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
      +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 {#4097
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4094
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4093
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4091 …}
    +votes: Doctrine\ORM\PersistentCollection {#4082 …}
    +reports: Doctrine\ORM\PersistentCollection {#4085 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
    -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 {#4098
      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 20.0 MiB 8.54 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4087
    +user: App\Entity\User {#4076
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4096
        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 {#4075 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
      +entries: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
      +posts: Doctrine\ORM\PersistentCollection {#4127 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
      +follows: Doctrine\ORM\PersistentCollection {#4139 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
      +reports: Doctrine\ORM\PersistentCollection {#4151 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
      +violations: Doctrine\ORM\PersistentCollection {#4155 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
      +awards: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
      +categories: Doctrine\ORM\PersistentCollection {#4163 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
      +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 {#4097
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4094
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4093
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4091 …}
    +votes: Doctrine\ORM\PersistentCollection {#4082 …}
    +reports: Doctrine\ORM\PersistentCollection {#4085 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
    -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 {#4098
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6684
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4087
    +user: App\Entity\User {#4076
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4096
        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 {#4075 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
      +entries: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
      +posts: Doctrine\ORM\PersistentCollection {#4127 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
      +follows: Doctrine\ORM\PersistentCollection {#4139 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
      +reports: Doctrine\ORM\PersistentCollection {#4151 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
      +violations: Doctrine\ORM\PersistentCollection {#4155 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
      +awards: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
      +categories: Doctrine\ORM\PersistentCollection {#4163 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
      +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 {#4097
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4094
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4093
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4091 …}
    +votes: Doctrine\ORM\PersistentCollection {#4082 …}
    +reports: Doctrine\ORM\PersistentCollection {#4085 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
    -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 {#4098
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 20.0 MiB 59.26 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4087
    +user: App\Entity\User {#4076
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4096
        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 {#4075 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
      +entries: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
      +posts: Doctrine\ORM\PersistentCollection {#4127 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
      +follows: Doctrine\ORM\PersistentCollection {#4139 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
      +reports: Doctrine\ORM\PersistentCollection {#4151 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
      +violations: Doctrine\ORM\PersistentCollection {#4155 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
      +awards: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
      +categories: Doctrine\ORM\PersistentCollection {#4163 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
      +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 {#4097
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4094
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4093
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4091 …}
    +votes: Doctrine\ORM\PersistentCollection {#4082 …}
    +reports: Doctrine\ORM\PersistentCollection {#4085 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
    -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 {#4098
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6924
  +comment: App\Entity\EntryComment {#4087
    +user: App\Entity\User {#4076
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4096
        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 {#4075 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
      +entries: Doctrine\ORM\PersistentCollection {#4069 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
      +posts: Doctrine\ORM\PersistentCollection {#4127 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
      +follows: Doctrine\ORM\PersistentCollection {#4139 …}
      +followers: Doctrine\ORM\PersistentCollection {#4141 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
      +reports: Doctrine\ORM\PersistentCollection {#4151 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
      +violations: Doctrine\ORM\PersistentCollection {#4155 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
      +awards: Doctrine\ORM\PersistentCollection {#4159 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
      +categories: Doctrine\ORM\PersistentCollection {#4163 …}
      -id: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
      +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 {#4097
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4094
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4093
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4092 …}
    +nested: Doctrine\ORM\PersistentCollection {#4091 …}
    +votes: Doctrine\ORM\PersistentCollection {#4082 …}
    +reports: Doctrine\ORM\PersistentCollection {#4085 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
    -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 {#4098
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  +nestedComments: [
    15116 => App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
        +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 {#7066
          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 {#7067
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7068
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4087}
      +root: App\Entity\EntryComment {#4087}
      +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 {#4258
        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 {#4251 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4264 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
      -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 {#4261
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    15117 => App\Entity\EntryComment {#4286
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4257}
      +root: App\Entity\EntryComment {#4087}
      +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 {#4291
        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 {#4294 …}
      +nested: Doctrine\ORM\PersistentCollection {#4298 …}
      +votes: Doctrine\ORM\PersistentCollection {#4300 …}
      +reports: Doctrine\ORM\PersistentCollection {#4301 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4303 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4305 …}
      -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 {#4288
        date: 2023-07-13 23:40:37.0 +02:00
      }
    }
  ]
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -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 20.0 MiB 43.18 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
      +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 {#7066
        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 {#7067
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7068
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4087
      +user: App\Entity\User {#4076
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4096
          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 {#4075 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
        +entries: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
        +posts: Doctrine\ORM\PersistentCollection {#4127 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
        +follows: Doctrine\ORM\PersistentCollection {#4139 …}
        +followers: Doctrine\ORM\PersistentCollection {#4141 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
        +reports: Doctrine\ORM\PersistentCollection {#4151 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
        +violations: Doctrine\ORM\PersistentCollection {#4155 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
        +awards: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
        +categories: Doctrine\ORM\PersistentCollection {#4163 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
        +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 {#4097
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4094
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4093
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4092 …}
      +nested: Doctrine\ORM\PersistentCollection {#4091 …}
      +votes: Doctrine\ORM\PersistentCollection {#4082 …}
      +reports: Doctrine\ORM\PersistentCollection {#4085 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
      -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 {#4098
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4258
      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 {#4251 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4264 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
    -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 {#4261
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
  "showNested" => true
  "level" => 2
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6984
  +comment: App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
      +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 {#7066
        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 {#7067
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7068
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4087
      +user: App\Entity\User {#4076
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4096
          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 {#4075 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
        +entries: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
        +posts: Doctrine\ORM\PersistentCollection {#4127 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
        +follows: Doctrine\ORM\PersistentCollection {#4139 …}
        +followers: Doctrine\ORM\PersistentCollection {#4141 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
        +reports: Doctrine\ORM\PersistentCollection {#4151 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
        +violations: Doctrine\ORM\PersistentCollection {#4155 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
        +awards: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
        +categories: Doctrine\ORM\PersistentCollection {#4163 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
        +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 {#4097
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4094
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4093
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4092 …}
      +nested: Doctrine\ORM\PersistentCollection {#4091 …}
      +votes: Doctrine\ORM\PersistentCollection {#4082 …}
      +reports: Doctrine\ORM\PersistentCollection {#4085 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
      -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 {#4098
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4258
      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 {#4251 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4264 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
    -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 {#4261
      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 20.0 MiB 1.55 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#4254
    +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
    +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 {#7066
      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 {#7067
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#7068
      date: 2023-07-12 07:31:04.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7029
  +user: Proxies\__CG__\App\Entity\User {#4254
    +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
    +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 {#7066
      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 {#7067
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#7068
      date: 2023-07-12 07:31:04.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 20.0 MiB 0.16 ms
Input props
[
  "date" => DateTimeImmutable @1688426966 {#4261
    date: 2023-07-04 01:29:26.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7143
  +date: DateTimeImmutable @1688426966 {#4261
    date: 2023-07-04 01:29:26.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 20.0 MiB 7.63 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688426966 {#4261
    date: 2023-07-04 01:29:26.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7197
  +createdAt: DateTimeImmutable @1688426966 {#4261
    date: 2023-07-04 01:29:26.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 3.65 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#4254
    +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
    +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 {#7066
      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 {#7067
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#7068
      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 {#7251
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#4254
    +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
    +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 {#7066
      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 {#7067
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#7068
      date: 2023-07-12 07:31:04.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 20.0 MiB 0.47 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
      +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 {#7066
        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 {#7067
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7068
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4087
      +user: App\Entity\User {#4076
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4096
          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 {#4075 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
        +entries: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
        +posts: Doctrine\ORM\PersistentCollection {#4127 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
        +follows: Doctrine\ORM\PersistentCollection {#4139 …}
        +followers: Doctrine\ORM\PersistentCollection {#4141 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
        +reports: Doctrine\ORM\PersistentCollection {#4151 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
        +violations: Doctrine\ORM\PersistentCollection {#4155 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
        +awards: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
        +categories: Doctrine\ORM\PersistentCollection {#4163 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
        +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 {#4097
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4094
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4093
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4092 …}
      +nested: Doctrine\ORM\PersistentCollection {#4091 …}
      +votes: Doctrine\ORM\PersistentCollection {#4082 …}
      +reports: Doctrine\ORM\PersistentCollection {#4085 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
      -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 {#4098
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4258
      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 {#4251 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4264 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
    -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 {#4261
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7330
  +subject: App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
      +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 {#7066
        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 {#7067
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7068
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4087
      +user: App\Entity\User {#4076
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4096
          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 {#4075 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
        +entries: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
        +posts: Doctrine\ORM\PersistentCollection {#4127 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
        +follows: Doctrine\ORM\PersistentCollection {#4139 …}
        +followers: Doctrine\ORM\PersistentCollection {#4141 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
        +reports: Doctrine\ORM\PersistentCollection {#4151 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
        +violations: Doctrine\ORM\PersistentCollection {#4155 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
        +awards: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
        +categories: Doctrine\ORM\PersistentCollection {#4163 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
        +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 {#4097
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4094
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4093
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4092 …}
      +nested: Doctrine\ORM\PersistentCollection {#4091 …}
      +votes: Doctrine\ORM\PersistentCollection {#4082 …}
      +reports: Doctrine\ORM\PersistentCollection {#4085 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
      -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 {#4098
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4258
      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 {#4251 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4264 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
    -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 {#4261
      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 20.0 MiB 0.71 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
      +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 {#7066
        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 {#7067
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7068
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4087
      +user: App\Entity\User {#4076
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4096
          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 {#4075 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
        +entries: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
        +posts: Doctrine\ORM\PersistentCollection {#4127 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
        +follows: Doctrine\ORM\PersistentCollection {#4139 …}
        +followers: Doctrine\ORM\PersistentCollection {#4141 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
        +reports: Doctrine\ORM\PersistentCollection {#4151 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
        +violations: Doctrine\ORM\PersistentCollection {#4155 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
        +awards: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
        +categories: Doctrine\ORM\PersistentCollection {#4163 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
        +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 {#4097
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4094
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4093
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4092 …}
      +nested: Doctrine\ORM\PersistentCollection {#4091 …}
      +votes: Doctrine\ORM\PersistentCollection {#4082 …}
      +reports: Doctrine\ORM\PersistentCollection {#4085 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
      -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 {#4098
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4258
      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 {#4251 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4264 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
    -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 {#4261
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#7387
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
      +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 {#7066
        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 {#7067
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7068
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4087
      +user: App\Entity\User {#4076
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4096
          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 {#4075 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
        +entries: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
        +posts: Doctrine\ORM\PersistentCollection {#4127 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
        +follows: Doctrine\ORM\PersistentCollection {#4139 …}
        +followers: Doctrine\ORM\PersistentCollection {#4141 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
        +reports: Doctrine\ORM\PersistentCollection {#4151 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
        +violations: Doctrine\ORM\PersistentCollection {#4155 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
        +awards: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
        +categories: Doctrine\ORM\PersistentCollection {#4163 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
        +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 {#4097
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4094
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4093
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4092 …}
      +nested: Doctrine\ORM\PersistentCollection {#4091 …}
      +votes: Doctrine\ORM\PersistentCollection {#4082 …}
      +reports: Doctrine\ORM\PersistentCollection {#4085 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
      -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 {#4098
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4258
      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 {#4251 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4264 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
    -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 {#4261
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 20.0 MiB 15.10 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
      +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 {#7066
        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 {#7067
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7068
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4087
      +user: App\Entity\User {#4076
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4096
          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 {#4075 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
        +entries: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
        +posts: Doctrine\ORM\PersistentCollection {#4127 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
        +follows: Doctrine\ORM\PersistentCollection {#4139 …}
        +followers: Doctrine\ORM\PersistentCollection {#4141 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
        +reports: Doctrine\ORM\PersistentCollection {#4151 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
        +violations: Doctrine\ORM\PersistentCollection {#4155 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
        +awards: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
        +categories: Doctrine\ORM\PersistentCollection {#4163 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
        +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 {#4097
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4094
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4093
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4092 …}
      +nested: Doctrine\ORM\PersistentCollection {#4091 …}
      +votes: Doctrine\ORM\PersistentCollection {#4082 …}
      +reports: Doctrine\ORM\PersistentCollection {#4085 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
      -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 {#4098
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4258
      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 {#4251 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4264 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
    -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 {#4261
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
  "level" => 2
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7627
  +comment: App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
      +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 {#7066
        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 {#7067
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#7068
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4087
      +user: App\Entity\User {#4076
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4096
          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 {#4075 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
        +entries: Doctrine\ORM\PersistentCollection {#4069 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
        +posts: Doctrine\ORM\PersistentCollection {#4127 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
        +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
        +follows: Doctrine\ORM\PersistentCollection {#4139 …}
        +followers: Doctrine\ORM\PersistentCollection {#4141 …}
        +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
        +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
        +reports: Doctrine\ORM\PersistentCollection {#4151 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
        +violations: Doctrine\ORM\PersistentCollection {#4155 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
        +awards: Doctrine\ORM\PersistentCollection {#4159 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
        +categories: Doctrine\ORM\PersistentCollection {#4163 …}
        -id: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
        +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 {#4097
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4094
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +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 {#4093
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@ryanomite@discuss.tchncs.de"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4092 …}
      +nested: Doctrine\ORM\PersistentCollection {#4091 …}
      +votes: Doctrine\ORM\PersistentCollection {#4082 …}
      +reports: Doctrine\ORM\PersistentCollection {#4085 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
      -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 {#4098
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4258
      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 {#4251 …}
    +nested: Doctrine\ORM\PersistentCollection {#4249 …}
    +votes: Doctrine\ORM\PersistentCollection {#4253 …}
    +reports: Doctrine\ORM\PersistentCollection {#4264 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
    -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 {#4261
      date: 2023-07-04 01:29:26.0 +02:00
    }
  }
  +nestedComments: []
  +level: 2
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -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 20.0 MiB 12.45 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
        +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 {#7066
          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 {#7067
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7068
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4087
        +user: App\Entity\User {#4076
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4096
            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 {#4075 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
          +entries: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
          +posts: Doctrine\ORM\PersistentCollection {#4127 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
          +follows: Doctrine\ORM\PersistentCollection {#4139 …}
          +followers: Doctrine\ORM\PersistentCollection {#4141 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
          +reports: Doctrine\ORM\PersistentCollection {#4151 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
          +violations: Doctrine\ORM\PersistentCollection {#4155 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
          +awards: Doctrine\ORM\PersistentCollection {#4159 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
          +categories: Doctrine\ORM\PersistentCollection {#4163 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
          +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 {#4097
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4094
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4093
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4092 …}
        +nested: Doctrine\ORM\PersistentCollection {#4091 …}
        +votes: Doctrine\ORM\PersistentCollection {#4082 …}
        +reports: Doctrine\ORM\PersistentCollection {#4085 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
        -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 {#4098
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4087}
      +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 {#4258
        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 {#4251 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4264 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
      -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 {#4261
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4291
      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 {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4298 …}
    +votes: Doctrine\ORM\PersistentCollection {#4300 …}
    +reports: Doctrine\ORM\PersistentCollection {#4301 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4303 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4305 …}
    -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 {#4288
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
  "showNested" => true
  "level" => 3
  "showEntryTitle" => false
  "showMagazineName" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7682
  +comment: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
        +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 {#7066
          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 {#7067
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7068
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4087
        +user: App\Entity\User {#4076
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4096
            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 {#4075 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
          +entries: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
          +posts: Doctrine\ORM\PersistentCollection {#4127 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
          +follows: Doctrine\ORM\PersistentCollection {#4139 …}
          +followers: Doctrine\ORM\PersistentCollection {#4141 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
          +reports: Doctrine\ORM\PersistentCollection {#4151 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
          +violations: Doctrine\ORM\PersistentCollection {#4155 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
          +awards: Doctrine\ORM\PersistentCollection {#4159 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
          +categories: Doctrine\ORM\PersistentCollection {#4163 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
          +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 {#4097
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4094
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4093
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4092 …}
        +nested: Doctrine\ORM\PersistentCollection {#4091 …}
        +votes: Doctrine\ORM\PersistentCollection {#4082 …}
        +reports: Doctrine\ORM\PersistentCollection {#4085 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
        -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 {#4098
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4087}
      +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 {#4258
        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 {#4251 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4264 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
      -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 {#4261
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4291
      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 {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4298 …}
    +votes: Doctrine\ORM\PersistentCollection {#4300 …}
    +reports: Doctrine\ORM\PersistentCollection {#4301 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4303 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4305 …}
    -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 {#4288
      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 20.0 MiB 0.14 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7727
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 20.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1689284437 {#4288
    date: 2023-07-13 23:40:37.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7782
  +date: DateTimeImmutable @1689284437 {#4288
    date: 2023-07-13 23:40:37.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 20.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1689284437 {#4288
    date: 2023-07-13 23:40:37.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7836
  +createdAt: DateTimeImmutable @1689284437 {#4288
    date: 2023-07-13 23:40:37.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.14 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      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 {#7890
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 20.0 MiB 0.48 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
        +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 {#7066
          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 {#7067
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7068
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4087
        +user: App\Entity\User {#4076
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4096
            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 {#4075 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
          +entries: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
          +posts: Doctrine\ORM\PersistentCollection {#4127 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
          +follows: Doctrine\ORM\PersistentCollection {#4139 …}
          +followers: Doctrine\ORM\PersistentCollection {#4141 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
          +reports: Doctrine\ORM\PersistentCollection {#4151 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
          +violations: Doctrine\ORM\PersistentCollection {#4155 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
          +awards: Doctrine\ORM\PersistentCollection {#4159 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
          +categories: Doctrine\ORM\PersistentCollection {#4163 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
          +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 {#4097
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4094
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4093
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4092 …}
        +nested: Doctrine\ORM\PersistentCollection {#4091 …}
        +votes: Doctrine\ORM\PersistentCollection {#4082 …}
        +reports: Doctrine\ORM\PersistentCollection {#4085 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
        -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 {#4098
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4087}
      +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 {#4258
        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 {#4251 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4264 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
      -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 {#4261
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4291
      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 {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4298 …}
    +votes: Doctrine\ORM\PersistentCollection {#4300 …}
    +reports: Doctrine\ORM\PersistentCollection {#4301 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4303 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4305 …}
    -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 {#4288
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7965
  +subject: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
        +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 {#7066
          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 {#7067
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7068
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4087
        +user: App\Entity\User {#4076
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4096
            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 {#4075 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
          +entries: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
          +posts: Doctrine\ORM\PersistentCollection {#4127 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
          +follows: Doctrine\ORM\PersistentCollection {#4139 …}
          +followers: Doctrine\ORM\PersistentCollection {#4141 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
          +reports: Doctrine\ORM\PersistentCollection {#4151 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
          +violations: Doctrine\ORM\PersistentCollection {#4155 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
          +awards: Doctrine\ORM\PersistentCollection {#4159 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
          +categories: Doctrine\ORM\PersistentCollection {#4163 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
          +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 {#4097
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4094
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4093
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4092 …}
        +nested: Doctrine\ORM\PersistentCollection {#4091 …}
        +votes: Doctrine\ORM\PersistentCollection {#4082 …}
        +reports: Doctrine\ORM\PersistentCollection {#4085 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
        -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 {#4098
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4087}
      +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 {#4258
        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 {#4251 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4264 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
      -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 {#4261
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4291
      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 {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4298 …}
    +votes: Doctrine\ORM\PersistentCollection {#4300 …}
    +reports: Doctrine\ORM\PersistentCollection {#4301 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4303 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4305 …}
    -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 {#4288
      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 20.0 MiB 0.71 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
        +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 {#7066
          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 {#7067
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7068
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4087
        +user: App\Entity\User {#4076
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4096
            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 {#4075 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
          +entries: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
          +posts: Doctrine\ORM\PersistentCollection {#4127 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
          +follows: Doctrine\ORM\PersistentCollection {#4139 …}
          +followers: Doctrine\ORM\PersistentCollection {#4141 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
          +reports: Doctrine\ORM\PersistentCollection {#4151 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
          +violations: Doctrine\ORM\PersistentCollection {#4155 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
          +awards: Doctrine\ORM\PersistentCollection {#4159 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
          +categories: Doctrine\ORM\PersistentCollection {#4163 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
          +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 {#4097
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4094
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4093
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4092 …}
        +nested: Doctrine\ORM\PersistentCollection {#4091 …}
        +votes: Doctrine\ORM\PersistentCollection {#4082 …}
        +reports: Doctrine\ORM\PersistentCollection {#4085 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
        -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 {#4098
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4087}
      +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 {#4258
        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 {#4251 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4264 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
      -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 {#4261
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4291
      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 {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4298 …}
    +votes: Doctrine\ORM\PersistentCollection {#4300 …}
    +reports: Doctrine\ORM\PersistentCollection {#4301 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4303 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4305 …}
    -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 {#4288
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#8022
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
        +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 {#7066
          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 {#7067
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7068
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4087
        +user: App\Entity\User {#4076
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4096
            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 {#4075 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
          +entries: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
          +posts: Doctrine\ORM\PersistentCollection {#4127 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
          +follows: Doctrine\ORM\PersistentCollection {#4139 …}
          +followers: Doctrine\ORM\PersistentCollection {#4141 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
          +reports: Doctrine\ORM\PersistentCollection {#4151 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
          +violations: Doctrine\ORM\PersistentCollection {#4155 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
          +awards: Doctrine\ORM\PersistentCollection {#4159 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
          +categories: Doctrine\ORM\PersistentCollection {#4163 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
          +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 {#4097
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4094
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4093
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4092 …}
        +nested: Doctrine\ORM\PersistentCollection {#4091 …}
        +votes: Doctrine\ORM\PersistentCollection {#4082 …}
        +reports: Doctrine\ORM\PersistentCollection {#4085 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
        -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 {#4098
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4087}
      +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 {#4258
        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 {#4251 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4264 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
      -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 {#4261
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4291
      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 {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4298 …}
    +votes: Doctrine\ORM\PersistentCollection {#4300 …}
    +reports: Doctrine\ORM\PersistentCollection {#4301 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4303 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4305 …}
    -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 {#4288
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 20.0 MiB 6.27 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
        +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 {#7066
          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 {#7067
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7068
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4087
        +user: App\Entity\User {#4076
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4096
            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 {#4075 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
          +entries: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
          +posts: Doctrine\ORM\PersistentCollection {#4127 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
          +follows: Doctrine\ORM\PersistentCollection {#4139 …}
          +followers: Doctrine\ORM\PersistentCollection {#4141 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
          +reports: Doctrine\ORM\PersistentCollection {#4151 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
          +violations: Doctrine\ORM\PersistentCollection {#4155 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
          +awards: Doctrine\ORM\PersistentCollection {#4159 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
          +categories: Doctrine\ORM\PersistentCollection {#4163 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
          +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 {#4097
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4094
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4093
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4092 …}
        +nested: Doctrine\ORM\PersistentCollection {#4091 …}
        +votes: Doctrine\ORM\PersistentCollection {#4082 …}
        +reports: Doctrine\ORM\PersistentCollection {#4085 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
        -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 {#4098
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4087}
      +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 {#4258
        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 {#4251 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4264 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
      -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 {#4261
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4291
      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 {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4298 …}
    +votes: Doctrine\ORM\PersistentCollection {#4300 …}
    +reports: Doctrine\ORM\PersistentCollection {#4301 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4303 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4305 …}
    -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 {#4288
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
  "level" => 3
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8262
  +comment: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1943
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1518
        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 {#1623 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
      +entries: Doctrine\ORM\PersistentCollection {#1706 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
      +posts: Doctrine\ORM\PersistentCollection {#1749 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
      +follows: Doctrine\ORM\PersistentCollection {#1446 …}
      +followers: Doctrine\ORM\PersistentCollection {#1409 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
      +reports: Doctrine\ORM\PersistentCollection {#1462 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
      +violations: Doctrine\ORM\PersistentCollection {#1695 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
      +awards: Doctrine\ORM\PersistentCollection {#1699 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
      +categories: Doctrine\ORM\PersistentCollection {#1674 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
      +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 {#1536
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1516
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943 …2}
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#7069 …}
        +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 {#7066
          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 {#7067
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#7068
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2388}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4087
        +user: App\Entity\User {#4076
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4096
            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 {#4075 …}
          +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4073 …}
          +moderatorRequests: Doctrine\ORM\PersistentCollection {#4071 …}
          +entries: Doctrine\ORM\PersistentCollection {#4069 …}
          +entryVotes: Doctrine\ORM\PersistentCollection {#4067 …}
          +entryComments: Doctrine\ORM\PersistentCollection {#4065 …}
          +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4124 …}
          +posts: Doctrine\ORM\PersistentCollection {#4127 …}
          +postVotes: Doctrine\ORM\PersistentCollection {#4129 …}
          +postComments: Doctrine\ORM\PersistentCollection {#4131 …}
          +postCommentVotes: Doctrine\ORM\PersistentCollection {#4133 …}
          +subscriptions: Doctrine\ORM\PersistentCollection {#4135 …}
          +subscribedDomains: Doctrine\ORM\PersistentCollection {#4137 …}
          +follows: Doctrine\ORM\PersistentCollection {#4139 …}
          +followers: Doctrine\ORM\PersistentCollection {#4141 …}
          +blocks: Doctrine\ORM\PersistentCollection {#4143 …}
          +blockers: Doctrine\ORM\PersistentCollection {#4145 …}
          +blockedMagazines: Doctrine\ORM\PersistentCollection {#4147 …}
          +blockedDomains: Doctrine\ORM\PersistentCollection {#4149 …}
          +reports: Doctrine\ORM\PersistentCollection {#4151 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4153 …}
          +violations: Doctrine\ORM\PersistentCollection {#4155 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4157 …}
          +awards: Doctrine\ORM\PersistentCollection {#4159 …}
          +subscribedCategories: Doctrine\ORM\PersistentCollection {#4161 …}
          +categories: Doctrine\ORM\PersistentCollection {#4163 …}
          -id: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4165 …}
          +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 {#4097
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4094
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2388}
        +magazine: App\Entity\Magazine {#266}
        +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 {#4093
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@ryanomite@discuss.tchncs.de"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4092 …}
        +nested: Doctrine\ORM\PersistentCollection {#4091 …}
        +votes: Doctrine\ORM\PersistentCollection {#4082 …}
        +reports: Doctrine\ORM\PersistentCollection {#4085 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4080 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4078 …}
        -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 {#4098
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4087}
      +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 {#4258
        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 {#4251 …}
      +nested: Doctrine\ORM\PersistentCollection {#4249 …}
      +votes: Doctrine\ORM\PersistentCollection {#4253 …}
      +reports: Doctrine\ORM\PersistentCollection {#4264 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4266 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4268 …}
      -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 {#4261
        date: 2023-07-04 01:29:26.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4087}
    +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 {#4291
      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 {#4294 …}
    +nested: Doctrine\ORM\PersistentCollection {#4298 …}
    +votes: Doctrine\ORM\PersistentCollection {#4300 …}
    +reports: Doctrine\ORM\PersistentCollection {#4301 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4303 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4305 …}
    -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 {#4288
      date: 2023-07-13 23:40:37.0 +02:00
    }
  }
  +nestedComments: []
  +level: 3
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -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 20.0 MiB 33.47 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4170
        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 {#4187 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
      +entries: Doctrine\ORM\PersistentCollection {#4193 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
      +posts: Doctrine\ORM\PersistentCollection {#4201 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
      +follows: Doctrine\ORM\PersistentCollection {#4213 …}
      +followers: Doctrine\ORM\PersistentCollection {#4215 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
      +reports: Doctrine\ORM\PersistentCollection {#4225 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
      +violations: Doctrine\ORM\PersistentCollection {#4229 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
      +awards: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
      +categories: Doctrine\ORM\PersistentCollection {#4237 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4172
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4167
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4174 …}
    +nested: Doctrine\ORM\PersistentCollection {#4176 …}
    +votes: Doctrine\ORM\PersistentCollection {#4178 …}
    +reports: Doctrine\ORM\PersistentCollection {#4180 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4182 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4184 …}
    -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 {#4168
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4169
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#8349
  +comment: App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4170
        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 {#4187 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
      +entries: Doctrine\ORM\PersistentCollection {#4193 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
      +posts: Doctrine\ORM\PersistentCollection {#4201 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
      +follows: Doctrine\ORM\PersistentCollection {#4213 …}
      +followers: Doctrine\ORM\PersistentCollection {#4215 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
      +reports: Doctrine\ORM\PersistentCollection {#4225 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
      +violations: Doctrine\ORM\PersistentCollection {#4229 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
      +awards: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
      +categories: Doctrine\ORM\PersistentCollection {#4237 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4172
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4167
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4174 …}
    +nested: Doctrine\ORM\PersistentCollection {#4176 …}
    +votes: Doctrine\ORM\PersistentCollection {#4178 …}
    +reports: Doctrine\ORM\PersistentCollection {#4180 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4182 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4184 …}
    -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 {#4168
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4169
      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 20.0 MiB 0.15 ms
Input props
[
  "user" => App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4170
      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 {#4187 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
    +entries: Doctrine\ORM\PersistentCollection {#4193 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
    +posts: Doctrine\ORM\PersistentCollection {#4201 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
    +follows: Doctrine\ORM\PersistentCollection {#4213 …}
    +followers: Doctrine\ORM\PersistentCollection {#4215 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
    +reports: Doctrine\ORM\PersistentCollection {#4225 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
    +violations: Doctrine\ORM\PersistentCollection {#4229 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
    +awards: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
    +categories: Doctrine\ORM\PersistentCollection {#4237 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4172
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8394
  +user: App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4170
      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 {#4187 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
    +entries: Doctrine\ORM\PersistentCollection {#4193 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
    +posts: Doctrine\ORM\PersistentCollection {#4201 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
    +follows: Doctrine\ORM\PersistentCollection {#4213 …}
    +followers: Doctrine\ORM\PersistentCollection {#4215 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
    +reports: Doctrine\ORM\PersistentCollection {#4225 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
    +violations: Doctrine\ORM\PersistentCollection {#4229 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
    +awards: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
    +categories: Doctrine\ORM\PersistentCollection {#4237 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4172
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 20.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1688442898 {#4169
    date: 2023-07-04 05:54:58.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#8449
  +date: DateTimeImmutable @1688442898 {#4169
    date: 2023-07-04 05:54:58.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 20.0 MiB 0.14 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688442898 {#4169
    date: 2023-07-04 05:54:58.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1688452608 {#4168
    date: 2023-07-04 08:36:48.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#8503
  +createdAt: DateTimeImmutable @1688442898 {#4169
    date: 2023-07-04 05:54:58.0 +02:00
  }
  +editedAt: DateTimeImmutable @1688452608 {#4168
    date: 2023-07-04 08:36:48.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4170
      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 {#4187 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
    +entries: Doctrine\ORM\PersistentCollection {#4193 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
    +posts: Doctrine\ORM\PersistentCollection {#4201 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
    +follows: Doctrine\ORM\PersistentCollection {#4213 …}
    +followers: Doctrine\ORM\PersistentCollection {#4215 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
    +reports: Doctrine\ORM\PersistentCollection {#4225 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
    +violations: Doctrine\ORM\PersistentCollection {#4229 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
    +awards: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
    +categories: Doctrine\ORM\PersistentCollection {#4237 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4172
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8557
  +width: 40
  +height: 40
  +user: App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4170
      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 {#4187 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
    +entries: Doctrine\ORM\PersistentCollection {#4193 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
    +posts: Doctrine\ORM\PersistentCollection {#4201 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
    +follows: Doctrine\ORM\PersistentCollection {#4213 …}
    +followers: Doctrine\ORM\PersistentCollection {#4215 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
    +reports: Doctrine\ORM\PersistentCollection {#4225 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
    +violations: Doctrine\ORM\PersistentCollection {#4229 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
    +awards: Doctrine\ORM\PersistentCollection {#4233 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
    +categories: Doctrine\ORM\PersistentCollection {#4237 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4172
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 20.0 MiB 2.36 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4170
        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 {#4187 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
      +entries: Doctrine\ORM\PersistentCollection {#4193 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
      +posts: Doctrine\ORM\PersistentCollection {#4201 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
      +follows: Doctrine\ORM\PersistentCollection {#4213 …}
      +followers: Doctrine\ORM\PersistentCollection {#4215 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
      +reports: Doctrine\ORM\PersistentCollection {#4225 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
      +violations: Doctrine\ORM\PersistentCollection {#4229 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
      +awards: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
      +categories: Doctrine\ORM\PersistentCollection {#4237 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4172
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4167
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4174 …}
    +nested: Doctrine\ORM\PersistentCollection {#4176 …}
    +votes: Doctrine\ORM\PersistentCollection {#4178 …}
    +reports: Doctrine\ORM\PersistentCollection {#4180 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4182 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4184 …}
    -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 {#4168
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4169
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#8634
  +subject: App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4170
        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 {#4187 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
      +entries: Doctrine\ORM\PersistentCollection {#4193 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
      +posts: Doctrine\ORM\PersistentCollection {#4201 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
      +follows: Doctrine\ORM\PersistentCollection {#4213 …}
      +followers: Doctrine\ORM\PersistentCollection {#4215 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
      +reports: Doctrine\ORM\PersistentCollection {#4225 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
      +violations: Doctrine\ORM\PersistentCollection {#4229 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
      +awards: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
      +categories: Doctrine\ORM\PersistentCollection {#4237 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4172
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4167
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4174 …}
    +nested: Doctrine\ORM\PersistentCollection {#4176 …}
    +votes: Doctrine\ORM\PersistentCollection {#4178 …}
    +reports: Doctrine\ORM\PersistentCollection {#4180 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4182 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4184 …}
    -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 {#4168
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4169
      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 20.0 MiB 0.66 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4170
        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 {#4187 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
      +entries: Doctrine\ORM\PersistentCollection {#4193 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
      +posts: Doctrine\ORM\PersistentCollection {#4201 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
      +follows: Doctrine\ORM\PersistentCollection {#4213 …}
      +followers: Doctrine\ORM\PersistentCollection {#4215 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
      +reports: Doctrine\ORM\PersistentCollection {#4225 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
      +violations: Doctrine\ORM\PersistentCollection {#4229 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
      +awards: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
      +categories: Doctrine\ORM\PersistentCollection {#4237 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4172
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4167
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4174 …}
    +nested: Doctrine\ORM\PersistentCollection {#4176 …}
    +votes: Doctrine\ORM\PersistentCollection {#4178 …}
    +reports: Doctrine\ORM\PersistentCollection {#4180 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4182 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4184 …}
    -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 {#4168
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4169
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#8691
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4170
        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 {#4187 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
      +entries: Doctrine\ORM\PersistentCollection {#4193 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
      +posts: Doctrine\ORM\PersistentCollection {#4201 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
      +follows: Doctrine\ORM\PersistentCollection {#4213 …}
      +followers: Doctrine\ORM\PersistentCollection {#4215 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
      +reports: Doctrine\ORM\PersistentCollection {#4225 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
      +violations: Doctrine\ORM\PersistentCollection {#4229 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
      +awards: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
      +categories: Doctrine\ORM\PersistentCollection {#4237 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4172
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4167
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4174 …}
    +nested: Doctrine\ORM\PersistentCollection {#4176 …}
    +votes: Doctrine\ORM\PersistentCollection {#4178 …}
    +reports: Doctrine\ORM\PersistentCollection {#4180 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4182 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4184 …}
    -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 {#4168
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4169
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 20.0 MiB 3.25 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4170
        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 {#4187 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
      +entries: Doctrine\ORM\PersistentCollection {#4193 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
      +posts: Doctrine\ORM\PersistentCollection {#4201 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
      +follows: Doctrine\ORM\PersistentCollection {#4213 …}
      +followers: Doctrine\ORM\PersistentCollection {#4215 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
      +reports: Doctrine\ORM\PersistentCollection {#4225 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
      +violations: Doctrine\ORM\PersistentCollection {#4229 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
      +awards: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
      +categories: Doctrine\ORM\PersistentCollection {#4237 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4172
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4167
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4174 …}
    +nested: Doctrine\ORM\PersistentCollection {#4176 …}
    +votes: Doctrine\ORM\PersistentCollection {#4178 …}
    +reports: Doctrine\ORM\PersistentCollection {#4180 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4182 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4184 …}
    -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 {#4168
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4169
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#8931
  +comment: App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4170
        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 {#4187 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4189 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4191 …}
      +entries: Doctrine\ORM\PersistentCollection {#4193 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4195 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4197 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4199 …}
      +posts: Doctrine\ORM\PersistentCollection {#4201 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4203 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4205 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4207 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4209 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4211 …}
      +follows: Doctrine\ORM\PersistentCollection {#4213 …}
      +followers: Doctrine\ORM\PersistentCollection {#4215 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4217 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4219 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4221 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4223 …}
      +reports: Doctrine\ORM\PersistentCollection {#4225 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4227 …}
      +violations: Doctrine\ORM\PersistentCollection {#4229 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4231 …}
      +awards: Doctrine\ORM\PersistentCollection {#4233 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4235 …}
      +categories: Doctrine\ORM\PersistentCollection {#4237 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4172
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2388
      +user: Proxies\__CG__\App\Entity\User {#1943
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1518
          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 {#1623 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
        +entries: Doctrine\ORM\PersistentCollection {#1706 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
        +posts: Doctrine\ORM\PersistentCollection {#1749 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
        +follows: Doctrine\ORM\PersistentCollection {#1446 …}
        +followers: Doctrine\ORM\PersistentCollection {#1409 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
        +reports: Doctrine\ORM\PersistentCollection {#1462 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
        +violations: Doctrine\ORM\PersistentCollection {#1695 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
        +awards: Doctrine\ORM\PersistentCollection {#1699 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
        +categories: Doctrine\ORM\PersistentCollection {#1674 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
        +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 {#1536
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1516
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#266
        +icon: Proxies\__CG__\App\Entity\Image {#247 …}
        +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 {#276
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#238 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
        +entries: Doctrine\ORM\PersistentCollection {#181 …}
        +posts: Doctrine\ORM\PersistentCollection {#139 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
        +bans: Doctrine\ORM\PersistentCollection {#118 …}
        +reports: Doctrine\ORM\PersistentCollection {#104 …}
        +badges: Doctrine\ORM\PersistentCollection {#82 …}
        +logs: Doctrine\ORM\PersistentCollection {#72 …}
        +awards: Doctrine\ORM\PersistentCollection {#61 …}
        +categories: Doctrine\ORM\PersistentCollection {#1820 …}
        -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 {#270
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#272
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1962 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1924 …}
      +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 {#2410
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1886 …}
      +votes: Doctrine\ORM\PersistentCollection {#1973 …}
      +reports: Doctrine\ORM\PersistentCollection {#1948 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1927 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2442 …}
      +badges: Doctrine\ORM\PersistentCollection {#2440 …}
      +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 {#1850
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#266}
    +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 {#4167
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4174 …}
    +nested: Doctrine\ORM\PersistentCollection {#4176 …}
    +votes: Doctrine\ORM\PersistentCollection {#4178 …}
    +reports: Doctrine\ORM\PersistentCollection {#4180 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4182 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4184 …}
    -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 {#4168
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4169
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#557 …}
  -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 20.0 MiB 0.21 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 {#9056
  +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 20.0 MiB 0.18 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9120
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 20.0 MiB 0.13 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9185
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 20.0 MiB 0.13 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 {#9241
  +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 20.0 MiB 0.13 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 {#9300
  +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 20.0 MiB 0.12 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9356
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 20.0 MiB 0.12 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9412
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 20.0 MiB 0.23 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9470
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 20.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 {#9533
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 20.0 MiB 0.16 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9591
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 20.0 MiB 0.14 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9647
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 20.0 MiB 16.95 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9703
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 20.0 MiB 0.14 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9759
  +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 20.0 MiB 0.13 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9815
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 20.0 MiB 0.12 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9871
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 20.0 MiB 0.12 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9927
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 20.0 MiB 0.13 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9983
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 20.0 MiB 0.14 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#10039
  +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 20.0 MiB 0.17 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#10095
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 20.0 MiB 0.20 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 {#10151
  +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 20.0 MiB 0.14 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 {#10209
  +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 20.0 MiB 0.44 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#10286
  +user: Proxies\__CG__\App\Entity\User {#1943
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1518
      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 {#1623 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1704 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1712 …}
    +entries: Doctrine\ORM\PersistentCollection {#1706 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1657 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1745 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1469 …}
    +posts: Doctrine\ORM\PersistentCollection {#1749 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1491 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1779 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1633 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1754 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1449 …}
    +follows: Doctrine\ORM\PersistentCollection {#1446 …}
    +followers: Doctrine\ORM\PersistentCollection {#1409 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1461 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1416 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1433 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1435 …}
    +reports: Doctrine\ORM\PersistentCollection {#1462 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1429 …}
    +violations: Doctrine\ORM\PersistentCollection {#1695 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1698 …}
    +awards: Doctrine\ORM\PersistentCollection {#1699 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1615 …}
    +categories: Doctrine\ORM\PersistentCollection {#1674 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1671 …}
    +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 {#1536
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1516
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
}
date App\Twig\Components\DateComponent 20.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1688419656 {#1850
    date: 2023-07-03 23:27:36.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10347
  +date: DateTimeImmutable @1688419656 {#1850
    date: 2023-07-03 23:27:36.0 +02:00
  }
}
magazine_box App\Twig\Components\MagazineBoxComponent 20.0 MiB 14.52 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  "showSectionTitle" => true
]
Attributes
[]
Component
App\Twig\Components\MagazineBoxComponent {#10403
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      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 20.0 MiB 0.45 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineSubComponent {#10462
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
}
date App\Twig\Components\DateComponent 20.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1687144409 {#272
    date: 2023-06-19 05:13:29.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10574
  +date: DateTimeImmutable @1687144409 {#272
    date: 2023-06-19 05:13:29.0 +02:00
  }
}
user_inline App\Twig\Components\UserInlineComponent 20.0 MiB 0.55 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#10633
    +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 {#10680
      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 {#10682 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10684 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10686 …}
    +entries: Doctrine\ORM\PersistentCollection {#10688 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10690 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10692 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10694 …}
    +posts: Doctrine\ORM\PersistentCollection {#10696 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10698 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10700 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10702 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10704 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10706 …}
    +follows: Doctrine\ORM\PersistentCollection {#10708 …}
    +followers: Doctrine\ORM\PersistentCollection {#10710 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10712 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10714 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10716 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10718 …}
    +reports: Doctrine\ORM\PersistentCollection {#10720 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10722 …}
    +violations: Doctrine\ORM\PersistentCollection {#10724 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10726 …}
    +awards: Doctrine\ORM\PersistentCollection {#10728 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10730 …}
    +categories: Doctrine\ORM\PersistentCollection {#10732 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10734 …}
    +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 {#10681
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10651
  +user: Proxies\__CG__\App\Entity\User {#10633
    +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 {#10680
      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 {#10682 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10684 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10686 …}
    +entries: Doctrine\ORM\PersistentCollection {#10688 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10690 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10692 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10694 …}
    +posts: Doctrine\ORM\PersistentCollection {#10696 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10698 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10700 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10702 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10704 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10706 …}
    +follows: Doctrine\ORM\PersistentCollection {#10708 …}
    +followers: Doctrine\ORM\PersistentCollection {#10710 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10712 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10714 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10716 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10718 …}
    +reports: Doctrine\ORM\PersistentCollection {#10720 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10722 …}
    +violations: Doctrine\ORM\PersistentCollection {#10724 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10726 …}
    +awards: Doctrine\ORM\PersistentCollection {#10728 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10730 …}
    +categories: Doctrine\ORM\PersistentCollection {#10732 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10734 …}
    +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 {#10681
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: true
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 20.0 MiB 10.26 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#10842
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +title: "related_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#334 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 20.0 MiB 24.41 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#10968
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      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 …}
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.59 ms
Input props
[
  "user" => App\Entity\User {#11218
    +avatar: Proxies\__CG__\App\Entity\Image {#11217 …}
    +cover: null
    +email: "jarrodsfarrell@hoosier.social"
    +username: "@jarrodsfarrell@hoosier.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Grounded tech enthusiast, Linux enjoyer, and Indy 500 wannabe that lives in south-east Indiana.  \n
      Go pride. [#LGBTQ](https://hoosier.social/tags/LGBTQ)
      """
    +lastActive: DateTime @1690728142 {#11221
      date: 2023-07-30 16:42: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 {#11216 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11214 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#11212 …}
    +entries: Doctrine\ORM\PersistentCollection {#11210 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#11208 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#11206 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#11204 …}
    +posts: Doctrine\ORM\PersistentCollection {#11202 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#11200 …}
    +postComments: Doctrine\ORM\PersistentCollection {#11198 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11196 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11194 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11192 …}
    +follows: Doctrine\ORM\PersistentCollection {#11190 …}
    +followers: Doctrine\ORM\PersistentCollection {#11188 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11186 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11184 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11182 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11180 …}
    +reports: Doctrine\ORM\PersistentCollection {#11178 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11176 …}
    +violations: Doctrine\ORM\PersistentCollection {#11174 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11172 …}
    +awards: Doctrine\ORM\PersistentCollection {#11170 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11168 …}
    +categories: Doctrine\ORM\PersistentCollection {#11166 …}
    -id: 20657
    -password: "$2y$13$XNERcrvg1/EZkZQbKQ6R6efd5bjo3rlAJRSz0lDRnfkNCV76hr5Me"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11164 …}
    +apId: "jarrodsfarrell@hoosier.social"
    +apProfileId: "https://hoosier.social/users/jarrodsfarrell"
    +apPublicUrl: "https://hoosier.social/@jarrodsfarrell"
    +apFollowersUrl: "https://hoosier.social/users/jarrodsfarrell/followers"
    +apInboxUrl: "https://hoosier.social/inbox"
    +apDomain: "hoosier.social"
    +apPreferredUsername: "jarrodsfarrell"
    +apDiscoverable: false
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690726862 {#11220
      date: 2023-07-30 16:21:02.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688878027 {#11219
      date: 2023-07-09 06:47:07.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11024
  +width: 65
  +height: 65
  +user: App\Entity\User {#11218
    +avatar: Proxies\__CG__\App\Entity\Image {#11217 …}
    +cover: null
    +email: "jarrodsfarrell@hoosier.social"
    +username: "@jarrodsfarrell@hoosier.social"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Grounded tech enthusiast, Linux enjoyer, and Indy 500 wannabe that lives in south-east Indiana.  \n
      Go pride. [#LGBTQ](https://hoosier.social/tags/LGBTQ)
      """
    +lastActive: DateTime @1690728142 {#11221
      date: 2023-07-30 16:42: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 {#11216 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11214 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#11212 …}
    +entries: Doctrine\ORM\PersistentCollection {#11210 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#11208 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#11206 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#11204 …}
    +posts: Doctrine\ORM\PersistentCollection {#11202 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#11200 …}
    +postComments: Doctrine\ORM\PersistentCollection {#11198 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11196 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11194 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11192 …}
    +follows: Doctrine\ORM\PersistentCollection {#11190 …}
    +followers: Doctrine\ORM\PersistentCollection {#11188 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11186 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11184 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11182 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11180 …}
    +reports: Doctrine\ORM\PersistentCollection {#11178 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11176 …}
    +violations: Doctrine\ORM\PersistentCollection {#11174 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11172 …}
    +awards: Doctrine\ORM\PersistentCollection {#11170 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11168 …}
    +categories: Doctrine\ORM\PersistentCollection {#11166 …}
    -id: 20657
    -password: "$2y$13$XNERcrvg1/EZkZQbKQ6R6efd5bjo3rlAJRSz0lDRnfkNCV76hr5Me"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11164 …}
    +apId: "jarrodsfarrell@hoosier.social"
    +apProfileId: "https://hoosier.social/users/jarrodsfarrell"
    +apPublicUrl: "https://hoosier.social/@jarrodsfarrell"
    +apFollowersUrl: "https://hoosier.social/users/jarrodsfarrell/followers"
    +apInboxUrl: "https://hoosier.social/inbox"
    +apDomain: "hoosier.social"
    +apPreferredUsername: "jarrodsfarrell"
    +apDiscoverable: false
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1690726862 {#11220
      date: 2023-07-30 16:21:02.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688878027 {#11219
      date: 2023-07-09 06:47:07.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.33 ms
Input props
[
  "user" => App\Entity\User {#11415
    +avatar: Proxies\__CG__\App\Entity\Image {#11412 …}
    +cover: Proxies\__CG__\App\Entity\Image {#11413 …}
    +email: "TCB13@lemmy.world"
    +username: "@TCB13@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1729518803 {#11235
      date: 2024-10-21 15:53:23.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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#11410 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11408 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#11406 …}
    +entries: Doctrine\ORM\PersistentCollection {#11404 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#11402 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#11400 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#11398 …}
    +posts: Doctrine\ORM\PersistentCollection {#11396 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#11394 …}
    +postComments: Doctrine\ORM\PersistentCollection {#11392 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11390 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11388 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11386 …}
    +follows: Doctrine\ORM\PersistentCollection {#11384 …}
    +followers: Doctrine\ORM\PersistentCollection {#11382 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11380 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11378 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11376 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11374 …}
    +reports: Doctrine\ORM\PersistentCollection {#11372 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11370 …}
    +violations: Doctrine\ORM\PersistentCollection {#11368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11366 …}
    +awards: Doctrine\ORM\PersistentCollection {#11364 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11362 …}
    +categories: Doctrine\ORM\PersistentCollection {#11360 …}
    -id: 43677
    -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11358 …}
    +apId: "TCB13@lemmy.world"
    +apProfileId: "https://lemmy.world/u/TCB13"
    +apPublicUrl: "https://lemmy.world/u/TCB13"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "TCB13"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729566764 {#11416
      date: 2024-10-22 05:12:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1693492241 {#11414
      date: 2023-08-31 16:30:41.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11304
  +width: 65
  +height: 65
  +user: App\Entity\User {#11415
    +avatar: Proxies\__CG__\App\Entity\Image {#11412 …}
    +cover: Proxies\__CG__\App\Entity\Image {#11413 …}
    +email: "TCB13@lemmy.world"
    +username: "@TCB13@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1729518803 {#11235
      date: 2024-10-21 15:53:23.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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#11410 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11408 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#11406 …}
    +entries: Doctrine\ORM\PersistentCollection {#11404 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#11402 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#11400 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#11398 …}
    +posts: Doctrine\ORM\PersistentCollection {#11396 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#11394 …}
    +postComments: Doctrine\ORM\PersistentCollection {#11392 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11390 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11388 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11386 …}
    +follows: Doctrine\ORM\PersistentCollection {#11384 …}
    +followers: Doctrine\ORM\PersistentCollection {#11382 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11380 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11378 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11376 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11374 …}
    +reports: Doctrine\ORM\PersistentCollection {#11372 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11370 …}
    +violations: Doctrine\ORM\PersistentCollection {#11368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11366 …}
    +awards: Doctrine\ORM\PersistentCollection {#11364 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11362 …}
    +categories: Doctrine\ORM\PersistentCollection {#11360 …}
    -id: 43677
    -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11358 …}
    +apId: "TCB13@lemmy.world"
    +apProfileId: "https://lemmy.world/u/TCB13"
    +apPublicUrl: "https://lemmy.world/u/TCB13"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.world/inbox"
    +apDomain: "lemmy.world"
    +apPreferredUsername: "TCB13"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1729566764 {#11416
      date: 2024-10-22 05:12:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1693492241 {#11414
      date: 2023-08-31 16:30:41.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.46 ms
Input props
[
  "user" => App\Entity\User {#11041
    +avatar: Proxies\__CG__\App\Entity\Image {#11040 …}
    +cover: Proxies\__CG__\App\Entity\Image {#11039 …}
    +email: "vfrmedia@social.tchncs.de"
    +username: "@vfrmedia@social.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Old roaming Tom Cat (zwerfkater) but still young at heart. Toots EN, (NL,FR,DE). [#DevOpa](https://social.tchncs.de/tags/DevOpa) - interested more in retro tech / culture / aesthetics than new stuff. Also transport and public infrastructure in general (with a UK/European focus)\n
      \n
      Welcome to the secret goose shed!\n
      \n
      Avatar is a tabby point Siamese cat - header picture is a Stentor FM radio transmitter designed in the Netherlands; popular with small pirate radio broadcasters in late 1980s
      """
    +lastActive: DateTime @1692636225 {#11044
      date: 2023-08-21 18:43:45.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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#11038 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11036 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10986 …}
    +entries: Doctrine\ORM\PersistentCollection {#10988 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10995 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10996 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10998 …}
    +posts: Doctrine\ORM\PersistentCollection {#11000 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10997 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10990 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11008 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11005 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11013 …}
    +follows: Doctrine\ORM\PersistentCollection {#11010 …}
    +followers: Doctrine\ORM\PersistentCollection {#11018 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11020 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11022 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11430 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11424 …}
    +reports: Doctrine\ORM\PersistentCollection {#11237 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11226 …}
    +violations: Doctrine\ORM\PersistentCollection {#11432 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11431 …}
    +awards: Doctrine\ORM\PersistentCollection {#11428 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11425 …}
    +categories: Doctrine\ORM\PersistentCollection {#11422 …}
    -id: 41651
    -password: "$2y$13$MR/jvQLw20snj7dhCUOzrerIeJOUi.vmMEXqlAliA6M/KYuWQH.Sa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11421 …}
    +apId: "vfrmedia@social.tchncs.de"
    +apProfileId: "https://social.tchncs.de/users/vfrmedia"
    +apPublicUrl: "https://social.tchncs.de/@vfrmedia"
    +apFollowersUrl: "https://social.tchncs.de/users/vfrmedia/followers"
    +apInboxUrl: "https://social.tchncs.de/inbox"
    +apDomain: "social.tchncs.de"
    +apPreferredUsername: "vfrmedia"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1692636225 {#11043
      date: 2023-08-21 18:43:45.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692554254 {#11042
      date: 2023-08-20 19:57:34.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11249
  +width: 65
  +height: 65
  +user: App\Entity\User {#11041
    +avatar: Proxies\__CG__\App\Entity\Image {#11040 …}
    +cover: Proxies\__CG__\App\Entity\Image {#11039 …}
    +email: "vfrmedia@social.tchncs.de"
    +username: "@vfrmedia@social.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Old roaming Tom Cat (zwerfkater) but still young at heart. Toots EN, (NL,FR,DE). [#DevOpa](https://social.tchncs.de/tags/DevOpa) - interested more in retro tech / culture / aesthetics than new stuff. Also transport and public infrastructure in general (with a UK/European focus)\n
      \n
      Welcome to the secret goose shed!\n
      \n
      Avatar is a tabby point Siamese cat - header picture is a Stentor FM radio transmitter designed in the Netherlands; popular with small pirate radio broadcasters in late 1980s
      """
    +lastActive: DateTime @1692636225 {#11044
      date: 2023-08-21 18:43:45.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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#11038 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11036 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10986 …}
    +entries: Doctrine\ORM\PersistentCollection {#10988 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10995 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10996 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10998 …}
    +posts: Doctrine\ORM\PersistentCollection {#11000 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10997 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10990 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11008 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11005 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11013 …}
    +follows: Doctrine\ORM\PersistentCollection {#11010 …}
    +followers: Doctrine\ORM\PersistentCollection {#11018 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11020 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11022 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11430 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11424 …}
    +reports: Doctrine\ORM\PersistentCollection {#11237 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11226 …}
    +violations: Doctrine\ORM\PersistentCollection {#11432 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11431 …}
    +awards: Doctrine\ORM\PersistentCollection {#11428 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11425 …}
    +categories: Doctrine\ORM\PersistentCollection {#11422 …}
    -id: 41651
    -password: "$2y$13$MR/jvQLw20snj7dhCUOzrerIeJOUi.vmMEXqlAliA6M/KYuWQH.Sa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11421 …}
    +apId: "vfrmedia@social.tchncs.de"
    +apProfileId: "https://social.tchncs.de/users/vfrmedia"
    +apPublicUrl: "https://social.tchncs.de/@vfrmedia"
    +apFollowersUrl: "https://social.tchncs.de/users/vfrmedia/followers"
    +apInboxUrl: "https://social.tchncs.de/inbox"
    +apDomain: "social.tchncs.de"
    +apPreferredUsername: "vfrmedia"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1692636225 {#11043
      date: 2023-08-21 18:43:45.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692554254 {#11042
      date: 2023-08-20 19:57:34.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.38 ms
Input props
[
  "user" => App\Entity\User {#11159
    +avatar: Proxies\__CG__\App\Entity\Image {#11158 …}
    +cover: null
    +email: "birdcat@lemmy.ml"
    +username: "@birdcat@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Appreciate and upvote every reply to my comments/posts if I can detect any effort being put into it; even if I think you completely missed what I tried to say or strongly disagree with your opinion.\n
      \n
      Occasionally I cannot resist shitposting, hyperbolic, ironic, sarcastic or populist rhetoric; no /s
      """
    +lastActive: DateTime @1696696022 {#11162
      date: 2023-10-07 18:27:02.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 {#11157 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11155 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#11153 …}
    +entries: Doctrine\ORM\PersistentCollection {#11151 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#11149 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#11147 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#11145 …}
    +posts: Doctrine\ORM\PersistentCollection {#11143 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#11141 …}
    +postComments: Doctrine\ORM\PersistentCollection {#11139 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11135 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11133 …}
    +follows: Doctrine\ORM\PersistentCollection {#11131 …}
    +followers: Doctrine\ORM\PersistentCollection {#11129 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11127 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11125 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11123 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11121 …}
    +reports: Doctrine\ORM\PersistentCollection {#11119 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11117 …}
    +violations: Doctrine\ORM\PersistentCollection {#11115 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11113 …}
    +awards: Doctrine\ORM\PersistentCollection {#11111 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11109 …}
    +categories: Doctrine\ORM\PersistentCollection {#11107 …}
    -id: 21796
    -password: "$2y$13$ACNmoGKWwRgm/Njn146GG.b25O8.XXYtlu6ZukGNMl7KWiROcYuzK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11105 …}
    +apId: "birdcat@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/birdcat"
    +apPublicUrl: "https://lemmy.ml/u/birdcat"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "birdcat"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719824521 {#11161
      date: 2024-07-01 11:02:01.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689039812 {#11160
      date: 2023-07-11 03:43:32.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11475
  +width: 65
  +height: 65
  +user: App\Entity\User {#11159
    +avatar: Proxies\__CG__\App\Entity\Image {#11158 …}
    +cover: null
    +email: "birdcat@lemmy.ml"
    +username: "@birdcat@lemmy.ml"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: """
      Appreciate and upvote every reply to my comments/posts if I can detect any effort being put into it; even if I think you completely missed what I tried to say or strongly disagree with your opinion.\n
      \n
      Occasionally I cannot resist shitposting, hyperbolic, ironic, sarcastic or populist rhetoric; no /s
      """
    +lastActive: DateTime @1696696022 {#11162
      date: 2023-10-07 18:27:02.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 {#11157 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11155 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#11153 …}
    +entries: Doctrine\ORM\PersistentCollection {#11151 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#11149 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#11147 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#11145 …}
    +posts: Doctrine\ORM\PersistentCollection {#11143 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#11141 …}
    +postComments: Doctrine\ORM\PersistentCollection {#11139 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11135 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11133 …}
    +follows: Doctrine\ORM\PersistentCollection {#11131 …}
    +followers: Doctrine\ORM\PersistentCollection {#11129 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11127 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11125 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11123 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11121 …}
    +reports: Doctrine\ORM\PersistentCollection {#11119 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11117 …}
    +violations: Doctrine\ORM\PersistentCollection {#11115 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11113 …}
    +awards: Doctrine\ORM\PersistentCollection {#11111 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11109 …}
    +categories: Doctrine\ORM\PersistentCollection {#11107 …}
    -id: 21796
    -password: "$2y$13$ACNmoGKWwRgm/Njn146GG.b25O8.XXYtlu6ZukGNMl7KWiROcYuzK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11105 …}
    +apId: "birdcat@lemmy.ml"
    +apProfileId: "https://lemmy.ml/u/birdcat"
    +apPublicUrl: "https://lemmy.ml/u/birdcat"
    +apFollowersUrl: null
    +apInboxUrl: "https://lemmy.ml/inbox"
    +apDomain: "lemmy.ml"
    +apPreferredUsername: "birdcat"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719824521 {#11161
      date: 2024-07-01 11:02:01.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689039812 {#11160
      date: 2023-07-11 03:43:32.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 20.0 MiB 0.34 ms
Input props
[
  "user" => App\Entity\User {#11100
    +avatar: Proxies\__CG__\App\Entity\Image {#11099 …}
    +cover: null
    +email: "skillissuer@discuss.tchncs.de"
    +username: "@skillissuer@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "i should be writing"
    +lastActive: DateTime @1721044672 {#11103
      date: 2024-07-15 13:57:52.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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#11098 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11096 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#11094 …}
    +entries: Doctrine\ORM\PersistentCollection {#11092 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#11090 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#11088 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#11086 …}
    +posts: Doctrine\ORM\PersistentCollection {#11084 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#11082 …}
    +postComments: Doctrine\ORM\PersistentCollection {#11080 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11078 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11076 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11074 …}
    +follows: Doctrine\ORM\PersistentCollection {#11072 …}
    +followers: Doctrine\ORM\PersistentCollection {#11070 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11068 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11066 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11064 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11062 …}
    +reports: Doctrine\ORM\PersistentCollection {#11060 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11058 …}
    +violations: Doctrine\ORM\PersistentCollection {#11056 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11054 …}
    +awards: Doctrine\ORM\PersistentCollection {#11052 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11050 …}
    +categories: Doctrine\ORM\PersistentCollection {#11048 …}
    -id: 39464
    -password: "$2y$13$wQAP4Gif3ESopfZf00xAU.zwr9iTTX.ev3twB9omsse0v00sxuD/G"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11046 …}
    +apId: "skillissuer@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/skillissuer"
    +apPublicUrl: "https://discuss.tchncs.de/u/skillissuer"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "skillissuer"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728245617 {#11102
      date: 2024-10-06 22:13:37.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691480767 {#11101
      date: 2023-08-08 09:46:07.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11532
  +width: 65
  +height: 65
  +user: App\Entity\User {#11100
    +avatar: Proxies\__CG__\App\Entity\Image {#11099 …}
    +cover: null
    +email: "skillissuer@discuss.tchncs.de"
    +username: "@skillissuer@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: "i should be writing"
    +lastActive: DateTime @1721044672 {#11103
      date: 2024-07-15 13:57:52.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: false
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: true
    +notifyOnNewEntryCommentReply: true
    +notifyOnNewPost: false
    +notifyOnNewPostReply: true
    +notifyOnNewPostCommentReply: true
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#11098 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11096 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#11094 …}
    +entries: Doctrine\ORM\PersistentCollection {#11092 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#11090 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#11088 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#11086 …}
    +posts: Doctrine\ORM\PersistentCollection {#11084 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#11082 …}
    +postComments: Doctrine\ORM\PersistentCollection {#11080 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11078 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11076 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11074 …}
    +follows: Doctrine\ORM\PersistentCollection {#11072 …}
    +followers: Doctrine\ORM\PersistentCollection {#11070 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11068 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11066 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11064 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11062 …}
    +reports: Doctrine\ORM\PersistentCollection {#11060 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11058 …}
    +violations: Doctrine\ORM\PersistentCollection {#11056 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11054 …}
    +awards: Doctrine\ORM\PersistentCollection {#11052 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11050 …}
    +categories: Doctrine\ORM\PersistentCollection {#11048 …}
    -id: 39464
    -password: "$2y$13$wQAP4Gif3ESopfZf00xAU.zwr9iTTX.ev3twB9omsse0v00sxuD/G"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11046 …}
    +apId: "skillissuer@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/skillissuer"
    +apPublicUrl: "https://discuss.tchncs.de/u/skillissuer"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "skillissuer"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1728245617 {#11102
      date: 2024-10-06 22:13:37.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691480767 {#11101
      date: 2023-08-08 09:46:07.0 +02:00
    }
  }
  +asLink: true
}
related_categories App\Twig\Components\RelatedCategoriesComponent 20.0 MiB 3.79 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#11594
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "related"
  +title: "related_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#11595 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 20.0 MiB 4.33 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#11671
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +post: null
  +title: "related_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#11672 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 20.0 MiB 6.41 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#11744
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +entry: null
  +title: "related_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#271 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#390 …}
}
support_us_block App\Twig\Components\SupportUsBlock 20.0 MiB 0.34 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#11813
  +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 {#11814 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 20.0 MiB 0.95 ms
Input props
[
  "magazine" => App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#11902
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +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 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -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 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#334 …}
}