Components

24 Twig Components
103 Render Count
3406 ms Render Time
12.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.66ms
user_avatar
"App\Twig\Components\UserAvatarComponent"
components/user_avatar.html.twig
12 389.67ms
date
"App\Twig\Components\DateComponent"
components/date.html.twig
10 2.36ms
user_inline
"App\Twig\Components\UserInlineComponent"
components/user_inline.html.twig
9 103.16ms
date_edited
"App\Twig\Components\DateEditedComponent"
components/date_edited.html.twig
8 1.34ms
vote
"App\Twig\Components\VoteComponent"
components/vote.html.twig
8 6.26ms
boost
"App\Twig\Components\BoostComponent"
components/boost.html.twig
8 13.35ms
entry_comment
"App\Twig\Components\EntryCommentComponent"
components/entry_comment.html.twig
7 3,854.03ms
entry_comments_nested
"App\Twig\Components\EntryCommentsNestedComponent"
components/_cached.html.twig
7 2,753.94ms
user_settings_row_switch
"App\Twig\Components\UserSettingsRowSwitchComponent"
components/_user_settings_row_switch.html.twig
4 0.69ms
settings_row_enum
"App\Twig\Components\SettingsRowEnumComponent"
components/_settings_row_enum.html.twig
2 0.37ms
entry
"App\Twig\Components\EntryComponent"
components/_cached.html.twig
1 51.86ms
entries_cross
"App\Twig\Components\EntriesCrossComponent"
components/_cached.html.twig
1 292.06ms
editor_toolbar
"App\Twig\Components\EditorToolbarComponent"
components/editor_toolbar.html.twig
1 0.41ms
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 222.76ms
magazine_sub
"App\Twig\Components\MagazineSubComponent"
components/magazine_sub.html.twig
1 0.76ms
related_magazines
"App\Twig\Components\RelatedMagazinesComponent"
components/_cached.html.twig
1 59.65ms
active_users
"App\Twig\Components\ActiveUsersComponent"
components/_cached.html.twig
1 379.81ms
related_categories
"App\Twig\Components\RelatedCategoriesComponent"
components/_cached.html.twig
1 42.82ms
related_posts
"App\Twig\Components\RelatedPostsComponent"
components/_cached.html.twig
1 24.68ms
related_entries
"App\Twig\Components\RelatedEntriesComponent"
components/_cached.html.twig
1 66.85ms
support_us_block
"App\Twig\Components\SupportUsBlock"
components/_cached.html.twig
1 14.60ms
featured_magazines
"App\Twig\Components\FeaturedMagazinesComponent"
components/_cached.html.twig
1 2.06ms

Render calls

entry App\Twig\Components\EntryComponent 12.0 MiB 51.86 ms
Input props
[
  "entry" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  "isSingle" => true
  "showShortSentence" => false
  "showBody" => true
]
Attributes
[
  "class" => "entry--single section--top"
]
Component
App\Twig\Components\EntryComponent {#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 {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  +isSingle: true
  +showShortSentence: false
  +showBody: true
  +showMagazineName: false
  +canSeeTrash: false
  +newComments: 0
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 0.57 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#3149
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.57 ms
Input props
[
  "date" => DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#3219
  +date: DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.28 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#3283
  +createdAt: DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
  +editedAt: null
}
vote App\Twig\Components\VoteComponent 12.0 MiB 2.03 ms
Input props
[
  "subject" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#3350
  +subject: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  +formDest: "entry"
  +showDownvote: true
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
boost App\Twig\Components\BoostComponent 12.0 MiB 1.57 ms
Input props
[
  "subject" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3421
  +formDest: "entry"
  +subject: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entries_cross App\Twig\Components\EntriesCrossComponent 12.0 MiB 292.06 ms
Input props
[
  "entry" => App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\EntriesCrossComponent {#3730
  +entry: App\Entity\Entry {#2419
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +magazine: App\Entity\Magazine {#265
      +icon: Proxies\__CG__\App\Entity\Image {#246 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#275
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#237 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
      +entries: Doctrine\ORM\PersistentCollection {#180 …}
      +posts: Doctrine\ORM\PersistentCollection {#138 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
      +bans: Doctrine\ORM\PersistentCollection {#117 …}
      +reports: Doctrine\ORM\PersistentCollection {#103 …}
      +badges: Doctrine\ORM\PersistentCollection {#81 …}
      +logs: Doctrine\ORM\PersistentCollection {#71 …}
      +awards: Doctrine\ORM\PersistentCollection {#1346 …}
      +categories: Doctrine\ORM\PersistentCollection {#1823 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#269
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#271
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
    +title: "Shift register > Relays - inconsistent results when load is attached to relay"
    +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
    +body: """
      First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
      \n
      Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
      \n
      So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
      \n
      And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
      \n
      Any guesses as to where I need to put some capacitor(s)? Thanks!!
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 7
    +favouriteCount: 7
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689481805 {#2414
      date: 2023-07-16 06:30:05.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 748
    -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
    -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688468656
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/463783"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688419656 {#1793
      date: 2023-07-03 23:27:36.0 +02:00
    }
  }
  -repository: App\Repository\EntryRepository {#270 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
}
editor_toolbar App\Twig\Components\EditorToolbarComponent 12.0 MiB 0.41 ms
Input props
[
  "id" => "entry_comment_690fcfe993edc6.83176345_body"
]
Attributes
[]
Component
App\Twig\Components\EditorToolbarComponent {#3855
  +id: "entry_comment_690fcfe993edc6.83176345_body"
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 1,411.72 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4063
        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 {#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: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4057
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4064
      date: 2023-07-13 23:40:41.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: 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 {#4000
      date: 2023-07-04 00:03:29.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: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4063
        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 {#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: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4057
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4064
      date: 2023-07-13 23:40:41.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: 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 {#4000
      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 12.0 MiB 0.27 ms
Input props
[
  "user" => App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4063
      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 {#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: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4057
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#4385
  +user: App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4063
      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 {#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: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4057
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.24 ms
Input props
[
  "date" => DateTimeImmutable @1688421809 {#4000
    date: 2023-07-04 00:03:29.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#4440
  +date: DateTimeImmutable @1688421809 {#4000
    date: 2023-07-04 00:03:29.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.16 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688421809 {#4000
    date: 2023-07-04 00:03:29.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#4494
  +createdAt: DateTimeImmutable @1688421809 {#4000
    date: 2023-07-04 00:03:29.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.36 ms
Input props
[
  "user" => App\Entity\User {#4003
    +avatar: null
    +cover: null
    +email: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4063
      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 {#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: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4057
      date: 2023-06-23 06:30:36.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: "grasib@lemmy.world"
    +username: "@grasib@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1690648288 {#4063
      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 {#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: 8290
    -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
    +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 {#4059
      date: 2023-07-29 18:30:29.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687494636 {#4057
      date: 2023-06-23 06:30:36.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.39 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4063
        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 {#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: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4057
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4064
      date: 2023-07-13 23:40:41.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: 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 {#4000
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#4645
  +subject: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4063
        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 {#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: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4057
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4064
      date: 2023-07-13 23:40:41.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: 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 {#4000
      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 12.0 MiB 0.71 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4063
        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 {#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: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4057
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4064
      date: 2023-07-13 23:40:41.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: 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 {#4000
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#4702
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4063
        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 {#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: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4057
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4064
      date: 2023-07-13 23:40:41.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: 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 {#4000
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 1,110.03 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4063
        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 {#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: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4057
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4064
      date: 2023-07-13 23:40:41.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: 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 {#4000
      date: 2023-07-04 00:03:29.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#4947
  +comment: App\Entity\EntryComment {#4055
    +user: App\Entity\User {#4003
      +avatar: null
      +cover: null
      +email: "grasib@lemmy.world"
      +username: "@grasib@lemmy.world"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1690648288 {#4063
        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 {#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: 8290
      -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
      +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 {#4059
        date: 2023-07-29 18:30:29.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687494636 {#4057
        date: 2023-06-23 06:30:36.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Not entirely sure, but maybe these help you somehow:\n
      \n
      The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
      \n
      The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
      \n
      The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689284441 {#4064
      date: 2023-07-13 23:40:41.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: 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 {#4000
      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 {#5113 …}
        +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 {#5108
          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 {#5115 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
        +entries: Doctrine\ORM\PersistentCollection {#5121 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
        +posts: Doctrine\ORM\PersistentCollection {#5129 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
        +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
        +follows: Doctrine\ORM\PersistentCollection {#5141 …}
        +followers: Doctrine\ORM\PersistentCollection {#5143 …}
        +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
        +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
        +reports: Doctrine\ORM\PersistentCollection {#5153 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
        +violations: Doctrine\ORM\PersistentCollection {#5157 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
        +awards: Doctrine\ORM\PersistentCollection {#5161 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
        +categories: Doctrine\ORM\PersistentCollection {#5165 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
        +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 {#5105
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#5107
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4055}
      +root: App\Entity\EntryComment {#4055}
      +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 {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4257}
      +root: App\Entity\EntryComment {#4055}
      +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 {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 736.60 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
      +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 {#5108
        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 {#5115 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
      +entries: Doctrine\ORM\PersistentCollection {#5121 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
      +posts: Doctrine\ORM\PersistentCollection {#5129 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
      +follows: Doctrine\ORM\PersistentCollection {#5141 …}
      +followers: Doctrine\ORM\PersistentCollection {#5143 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
      +reports: Doctrine\ORM\PersistentCollection {#5153 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
      +violations: Doctrine\ORM\PersistentCollection {#5157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
      +awards: Doctrine\ORM\PersistentCollection {#5161 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
      +categories: Doctrine\ORM\PersistentCollection {#5165 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
      +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 {#5105
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#5107
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4063
          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 {#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: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4057
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4064
        date: 2023-07-13 23:40:41.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: 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 {#4000
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#5021
  +comment: App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
      +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 {#5108
        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 {#5115 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
      +entries: Doctrine\ORM\PersistentCollection {#5121 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
      +posts: Doctrine\ORM\PersistentCollection {#5129 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
      +follows: Doctrine\ORM\PersistentCollection {#5141 …}
      +followers: Doctrine\ORM\PersistentCollection {#5143 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
      +reports: Doctrine\ORM\PersistentCollection {#5153 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
      +violations: Doctrine\ORM\PersistentCollection {#5157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
      +awards: Doctrine\ORM\PersistentCollection {#5161 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
      +categories: Doctrine\ORM\PersistentCollection {#5165 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
      +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 {#5105
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#5107
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4063
          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 {#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: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4057
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4064
        date: 2023-07-13 23:40:41.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: 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 {#4000
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 12.0 MiB 77.63 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#4254
    +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
    +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 {#5108
      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 {#5115 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
    +entries: Doctrine\ORM\PersistentCollection {#5121 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
    +posts: Doctrine\ORM\PersistentCollection {#5129 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
    +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
    +follows: Doctrine\ORM\PersistentCollection {#5141 …}
    +followers: Doctrine\ORM\PersistentCollection {#5143 …}
    +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
    +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
    +reports: Doctrine\ORM\PersistentCollection {#5153 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
    +violations: Doctrine\ORM\PersistentCollection {#5157 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
    +awards: Doctrine\ORM\PersistentCollection {#5161 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
    +categories: Doctrine\ORM\PersistentCollection {#5165 …}
    -id: 24483
    -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
    +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 {#5105
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#5107
      date: 2023-07-12 07:31:04.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5068
  +user: Proxies\__CG__\App\Entity\User {#4254
    +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
    +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 {#5108
      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 {#5115 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
    +entries: Doctrine\ORM\PersistentCollection {#5121 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
    +posts: Doctrine\ORM\PersistentCollection {#5129 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
    +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
    +follows: Doctrine\ORM\PersistentCollection {#5141 …}
    +followers: Doctrine\ORM\PersistentCollection {#5143 …}
    +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
    +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
    +reports: Doctrine\ORM\PersistentCollection {#5153 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
    +violations: Doctrine\ORM\PersistentCollection {#5157 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
    +awards: Doctrine\ORM\PersistentCollection {#5161 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
    +categories: Doctrine\ORM\PersistentCollection {#5165 …}
    -id: 24483
    -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
    +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 {#5105
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#5107
      date: 2023-07-12 07:31:04.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.26 ms
Input props
[
  "date" => DateTimeImmutable @1688426966 {#4261
    date: 2023-07-04 01:29:26.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5187
  +date: DateTimeImmutable @1688426966 {#4261
    date: 2023-07-04 01:29:26.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.17 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 {#5241
  +createdAt: DateTimeImmutable @1688426966 {#4261
    date: 2023-07-04 01:29:26.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 61.03 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#4254
    +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
    +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 {#5108
      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 {#5115 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
    +entries: Doctrine\ORM\PersistentCollection {#5121 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
    +posts: Doctrine\ORM\PersistentCollection {#5129 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
    +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
    +follows: Doctrine\ORM\PersistentCollection {#5141 …}
    +followers: Doctrine\ORM\PersistentCollection {#5143 …}
    +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
    +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
    +reports: Doctrine\ORM\PersistentCollection {#5153 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
    +violations: Doctrine\ORM\PersistentCollection {#5157 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
    +awards: Doctrine\ORM\PersistentCollection {#5161 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
    +categories: Doctrine\ORM\PersistentCollection {#5165 …}
    -id: 24483
    -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
    +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 {#5105
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#5107
      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 {#5295
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#4254
    +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
    +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 {#5108
      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 {#5115 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
    +entries: Doctrine\ORM\PersistentCollection {#5121 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
    +posts: Doctrine\ORM\PersistentCollection {#5129 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
    +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
    +follows: Doctrine\ORM\PersistentCollection {#5141 …}
    +followers: Doctrine\ORM\PersistentCollection {#5143 …}
    +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
    +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
    +reports: Doctrine\ORM\PersistentCollection {#5153 …}
    +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
    +violations: Doctrine\ORM\PersistentCollection {#5157 …}
    +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
    +awards: Doctrine\ORM\PersistentCollection {#5161 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
    +categories: Doctrine\ORM\PersistentCollection {#5165 …}
    -id: 24483
    -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
    +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 {#5105
      date: 2024-09-29 15:04:20.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689139864 {#5107
      date: 2023-07-12 07:31:04.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.83 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
      +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 {#5108
        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 {#5115 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
      +entries: Doctrine\ORM\PersistentCollection {#5121 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
      +posts: Doctrine\ORM\PersistentCollection {#5129 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
      +follows: Doctrine\ORM\PersistentCollection {#5141 …}
      +followers: Doctrine\ORM\PersistentCollection {#5143 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
      +reports: Doctrine\ORM\PersistentCollection {#5153 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
      +violations: Doctrine\ORM\PersistentCollection {#5157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
      +awards: Doctrine\ORM\PersistentCollection {#5161 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
      +categories: Doctrine\ORM\PersistentCollection {#5165 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
      +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 {#5105
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#5107
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4063
          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 {#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: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4057
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4064
        date: 2023-07-13 23:40:41.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: 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 {#4000
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#5380
  +subject: App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
      +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 {#5108
        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 {#5115 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
      +entries: Doctrine\ORM\PersistentCollection {#5121 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
      +posts: Doctrine\ORM\PersistentCollection {#5129 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
      +follows: Doctrine\ORM\PersistentCollection {#5141 …}
      +followers: Doctrine\ORM\PersistentCollection {#5143 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
      +reports: Doctrine\ORM\PersistentCollection {#5153 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
      +violations: Doctrine\ORM\PersistentCollection {#5157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
      +awards: Doctrine\ORM\PersistentCollection {#5161 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
      +categories: Doctrine\ORM\PersistentCollection {#5165 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
      +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 {#5105
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#5107
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4063
          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 {#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: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4057
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4064
        date: 2023-07-13 23:40:41.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: 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 {#4000
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 12.0 MiB 1.28 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
      +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 {#5108
        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 {#5115 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
      +entries: Doctrine\ORM\PersistentCollection {#5121 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
      +posts: Doctrine\ORM\PersistentCollection {#5129 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
      +follows: Doctrine\ORM\PersistentCollection {#5141 …}
      +followers: Doctrine\ORM\PersistentCollection {#5143 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
      +reports: Doctrine\ORM\PersistentCollection {#5153 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
      +violations: Doctrine\ORM\PersistentCollection {#5157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
      +awards: Doctrine\ORM\PersistentCollection {#5161 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
      +categories: Doctrine\ORM\PersistentCollection {#5165 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
      +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 {#5105
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#5107
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4063
          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 {#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: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4057
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4064
        date: 2023-07-13 23:40:41.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: 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 {#4000
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#5437
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
      +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 {#5108
        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 {#5115 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
      +entries: Doctrine\ORM\PersistentCollection {#5121 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
      +posts: Doctrine\ORM\PersistentCollection {#5129 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
      +follows: Doctrine\ORM\PersistentCollection {#5141 …}
      +followers: Doctrine\ORM\PersistentCollection {#5143 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
      +reports: Doctrine\ORM\PersistentCollection {#5153 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
      +violations: Doctrine\ORM\PersistentCollection {#5157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
      +awards: Doctrine\ORM\PersistentCollection {#5161 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
      +categories: Doctrine\ORM\PersistentCollection {#5165 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
      +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 {#5105
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#5107
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4063
          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 {#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: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4057
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4064
        date: 2023-07-13 23:40:41.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: 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 {#4000
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 12.0 MiB 506.74 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
      +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 {#5108
        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 {#5115 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
      +entries: Doctrine\ORM\PersistentCollection {#5121 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
      +posts: Doctrine\ORM\PersistentCollection {#5129 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
      +follows: Doctrine\ORM\PersistentCollection {#5141 …}
      +followers: Doctrine\ORM\PersistentCollection {#5143 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
      +reports: Doctrine\ORM\PersistentCollection {#5153 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
      +violations: Doctrine\ORM\PersistentCollection {#5157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
      +awards: Doctrine\ORM\PersistentCollection {#5161 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
      +categories: Doctrine\ORM\PersistentCollection {#5165 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
      +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 {#5105
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#5107
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4063
          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 {#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: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4057
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4064
        date: 2023-07-13 23:40:41.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: 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 {#4000
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#5677
  +comment: App\Entity\EntryComment {#4257
    +user: Proxies\__CG__\App\Entity\User {#4254
      +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
      +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 {#5108
        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 {#5115 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
      +entries: Doctrine\ORM\PersistentCollection {#5121 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
      +posts: Doctrine\ORM\PersistentCollection {#5129 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
      +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
      +follows: Doctrine\ORM\PersistentCollection {#5141 …}
      +followers: Doctrine\ORM\PersistentCollection {#5143 …}
      +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
      +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
      +reports: Doctrine\ORM\PersistentCollection {#5153 …}
      +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
      +violations: Doctrine\ORM\PersistentCollection {#5157 …}
      +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
      +awards: Doctrine\ORM\PersistentCollection {#5161 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
      +categories: Doctrine\ORM\PersistentCollection {#5165 …}
      -id: 24483
      -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
      +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 {#5105
        date: 2024-09-29 15:04:20.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1689139864 {#5107
        date: 2023-07-12 07:31:04.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4055
      +user: App\Entity\User {#4003
        +avatar: null
        +cover: null
        +email: "grasib@lemmy.world"
        +username: "@grasib@lemmy.world"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1690648288 {#4063
          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 {#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: 8290
        -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
        +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 {#4059
          date: 2023-07-29 18:30:29.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687494636 {#4057
          date: 2023-06-23 06:30:36.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        Not entirely sure, but maybe these help you somehow:\n
        \n
        The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
        \n
        The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
        \n
        The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689284441 {#4064
        date: 2023-07-13 23:40:41.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: 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 {#4000
        date: 2023-07-04 00:03:29.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4055}
    +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 {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 356.03 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
        +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 {#5108
          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 {#5115 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
        +entries: Doctrine\ORM\PersistentCollection {#5121 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
        +posts: Doctrine\ORM\PersistentCollection {#5129 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
        +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
        +follows: Doctrine\ORM\PersistentCollection {#5141 …}
        +followers: Doctrine\ORM\PersistentCollection {#5143 …}
        +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
        +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
        +reports: Doctrine\ORM\PersistentCollection {#5153 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
        +violations: Doctrine\ORM\PersistentCollection {#5157 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
        +awards: Doctrine\ORM\PersistentCollection {#5161 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
        +categories: Doctrine\ORM\PersistentCollection {#5165 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
        +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 {#5105
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#5107
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4063
            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 {#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: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
          +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 {#4059
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4057
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4064
          date: 2023-07-13 23:40:41.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: 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 {#4000
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4055}
    +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 {#5732
  +comment: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
        +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 {#5108
          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 {#5115 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
        +entries: Doctrine\ORM\PersistentCollection {#5121 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
        +posts: Doctrine\ORM\PersistentCollection {#5129 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
        +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
        +follows: Doctrine\ORM\PersistentCollection {#5141 …}
        +followers: Doctrine\ORM\PersistentCollection {#5143 …}
        +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
        +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
        +reports: Doctrine\ORM\PersistentCollection {#5153 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
        +violations: Doctrine\ORM\PersistentCollection {#5157 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
        +awards: Doctrine\ORM\PersistentCollection {#5161 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
        +categories: Doctrine\ORM\PersistentCollection {#5165 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
        +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 {#5105
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#5107
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4063
            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 {#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: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
          +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 {#4059
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4057
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4064
          date: 2023-07-13 23:40:41.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: 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 {#4000
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4055}
    +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 12.0 MiB 0.23 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#5777
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.22 ms
Input props
[
  "date" => DateTimeImmutable @1689284437 {#4288
    date: 2023-07-13 23:40:37.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#5832
  +date: DateTimeImmutable @1689284437 {#4288
    date: 2023-07-13 23:40:37.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.21 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 {#5886
  +createdAt: DateTimeImmutable @1689284437 {#4288
    date: 2023-07-13 23:40:37.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.23 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#5940
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.81 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
        +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 {#5108
          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 {#5115 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
        +entries: Doctrine\ORM\PersistentCollection {#5121 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
        +posts: Doctrine\ORM\PersistentCollection {#5129 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
        +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
        +follows: Doctrine\ORM\PersistentCollection {#5141 …}
        +followers: Doctrine\ORM\PersistentCollection {#5143 …}
        +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
        +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
        +reports: Doctrine\ORM\PersistentCollection {#5153 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
        +violations: Doctrine\ORM\PersistentCollection {#5157 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
        +awards: Doctrine\ORM\PersistentCollection {#5161 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
        +categories: Doctrine\ORM\PersistentCollection {#5165 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
        +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 {#5105
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#5107
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4063
            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 {#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: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
          +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 {#4059
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4057
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4064
          date: 2023-07-13 23:40:41.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: 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 {#4000
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4055}
    +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 {#6015
  +subject: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
        +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 {#5108
          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 {#5115 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
        +entries: Doctrine\ORM\PersistentCollection {#5121 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
        +posts: Doctrine\ORM\PersistentCollection {#5129 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
        +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
        +follows: Doctrine\ORM\PersistentCollection {#5141 …}
        +followers: Doctrine\ORM\PersistentCollection {#5143 …}
        +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
        +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
        +reports: Doctrine\ORM\PersistentCollection {#5153 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
        +violations: Doctrine\ORM\PersistentCollection {#5157 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
        +awards: Doctrine\ORM\PersistentCollection {#5161 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
        +categories: Doctrine\ORM\PersistentCollection {#5165 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
        +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 {#5105
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#5107
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4063
            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 {#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: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
          +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 {#4059
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4057
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4064
          date: 2023-07-13 23:40:41.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: 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 {#4000
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4055}
    +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 12.0 MiB 1.31 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
        +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 {#5108
          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 {#5115 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
        +entries: Doctrine\ORM\PersistentCollection {#5121 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
        +posts: Doctrine\ORM\PersistentCollection {#5129 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
        +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
        +follows: Doctrine\ORM\PersistentCollection {#5141 …}
        +followers: Doctrine\ORM\PersistentCollection {#5143 …}
        +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
        +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
        +reports: Doctrine\ORM\PersistentCollection {#5153 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
        +violations: Doctrine\ORM\PersistentCollection {#5157 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
        +awards: Doctrine\ORM\PersistentCollection {#5161 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
        +categories: Doctrine\ORM\PersistentCollection {#5165 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
        +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 {#5105
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#5107
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4063
            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 {#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: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
          +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 {#4059
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4057
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4064
          date: 2023-07-13 23:40:41.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: 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 {#4000
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4055}
    +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 {#6072
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
        +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 {#5108
          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 {#5115 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
        +entries: Doctrine\ORM\PersistentCollection {#5121 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
        +posts: Doctrine\ORM\PersistentCollection {#5129 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
        +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
        +follows: Doctrine\ORM\PersistentCollection {#5141 …}
        +followers: Doctrine\ORM\PersistentCollection {#5143 …}
        +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
        +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
        +reports: Doctrine\ORM\PersistentCollection {#5153 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
        +violations: Doctrine\ORM\PersistentCollection {#5157 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
        +awards: Doctrine\ORM\PersistentCollection {#5161 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
        +categories: Doctrine\ORM\PersistentCollection {#5165 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
        +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 {#5105
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#5107
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4063
            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 {#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: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
          +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 {#4059
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4057
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4064
          date: 2023-07-13 23:40:41.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: 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 {#4000
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4055}
    +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 12.0 MiB 33.08 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
        +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 {#5108
          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 {#5115 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
        +entries: Doctrine\ORM\PersistentCollection {#5121 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
        +posts: Doctrine\ORM\PersistentCollection {#5129 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
        +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
        +follows: Doctrine\ORM\PersistentCollection {#5141 …}
        +followers: Doctrine\ORM\PersistentCollection {#5143 …}
        +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
        +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
        +reports: Doctrine\ORM\PersistentCollection {#5153 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
        +violations: Doctrine\ORM\PersistentCollection {#5157 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
        +awards: Doctrine\ORM\PersistentCollection {#5161 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
        +categories: Doctrine\ORM\PersistentCollection {#5165 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
        +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 {#5105
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#5107
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4063
            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 {#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: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
          +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 {#4059
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4057
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4064
          date: 2023-07-13 23:40:41.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: 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 {#4000
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4055}
    +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 {#6312
  +comment: App\Entity\EntryComment {#4286
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4257
      +user: Proxies\__CG__\App\Entity\User {#4254
        +avatar: Proxies\__CG__\App\Entity\Image {#5113 …}
        +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 {#5108
          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 {#5115 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#5117 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#5119 …}
        +entries: Doctrine\ORM\PersistentCollection {#5121 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#5123 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#5125 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#5127 …}
        +posts: Doctrine\ORM\PersistentCollection {#5129 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#5131 …}
        +postComments: Doctrine\ORM\PersistentCollection {#5133 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#5135 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#5137 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#5139 …}
        +follows: Doctrine\ORM\PersistentCollection {#5141 …}
        +followers: Doctrine\ORM\PersistentCollection {#5143 …}
        +blocks: Doctrine\ORM\PersistentCollection {#5145 …}
        +blockers: Doctrine\ORM\PersistentCollection {#5147 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#5149 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#5151 …}
        +reports: Doctrine\ORM\PersistentCollection {#5153 …}
        +favourites: Doctrine\ORM\PersistentCollection {#5155 …}
        +violations: Doctrine\ORM\PersistentCollection {#5157 …}
        +notifications: Doctrine\ORM\PersistentCollection {#5159 …}
        +awards: Doctrine\ORM\PersistentCollection {#5161 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#5163 …}
        +categories: Doctrine\ORM\PersistentCollection {#5165 …}
        -id: 24483
        -password: "$2y$13$7zj3YoHkhAJUBzMe/Q7CzOItDCm4yjRilpVzP60X3ffVQ4.F5115O"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#5167 …}
        +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 {#5105
          date: 2024-09-29 15:04:20.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1689139864 {#5107
          date: 2023-07-12 07:31:04.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4055
        +user: App\Entity\User {#4003
          +avatar: null
          +cover: null
          +email: "grasib@lemmy.world"
          +username: "@grasib@lemmy.world"
          +roles: []
          +followersCount: 0
          +homepage: "front"
          +about: null
          +lastActive: DateTime @1690648288 {#4063
            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 {#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: 8290
          -password: "$2y$13$Zpyh7MNsErwAzK4WEULMfe3/WrV7Pys8H9PF80LCnQmxcRVDa/iw."
          -totpSecret: null
          -totpBackupCodes: []
          -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4099 …}
          +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 {#4059
            date: 2023-07-29 18:30:29.0 +02:00
          }
          +apDeletedAt: null
          +apTimeoutAt: null
          +visibility: "visible             "
          +createdAt: DateTimeImmutable @1687494636 {#4057
            date: 2023-06-23 06:30:36.0 +02:00
          }
        }
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          Not entirely sure, but maybe these help you somehow:\n
          \n
          The relay has a coil which requires 0.35W. The chip seems to have a maximum output current of 35mA.\n
          \n
          The ‚switch on current‘ of an inductive load is usually 3 to 5 times higher than the ‚hold‘ current.\n
          \n
          The valve may not have a free-wheeling-diode. This could create an issue by creating strange voltage spikes on all your supply voltages (connected by GND).
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689284441 {#4064
          date: 2023-07-13 23:40:41.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: 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 {#4000
          date: 2023-07-04 00:03:29.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4055}
      +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 {#4055}
    +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 {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 360.10 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4092
    +user: App\Entity\User {#4075
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4097
        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 {#4074 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
      +entries: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
      +posts: Doctrine\ORM\PersistentCollection {#4128 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
      +follows: Doctrine\ORM\PersistentCollection {#4140 …}
      +followers: Doctrine\ORM\PersistentCollection {#4142 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
      +reports: Doctrine\ORM\PersistentCollection {#4152 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
      +violations: Doctrine\ORM\PersistentCollection {#4156 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
      +awards: Doctrine\ORM\PersistentCollection {#4160 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
      +categories: Doctrine\ORM\PersistentCollection {#4164 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
      +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 {#4094
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4087
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4093
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4090 …}
    +nested: Doctrine\ORM\PersistentCollection {#4088 …}
    +votes: Doctrine\ORM\PersistentCollection {#4086 …}
    +reports: Doctrine\ORM\PersistentCollection {#4083 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4079 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4077 …}
    -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 {#4098
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4096
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#6399
  +comment: App\Entity\EntryComment {#4092
    +user: App\Entity\User {#4075
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4097
        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 {#4074 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
      +entries: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
      +posts: Doctrine\ORM\PersistentCollection {#4128 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
      +follows: Doctrine\ORM\PersistentCollection {#4140 …}
      +followers: Doctrine\ORM\PersistentCollection {#4142 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
      +reports: Doctrine\ORM\PersistentCollection {#4152 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
      +violations: Doctrine\ORM\PersistentCollection {#4156 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
      +awards: Doctrine\ORM\PersistentCollection {#4160 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
      +categories: Doctrine\ORM\PersistentCollection {#4164 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
      +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 {#4094
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4087
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4093
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4090 …}
    +nested: Doctrine\ORM\PersistentCollection {#4088 …}
    +votes: Doctrine\ORM\PersistentCollection {#4086 …}
    +reports: Doctrine\ORM\PersistentCollection {#4083 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4079 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4077 …}
    -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 {#4098
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4096
      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 12.0 MiB 0.19 ms
Input props
[
  "user" => App\Entity\User {#4075
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4097
      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 {#4074 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
    +entries: Doctrine\ORM\PersistentCollection {#4068 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
    +posts: Doctrine\ORM\PersistentCollection {#4128 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
    +follows: Doctrine\ORM\PersistentCollection {#4140 …}
    +followers: Doctrine\ORM\PersistentCollection {#4142 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
    +reports: Doctrine\ORM\PersistentCollection {#4152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
    +violations: Doctrine\ORM\PersistentCollection {#4156 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
    +awards: Doctrine\ORM\PersistentCollection {#4160 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
    +categories: Doctrine\ORM\PersistentCollection {#4164 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
    +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 {#4094
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4087
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#6444
  +user: App\Entity\User {#4075
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4097
      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 {#4074 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
    +entries: Doctrine\ORM\PersistentCollection {#4068 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
    +posts: Doctrine\ORM\PersistentCollection {#4128 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
    +follows: Doctrine\ORM\PersistentCollection {#4140 …}
    +followers: Doctrine\ORM\PersistentCollection {#4142 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
    +reports: Doctrine\ORM\PersistentCollection {#4152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
    +violations: Doctrine\ORM\PersistentCollection {#4156 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
    +awards: Doctrine\ORM\PersistentCollection {#4160 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
    +categories: Doctrine\ORM\PersistentCollection {#4164 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
    +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 {#4094
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4087
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.18 ms
Input props
[
  "date" => DateTimeImmutable @1688442898 {#4096
    date: 2023-07-04 05:54:58.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#6499
  +date: DateTimeImmutable @1688442898 {#4096
    date: 2023-07-04 05:54:58.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.18 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688442898 {#4096
    date: 2023-07-04 05:54:58.0 +02:00
  }
  "editedAt" => DateTimeImmutable @1688452608 {#4098
    date: 2023-07-04 08:36:48.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#6553
  +createdAt: DateTimeImmutable @1688442898 {#4096
    date: 2023-07-04 05:54:58.0 +02:00
  }
  +editedAt: DateTimeImmutable @1688452608 {#4098
    date: 2023-07-04 08:36:48.0 +02:00
  }
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.21 ms
Input props
[
  "user" => App\Entity\User {#4075
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4097
      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 {#4074 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
    +entries: Doctrine\ORM\PersistentCollection {#4068 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
    +posts: Doctrine\ORM\PersistentCollection {#4128 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
    +follows: Doctrine\ORM\PersistentCollection {#4140 …}
    +followers: Doctrine\ORM\PersistentCollection {#4142 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
    +reports: Doctrine\ORM\PersistentCollection {#4152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
    +violations: Doctrine\ORM\PersistentCollection {#4156 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
    +awards: Doctrine\ORM\PersistentCollection {#4160 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
    +categories: Doctrine\ORM\PersistentCollection {#4164 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
    +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 {#4094
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4087
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#6607
  +width: 40
  +height: 40
  +user: App\Entity\User {#4075
    +avatar: null
    +cover: null
    +email: "Rolive@discuss.tchncs.de"
    +username: "@Rolive@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1728758842 {#4097
      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 {#4074 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
    +entries: Doctrine\ORM\PersistentCollection {#4068 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
    +posts: Doctrine\ORM\PersistentCollection {#4128 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
    +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
    +follows: Doctrine\ORM\PersistentCollection {#4140 …}
    +followers: Doctrine\ORM\PersistentCollection {#4142 …}
    +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
    +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
    +reports: Doctrine\ORM\PersistentCollection {#4152 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
    +violations: Doctrine\ORM\PersistentCollection {#4156 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
    +awards: Doctrine\ORM\PersistentCollection {#4160 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
    +categories: Doctrine\ORM\PersistentCollection {#4164 …}
    -id: 239
    -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
    +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 {#4094
      date: 2024-10-05 15:09:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686857485 {#4087
      date: 2023-06-15 21:31:25.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.60 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4092
    +user: App\Entity\User {#4075
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4097
        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 {#4074 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
      +entries: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
      +posts: Doctrine\ORM\PersistentCollection {#4128 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
      +follows: Doctrine\ORM\PersistentCollection {#4140 …}
      +followers: Doctrine\ORM\PersistentCollection {#4142 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
      +reports: Doctrine\ORM\PersistentCollection {#4152 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
      +violations: Doctrine\ORM\PersistentCollection {#4156 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
      +awards: Doctrine\ORM\PersistentCollection {#4160 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
      +categories: Doctrine\ORM\PersistentCollection {#4164 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
      +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 {#4094
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4087
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4093
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4090 …}
    +nested: Doctrine\ORM\PersistentCollection {#4088 …}
    +votes: Doctrine\ORM\PersistentCollection {#4086 …}
    +reports: Doctrine\ORM\PersistentCollection {#4083 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4079 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4077 …}
    -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 {#4098
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4096
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#6684
  +subject: App\Entity\EntryComment {#4092
    +user: App\Entity\User {#4075
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4097
        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 {#4074 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
      +entries: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
      +posts: Doctrine\ORM\PersistentCollection {#4128 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
      +follows: Doctrine\ORM\PersistentCollection {#4140 …}
      +followers: Doctrine\ORM\PersistentCollection {#4142 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
      +reports: Doctrine\ORM\PersistentCollection {#4152 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
      +violations: Doctrine\ORM\PersistentCollection {#4156 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
      +awards: Doctrine\ORM\PersistentCollection {#4160 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
      +categories: Doctrine\ORM\PersistentCollection {#4164 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
      +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 {#4094
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4087
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4093
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4090 …}
    +nested: Doctrine\ORM\PersistentCollection {#4088 …}
    +votes: Doctrine\ORM\PersistentCollection {#4086 …}
    +reports: Doctrine\ORM\PersistentCollection {#4083 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4079 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4077 …}
    -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 {#4098
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4096
      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 12.0 MiB 0.64 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4092
    +user: App\Entity\User {#4075
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4097
        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 {#4074 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
      +entries: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
      +posts: Doctrine\ORM\PersistentCollection {#4128 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
      +follows: Doctrine\ORM\PersistentCollection {#4140 …}
      +followers: Doctrine\ORM\PersistentCollection {#4142 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
      +reports: Doctrine\ORM\PersistentCollection {#4152 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
      +violations: Doctrine\ORM\PersistentCollection {#4156 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
      +awards: Doctrine\ORM\PersistentCollection {#4160 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
      +categories: Doctrine\ORM\PersistentCollection {#4164 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
      +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 {#4094
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4087
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4093
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4090 …}
    +nested: Doctrine\ORM\PersistentCollection {#4088 …}
    +votes: Doctrine\ORM\PersistentCollection {#4086 …}
    +reports: Doctrine\ORM\PersistentCollection {#4083 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4079 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4077 …}
    -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 {#4098
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4096
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#6741
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4092
    +user: App\Entity\User {#4075
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4097
        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 {#4074 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
      +entries: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
      +posts: Doctrine\ORM\PersistentCollection {#4128 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
      +follows: Doctrine\ORM\PersistentCollection {#4140 …}
      +followers: Doctrine\ORM\PersistentCollection {#4142 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
      +reports: Doctrine\ORM\PersistentCollection {#4152 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
      +violations: Doctrine\ORM\PersistentCollection {#4156 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
      +awards: Doctrine\ORM\PersistentCollection {#4160 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
      +categories: Doctrine\ORM\PersistentCollection {#4164 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
      +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 {#4094
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4087
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4093
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4090 …}
    +nested: Doctrine\ORM\PersistentCollection {#4088 …}
    +votes: Doctrine\ORM\PersistentCollection {#4086 …}
    +reports: Doctrine\ORM\PersistentCollection {#4083 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4079 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4077 …}
    -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 {#4098
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4096
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 332.93 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4092
    +user: App\Entity\User {#4075
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4097
        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 {#4074 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
      +entries: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
      +posts: Doctrine\ORM\PersistentCollection {#4128 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
      +follows: Doctrine\ORM\PersistentCollection {#4140 …}
      +followers: Doctrine\ORM\PersistentCollection {#4142 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
      +reports: Doctrine\ORM\PersistentCollection {#4152 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
      +violations: Doctrine\ORM\PersistentCollection {#4156 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
      +awards: Doctrine\ORM\PersistentCollection {#4160 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
      +categories: Doctrine\ORM\PersistentCollection {#4164 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
      +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 {#4094
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4087
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4093
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4090 …}
    +nested: Doctrine\ORM\PersistentCollection {#4088 …}
    +votes: Doctrine\ORM\PersistentCollection {#4086 …}
    +reports: Doctrine\ORM\PersistentCollection {#4083 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4079 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4077 …}
    -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 {#4098
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4096
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#6981
  +comment: App\Entity\EntryComment {#4092
    +user: App\Entity\User {#4075
      +avatar: null
      +cover: null
      +email: "Rolive@discuss.tchncs.de"
      +username: "@Rolive@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1728758842 {#4097
        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 {#4074 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4072 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#4070 …}
      +entries: Doctrine\ORM\PersistentCollection {#4068 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#4066 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#4125 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4126 …}
      +posts: Doctrine\ORM\PersistentCollection {#4128 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#4130 …}
      +postComments: Doctrine\ORM\PersistentCollection {#4132 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#4134 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#4136 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#4138 …}
      +follows: Doctrine\ORM\PersistentCollection {#4140 …}
      +followers: Doctrine\ORM\PersistentCollection {#4142 …}
      +blocks: Doctrine\ORM\PersistentCollection {#4144 …}
      +blockers: Doctrine\ORM\PersistentCollection {#4146 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#4148 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#4150 …}
      +reports: Doctrine\ORM\PersistentCollection {#4152 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4154 …}
      +violations: Doctrine\ORM\PersistentCollection {#4156 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4158 …}
      +awards: Doctrine\ORM\PersistentCollection {#4160 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#4162 …}
      +categories: Doctrine\ORM\PersistentCollection {#4164 …}
      -id: 239
      -password: "$2y$13$05n0gvxq.MK1uLkg/yCr5.JeBVgwBQjS/qCrBzfafZYizhTP/1vH."
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4166 …}
      +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 {#4094
        date: 2024-10-05 15:09:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686857485 {#4087
        date: 2023-06-15 21:31:25.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      Seems your linked website as a very believable conclusion attached to it. I have a similar issue where the relay module would behave erratically. In my case it was when the relay module/595 chips received power before the Arduino was fully powered up. It’s unlikely that a load affects your relay module as they should never be connected to the main circuit.\n
      \n
      I guess something like a pulldown resistor on the SER, CLK and RCLK pins would solve the issue since that would kill any noise. The noise is probably the kind of voltage that BARELY registers as HIGH but highly random.\n
      \n
      That or making the relay module only turn on after the microcontroller has finished starting up using a mosfet or something.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1688442898 {#4093
      date: 2023-07-04 05:54:58.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@ryanomite@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4090 …}
    +nested: Doctrine\ORM\PersistentCollection {#4088 …}
    +votes: Doctrine\ORM\PersistentCollection {#4086 …}
    +reports: Doctrine\ORM\PersistentCollection {#4083 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4079 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4077 …}
    -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 {#4098
      date: 2023-07-04 08:36:48.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688442898 {#4096
      date: 2023-07-04 05:54:58.0 +02:00
    }
  }
  +nestedComments: []
  +level: 1
  +view: "tree"
  -entryCommentRepository: App\Repository\EntryCommentRepository {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 472.71 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4168
      date: 2023-07-16 06:30:08.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: 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 {#4169
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  "showNested" => true
  "dateAsUrl" => false
  "showMagazineName" => false
  "showEntryTitle" => false
]
Attributes
[]
Component
App\Twig\Components\EntryCommentComponent {#7051
  +comment: App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4168
      date: 2023-07-16 06:30:08.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: 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 {#4169
      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 12.0 MiB 0.19 ms
Input props
[
  "user" => App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4170
      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 {#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: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4172
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7096
  +user: App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4170
      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 {#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: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4172
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.14 ms
Input props
[
  "date" => DateTimeImmutable @1688445126 {#4169
    date: 2023-07-04 06:32:06.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7151
  +date: DateTimeImmutable @1688445126 {#4169
    date: 2023-07-04 06:32:06.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.09 ms
Input props
[
  "createdAt" => DateTimeImmutable @1688445126 {#4169
    date: 2023-07-04 06:32:06.0 +02:00
  }
  "editedAt" => null
]
Attributes
[]
Component
App\Twig\Components\DateEditedComponent {#7205
  +createdAt: DateTimeImmutable @1688445126 {#4169
    date: 2023-07-04 06:32:06.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4170
      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 {#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: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4172
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7259
  +width: 40
  +height: 40
  +user: App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4170
      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 {#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: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4172
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.37 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4168
      date: 2023-07-16 06:30:08.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: 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 {#4169
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\VoteComponent {#7365
  +subject: App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4168
      date: 2023-07-16 06:30:08.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: 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 {#4169
      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 12.0 MiB 0.74 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4168
      date: 2023-07-16 06:30:08.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: 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 {#4169
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\BoostComponent {#3124
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4168
      date: 2023-07-16 06:30:08.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: 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 {#4169
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
}
entry_comments_nested App\Twig\Components\EntryCommentsNestedComponent 12.0 MiB 387.29 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4168
      date: 2023-07-16 06:30:08.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: 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 {#4169
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  "level" => 1
  "showNested" => true
  "view" => "tree"
]
Attributes
[
  "showNested" => true
]
Component
App\Twig\Components\EntryCommentsNestedComponent {#7431
  +comment: App\Entity\EntryComment {#4173
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: null
    +root: null
    +body: """
      That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
      \n
      So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
      \n
      Anyway, three places I’d add some stuff:\n
      \n
      - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
      - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
      - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 3
    +score: 0
    +lastActive: DateTime @1689481808 {#4168
      date: 2023-07-16 06:30:08.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: 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 {#4169
      date: 2023-07-04 06:32:06.0 +02:00
    }
  }
  +nestedComments: [
    15130 => App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173}
      +root: App\Entity\EntryComment {#4173}
      +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 {#4186}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4272}
      +root: App\Entity\EntryComment {#4173}
      +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 {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 299.91 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: App\Entity\User {#4186
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4170
          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 {#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: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
        +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 {#4171
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4172
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4168
        date: 2023-07-16 06:30:08.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: 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 {#4169
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4173}
    +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 {#7491
  +comment: App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: App\Entity\User {#4186
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4170
          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 {#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: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
        +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 {#4171
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4172
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4168
        date: 2023-07-16 06:30:08.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: 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 {#4169
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4173}
    +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 12.0 MiB 0.23 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#7536
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.0 MiB 0.23 ms
Input props
[
  "date" => DateTimeImmutable @1689285254 {#4271
    date: 2023-07-13 23:54:14.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#7591
  +date: DateTimeImmutable @1689285254 {#4271
    date: 2023-07-13 23:54:14.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.0 MiB 0.15 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 {#7645
  +createdAt: DateTimeImmutable @1689285254 {#4271
    date: 2023-07-13 23:54:14.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.26 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#7699
  +width: 40
  +height: 40
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.74 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: App\Entity\User {#4186
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4170
          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 {#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: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
        +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 {#4171
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4172
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4168
        date: 2023-07-16 06:30:08.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: 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 {#4169
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4173}
    +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 {#7768
  +subject: App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: App\Entity\User {#4186
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4170
          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 {#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: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
        +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 {#4171
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4172
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4168
        date: 2023-07-16 06:30:08.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: 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 {#4169
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4173}
    +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 12.0 MiB 1.19 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: App\Entity\User {#4186
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4170
          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 {#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: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
        +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 {#4171
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4172
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4168
        date: 2023-07-16 06:30:08.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: 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 {#4169
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4173}
    +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 {#7825
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: App\Entity\User {#4186
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4170
          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 {#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: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
        +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 {#4171
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4172
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4168
        date: 2023-07-16 06:30:08.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: 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 {#4169
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4173}
    +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 12.0 MiB 231.16 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: App\Entity\User {#4186
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4170
          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 {#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: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
        +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 {#4171
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4172
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4168
        date: 2023-07-16 06:30:08.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: 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 {#4169
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4173}
    +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 {#8065
  +comment: App\Entity\EntryComment {#4272
    +user: Proxies\__CG__\App\Entity\User {#1970
      +avatar: null
      +cover: null
      +email: "ryanomite@discuss.tchncs.de"
      +username: "@ryanomite@discuss.tchncs.de"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689285256 {#1519
        date: 2023-07-13 23:54:16.0 +02:00
      }
      +markedForDeletionAt: null
      +fields: null
      +oauthGithubId: null
      +oauthGoogleId: null
      +oauthFacebookId: null
      +oauthKeycloakId: null
      +hideAdult: true
      +showSubscribedUsers: true
      +showSubscribedMagazines: true
      +showSubscribedDomains: true
      +preferredLanguages: []
      +featuredMagazines: null
      +showProfileSubscriptions: true
      +showProfileFollowings: true
      +markNewComments: false
      +notifyOnNewEntry: false
      +notifyOnNewEntryReply: false
      +notifyOnNewEntryCommentReply: false
      +notifyOnNewPost: false
      +notifyOnNewPostReply: false
      +notifyOnNewPostCommentReply: false
      +addMentionsEntries: false
      +addMentionsPosts: true
      +isBanned: false
      +isVerified: false
      +isDeleted: false
      +isBot: false
      +spamProtection: true
      +customCss: null
      +ignoreMagazinesCustomCss: false
      +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
      +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
      +entries: Doctrine\ORM\PersistentCollection {#1742 …}
      +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
      +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
      +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
      +posts: Doctrine\ORM\PersistentCollection {#1750 …}
      +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
      +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
      +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
      +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
      +follows: Doctrine\ORM\PersistentCollection {#1447 …}
      +followers: Doctrine\ORM\PersistentCollection {#1450 …}
      +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
      +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
      +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
      +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
      +reports: Doctrine\ORM\PersistentCollection {#1463 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
      +violations: Doctrine\ORM\PersistentCollection {#1690 …}
      +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
      +awards: Doctrine\ORM\PersistentCollection {#1694 …}
      +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
      +categories: Doctrine\ORM\PersistentCollection {#1676 …}
      -id: 18202
      -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
      +apId: "ryanomite@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
      +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
      +apFollowersUrl: null
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "ryanomite"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: false
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1689284441 {#1515
        date: 2023-07-13 23:40:41.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1688419657 {#1518
        date: 2023-07-03 23:27:37.0 +02:00
      }
      +__isInitialized__: true
       …2
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4173
      +user: App\Entity\User {#4186
        +avatar: null
        +cover: null
        +email: "pneumapunk@lemmy.sdf.org"
        +username: "@pneumapunk@lemmy.sdf.org"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689481808 {#4170
          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 {#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: 4629
        -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
        +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 {#4171
          date: 2023-07-22 11:17:48.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687134308 {#4172
          date: 2023-06-19 02:25:08.0 +02:00
        }
      }
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: null
      +root: null
      +body: """
        That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
        \n
        So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
        \n
        Anyway, three places I’d add some stuff:\n
        \n
        - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
        - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
        - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 3
      +score: 0
      +lastActive: DateTime @1689481808 {#4168
        date: 2023-07-16 06:30:08.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: 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 {#4169
        date: 2023-07-04 06:32:06.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4173}
    +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 {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
entry_comment App\Twig\Components\EntryCommentComponent 12.0 MiB 216.96 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: App\Entity\User {#4186}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4168
          date: 2023-07-16 06:30:08.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: 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 {#4169
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4173}
      +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 {#4173}
    +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 {#8120
  +comment: App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: App\Entity\User {#4186}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4168
          date: 2023-07-16 06:30:08.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: 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 {#4169
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4173}
      +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 {#4173}
    +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 12.0 MiB 0.14 ms
Input props
[
  "user" => App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4170
      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 {#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: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4172
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "showAvatar" => false
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#8165
  +user: App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4170
      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 {#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: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4172
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +showAvatar: false
}
date App\Twig\Components\DateComponent 12.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 {#8220
  +date: DateTimeImmutable @1689481805 {#4308
    date: 2023-07-16 06:30:05.0 +02:00
  }
}
date_edited App\Twig\Components\DateEditedComponent 12.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 {#8274
  +createdAt: DateTimeImmutable @1689481805 {#4308
    date: 2023-07-16 06:30:05.0 +02:00
  }
  +editedAt: null
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 0.13 ms
Input props
[
  "user" => App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4170
      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 {#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: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4172
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  "width" => 40
  "height" => 40
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#8328
  +width: 40
  +height: 40
  +user: App\Entity\User {#4186
    +avatar: null
    +cover: null
    +email: "pneumapunk@lemmy.sdf.org"
    +username: "@pneumapunk@lemmy.sdf.org"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689481808 {#4170
      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 {#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: 4629
    -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
    +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 {#4171
      date: 2023-07-22 11:17:48.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687134308 {#4172
      date: 2023-06-19 02:25:08.0 +02:00
    }
  }
  +asLink: true
}
vote App\Twig\Components\VoteComponent 12.0 MiB 0.50 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: App\Entity\User {#4186}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4168
          date: 2023-07-16 06:30:08.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: 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 {#4169
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4173}
      +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 {#4173}
    +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 {#8397
  +subject: App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: App\Entity\User {#4186}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4168
          date: 2023-07-16 06:30:08.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: 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 {#4169
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4173}
      +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 {#4173}
    +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 12.0 MiB 5.91 ms
Input props
[
  "subject" => App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: App\Entity\User {#4186}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4168
          date: 2023-07-16 06:30:08.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: 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 {#4169
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4173}
      +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 {#4173}
    +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 {#8454
  +formDest: "entry_comment"
  +subject: App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: App\Entity\User {#4186}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4168
          date: 2023-07-16 06:30:08.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: 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 {#4169
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4173}
      +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 {#4173}
    +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 12.0 MiB 152.72 ms
Input props
[
  "comment" => App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: App\Entity\User {#4186}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4168
          date: 2023-07-16 06:30:08.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: 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 {#4169
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4173}
      +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 {#4173}
    +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 {#8694
  +comment: App\Entity\EntryComment {#4309
    +user: App\Entity\User {#4186
      +avatar: null
      +cover: null
      +email: "pneumapunk@lemmy.sdf.org"
      +username: "@pneumapunk@lemmy.sdf.org"
      +roles: []
      +followersCount: 0
      +homepage: "front"
      +about: null
      +lastActive: DateTime @1689481808 {#4170
        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 {#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: 4629
      -password: "$2y$13$GY8sZyEVV6O3WY7y1yHk9e8mDLjnLJPtn10ydPLtWP0PBvsq24iTG"
      -totpSecret: null
      -totpBackupCodes: []
      -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4239 …}
      +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 {#4171
        date: 2023-07-22 11:17:48.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687134308 {#4172
        date: 2023-06-19 02:25:08.0 +02:00
      }
    }
    +entry: App\Entity\Entry {#2419
      +user: Proxies\__CG__\App\Entity\User {#1970
        +avatar: null
        +cover: null
        +email: "ryanomite@discuss.tchncs.de"
        +username: "@ryanomite@discuss.tchncs.de"
        +roles: []
        +followersCount: 0
        +homepage: "front"
        +about: null
        +lastActive: DateTime @1689285256 {#1519
          date: 2023-07-13 23:54:16.0 +02:00
        }
        +markedForDeletionAt: null
        +fields: null
        +oauthGithubId: null
        +oauthGoogleId: null
        +oauthFacebookId: null
        +oauthKeycloakId: null
        +hideAdult: true
        +showSubscribedUsers: true
        +showSubscribedMagazines: true
        +showSubscribedDomains: true
        +preferredLanguages: []
        +featuredMagazines: null
        +showProfileSubscriptions: true
        +showProfileFollowings: true
        +markNewComments: false
        +notifyOnNewEntry: false
        +notifyOnNewEntryReply: false
        +notifyOnNewEntryCommentReply: false
        +notifyOnNewPost: false
        +notifyOnNewPostReply: false
        +notifyOnNewPostCommentReply: false
        +addMentionsEntries: false
        +addMentionsPosts: true
        +isBanned: false
        +isVerified: false
        +isDeleted: false
        +isBot: false
        +spamProtection: true
        +customCss: null
        +ignoreMagazinesCustomCss: false
        +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
        +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
        +entries: Doctrine\ORM\PersistentCollection {#1742 …}
        +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
        +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
        +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
        +posts: Doctrine\ORM\PersistentCollection {#1750 …}
        +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
        +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
        +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
        +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
        +follows: Doctrine\ORM\PersistentCollection {#1447 …}
        +followers: Doctrine\ORM\PersistentCollection {#1450 …}
        +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
        +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
        +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
        +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
        +reports: Doctrine\ORM\PersistentCollection {#1463 …}
        +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
        +violations: Doctrine\ORM\PersistentCollection {#1690 …}
        +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
        +awards: Doctrine\ORM\PersistentCollection {#1694 …}
        +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
        +categories: Doctrine\ORM\PersistentCollection {#1676 …}
        -id: 18202
        -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
        -totpSecret: null
        -totpBackupCodes: []
        -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
        +apId: "ryanomite@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
        +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
        +apFollowersUrl: null
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "ryanomite"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: false
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1689284441 {#1515
          date: 2023-07-13 23:40:41.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1688419657 {#1518
          date: 2023-07-03 23:27:37.0 +02:00
        }
        +__isInitialized__: true
         …2
      }
      +magazine: App\Entity\Magazine {#265
        +icon: Proxies\__CG__\App\Entity\Image {#246 …}
        +name: "askelectronics@discuss.tchncs.de"
        +title: "askelectronics"
        +description: """
          **For questions about component-level electronic circuits, tools and equipment.**\n
          \n
          Rules\n
          -----\n
          \n
          1: Be nice.\n
          \n
          2: Be on-topic (eg: *Electronic*, not *electrical*).\n
          \n
          3: No commercial stuff, buying, selling or valuations.\n
          \n
          4: Be safe.\n
          \n
          ---
          """
        +rules: null
        +subscriptionsCount: 1
        +entryCount: 154
        +entryCommentCount: 1230
        +postCount: 1
        +postCommentCount: 4
        +isAdult: false
        +customCss: null
        +lastActive: DateTime @1729413608 {#275
          date: 2024-10-20 10:40:08.0 +02:00
        }
        +markedForDeletionAt: null
        +tags: null
        +moderators: Doctrine\ORM\PersistentCollection {#237 …}
        +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
        +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
        +entries: Doctrine\ORM\PersistentCollection {#180 …}
        +posts: Doctrine\ORM\PersistentCollection {#138 …}
        +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
        +bans: Doctrine\ORM\PersistentCollection {#117 …}
        +reports: Doctrine\ORM\PersistentCollection {#103 …}
        +badges: Doctrine\ORM\PersistentCollection {#81 …}
        +logs: Doctrine\ORM\PersistentCollection {#71 …}
        +awards: Doctrine\ORM\PersistentCollection {#1346 …}
        +categories: Doctrine\ORM\PersistentCollection {#1823 …}
        -id: 11
        +apId: "askelectronics@discuss.tchncs.de"
        +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
        +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
        +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
        +apInboxUrl: "https://discuss.tchncs.de/inbox"
        +apDomain: "discuss.tchncs.de"
        +apPreferredUsername: "askelectronics"
        +apDiscoverable: true
        +apManuallyApprovesFollowers: null
        +privateKey: null
        +publicKey: null
        +apFetchedAt: DateTime @1727247714 {#269
          date: 2024-09-25 09:01:54.0 +02:00
        }
        +apDeletedAt: null
        +apTimeoutAt: null
        +visibility: "visible             "
        +createdAt: DateTimeImmutable @1687144409 {#271
          date: 2023-06-19 05:13:29.0 +02:00
        }
      }
      +image: Proxies\__CG__\App\Entity\Image {#1943 …}
      +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
      +slug: "Shift-register-Relays-inconsistent-results-when-load-is-attached-to"
      +title: "Shift register > Relays - inconsistent results when load is attached to relay"
      +url: "https://discuss.tchncs.de/pictrs/image/11badfb8-6d12-4278-a6e5-e561ba8dc319.jpeg"
      +body: """
        First of all, I apologize for the lack of a “formal” schematic… I tried to draw one out, but got buried in the nuances of it :)\n
        \n
        Second, I’ve done enough research to have [some idea](https://hstech.ro/HC595/) of what my problem is: namely, I need a [decoupling capacitor](https://www.reddit.com/r/AskElectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/) in the mix. Problem is, I’m new enough to this that I’m not 100% sure where to put it, nor what capacitance I should use.\n
        \n
        So the setup: -I’m using a Wemos(like) D1 Mini to drive 8 relays via an HC595 shift register -The D1 Mini microcontroller, HC595, and relay module are all powered by the same 5V DC and ground -The microcontroller addresses the shift register via 3.3VDC data pins -The relays power a water valve via a separate 24VDC power supply and transformer - plugged into the same AC outlet\n
        \n
        And the problem: everything works just fine UNTIL I actually add the 24VDC power load. Once that’s done, the results are very erratic… usually turning on the correct valve correctly, but rarely turning it off in the same way. As I mentioned, I intuitively suspect noise in the data caused by the sudden power to the valve… but it doesn’t make too much sense since everything is on different power supplies.\n
        \n
        Any guesses as to where I need to put some capacitor(s)? Thanks!!
        """
      +type: "image"
      +lang: "en"
      +isOc: false
      +hasEmbed: true
      +commentCount: 7
      +favouriteCount: 7
      +score: 0
      +isAdult: false
      +sticky: false
      +lastActive: DateTime @1689481805 {#2414
        date: 2023-07-16 06:30:05.0 +02:00
      }
      +ip: null
      +adaAmount: 0
      +tags: null
      +mentions: null
      +comments: Doctrine\ORM\PersistentCollection {#1866 …}
      +votes: Doctrine\ORM\PersistentCollection {#1966 …}
      +reports: Doctrine\ORM\PersistentCollection {#1946 …}
      +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
      +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
      +badges: Doctrine\ORM\PersistentCollection {#2439 …}
      +children: []
      -id: 748
      -titleTs: "'attach':9 'inconsist':4 'load':7 'regist':2 'relay':3,11 'result':5 'shift':1"
      -bodyTs: "'/hc595/)':39 '/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':53 '100':69 '24vdc':139,162 '3.3':126 '5v':115 '8':94 'ac':148 'actual':159 'add':160 'address':121 'apolog':5 'buri':21 'capacit':77 'capacitor':50,233 'caus':200 'correct':178,180 'd1':90,102 'data':128,199 'dc':116 'decoupl':49 'differ':220 'doesn':210 'done':30,168 'draw':16 'drive':93 'enough':31,62 'errat':173 'everyth':153,217 'fine':156 'first':1 'formal':11 'got':20 'ground':118 'guess':224 'hc595':98,105 'hstech.ro':38 'hstech.ro/hc595/)':37 'idea':36 'intuit':194 'lack':8 'like':89 'load':164 'm':60,67,85 'make':212 'mention':192 'microcontrol':104,120 'mini':91,103 'mix':56 'modul':108 'much':214 'name':45 'need':47,229 'new':61 'nois':196 'nuanc':24 'one':17 'outlet':149 'pin':129 'plug':144 'power':111,132,140,163,204,221 'problem':43,57,152 'put':73,231 'rare':182 'regist':100,124 'relay':95,107,131 'research':32 'result':170 'schemat':12 'second':27 'sens':215 'separ':138 'setup':83 'shift':99,123 'sinc':216 'sudden':203 'suppli':141,222 'sure':70 'suspect':195 'thank':235 'transform':143 'tri':14 'turn':175,183 'use':80,86 'usual':174 'valv':135,179,207 'vdc':127 've':29 'via':96,125,136 'water':134 'way':189 'wemo':88 'work':154 'www.reddit.com':52 'www.reddit.com/r/askelectronics/comments/6ubdyt/need_some_quick_helpclarification_on_power_supply/)':51"
      +cross: false
      +upVotes: 0
      +downVotes: 0
      +ranking: 1688468656
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/post/463783"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688419656 {#1793
        date: 2023-07-03 23:27:36.0 +02:00
      }
    }
    +magazine: App\Entity\Magazine {#265}
    +image: null
    +parent: App\Entity\EntryComment {#4272
      +user: Proxies\__CG__\App\Entity\User {#1970 …2}
      +entry: App\Entity\Entry {#2419}
      +magazine: App\Entity\Magazine {#265}
      +image: null
      +parent: App\Entity\EntryComment {#4173
        +user: App\Entity\User {#4186}
        +entry: App\Entity\Entry {#2419}
        +magazine: App\Entity\Magazine {#265}
        +image: null
        +parent: null
        +root: null
        +body: """
          That’s interesting, so you can flip the relays all you like without trouble as long as the 24DC supply isn’t connected? If that’s true then your problem presumably isn’t the typical inductive kick from the relay coil. It looks like your relay board has stuff on it which is presumably drivers and snubbers so let’s assume all of that is adequate to the job.\n
          \n
          So, if it’s inductive kick from the valve solenoid it’s being coupled all the way from there, back through the 24DC supply to the outlet, then forward through the USB supply to your shift register, which is impressive! But not implausible.\n
          \n
          Anyway, three places I’d add some stuff:\n
          \n
          - The main thing you need is a snubber network across the valve solenoid coil itself, ideally physically close to the valve (you want to minimize the *area of the loop* formed by the valve coil - wiring - snubber). Something as simple as a freewheel/clamping diode would probably help a lot. This will also improve the lifespan of your relay contacts which are probably arcing a little.\n
          - Small decoupling cap on your breadboard, say 0.1µF on the power supply rails, to keep your logic happy.\n
          - Larger decoupling cap on your 24VDC rails (the bus on the left), just to eat any transients the snubber doesn’t deal with. Maybe 1-10µF or so?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 3
        +score: 0
        +lastActive: DateTime @1689481808 {#4168
          date: 2023-07-16 06:30:08.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: 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 {#4169
          date: 2023-07-04 06:32:06.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4173}
      +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 {#4173}
    +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 {#556 …}
  -twig: Twig\Environment {#1252 …}
  -security: Symfony\Bundle\SecurityBundle\Security {#1101 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 0.22 ms
Input props
[
  "label" => "Sidebar position"
  "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION"
  "values" => [
    [
      "name" => "Left"
      "value" => "LEFT"
    ]
    [
      "name" => "Right"
      "value" => "RIGHT"
    ]
  ]
  "defaultValue" => "RIGHT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowEnumComponent {#8836
  +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 12.0 MiB 0.18 ms
Input props
[
  "label" => "Dynamic lists"
  "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#8900
  +label: "Dynamic lists"
  +help: ""
  +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.13 ms
Input props
[
  "label" => "Rounded edges"
  "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#8965
  +label: "Rounded edges"
  +help: ""
  +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.58 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 {#9021
  +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 12.0 MiB 0.25 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 {#9080
  +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 12.0 MiB 0.13 ms
Input props
[
  "label" => "Show top bar"
  "settingsKey" => "KBIN_GENERAL_TOPBAR"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9136
  +label: "Show top bar"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TOPBAR"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.23 ms
Input props
[
  "label" => "Turbo mode (experimental)"
  "settingsKey" => "KBIN_GENERAL_TURBO"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9192
  +label: "Turbo mode (experimental)"
  +help: ""
  +settingsKey: "KBIN_GENERAL_TURBO"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.27 ms
Input props
[
  "label" => "Mark new comments"
  "settingsKey" => "KBIN_MARK_NEW_COMMENTS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9250
  +label: "Mark new comments"
  +help: ""
  +settingsKey: "KBIN_MARK_NEW_COMMENTS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.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 {#9313
  +label: "Show "Support Us" block"
  +help: ""
  +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK"
  +defaultValue: true
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.14 ms
Input props
[
  "label" => "Show subscribed users"
  "settingsKey" => "KBIN_SUB_CHANNEL_USERS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9371
  +label: "Show subscribed users"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_USERS"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.14 ms
Input props
[
  "label" => "Show subscribed magazines"
  "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9427
  +label: "Show subscribed magazines"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES"
  +defaultValue: false
  +reloadRequired: true
}
user_settings_row_switch App\Twig\Components\UserSettingsRowSwitchComponent 12.0 MiB 0.14 ms
Input props
[
  "label" => "Show subscribed domains"
  "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS"
]
Attributes
[]
Component
App\Twig\Components\UserSettingsRowSwitchComponent {#9483
  +label: "Show subscribed domains"
  +help: ""
  +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9539
  +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 12.0 MiB 0.12 ms
Input props
[
  "label" => "Compact view"
  "settingsKey" => "KBIN_ENTRIES_COMPACT"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9595
  +label: "Compact view"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_COMPACT"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9651
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.16 ms
Input props
[
  "label" => "Show magazines’ icons"
  "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9707
  +label: "Show magazines’ icons"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS"
  +defaultValue: false
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.13 ms
Input props
[
  "label" => "Show thumbnails"
  "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9763
  +label: "Show thumbnails"
  +help: ""
  +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_switch App\Twig\Components\SettingsRowSwitchComponent 12.0 MiB 0.12 ms
Input props
[
  "label" => "Auto media preview"
  "help" => "Automatically expand media previews."
  "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW"
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9819
  +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 12.0 MiB 0.12 ms
Input props
[
  "label" => "Show users’ avatars"
  "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS"
  "defaultValue" => true
]
Attributes
[]
Component
App\Twig\Components\SettingsRowSwitchComponent {#9875
  +label: "Show users’ avatars"
  +help: ""
  +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS"
  +defaultValue: true
  +reloadRequired: true
}
settings_row_enum App\Twig\Components\SettingsRowEnumComponent 12.0 MiB 0.15 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 {#9931
  +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 12.0 MiB 0.13 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 {#9989
  +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 12.0 MiB 0.44 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserActionsComponent {#10066
  +user: Proxies\__CG__\App\Entity\User {#1970
    +avatar: null
    +cover: null
    +email: "ryanomite@discuss.tchncs.de"
    +username: "@ryanomite@discuss.tchncs.de"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: null
    +lastActive: DateTime @1689285256 {#1519
      date: 2023-07-13 23:54:16.0 +02:00
    }
    +markedForDeletionAt: null
    +fields: null
    +oauthGithubId: null
    +oauthGoogleId: null
    +oauthFacebookId: null
    +oauthKeycloakId: null
    +hideAdult: true
    +showSubscribedUsers: true
    +showSubscribedMagazines: true
    +showSubscribedDomains: true
    +preferredLanguages: []
    +featuredMagazines: null
    +showProfileSubscriptions: true
    +showProfileFollowings: true
    +markNewComments: false
    +notifyOnNewEntry: false
    +notifyOnNewEntryReply: false
    +notifyOnNewEntryCommentReply: false
    +notifyOnNewPost: false
    +notifyOnNewPostReply: false
    +notifyOnNewPostCommentReply: false
    +addMentionsEntries: false
    +addMentionsPosts: true
    +isBanned: false
    +isVerified: false
    +isDeleted: false
    +isBot: false
    +spamProtection: true
    +customCss: null
    +ignoreMagazinesCustomCss: false
    +moderatorTokens: Doctrine\ORM\PersistentCollection {#1631 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1713 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#1710 …}
    +entries: Doctrine\ORM\PersistentCollection {#1742 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#1659 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#1747 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1473 …}
    +posts: Doctrine\ORM\PersistentCollection {#1750 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#1493 …}
    +postComments: Doctrine\ORM\PersistentCollection {#1778 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#1627 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#1755 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#1421 …}
    +follows: Doctrine\ORM\PersistentCollection {#1447 …}
    +followers: Doctrine\ORM\PersistentCollection {#1450 …}
    +blocks: Doctrine\ORM\PersistentCollection {#1462 …}
    +blockers: Doctrine\ORM\PersistentCollection {#1427 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#1437 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#1430 …}
    +reports: Doctrine\ORM\PersistentCollection {#1463 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1699 …}
    +violations: Doctrine\ORM\PersistentCollection {#1690 …}
    +notifications: Doctrine\ORM\PersistentCollection {#1696 …}
    +awards: Doctrine\ORM\PersistentCollection {#1694 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#1743 …}
    +categories: Doctrine\ORM\PersistentCollection {#1676 …}
    -id: 18202
    -password: "$2y$13$pGnJGlvcUu4nDHbtw70IOO2XcI8EQ/dTvTNm25zsC5VGFLgg3LyZG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1679 …}
    +apId: "ryanomite@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/u/ryanomite"
    +apPublicUrl: "https://discuss.tchncs.de/u/ryanomite"
    +apFollowersUrl: null
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "ryanomite"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: false
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1689284441 {#1515
      date: 2023-07-13 23:40:41.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688419657 {#1518
      date: 2023-07-03 23:27:37.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
}
date App\Twig\Components\DateComponent 12.0 MiB 0.13 ms
Input props
[
  "date" => DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10127
  +date: DateTimeImmutable @1688419656 {#1793
    date: 2023-07-03 23:27:36.0 +02:00
  }
}
magazine_box App\Twig\Components\MagazineBoxComponent 12.0 MiB 222.76 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  "showSectionTitle" => true
]
Attributes
[]
Component
App\Twig\Components\MagazineBoxComponent {#10183
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +showCover: true
  +showDescription: true
  +showRules: true
  +showSubscribeButton: true
  +showInfo: true
  +showMeta: true
  +showSectionTitle: true
  +stretchedLink: true
}
magazine_sub App\Twig\Components\MagazineSubComponent 12.0 MiB 0.76 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\MagazineSubComponent {#10248
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
}
date App\Twig\Components\DateComponent 12.0 MiB 0.25 ms
Input props
[
  "date" => DateTimeImmutable @1687144409 {#271
    date: 2023-06-19 05:13:29.0 +02:00
  }
]
Attributes
[]
Component
App\Twig\Components\DateComponent {#10360
  +date: DateTimeImmutable @1687144409 {#271
    date: 2023-06-19 05:13:29.0 +02:00
  }
}
user_inline App\Twig\Components\UserInlineComponent 12.0 MiB 23.71 ms
Input props
[
  "user" => Proxies\__CG__\App\Entity\User {#10419
    +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 {#10466
      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 {#10468 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10470 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10472 …}
    +entries: Doctrine\ORM\PersistentCollection {#10474 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10476 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10478 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10480 …}
    +posts: Doctrine\ORM\PersistentCollection {#10482 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10484 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10486 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10488 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10490 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10492 …}
    +follows: Doctrine\ORM\PersistentCollection {#10494 …}
    +followers: Doctrine\ORM\PersistentCollection {#10496 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10498 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10500 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10502 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10504 …}
    +reports: Doctrine\ORM\PersistentCollection {#10506 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10508 …}
    +violations: Doctrine\ORM\PersistentCollection {#10510 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10512 …}
    +awards: Doctrine\ORM\PersistentCollection {#10514 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10516 …}
    +categories: Doctrine\ORM\PersistentCollection {#10518 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10520 …}
    +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 {#10467
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
]
Attributes
[]
Component
App\Twig\Components\UserInlineComponent {#10437
  +user: Proxies\__CG__\App\Entity\User {#10419
    +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 {#10466
      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 {#10468 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10470 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10472 …}
    +entries: Doctrine\ORM\PersistentCollection {#10474 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10476 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10478 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10480 …}
    +posts: Doctrine\ORM\PersistentCollection {#10482 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10484 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10486 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10488 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10490 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10492 …}
    +follows: Doctrine\ORM\PersistentCollection {#10494 …}
    +followers: Doctrine\ORM\PersistentCollection {#10496 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10498 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10500 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10502 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10504 …}
    +reports: Doctrine\ORM\PersistentCollection {#10506 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10508 …}
    +violations: Doctrine\ORM\PersistentCollection {#10510 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10512 …}
    +awards: Doctrine\ORM\PersistentCollection {#10514 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10516 …}
    +categories: Doctrine\ORM\PersistentCollection {#10518 …}
    -id: 1
    -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10520 …}
    +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 {#10467
      date: 2023-06-12 11:00:40.0 +02:00
    }
    +__isInitialized__: true
     …2
  }
  +showAvatar: true
}
related_magazines App\Twig\Components\RelatedMagazinesComponent 12.0 MiB 59.65 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedMagazinesComponent {#10628
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +title: "related_magazines"
  +refreshedRandom: false
  -repository: App\Repository\MagazineRepository {#333 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
active_users App\Twig\Components\ActiveUsersComponent 12.0 MiB 379.81 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\ActiveUsersComponent {#10754
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  -userRepository: App\Repository\UserRepository {#603 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 178.82 ms
Input props
[
  "user" => App\Entity\User {#10886
    +avatar: Proxies\__CG__\App\Entity\Image {#10885 …}
    +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 {#10889
      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 {#10884 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10882 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10880 …}
    +entries: Doctrine\ORM\PersistentCollection {#10878 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10876 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10874 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10872 …}
    +posts: Doctrine\ORM\PersistentCollection {#10870 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10868 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10866 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10864 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10862 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10860 …}
    +follows: Doctrine\ORM\PersistentCollection {#10858 …}
    +followers: Doctrine\ORM\PersistentCollection {#10856 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10854 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10852 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10850 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10848 …}
    +reports: Doctrine\ORM\PersistentCollection {#10846 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10844 …}
    +violations: Doctrine\ORM\PersistentCollection {#10842 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10840 …}
    +awards: Doctrine\ORM\PersistentCollection {#10838 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10836 …}
    +categories: Doctrine\ORM\PersistentCollection {#10834 …}
    -id: 39464
    -password: "$2y$13$wQAP4Gif3ESopfZf00xAU.zwr9iTTX.ev3twB9omsse0v00sxuD/G"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10832 …}
    +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 {#10888
      date: 2024-10-06 22:13:37.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691480767 {#10887
      date: 2023-08-08 09:46:07.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#10810
  +width: 65
  +height: 65
  +user: App\Entity\User {#10886
    +avatar: Proxies\__CG__\App\Entity\Image {#10885 …}
    +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 {#10889
      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 {#10884 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10882 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10880 …}
    +entries: Doctrine\ORM\PersistentCollection {#10878 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10876 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10874 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10872 …}
    +posts: Doctrine\ORM\PersistentCollection {#10870 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10868 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10866 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10864 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10862 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10860 …}
    +follows: Doctrine\ORM\PersistentCollection {#10858 …}
    +followers: Doctrine\ORM\PersistentCollection {#10856 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10854 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10852 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10850 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10848 …}
    +reports: Doctrine\ORM\PersistentCollection {#10846 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10844 …}
    +violations: Doctrine\ORM\PersistentCollection {#10842 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10840 …}
    +awards: Doctrine\ORM\PersistentCollection {#10838 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10836 …}
    +categories: Doctrine\ORM\PersistentCollection {#10834 …}
    -id: 39464
    -password: "$2y$13$wQAP4Gif3ESopfZf00xAU.zwr9iTTX.ev3twB9omsse0v00sxuD/G"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10832 …}
    +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 {#10888
      date: 2024-10-06 22:13:37.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1691480767 {#10887
      date: 2023-08-08 09:46:07.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 34.97 ms
Input props
[
  "user" => App\Entity\User {#10827
    +avatar: Proxies\__CG__\App\Entity\Image {#10826 …}
    +cover: Proxies\__CG__\App\Entity\Image {#10825 …}
    +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 {#10830
      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 {#10824 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10822 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10772 …}
    +entries: Doctrine\ORM\PersistentCollection {#10774 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10781 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10782 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10784 …}
    +posts: Doctrine\ORM\PersistentCollection {#10786 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10783 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10776 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10794 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10791 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10799 …}
    +follows: Doctrine\ORM\PersistentCollection {#10796 …}
    +followers: Doctrine\ORM\PersistentCollection {#10804 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10806 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10808 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11216 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11210 …}
    +reports: Doctrine\ORM\PersistentCollection {#11023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11012 …}
    +violations: Doctrine\ORM\PersistentCollection {#11218 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11217 …}
    +awards: Doctrine\ORM\PersistentCollection {#11214 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11211 …}
    +categories: Doctrine\ORM\PersistentCollection {#11208 …}
    -id: 41651
    -password: "$2y$13$MR/jvQLw20snj7dhCUOzrerIeJOUi.vmMEXqlAliA6M/KYuWQH.Sa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11207 …}
    +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 {#10829
      date: 2023-08-21 18:43:45.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692554254 {#10828
      date: 2023-08-20 19:57:34.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11084
  +width: 65
  +height: 65
  +user: App\Entity\User {#10827
    +avatar: Proxies\__CG__\App\Entity\Image {#10826 …}
    +cover: Proxies\__CG__\App\Entity\Image {#10825 …}
    +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 {#10830
      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 {#10824 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10822 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10772 …}
    +entries: Doctrine\ORM\PersistentCollection {#10774 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10781 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10782 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10784 …}
    +posts: Doctrine\ORM\PersistentCollection {#10786 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10783 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10776 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10794 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10791 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10799 …}
    +follows: Doctrine\ORM\PersistentCollection {#10796 …}
    +followers: Doctrine\ORM\PersistentCollection {#10804 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10806 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10808 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11216 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11210 …}
    +reports: Doctrine\ORM\PersistentCollection {#11023 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11012 …}
    +violations: Doctrine\ORM\PersistentCollection {#11218 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11217 …}
    +awards: Doctrine\ORM\PersistentCollection {#11214 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11211 …}
    +categories: Doctrine\ORM\PersistentCollection {#11208 …}
    -id: 41651
    -password: "$2y$13$MR/jvQLw20snj7dhCUOzrerIeJOUi.vmMEXqlAliA6M/KYuWQH.Sa"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11207 …}
    +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 {#10829
      date: 2023-08-21 18:43:45.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1692554254 {#10828
      date: 2023-08-20 19:57:34.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 1.00 ms
Input props
[
  "user" => App\Entity\User {#11201
    +avatar: Proxies\__CG__\App\Entity\Image {#11198 …}
    +cover: Proxies\__CG__\App\Entity\Image {#11199 …}
    +email: "TCB13@lemmy.world"
    +username: "@TCB13@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1729518803 {#11021
      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 {#11196 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11194 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#11192 …}
    +entries: Doctrine\ORM\PersistentCollection {#11190 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#11188 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#11186 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#11184 …}
    +posts: Doctrine\ORM\PersistentCollection {#11182 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#11180 …}
    +postComments: Doctrine\ORM\PersistentCollection {#11178 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11176 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11174 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11172 …}
    +follows: Doctrine\ORM\PersistentCollection {#11170 …}
    +followers: Doctrine\ORM\PersistentCollection {#11168 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11166 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11164 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11162 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11160 …}
    +reports: Doctrine\ORM\PersistentCollection {#11158 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11156 …}
    +violations: Doctrine\ORM\PersistentCollection {#11154 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11152 …}
    +awards: Doctrine\ORM\PersistentCollection {#11150 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11148 …}
    +categories: Doctrine\ORM\PersistentCollection {#11146 …}
    -id: 43677
    -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11144 …}
    +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 {#11202
      date: 2024-10-22 05:12:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1693492241 {#11200
      date: 2023-08-31 16:30:41.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11019
  +width: 65
  +height: 65
  +user: App\Entity\User {#11201
    +avatar: Proxies\__CG__\App\Entity\Image {#11198 …}
    +cover: Proxies\__CG__\App\Entity\Image {#11199 …}
    +email: "TCB13@lemmy.world"
    +username: "@TCB13@lemmy.world"
    +roles: []
    +followersCount: 0
    +homepage: "front"
    +about: ""
    +lastActive: DateTime @1729518803 {#11021
      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 {#11196 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11194 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#11192 …}
    +entries: Doctrine\ORM\PersistentCollection {#11190 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#11188 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#11186 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#11184 …}
    +posts: Doctrine\ORM\PersistentCollection {#11182 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#11180 …}
    +postComments: Doctrine\ORM\PersistentCollection {#11178 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#11176 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#11174 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#11172 …}
    +follows: Doctrine\ORM\PersistentCollection {#11170 …}
    +followers: Doctrine\ORM\PersistentCollection {#11168 …}
    +blocks: Doctrine\ORM\PersistentCollection {#11166 …}
    +blockers: Doctrine\ORM\PersistentCollection {#11164 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#11162 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#11160 …}
    +reports: Doctrine\ORM\PersistentCollection {#11158 …}
    +favourites: Doctrine\ORM\PersistentCollection {#11156 …}
    +violations: Doctrine\ORM\PersistentCollection {#11154 …}
    +notifications: Doctrine\ORM\PersistentCollection {#11152 …}
    +awards: Doctrine\ORM\PersistentCollection {#11150 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#11148 …}
    +categories: Doctrine\ORM\PersistentCollection {#11146 …}
    -id: 43677
    -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#11144 …}
    +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 {#11202
      date: 2024-10-22 05:12:44.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1693492241 {#11200
      date: 2023-08-31 16:30:41.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 13.80 ms
Input props
[
  "user" => App\Entity\User {#10945
    +avatar: Proxies\__CG__\App\Entity\Image {#10944 …}
    +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 {#10948
      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 {#10943 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10941 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10939 …}
    +entries: Doctrine\ORM\PersistentCollection {#10937 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10935 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10933 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10931 …}
    +posts: Doctrine\ORM\PersistentCollection {#10929 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10927 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10925 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10923 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10921 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10919 …}
    +follows: Doctrine\ORM\PersistentCollection {#10917 …}
    +followers: Doctrine\ORM\PersistentCollection {#10915 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10913 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10911 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10909 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10907 …}
    +reports: Doctrine\ORM\PersistentCollection {#10905 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10903 …}
    +violations: Doctrine\ORM\PersistentCollection {#10901 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10899 …}
    +awards: Doctrine\ORM\PersistentCollection {#10897 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10895 …}
    +categories: Doctrine\ORM\PersistentCollection {#10893 …}
    -id: 21796
    -password: "$2y$13$ACNmoGKWwRgm/Njn146GG.b25O8.XXYtlu6ZukGNMl7KWiROcYuzK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10891 …}
    +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 {#10947
      date: 2024-07-01 11:02:01.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689039812 {#10946
      date: 2023-07-11 03:43:32.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11273
  +width: 65
  +height: 65
  +user: App\Entity\User {#10945
    +avatar: Proxies\__CG__\App\Entity\Image {#10944 …}
    +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 {#10948
      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 {#10943 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10941 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10939 …}
    +entries: Doctrine\ORM\PersistentCollection {#10937 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10935 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10933 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10931 …}
    +posts: Doctrine\ORM\PersistentCollection {#10929 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10927 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10925 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10923 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10921 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10919 …}
    +follows: Doctrine\ORM\PersistentCollection {#10917 …}
    +followers: Doctrine\ORM\PersistentCollection {#10915 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10913 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10911 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10909 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10907 …}
    +reports: Doctrine\ORM\PersistentCollection {#10905 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10903 …}
    +violations: Doctrine\ORM\PersistentCollection {#10901 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10899 …}
    +awards: Doctrine\ORM\PersistentCollection {#10897 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10895 …}
    +categories: Doctrine\ORM\PersistentCollection {#10893 …}
    -id: 21796
    -password: "$2y$13$ACNmoGKWwRgm/Njn146GG.b25O8.XXYtlu6ZukGNMl7KWiROcYuzK"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10891 …}
    +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 {#10947
      date: 2024-07-01 11:02:01.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1689039812 {#10946
      date: 2023-07-11 03:43:32.0 +02:00
    }
  }
  +asLink: true
}
user_avatar App\Twig\Components\UserAvatarComponent 12.0 MiB 98.74 ms
Input props
[
  "user" => App\Entity\User {#11004
    +avatar: Proxies\__CG__\App\Entity\Image {#11003 …}
    +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 {#11007
      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 {#11002 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11000 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10998 …}
    +entries: Doctrine\ORM\PersistentCollection {#10996 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10994 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10992 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10990 …}
    +posts: Doctrine\ORM\PersistentCollection {#10988 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10986 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10984 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10982 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10980 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10978 …}
    +follows: Doctrine\ORM\PersistentCollection {#10976 …}
    +followers: Doctrine\ORM\PersistentCollection {#10974 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10972 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10970 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10968 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10966 …}
    +reports: Doctrine\ORM\PersistentCollection {#10964 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10962 …}
    +violations: Doctrine\ORM\PersistentCollection {#10960 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10958 …}
    +awards: Doctrine\ORM\PersistentCollection {#10956 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10954 …}
    +categories: Doctrine\ORM\PersistentCollection {#10952 …}
    -id: 20657
    -password: "$2y$13$XNERcrvg1/EZkZQbKQ6R6efd5bjo3rlAJRSz0lDRnfkNCV76hr5Me"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10950 …}
    +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 {#11006
      date: 2023-07-30 16:21:02.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688878027 {#11005
      date: 2023-07-09 06:47:07.0 +02:00
    }
  }
  "width" => 65
  "height" => 65
  "asLink" => true
]
Attributes
[]
Component
App\Twig\Components\UserAvatarComponent {#11336
  +width: 65
  +height: 65
  +user: App\Entity\User {#11004
    +avatar: Proxies\__CG__\App\Entity\Image {#11003 …}
    +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 {#11007
      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 {#11002 …}
    +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#11000 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#10998 …}
    +entries: Doctrine\ORM\PersistentCollection {#10996 …}
    +entryVotes: Doctrine\ORM\PersistentCollection {#10994 …}
    +entryComments: Doctrine\ORM\PersistentCollection {#10992 …}
    +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10990 …}
    +posts: Doctrine\ORM\PersistentCollection {#10988 …}
    +postVotes: Doctrine\ORM\PersistentCollection {#10986 …}
    +postComments: Doctrine\ORM\PersistentCollection {#10984 …}
    +postCommentVotes: Doctrine\ORM\PersistentCollection {#10982 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#10980 …}
    +subscribedDomains: Doctrine\ORM\PersistentCollection {#10978 …}
    +follows: Doctrine\ORM\PersistentCollection {#10976 …}
    +followers: Doctrine\ORM\PersistentCollection {#10974 …}
    +blocks: Doctrine\ORM\PersistentCollection {#10972 …}
    +blockers: Doctrine\ORM\PersistentCollection {#10970 …}
    +blockedMagazines: Doctrine\ORM\PersistentCollection {#10968 …}
    +blockedDomains: Doctrine\ORM\PersistentCollection {#10966 …}
    +reports: Doctrine\ORM\PersistentCollection {#10964 …}
    +favourites: Doctrine\ORM\PersistentCollection {#10962 …}
    +violations: Doctrine\ORM\PersistentCollection {#10960 …}
    +notifications: Doctrine\ORM\PersistentCollection {#10958 …}
    +awards: Doctrine\ORM\PersistentCollection {#10956 …}
    +subscribedCategories: Doctrine\ORM\PersistentCollection {#10954 …}
    +categories: Doctrine\ORM\PersistentCollection {#10952 …}
    -id: 20657
    -password: "$2y$13$XNERcrvg1/EZkZQbKQ6R6efd5bjo3rlAJRSz0lDRnfkNCV76hr5Me"
    -totpSecret: null
    -totpBackupCodes: []
    -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10950 …}
    +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 {#11006
      date: 2023-07-30 16:21:02.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1688878027 {#11005
      date: 2023-07-09 06:47:07.0 +02:00
    }
  }
  +asLink: true
}
related_categories App\Twig\Components\RelatedCategoriesComponent 12.0 MiB 42.82 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedCategoriesComponent {#11404
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "related"
  +title: "related_categories"
  +refreshedRandom: false
  -repository: App\Repository\CategoryRepository {#11405 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
}
related_posts App\Twig\Components\RelatedPostsComponent 12.0 MiB 24.68 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedPostsComponent {#11481
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +post: null
  +title: "related_posts"
  +refreshedRandom: false
  -repository: App\Repository\PostRepository {#11482 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#389 …}
}
related_entries App\Twig\Components\RelatedEntriesComponent 12.0 MiB 66.85 ms
Input props
[
  "magazine" => "askelectronics@discuss.tchncs.de"
  "tag" => null
]
Attributes
[]
Component
App\Twig\Components\RelatedEntriesComponent {#11602
  +limit: 4
  +tag: null
  +magazine: "askelectronics@discuss.tchncs.de"
  +type: "magazine"
  +entry: null
  +title: "related_entries"
  +refreshedRandom: false
  -repository: App\Repository\EntryRepository {#270 …}
  -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …}
  -twig: Twig\Environment {#1252 …}
  -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …}
  -mentionManager: App\Service\MentionManager {#389 …}
}
support_us_block App\Twig\Components\SupportUsBlock 12.0 MiB 14.60 ms
Input props
[]
Attributes
[]
Component
App\Twig\Components\SupportUsBlock {#11657
  +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 {#11656 …}
}
featured_magazines App\Twig\Components\FeaturedMagazinesComponent 12.0 MiB 2.06 ms
Input props
[
  "magazine" => App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
]
Attributes
[]
Component
App\Twig\Components\FeaturedMagazinesComponent {#11732
  +magazine: App\Entity\Magazine {#265
    +icon: Proxies\__CG__\App\Entity\Image {#246 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#275
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#237 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#233 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#222 …}
    +entries: Doctrine\ORM\PersistentCollection {#180 …}
    +posts: Doctrine\ORM\PersistentCollection {#138 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#200 …}
    +bans: Doctrine\ORM\PersistentCollection {#117 …}
    +reports: Doctrine\ORM\PersistentCollection {#103 …}
    +badges: Doctrine\ORM\PersistentCollection {#81 …}
    +logs: Doctrine\ORM\PersistentCollection {#71 …}
    +awards: Doctrine\ORM\PersistentCollection {#1346 …}
    +categories: Doctrine\ORM\PersistentCollection {#1823 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#269
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#271
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  -twig: Twig\Environment {#1252 …}
  -repository: App\Repository\MagazineRepository {#333 …}
}