GET https://kbin.spritesserver.nl/m/askelectronics@discuss.tchncs.de/t/1031/Small-fan-switch-sanity-check/oldest

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.app_user_provider
context main
entry_point App\Security\KbinAuthenticator
user_checker App\Security\UserChecker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "two_factor"
  "remember_me"
  "App\Security\KbinAuthenticator"
  "App\Security\FacebookAuthenticator"
  "App\Security\GoogleAuthenticator"
  "App\Security\GithubAuthenticator"
  "App\Security\KeycloakAuthenticator"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#723
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
  -logger: Monolog\Logger {#783 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\ContextListener {#706
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage {#1017 …}
  -sessionKey: "_security_main"
  -logger: Monolog\Logger {#783 …}
  -userProviders: Symfony\Component\DependencyInjection\Argument\RewindableGenerator {#705 …}
  -dispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
  -registered: false
  -trustResolver: Scheb\TwoFactorBundle\Security\Authentication\AuthenticationTrustResolver {#780 …}
  -sessionTrackerEnabler: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage::enableUsageTracking(): void {#703 …}
}
0.76 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#584
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#595 …}
}
0.00 ms (none)
Scheb\TwoFactorBundle\Security\Http\Firewall\TwoFactorAccessListener {#582
  -twoFactorFirewallConfig: Scheb\TwoFactorBundle\Security\TwoFactor\TwoFactorFirewallConfig {#842 …}
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -twoFactorAccessDecider: Scheb\TwoFactorBundle\Security\Authorization\TwoFactorAccessDecider {#581 …}
}
0.04 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#579
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#937 …}
  -map: Symfony\Component\Security\Http\AccessMap {#722 …}
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\LogoutListener {#786
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1018 …}
  -options: [
    "csrf_parameter" => "_csrf_token"
    "csrf_token_id" => "logout"
    "logout_path" => "app_logout"
  ]
  -httpUtils: Symfony\Component\Security\Http\HttpUtils {#841 …}
  -csrfTokenManager: Symfony\Component\Security\Csrf\CsrfTokenManager {#1015 …}
  -eventDispatcher: Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher {#747 …}
}
0.00 ms (none)

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"App\Security\Voter\EntryCommentVoter"
6
"App\Security\Voter\EntryVoter"
7
"App\Security\Voter\MagazineVoter"
8
"App\Security\Voter\MessageThreadVoter"
9
"App\Security\Voter\MessageVoter"
10
"App\Security\Voter\NotificationVoter"
11
"App\Security\Voter\OAuth2UserConsentVoter"
12
"App\Security\Voter\PostCommentVoter"
13
"App\Security\Voter\PostVoter"
14
"App\Security\Voter\UserVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: Proxies\__CG__\App\Entity\Image {#1943 …}
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +slug: "Small-fan-switch-sanity-check"
  +title: "Small fan switch sanity check."
  +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
  +body: """
    Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
    \n
    Suggestions? Any advice is greatly appreciated!\n
    \n
    *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
    \n
    raspi-gpio set 17 op dh\n
    \n
    raspi-gpio set 17 op dl\n
    \n
    I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
    """
  +type: "image"
  +lang: "en"
  +isOc: false
  +hasEmbed: true
  +commentCount: 17
  +favouriteCount: 36
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1689109140 {#2410
    date: 2023-07-11 22:59:00.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: 1031
  -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
  -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1689126684
  +visibility: "visible             "
  +apId: "https://lemmy.world/post/1328894"
  +editedAt: DateTimeImmutable @1689223573 {#1850
    date: 2023-07-13 06:46:13.0 +02:00
  }
  +createdAt: DateTimeImmutable @1689040284 {#2420
    date: 2023-07-11 03:51:24.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: Proxies\__CG__\App\Entity\Image {#1943 …}
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +slug: "Small-fan-switch-sanity-check"
  +title: "Small fan switch sanity check."
  +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
  +body: """
    Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
    \n
    Suggestions? Any advice is greatly appreciated!\n
    \n
    *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
    \n
    raspi-gpio set 17 op dh\n
    \n
    raspi-gpio set 17 op dl\n
    \n
    I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
    """
  +type: "image"
  +lang: "en"
  +isOc: false
  +hasEmbed: true
  +commentCount: 17
  +favouriteCount: 36
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1689109140 {#2410
    date: 2023-07-11 22:59:00.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: 1031
  -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
  -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1689126684
  +visibility: "visible             "
  +apId: "https://lemmy.world/post/1328894"
  +editedAt: DateTimeImmutable @1689223573 {#1850
    date: 2023-07-13 06:46:13.0 +02:00
  }
  +createdAt: DateTimeImmutable @1689040284 {#2420
    date: 2023-07-11 03:51:24.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#276
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#238 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
    +entries: Doctrine\ORM\PersistentCollection {#181 …}
    +posts: Doctrine\ORM\PersistentCollection {#139 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
    +bans: Doctrine\ORM\PersistentCollection {#118 …}
    +reports: Doctrine\ORM\PersistentCollection {#104 …}
    +badges: Doctrine\ORM\PersistentCollection {#82 …}
    +logs: Doctrine\ORM\PersistentCollection {#72 …}
    +awards: Doctrine\ORM\PersistentCollection {#61 …}
    +categories: Doctrine\ORM\PersistentCollection {#1820 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#270
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#272
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: Proxies\__CG__\App\Entity\Image {#1943 …}
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +slug: "Small-fan-switch-sanity-check"
  +title: "Small fan switch sanity check."
  +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
  +body: """
    Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
    \n
    Suggestions? Any advice is greatly appreciated!\n
    \n
    *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
    \n
    raspi-gpio set 17 op dh\n
    \n
    raspi-gpio set 17 op dl\n
    \n
    I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
    """
  +type: "image"
  +lang: "en"
  +isOc: false
  +hasEmbed: true
  +commentCount: 17
  +favouriteCount: 36
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1689109140 {#2410
    date: 2023-07-11 22:59:00.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: 1031
  -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
  -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1689126684
  +visibility: "visible             "
  +apId: "https://lemmy.world/post/1328894"
  +editedAt: DateTimeImmutable @1689223573 {#1850
    date: 2023-07-13 06:46:13.0 +02:00
  }
  +createdAt: DateTimeImmutable @1689040284 {#2420
    date: 2023-07-11 03:51:24.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4061
  +user: App\Entity\User {#4009 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689052763 {#4070
    date: 2023-07-11 07:19:23.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4059 …}
  +nested: Doctrine\ORM\PersistentCollection {#4057 …}
  +votes: Doctrine\ORM\PersistentCollection {#4055 …}
  +reports: Doctrine\ORM\PersistentCollection {#4053 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
  -id: 10156
  -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.fmhy.ml/comment/904004"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689042237 {#4006
    date: 2023-07-11 04:23:57.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4061
  +user: App\Entity\User {#4009 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689052763 {#4070
    date: 2023-07-11 07:19:23.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4059 …}
  +nested: Doctrine\ORM\PersistentCollection {#4057 …}
  +votes: Doctrine\ORM\PersistentCollection {#4055 …}
  +reports: Doctrine\ORM\PersistentCollection {#4053 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
  -id: 10156
  -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.fmhy.ml/comment/904004"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689042237 {#4006
    date: 2023-07-11 04:23:57.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4061
  +user: App\Entity\User {#4009 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689052763 {#4070
    date: 2023-07-11 07:19:23.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4059 …}
  +nested: Doctrine\ORM\PersistentCollection {#4057 …}
  +votes: Doctrine\ORM\PersistentCollection {#4055 …}
  +reports: Doctrine\ORM\PersistentCollection {#4053 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
  -id: 10156
  -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.fmhy.ml/comment/904004"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689042237 {#4006
    date: 2023-07-11 04:23:57.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
10 DENIED moderate
App\Entity\EntryComment {#4410
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4061
    +user: App\Entity\User {#4009 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689052763 {#4070
      date: 2023-07-11 07:19:23.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4059 …}
    +nested: Doctrine\ORM\PersistentCollection {#4057 …}
    +votes: Doctrine\ORM\PersistentCollection {#4055 …}
    +reports: Doctrine\ORM\PersistentCollection {#4053 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
    -id: 10156
    -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.fmhy.ml/comment/904004"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042237 {#4006
      date: 2023-07-11 04:23:57.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689042715 {#4411
    date: 2023-07-11 04:31:55.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4406 …}
  +nested: Doctrine\ORM\PersistentCollection {#4401 …}
  +votes: Doctrine\ORM\PersistentCollection {#4405 …}
  +reports: Doctrine\ORM\PersistentCollection {#4415 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
  -id: 10171
  -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1103551"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689042715 {#4414
    date: 2023-07-11 04:31:55.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
11 DENIED edit
App\Entity\EntryComment {#4410
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4061
    +user: App\Entity\User {#4009 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689052763 {#4070
      date: 2023-07-11 07:19:23.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4059 …}
    +nested: Doctrine\ORM\PersistentCollection {#4057 …}
    +votes: Doctrine\ORM\PersistentCollection {#4055 …}
    +reports: Doctrine\ORM\PersistentCollection {#4053 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
    -id: 10156
    -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.fmhy.ml/comment/904004"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042237 {#4006
      date: 2023-07-11 04:23:57.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689042715 {#4411
    date: 2023-07-11 04:31:55.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4406 …}
  +nested: Doctrine\ORM\PersistentCollection {#4401 …}
  +votes: Doctrine\ORM\PersistentCollection {#4405 …}
  +reports: Doctrine\ORM\PersistentCollection {#4415 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
  -id: 10171
  -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1103551"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689042715 {#4414
    date: 2023-07-11 04:31:55.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
12 DENIED moderate
App\Entity\EntryComment {#4410
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4061
    +user: App\Entity\User {#4009 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689052763 {#4070
      date: 2023-07-11 07:19:23.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4059 …}
    +nested: Doctrine\ORM\PersistentCollection {#4057 …}
    +votes: Doctrine\ORM\PersistentCollection {#4055 …}
    +reports: Doctrine\ORM\PersistentCollection {#4053 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
    -id: 10156
    -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.fmhy.ml/comment/904004"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042237 {#4006
      date: 2023-07-11 04:23:57.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689042715 {#4411
    date: 2023-07-11 04:31:55.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4406 …}
  +nested: Doctrine\ORM\PersistentCollection {#4401 …}
  +votes: Doctrine\ORM\PersistentCollection {#4405 …}
  +reports: Doctrine\ORM\PersistentCollection {#4415 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
  -id: 10171
  -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1103551"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689042715 {#4414
    date: 2023-07-11 04:31:55.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
13 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
14 DENIED moderate
App\Entity\EntryComment {#4472
  +user: App\Entity\User {#4191 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4410
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4061
      +user: App\Entity\User {#4009 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689052763 {#4070
        date: 2023-07-11 07:19:23.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4059 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4055 …}
      +reports: Doctrine\ORM\PersistentCollection {#4053 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
      -id: 10156
      -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.fmhy.ml/comment/904004"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042237 {#4006
        date: 2023-07-11 04:23:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689042715 {#4411
      date: 2023-07-11 04:31:55.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4406 …}
    +nested: Doctrine\ORM\PersistentCollection {#4401 …}
    +votes: Doctrine\ORM\PersistentCollection {#4405 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -id: 10171
    -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1103551"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042715 {#4414
      date: 2023-07-11 04:31:55.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "It’s fine, won’t cause any problems."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689049101 {#4471
    date: 2023-07-11 06:18:21.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4475 …}
  +nested: Doctrine\ORM\PersistentCollection {#4480 …}
  +votes: Doctrine\ORM\PersistentCollection {#4476 …}
  +reports: Doctrine\ORM\PersistentCollection {#4482 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4486 …}
  -id: 10311
  -bodyTs: "'caus':6 'fine':3 'problem':8 'won':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/882659"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689049101 {#4468
    date: 2023-07-11 06:18:21.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
15 DENIED edit
App\Entity\EntryComment {#4472
  +user: App\Entity\User {#4191 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4410
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4061
      +user: App\Entity\User {#4009 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689052763 {#4070
        date: 2023-07-11 07:19:23.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4059 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4055 …}
      +reports: Doctrine\ORM\PersistentCollection {#4053 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
      -id: 10156
      -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.fmhy.ml/comment/904004"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042237 {#4006
        date: 2023-07-11 04:23:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689042715 {#4411
      date: 2023-07-11 04:31:55.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4406 …}
    +nested: Doctrine\ORM\PersistentCollection {#4401 …}
    +votes: Doctrine\ORM\PersistentCollection {#4405 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -id: 10171
    -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1103551"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042715 {#4414
      date: 2023-07-11 04:31:55.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "It’s fine, won’t cause any problems."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689049101 {#4471
    date: 2023-07-11 06:18:21.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4475 …}
  +nested: Doctrine\ORM\PersistentCollection {#4480 …}
  +votes: Doctrine\ORM\PersistentCollection {#4476 …}
  +reports: Doctrine\ORM\PersistentCollection {#4482 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4486 …}
  -id: 10311
  -bodyTs: "'caus':6 'fine':3 'problem':8 'won':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/882659"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689049101 {#4468
    date: 2023-07-11 06:18:21.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
16 DENIED moderate
App\Entity\EntryComment {#4472
  +user: App\Entity\User {#4191 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4410
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4061
      +user: App\Entity\User {#4009 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689052763 {#4070
        date: 2023-07-11 07:19:23.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4059 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4055 …}
      +reports: Doctrine\ORM\PersistentCollection {#4053 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
      -id: 10156
      -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.fmhy.ml/comment/904004"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042237 {#4006
        date: 2023-07-11 04:23:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689042715 {#4411
      date: 2023-07-11 04:31:55.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4406 …}
    +nested: Doctrine\ORM\PersistentCollection {#4401 …}
    +votes: Doctrine\ORM\PersistentCollection {#4405 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -id: 10171
    -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1103551"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042715 {#4414
      date: 2023-07-11 04:31:55.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "It’s fine, won’t cause any problems."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689049101 {#4471
    date: 2023-07-11 06:18:21.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4475 …}
  +nested: Doctrine\ORM\PersistentCollection {#4480 …}
  +votes: Doctrine\ORM\PersistentCollection {#4476 …}
  +reports: Doctrine\ORM\PersistentCollection {#4482 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4486 …}
  -id: 10311
  -bodyTs: "'caus':6 'fine':3 'problem':8 'won':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/882659"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689049101 {#4468
    date: 2023-07-11 06:18:21.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
17 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
18 DENIED moderate
App\Entity\EntryComment {#4542
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4472
    +user: App\Entity\User {#4191 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4410
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4061
        +user: App\Entity\User {#4009 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1689052763 {#4070
          date: 2023-07-11 07:19:23.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4059 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4055 …}
        +reports: Doctrine\ORM\PersistentCollection {#4053 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
        -id: 10156
        -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904004"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042237 {#4006
          date: 2023-07-11 04:23:57.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4061}
      +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1689042715 {#4411
        date: 2023-07-11 04:31:55.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@Ghoti@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4406 …}
      +nested: Doctrine\ORM\PersistentCollection {#4401 …}
      +votes: Doctrine\ORM\PersistentCollection {#4405 …}
      +reports: Doctrine\ORM\PersistentCollection {#4415 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
      -id: 10171
      -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103551"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042715 {#4414
        date: 2023-07-11 04:31:55.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "It’s fine, won’t cause any problems."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689049101 {#4471
      date: 2023-07-11 06:18:21.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4480 …}
    +votes: Doctrine\ORM\PersistentCollection {#4476 …}
    +reports: Doctrine\ORM\PersistentCollection {#4482 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4486 …}
    -id: 10311
    -bodyTs: "'caus':6 'fine':3 'problem':8 'won':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882659"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689049101 {#4468
      date: 2023-07-11 06:18:21.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "Will do."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1689052745 {#4541
    date: 2023-07-11 07:19:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
    "@nothacking@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4545 …}
  +nested: Doctrine\ORM\PersistentCollection {#4550 …}
  +votes: Doctrine\ORM\PersistentCollection {#4546 …}
  +reports: Doctrine\ORM\PersistentCollection {#4552 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4554 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4556 …}
  -id: 10383
  -bodyTs: ""
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107461"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052745 {#4538
    date: 2023-07-11 07:19:05.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
19 DENIED edit
App\Entity\EntryComment {#4542
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4472
    +user: App\Entity\User {#4191 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4410
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4061
        +user: App\Entity\User {#4009 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1689052763 {#4070
          date: 2023-07-11 07:19:23.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4059 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4055 …}
        +reports: Doctrine\ORM\PersistentCollection {#4053 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
        -id: 10156
        -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904004"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042237 {#4006
          date: 2023-07-11 04:23:57.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4061}
      +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1689042715 {#4411
        date: 2023-07-11 04:31:55.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@Ghoti@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4406 …}
      +nested: Doctrine\ORM\PersistentCollection {#4401 …}
      +votes: Doctrine\ORM\PersistentCollection {#4405 …}
      +reports: Doctrine\ORM\PersistentCollection {#4415 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
      -id: 10171
      -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103551"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042715 {#4414
        date: 2023-07-11 04:31:55.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "It’s fine, won’t cause any problems."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689049101 {#4471
      date: 2023-07-11 06:18:21.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4480 …}
    +votes: Doctrine\ORM\PersistentCollection {#4476 …}
    +reports: Doctrine\ORM\PersistentCollection {#4482 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4486 …}
    -id: 10311
    -bodyTs: "'caus':6 'fine':3 'problem':8 'won':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882659"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689049101 {#4468
      date: 2023-07-11 06:18:21.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "Will do."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1689052745 {#4541
    date: 2023-07-11 07:19:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
    "@nothacking@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4545 …}
  +nested: Doctrine\ORM\PersistentCollection {#4550 …}
  +votes: Doctrine\ORM\PersistentCollection {#4546 …}
  +reports: Doctrine\ORM\PersistentCollection {#4552 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4554 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4556 …}
  -id: 10383
  -bodyTs: ""
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107461"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052745 {#4538
    date: 2023-07-11 07:19:05.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
20 DENIED moderate
App\Entity\EntryComment {#4542
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4472
    +user: App\Entity\User {#4191 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4410
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4061
        +user: App\Entity\User {#4009 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1689052763 {#4070
          date: 2023-07-11 07:19:23.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4059 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4055 …}
        +reports: Doctrine\ORM\PersistentCollection {#4053 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
        -id: 10156
        -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904004"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042237 {#4006
          date: 2023-07-11 04:23:57.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4061}
      +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1689042715 {#4411
        date: 2023-07-11 04:31:55.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@Ghoti@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4406 …}
      +nested: Doctrine\ORM\PersistentCollection {#4401 …}
      +votes: Doctrine\ORM\PersistentCollection {#4405 …}
      +reports: Doctrine\ORM\PersistentCollection {#4415 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
      -id: 10171
      -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103551"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042715 {#4414
        date: 2023-07-11 04:31:55.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "It’s fine, won’t cause any problems."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689049101 {#4471
      date: 2023-07-11 06:18:21.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4475 …}
    +nested: Doctrine\ORM\PersistentCollection {#4480 …}
    +votes: Doctrine\ORM\PersistentCollection {#4476 …}
    +reports: Doctrine\ORM\PersistentCollection {#4482 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4484 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4486 …}
    -id: 10311
    -bodyTs: "'caus':6 'fine':3 'problem':8 'won':4"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882659"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689049101 {#4468
      date: 2023-07-11 06:18:21.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "Will do."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1689052745 {#4541
    date: 2023-07-11 07:19:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
    "@nothacking@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4545 …}
  +nested: Doctrine\ORM\PersistentCollection {#4550 …}
  +votes: Doctrine\ORM\PersistentCollection {#4546 …}
  +reports: Doctrine\ORM\PersistentCollection {#4552 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4554 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4556 …}
  -id: 10383
  -bodyTs: ""
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107461"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052745 {#4538
    date: 2023-07-11 07:19:05.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
21 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
22 DENIED moderate
App\Entity\EntryComment {#4491
  +user: Proxies\__CG__\App\Entity\User {#4492 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4410
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4061
      +user: App\Entity\User {#4009 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689052763 {#4070
        date: 2023-07-11 07:19:23.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4059 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4055 …}
      +reports: Doctrine\ORM\PersistentCollection {#4053 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
      -id: 10156
      -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.fmhy.ml/comment/904004"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042237 {#4006
        date: 2023-07-11 04:23:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689042715 {#4411
      date: 2023-07-11 04:31:55.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4406 …}
    +nested: Doctrine\ORM\PersistentCollection {#4401 …}
    +votes: Doctrine\ORM\PersistentCollection {#4405 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -id: 10171
    -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1103551"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042715 {#4414
      date: 2023-07-11 04:31:55.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "Well, It does no harm to the rest. So I would keep it."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689049323 {#4488
    date: 2023-07-11 06:22:03.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4493 …}
  +nested: Doctrine\ORM\PersistentCollection {#4495 …}
  +votes: Doctrine\ORM\PersistentCollection {#4497 …}
  +reports: Doctrine\ORM\PersistentCollection {#4499 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4501 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4503 …}
  -id: 10314
  -bodyTs: "'harm':5 'keep':12 'rest':8 'well':1 'would':11"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/882765"
  +editedAt: DateTimeImmutable @1689049339 {#4489
    date: 2023-07-11 06:22:19.0 +02:00
  }
  +createdAt: DateTimeImmutable @1689049323 {#4490
    date: 2023-07-11 06:22:03.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
23 DENIED edit
App\Entity\EntryComment {#4491
  +user: Proxies\__CG__\App\Entity\User {#4492 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4410
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4061
      +user: App\Entity\User {#4009 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689052763 {#4070
        date: 2023-07-11 07:19:23.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4059 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4055 …}
      +reports: Doctrine\ORM\PersistentCollection {#4053 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
      -id: 10156
      -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.fmhy.ml/comment/904004"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042237 {#4006
        date: 2023-07-11 04:23:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689042715 {#4411
      date: 2023-07-11 04:31:55.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4406 …}
    +nested: Doctrine\ORM\PersistentCollection {#4401 …}
    +votes: Doctrine\ORM\PersistentCollection {#4405 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -id: 10171
    -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1103551"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042715 {#4414
      date: 2023-07-11 04:31:55.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "Well, It does no harm to the rest. So I would keep it."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689049323 {#4488
    date: 2023-07-11 06:22:03.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4493 …}
  +nested: Doctrine\ORM\PersistentCollection {#4495 …}
  +votes: Doctrine\ORM\PersistentCollection {#4497 …}
  +reports: Doctrine\ORM\PersistentCollection {#4499 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4501 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4503 …}
  -id: 10314
  -bodyTs: "'harm':5 'keep':12 'rest':8 'well':1 'would':11"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/882765"
  +editedAt: DateTimeImmutable @1689049339 {#4489
    date: 2023-07-11 06:22:19.0 +02:00
  }
  +createdAt: DateTimeImmutable @1689049323 {#4490
    date: 2023-07-11 06:22:03.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
24 DENIED moderate
App\Entity\EntryComment {#4491
  +user: Proxies\__CG__\App\Entity\User {#4492 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4410
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4061
      +user: App\Entity\User {#4009 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689052763 {#4070
        date: 2023-07-11 07:19:23.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4059 …}
      +nested: Doctrine\ORM\PersistentCollection {#4057 …}
      +votes: Doctrine\ORM\PersistentCollection {#4055 …}
      +reports: Doctrine\ORM\PersistentCollection {#4053 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
      -id: 10156
      -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.fmhy.ml/comment/904004"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042237 {#4006
        date: 2023-07-11 04:23:57.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689042715 {#4411
      date: 2023-07-11 04:31:55.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4406 …}
    +nested: Doctrine\ORM\PersistentCollection {#4401 …}
    +votes: Doctrine\ORM\PersistentCollection {#4405 …}
    +reports: Doctrine\ORM\PersistentCollection {#4415 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
    -id: 10171
    -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1103551"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042715 {#4414
      date: 2023-07-11 04:31:55.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "Well, It does no harm to the rest. So I would keep it."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689049323 {#4488
    date: 2023-07-11 06:22:03.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4493 …}
  +nested: Doctrine\ORM\PersistentCollection {#4495 …}
  +votes: Doctrine\ORM\PersistentCollection {#4497 …}
  +reports: Doctrine\ORM\PersistentCollection {#4499 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4501 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4503 …}
  -id: 10314
  -bodyTs: "'harm':5 'keep':12 'rest':8 'well':1 'would':11"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/882765"
  +editedAt: DateTimeImmutable @1689049339 {#4489
    date: 2023-07-11 06:22:19.0 +02:00
  }
  +createdAt: DateTimeImmutable @1689049323 {#4490
    date: 2023-07-11 06:22:03.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
25 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
26 DENIED moderate
App\Entity\EntryComment {#4560
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4491
    +user: Proxies\__CG__\App\Entity\User {#4492 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4410
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4061
        +user: App\Entity\User {#4009 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1689052763 {#4070
          date: 2023-07-11 07:19:23.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4059 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4055 …}
        +reports: Doctrine\ORM\PersistentCollection {#4053 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
        -id: 10156
        -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904004"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042237 {#4006
          date: 2023-07-11 04:23:57.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4061}
      +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1689042715 {#4411
        date: 2023-07-11 04:31:55.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@Ghoti@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4406 …}
      +nested: Doctrine\ORM\PersistentCollection {#4401 …}
      +votes: Doctrine\ORM\PersistentCollection {#4405 …}
      +reports: Doctrine\ORM\PersistentCollection {#4415 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
      -id: 10171
      -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103551"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042715 {#4414
        date: 2023-07-11 04:31:55.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "Well, It does no harm to the rest. So I would keep it."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689049323 {#4488
      date: 2023-07-11 06:22:03.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4493 …}
    +nested: Doctrine\ORM\PersistentCollection {#4495 …}
    +votes: Doctrine\ORM\PersistentCollection {#4497 …}
    +reports: Doctrine\ORM\PersistentCollection {#4499 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4501 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4503 …}
    -id: 10314
    -bodyTs: "'harm':5 'keep':12 'rest':8 'well':1 'would':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882765"
    +editedAt: DateTimeImmutable @1689049339 {#4489
      date: 2023-07-11 06:22:19.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689049323 {#4490
      date: 2023-07-11 06:22:03.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "👍"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689052762 {#4558
    date: 2023-07-11 07:19:22.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
    "@NextNoobi@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4561 …}
  +nested: Doctrine\ORM\PersistentCollection {#4563 …}
  +votes: Doctrine\ORM\PersistentCollection {#4565 …}
  +reports: Doctrine\ORM\PersistentCollection {#4567 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4569 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4571 …}
  -id: 10384
  -bodyTs: ""
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107470"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052762 {#4559
    date: 2023-07-11 07:19:22.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
27 DENIED edit
App\Entity\EntryComment {#4560
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4491
    +user: Proxies\__CG__\App\Entity\User {#4492 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4410
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4061
        +user: App\Entity\User {#4009 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1689052763 {#4070
          date: 2023-07-11 07:19:23.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4059 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4055 …}
        +reports: Doctrine\ORM\PersistentCollection {#4053 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
        -id: 10156
        -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904004"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042237 {#4006
          date: 2023-07-11 04:23:57.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4061}
      +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1689042715 {#4411
        date: 2023-07-11 04:31:55.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@Ghoti@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4406 …}
      +nested: Doctrine\ORM\PersistentCollection {#4401 …}
      +votes: Doctrine\ORM\PersistentCollection {#4405 …}
      +reports: Doctrine\ORM\PersistentCollection {#4415 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
      -id: 10171
      -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103551"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042715 {#4414
        date: 2023-07-11 04:31:55.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "Well, It does no harm to the rest. So I would keep it."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689049323 {#4488
      date: 2023-07-11 06:22:03.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4493 …}
    +nested: Doctrine\ORM\PersistentCollection {#4495 …}
    +votes: Doctrine\ORM\PersistentCollection {#4497 …}
    +reports: Doctrine\ORM\PersistentCollection {#4499 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4501 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4503 …}
    -id: 10314
    -bodyTs: "'harm':5 'keep':12 'rest':8 'well':1 'would':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882765"
    +editedAt: DateTimeImmutable @1689049339 {#4489
      date: 2023-07-11 06:22:19.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689049323 {#4490
      date: 2023-07-11 06:22:03.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "👍"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689052762 {#4558
    date: 2023-07-11 07:19:22.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
    "@NextNoobi@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4561 …}
  +nested: Doctrine\ORM\PersistentCollection {#4563 …}
  +votes: Doctrine\ORM\PersistentCollection {#4565 …}
  +reports: Doctrine\ORM\PersistentCollection {#4567 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4569 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4571 …}
  -id: 10384
  -bodyTs: ""
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107470"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052762 {#4559
    date: 2023-07-11 07:19:22.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
28 DENIED moderate
App\Entity\EntryComment {#4560
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4491
    +user: Proxies\__CG__\App\Entity\User {#4492 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4410
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4061
        +user: App\Entity\User {#4009 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "The diode is a fly back diode, it’s just circuit protection no need to worry about it."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 2
        +score: 0
        +lastActive: DateTime @1689052763 {#4070
          date: 2023-07-11 07:19:23.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4059 …}
        +nested: Doctrine\ORM\PersistentCollection {#4057 …}
        +votes: Doctrine\ORM\PersistentCollection {#4055 …}
        +reports: Doctrine\ORM\PersistentCollection {#4053 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4021 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4025 …}
        -id: 10156
        -bodyTs: "'back':6 'circuit':11 'diod':2,7 'fli':5 'need':14 'protect':12 'worri':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904004"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042237 {#4006
          date: 2023-07-11 04:23:57.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4061}
      +body: "Yah. I added it as the original didn’t have one. Think I should keep it?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1689042715 {#4411
        date: 2023-07-11 04:31:55.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@Ghoti@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4406 …}
      +nested: Doctrine\ORM\PersistentCollection {#4401 …}
      +votes: Doctrine\ORM\PersistentCollection {#4405 …}
      +reports: Doctrine\ORM\PersistentCollection {#4415 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4417 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4419 …}
      -id: 10171
      -bodyTs: "'ad':3 'didn':8 'keep':15 'one':11 'origin':7 'think':12 'yah':1"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103551"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042715 {#4414
        date: 2023-07-11 04:31:55.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4061}
    +body: "Well, It does no harm to the rest. So I would keep it."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689049323 {#4488
      date: 2023-07-11 06:22:03.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@Ghoti@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4493 …}
    +nested: Doctrine\ORM\PersistentCollection {#4495 …}
    +votes: Doctrine\ORM\PersistentCollection {#4497 …}
    +reports: Doctrine\ORM\PersistentCollection {#4499 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4501 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4503 …}
    -id: 10314
    -bodyTs: "'harm':5 'keep':12 'rest':8 'well':1 'would':11"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882765"
    +editedAt: DateTimeImmutable @1689049339 {#4489
      date: 2023-07-11 06:22:19.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689049323 {#4490
      date: 2023-07-11 06:22:03.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4061}
  +body: "👍"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689052762 {#4558
    date: 2023-07-11 07:19:22.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@Ghoti@lemmy.fmhy.ml"
    "@NextNoobi@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4561 …}
  +nested: Doctrine\ORM\PersistentCollection {#4563 …}
  +votes: Doctrine\ORM\PersistentCollection {#4565 …}
  +reports: Doctrine\ORM\PersistentCollection {#4567 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4569 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4571 …}
  -id: 10384
  -bodyTs: ""
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107470"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052762 {#4559
    date: 2023-07-11 07:19:22.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
29 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
30 DENIED moderate
App\Entity\EntryComment {#4093
  +user: App\Entity\User {#4082 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689089886 {#4099
    date: 2023-07-11 17:38:06.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4098 …}
  +nested: Doctrine\ORM\PersistentCollection {#4097 …}
  +votes: Doctrine\ORM\PersistentCollection {#4088 …}
  +reports: Doctrine\ORM\PersistentCollection {#4091 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
  -id: 10175
  -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.fmhy.ml/comment/904301"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689042943 {#4104
    date: 2023-07-11 04:35:43.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
31 DENIED edit
App\Entity\EntryComment {#4093
  +user: App\Entity\User {#4082 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689089886 {#4099
    date: 2023-07-11 17:38:06.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4098 …}
  +nested: Doctrine\ORM\PersistentCollection {#4097 …}
  +votes: Doctrine\ORM\PersistentCollection {#4088 …}
  +reports: Doctrine\ORM\PersistentCollection {#4091 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
  -id: 10175
  -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.fmhy.ml/comment/904301"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689042943 {#4104
    date: 2023-07-11 04:35:43.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
32 DENIED moderate
App\Entity\EntryComment {#4093
  +user: App\Entity\User {#4082 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689089886 {#4099
    date: 2023-07-11 17:38:06.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4098 …}
  +nested: Doctrine\ORM\PersistentCollection {#4097 …}
  +votes: Doctrine\ORM\PersistentCollection {#4088 …}
  +reports: Doctrine\ORM\PersistentCollection {#4091 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
  -id: 10175
  -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.fmhy.ml/comment/904301"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689042943 {#4104
    date: 2023-07-11 04:35:43.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
33 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
34 DENIED moderate
App\Entity\EntryComment {#4423
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4093
    +user: App\Entity\User {#4082 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689089886 {#4099
      date: 2023-07-11 17:38:06.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4098 …}
    +nested: Doctrine\ORM\PersistentCollection {#4097 …}
    +votes: Doctrine\ORM\PersistentCollection {#4088 …}
    +reports: Doctrine\ORM\PersistentCollection {#4091 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
    -id: 10175
    -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.fmhy.ml/comment/904301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042943 {#4104
      date: 2023-07-11 04:35:43.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689043149 {#4421
    date: 2023-07-11 04:39:09.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4424 …}
  +nested: Doctrine\ORM\PersistentCollection {#4426 …}
  +votes: Doctrine\ORM\PersistentCollection {#4428 …}
  +reports: Doctrine\ORM\PersistentCollection {#4430 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
  -id: 10180
  -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1103712"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689043149 {#4422
    date: 2023-07-11 04:39:09.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
35 DENIED edit
App\Entity\EntryComment {#4423
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4093
    +user: App\Entity\User {#4082 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689089886 {#4099
      date: 2023-07-11 17:38:06.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4098 …}
    +nested: Doctrine\ORM\PersistentCollection {#4097 …}
    +votes: Doctrine\ORM\PersistentCollection {#4088 …}
    +reports: Doctrine\ORM\PersistentCollection {#4091 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
    -id: 10175
    -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.fmhy.ml/comment/904301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042943 {#4104
      date: 2023-07-11 04:35:43.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689043149 {#4421
    date: 2023-07-11 04:39:09.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4424 …}
  +nested: Doctrine\ORM\PersistentCollection {#4426 …}
  +votes: Doctrine\ORM\PersistentCollection {#4428 …}
  +reports: Doctrine\ORM\PersistentCollection {#4430 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
  -id: 10180
  -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1103712"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689043149 {#4422
    date: 2023-07-11 04:39:09.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
36 DENIED moderate
App\Entity\EntryComment {#4423
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4093
    +user: App\Entity\User {#4082 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689089886 {#4099
      date: 2023-07-11 17:38:06.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4098 …}
    +nested: Doctrine\ORM\PersistentCollection {#4097 …}
    +votes: Doctrine\ORM\PersistentCollection {#4088 …}
    +reports: Doctrine\ORM\PersistentCollection {#4091 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
    -id: 10175
    -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.fmhy.ml/comment/904301"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689042943 {#4104
      date: 2023-07-11 04:35:43.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689043149 {#4421
    date: 2023-07-11 04:39:09.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4424 …}
  +nested: Doctrine\ORM\PersistentCollection {#4426 …}
  +votes: Doctrine\ORM\PersistentCollection {#4428 …}
  +reports: Doctrine\ORM\PersistentCollection {#4430 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
  -id: 10180
  -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1103712"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689043149 {#4422
    date: 2023-07-11 04:39:09.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
37 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
38 DENIED moderate
App\Entity\EntryComment {#4507
  +user: Proxies\__CG__\App\Entity\User {#4508 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4423
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4093
      +user: App\Entity\User {#4082 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1689089886 {#4099
        date: 2023-07-11 17:38:06.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4098 …}
      +nested: Doctrine\ORM\PersistentCollection {#4097 …}
      +votes: Doctrine\ORM\PersistentCollection {#4088 …}
      +reports: Doctrine\ORM\PersistentCollection {#4091 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
      -id: 10175
      -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.fmhy.ml/comment/904301"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042943 {#4104
        date: 2023-07-11 04:35:43.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4093}
    +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689043149 {#4421
      date: 2023-07-11 04:39:09.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@dalekcaan@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4424 …}
    +nested: Doctrine\ORM\PersistentCollection {#4426 …}
    +votes: Doctrine\ORM\PersistentCollection {#4428 …}
    +reports: Doctrine\ORM\PersistentCollection {#4430 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
    -id: 10180
    -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1103712"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689043149 {#4422
      date: 2023-07-11 04:39:09.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: "The point of the diode is to prevent reverse current that gets induced when a (brushed) motor is turned off. It essentially turns into a small generator while spinning down, and the diode essentially short circuits that. It prevents damage to the rest of the circuit. If that motor is brushless (with an integrated control board), you likely won’t need it but it doesn’t do any harm either."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689051152 {#4505
    date: 2023-07-11 06:52:32.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4509 …}
  +nested: Doctrine\ORM\PersistentCollection {#4511 …}
  +votes: Doctrine\ORM\PersistentCollection {#4513 …}
  +reports: Doctrine\ORM\PersistentCollection {#4515 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4517 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4519 …}
  -id: 10359
  -bodyTs: "'board':56 'brush':16 'brushless':51 'circuit':36,46 'control':55 'current':10 'damag':40 'diod':5,33 'doesn':65 'either':70 'essenti':22,34 'generat':27 'get':12 'harm':69 'induc':13 'integr':54 'like':58 'motor':17,49 'need':61 'point':2 'prevent':8,39 'rest':43 'revers':9 'short':35 'small':26 'spin':29 'turn':19,23 'won':59"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/883384"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689051152 {#4506
    date: 2023-07-11 06:52:32.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
39 DENIED edit
App\Entity\EntryComment {#4507
  +user: Proxies\__CG__\App\Entity\User {#4508 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4423
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4093
      +user: App\Entity\User {#4082 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1689089886 {#4099
        date: 2023-07-11 17:38:06.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4098 …}
      +nested: Doctrine\ORM\PersistentCollection {#4097 …}
      +votes: Doctrine\ORM\PersistentCollection {#4088 …}
      +reports: Doctrine\ORM\PersistentCollection {#4091 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
      -id: 10175
      -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.fmhy.ml/comment/904301"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042943 {#4104
        date: 2023-07-11 04:35:43.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4093}
    +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689043149 {#4421
      date: 2023-07-11 04:39:09.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@dalekcaan@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4424 …}
    +nested: Doctrine\ORM\PersistentCollection {#4426 …}
    +votes: Doctrine\ORM\PersistentCollection {#4428 …}
    +reports: Doctrine\ORM\PersistentCollection {#4430 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
    -id: 10180
    -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1103712"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689043149 {#4422
      date: 2023-07-11 04:39:09.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: "The point of the diode is to prevent reverse current that gets induced when a (brushed) motor is turned off. It essentially turns into a small generator while spinning down, and the diode essentially short circuits that. It prevents damage to the rest of the circuit. If that motor is brushless (with an integrated control board), you likely won’t need it but it doesn’t do any harm either."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689051152 {#4505
    date: 2023-07-11 06:52:32.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4509 …}
  +nested: Doctrine\ORM\PersistentCollection {#4511 …}
  +votes: Doctrine\ORM\PersistentCollection {#4513 …}
  +reports: Doctrine\ORM\PersistentCollection {#4515 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4517 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4519 …}
  -id: 10359
  -bodyTs: "'board':56 'brush':16 'brushless':51 'circuit':36,46 'control':55 'current':10 'damag':40 'diod':5,33 'doesn':65 'either':70 'essenti':22,34 'generat':27 'get':12 'harm':69 'induc':13 'integr':54 'like':58 'motor':17,49 'need':61 'point':2 'prevent':8,39 'rest':43 'revers':9 'short':35 'small':26 'spin':29 'turn':19,23 'won':59"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/883384"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689051152 {#4506
    date: 2023-07-11 06:52:32.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
40 DENIED moderate
App\Entity\EntryComment {#4507
  +user: Proxies\__CG__\App\Entity\User {#4508 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4423
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4093
      +user: App\Entity\User {#4082 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 1
      +score: 0
      +lastActive: DateTime @1689089886 {#4099
        date: 2023-07-11 17:38:06.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4098 …}
      +nested: Doctrine\ORM\PersistentCollection {#4097 …}
      +votes: Doctrine\ORM\PersistentCollection {#4088 …}
      +reports: Doctrine\ORM\PersistentCollection {#4091 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
      -id: 10175
      -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.fmhy.ml/comment/904301"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689042943 {#4104
        date: 2023-07-11 04:35:43.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4093}
    +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689043149 {#4421
      date: 2023-07-11 04:39:09.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@dalekcaan@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4424 …}
    +nested: Doctrine\ORM\PersistentCollection {#4426 …}
    +votes: Doctrine\ORM\PersistentCollection {#4428 …}
    +reports: Doctrine\ORM\PersistentCollection {#4430 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
    -id: 10180
    -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1103712"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689043149 {#4422
      date: 2023-07-11 04:39:09.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: "The point of the diode is to prevent reverse current that gets induced when a (brushed) motor is turned off. It essentially turns into a small generator while spinning down, and the diode essentially short circuits that. It prevents damage to the rest of the circuit. If that motor is brushless (with an integrated control board), you likely won’t need it but it doesn’t do any harm either."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689051152 {#4505
    date: 2023-07-11 06:52:32.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4509 …}
  +nested: Doctrine\ORM\PersistentCollection {#4511 …}
  +votes: Doctrine\ORM\PersistentCollection {#4513 …}
  +reports: Doctrine\ORM\PersistentCollection {#4515 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4517 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4519 …}
  -id: 10359
  -bodyTs: "'board':56 'brush':16 'brushless':51 'circuit':36,46 'control':55 'current':10 'damag':40 'diod':5,33 'doesn':65 'either':70 'essenti':22,34 'generat':27 'get':12 'harm':69 'induc':13 'integr':54 'like':58 'motor':17,49 'need':61 'point':2 'prevent':8,39 'rest':43 'revers':9 'short':35 'small':26 'spin':29 'turn':19,23 'won':59"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/883384"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689051152 {#4506
    date: 2023-07-11 06:52:32.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
41 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
42 DENIED moderate
App\Entity\EntryComment {#4575
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4507
    +user: Proxies\__CG__\App\Entity\User {#4508 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4093
        +user: App\Entity\User {#4082 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1689089886 {#4099
          date: 2023-07-11 17:38:06.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4098 …}
        +nested: Doctrine\ORM\PersistentCollection {#4097 …}
        +votes: Doctrine\ORM\PersistentCollection {#4088 …}
        +reports: Doctrine\ORM\PersistentCollection {#4091 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
        -id: 10175
        -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904301"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042943 {#4104
          date: 2023-07-11 04:35:43.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4093}
      +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689043149 {#4421
        date: 2023-07-11 04:39:09.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@dalekcaan@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4424 …}
      +nested: Doctrine\ORM\PersistentCollection {#4426 …}
      +votes: Doctrine\ORM\PersistentCollection {#4428 …}
      +reports: Doctrine\ORM\PersistentCollection {#4430 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
      -id: 10180
      -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103712"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689043149 {#4422
        date: 2023-07-11 04:39:09.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4093}
    +body: "The point of the diode is to prevent reverse current that gets induced when a (brushed) motor is turned off. It essentially turns into a small generator while spinning down, and the diode essentially short circuits that. It prevents damage to the rest of the circuit. If that motor is brushless (with an integrated control board), you likely won’t need it but it doesn’t do any harm either."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689051152 {#4505
      date: 2023-07-11 06:52:32.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@dalekcaan@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4509 …}
    +nested: Doctrine\ORM\PersistentCollection {#4511 …}
    +votes: Doctrine\ORM\PersistentCollection {#4513 …}
    +reports: Doctrine\ORM\PersistentCollection {#4515 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4517 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4519 …}
    -id: 10359
    -bodyTs: "'board':56 'brush':16 'brushless':51 'circuit':36,46 'control':55 'current':10 'damag':40 'diod':5,33 'doesn':65 'either':70 'essenti':22,34 'generat':27 'get':12 'harm':69 'induc':13 'integr':54 'like':58 'motor':17,49 'need':61 'point':2 'prevent':8,39 'rest':43 'revers':9 'short':35 'small':26 'spin':29 'turn':19,23 'won':59"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/883384"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689051152 {#4506
      date: 2023-07-11 06:52:32.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: """
    That’s what I figured as well, there’s some sort of board under the top of the housing. I’m going to leave the diode in.\n
    \n
    I appreciate the advice!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689052881 {#4573
    date: 2023-07-11 07:21:21.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
    "@Creat@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4576 …}
  +nested: Doctrine\ORM\PersistentCollection {#4578 …}
  +votes: Doctrine\ORM\PersistentCollection {#4580 …}
  +reports: Doctrine\ORM\PersistentCollection {#4582 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4584 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4586 …}
  -id: 10387
  -bodyTs: "'advic':31 'appreci':29 'board':13 'diod':26 'figur':5 'go':22 'hous':19 'leav':24 'm':21 'sort':11 'top':16 'well':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107506"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052881 {#4574
    date: 2023-07-11 07:21:21.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
43 DENIED edit
App\Entity\EntryComment {#4575
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4507
    +user: Proxies\__CG__\App\Entity\User {#4508 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4093
        +user: App\Entity\User {#4082 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1689089886 {#4099
          date: 2023-07-11 17:38:06.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4098 …}
        +nested: Doctrine\ORM\PersistentCollection {#4097 …}
        +votes: Doctrine\ORM\PersistentCollection {#4088 …}
        +reports: Doctrine\ORM\PersistentCollection {#4091 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
        -id: 10175
        -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904301"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042943 {#4104
          date: 2023-07-11 04:35:43.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4093}
      +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689043149 {#4421
        date: 2023-07-11 04:39:09.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@dalekcaan@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4424 …}
      +nested: Doctrine\ORM\PersistentCollection {#4426 …}
      +votes: Doctrine\ORM\PersistentCollection {#4428 …}
      +reports: Doctrine\ORM\PersistentCollection {#4430 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
      -id: 10180
      -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103712"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689043149 {#4422
        date: 2023-07-11 04:39:09.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4093}
    +body: "The point of the diode is to prevent reverse current that gets induced when a (brushed) motor is turned off. It essentially turns into a small generator while spinning down, and the diode essentially short circuits that. It prevents damage to the rest of the circuit. If that motor is brushless (with an integrated control board), you likely won’t need it but it doesn’t do any harm either."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689051152 {#4505
      date: 2023-07-11 06:52:32.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@dalekcaan@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4509 …}
    +nested: Doctrine\ORM\PersistentCollection {#4511 …}
    +votes: Doctrine\ORM\PersistentCollection {#4513 …}
    +reports: Doctrine\ORM\PersistentCollection {#4515 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4517 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4519 …}
    -id: 10359
    -bodyTs: "'board':56 'brush':16 'brushless':51 'circuit':36,46 'control':55 'current':10 'damag':40 'diod':5,33 'doesn':65 'either':70 'essenti':22,34 'generat':27 'get':12 'harm':69 'induc':13 'integr':54 'like':58 'motor':17,49 'need':61 'point':2 'prevent':8,39 'rest':43 'revers':9 'short':35 'small':26 'spin':29 'turn':19,23 'won':59"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/883384"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689051152 {#4506
      date: 2023-07-11 06:52:32.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: """
    That’s what I figured as well, there’s some sort of board under the top of the housing. I’m going to leave the diode in.\n
    \n
    I appreciate the advice!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689052881 {#4573
    date: 2023-07-11 07:21:21.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
    "@Creat@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4576 …}
  +nested: Doctrine\ORM\PersistentCollection {#4578 …}
  +votes: Doctrine\ORM\PersistentCollection {#4580 …}
  +reports: Doctrine\ORM\PersistentCollection {#4582 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4584 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4586 …}
  -id: 10387
  -bodyTs: "'advic':31 'appreci':29 'board':13 'diod':26 'figur':5 'go':22 'hous':19 'leav':24 'm':21 'sort':11 'top':16 'well':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107506"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052881 {#4574
    date: 2023-07-11 07:21:21.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
44 DENIED moderate
App\Entity\EntryComment {#4575
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4507
    +user: Proxies\__CG__\App\Entity\User {#4508 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4093
        +user: App\Entity\User {#4082 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1689089886 {#4099
          date: 2023-07-11 17:38:06.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4098 …}
        +nested: Doctrine\ORM\PersistentCollection {#4097 …}
        +votes: Doctrine\ORM\PersistentCollection {#4088 …}
        +reports: Doctrine\ORM\PersistentCollection {#4091 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
        -id: 10175
        -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904301"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042943 {#4104
          date: 2023-07-11 04:35:43.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4093}
      +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689043149 {#4421
        date: 2023-07-11 04:39:09.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@dalekcaan@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4424 …}
      +nested: Doctrine\ORM\PersistentCollection {#4426 …}
      +votes: Doctrine\ORM\PersistentCollection {#4428 …}
      +reports: Doctrine\ORM\PersistentCollection {#4430 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
      -id: 10180
      -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103712"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689043149 {#4422
        date: 2023-07-11 04:39:09.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4093}
    +body: "The point of the diode is to prevent reverse current that gets induced when a (brushed) motor is turned off. It essentially turns into a small generator while spinning down, and the diode essentially short circuits that. It prevents damage to the rest of the circuit. If that motor is brushless (with an integrated control board), you likely won’t need it but it doesn’t do any harm either."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689051152 {#4505
      date: 2023-07-11 06:52:32.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@dalekcaan@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4509 …}
    +nested: Doctrine\ORM\PersistentCollection {#4511 …}
    +votes: Doctrine\ORM\PersistentCollection {#4513 …}
    +reports: Doctrine\ORM\PersistentCollection {#4515 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4517 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4519 …}
    -id: 10359
    -bodyTs: "'board':56 'brush':16 'brushless':51 'circuit':36,46 'control':55 'current':10 'damag':40 'diod':5,33 'doesn':65 'either':70 'essenti':22,34 'generat':27 'get':12 'harm':69 'induc':13 'integr':54 'like':58 'motor':17,49 'need':61 'point':2 'prevent':8,39 'rest':43 'revers':9 'short':35 'small':26 'spin':29 'turn':19,23 'won':59"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/883384"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689051152 {#4506
      date: 2023-07-11 06:52:32.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: """
    That’s what I figured as well, there’s some sort of board under the top of the housing. I’m going to leave the diode in.\n
    \n
    I appreciate the advice!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689052881 {#4573
    date: 2023-07-11 07:21:21.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
    "@Creat@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4576 …}
  +nested: Doctrine\ORM\PersistentCollection {#4578 …}
  +votes: Doctrine\ORM\PersistentCollection {#4580 …}
  +reports: Doctrine\ORM\PersistentCollection {#4582 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4584 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4586 …}
  -id: 10387
  -bodyTs: "'advic':31 'appreci':29 'board':13 'diod':26 'figur':5 'go':22 'hous':19 'leav':24 'm':21 'sort':11 'top':16 'well':7"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107506"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052881 {#4574
    date: 2023-07-11 07:21:21.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
45 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
46 DENIED moderate
App\Entity\EntryComment {#4590
  +user: App\Entity\User {#4338 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4507
    +user: Proxies\__CG__\App\Entity\User {#4508 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4093
        +user: App\Entity\User {#4082 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1689089886 {#4099
          date: 2023-07-11 17:38:06.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4098 …}
        +nested: Doctrine\ORM\PersistentCollection {#4097 …}
        +votes: Doctrine\ORM\PersistentCollection {#4088 …}
        +reports: Doctrine\ORM\PersistentCollection {#4091 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
        -id: 10175
        -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904301"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042943 {#4104
          date: 2023-07-11 04:35:43.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4093}
      +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689043149 {#4421
        date: 2023-07-11 04:39:09.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@dalekcaan@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4424 …}
      +nested: Doctrine\ORM\PersistentCollection {#4426 …}
      +votes: Doctrine\ORM\PersistentCollection {#4428 …}
      +reports: Doctrine\ORM\PersistentCollection {#4430 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
      -id: 10180
      -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103712"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689043149 {#4422
        date: 2023-07-11 04:39:09.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4093}
    +body: "The point of the diode is to prevent reverse current that gets induced when a (brushed) motor is turned off. It essentially turns into a small generator while spinning down, and the diode essentially short circuits that. It prevents damage to the rest of the circuit. If that motor is brushless (with an integrated control board), you likely won’t need it but it doesn’t do any harm either."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689051152 {#4505
      date: 2023-07-11 06:52:32.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@dalekcaan@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4509 …}
    +nested: Doctrine\ORM\PersistentCollection {#4511 …}
    +votes: Doctrine\ORM\PersistentCollection {#4513 …}
    +reports: Doctrine\ORM\PersistentCollection {#4515 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4517 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4519 …}
    -id: 10359
    -bodyTs: "'board':56 'brush':16 'brushless':51 'circuit':36,46 'control':55 'current':10 'damag':40 'diod':5,33 'doesn':65 'either':70 'essenti':22,34 'generat':27 'get':12 'harm':69 'induc':13 'integr':54 'like':58 'motor':17,49 'need':61 'point':2 'prevent':8,39 'rest':43 'revers':9 'short':35 'small':26 'spin':29 'turn':19,23 'won':59"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/883384"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689051152 {#4506
      date: 2023-07-11 06:52:32.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: """
    > It essentially turns into a small generator while spinning down\n
    \n
    Kind of like an inductor?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689089885 {#4588
    date: 2023-07-11 17:38:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
    "@Creat@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4591 …}
  +nested: Doctrine\ORM\PersistentCollection {#4593 …}
  +votes: Doctrine\ORM\PersistentCollection {#4595 …}
  +reports: Doctrine\ORM\PersistentCollection {#4597 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4599 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4601 …}
  -id: 11373
  -bodyTs: "'essenti':2 'generat':7 'inductor':15 'kind':11 'like':13 'small':6 'spin':9 'turn':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/1459442"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689089885 {#4589
    date: 2023-07-11 17:38:05.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
47 DENIED edit
App\Entity\EntryComment {#4590
  +user: App\Entity\User {#4338 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4507
    +user: Proxies\__CG__\App\Entity\User {#4508 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4093
        +user: App\Entity\User {#4082 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1689089886 {#4099
          date: 2023-07-11 17:38:06.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4098 …}
        +nested: Doctrine\ORM\PersistentCollection {#4097 …}
        +votes: Doctrine\ORM\PersistentCollection {#4088 …}
        +reports: Doctrine\ORM\PersistentCollection {#4091 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
        -id: 10175
        -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904301"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042943 {#4104
          date: 2023-07-11 04:35:43.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4093}
      +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689043149 {#4421
        date: 2023-07-11 04:39:09.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@dalekcaan@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4424 …}
      +nested: Doctrine\ORM\PersistentCollection {#4426 …}
      +votes: Doctrine\ORM\PersistentCollection {#4428 …}
      +reports: Doctrine\ORM\PersistentCollection {#4430 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
      -id: 10180
      -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103712"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689043149 {#4422
        date: 2023-07-11 04:39:09.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4093}
    +body: "The point of the diode is to prevent reverse current that gets induced when a (brushed) motor is turned off. It essentially turns into a small generator while spinning down, and the diode essentially short circuits that. It prevents damage to the rest of the circuit. If that motor is brushless (with an integrated control board), you likely won’t need it but it doesn’t do any harm either."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689051152 {#4505
      date: 2023-07-11 06:52:32.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@dalekcaan@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4509 …}
    +nested: Doctrine\ORM\PersistentCollection {#4511 …}
    +votes: Doctrine\ORM\PersistentCollection {#4513 …}
    +reports: Doctrine\ORM\PersistentCollection {#4515 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4517 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4519 …}
    -id: 10359
    -bodyTs: "'board':56 'brush':16 'brushless':51 'circuit':36,46 'control':55 'current':10 'damag':40 'diod':5,33 'doesn':65 'either':70 'essenti':22,34 'generat':27 'get':12 'harm':69 'induc':13 'integr':54 'like':58 'motor':17,49 'need':61 'point':2 'prevent':8,39 'rest':43 'revers':9 'short':35 'small':26 'spin':29 'turn':19,23 'won':59"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/883384"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689051152 {#4506
      date: 2023-07-11 06:52:32.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: """
    > It essentially turns into a small generator while spinning down\n
    \n
    Kind of like an inductor?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689089885 {#4588
    date: 2023-07-11 17:38:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
    "@Creat@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4591 …}
  +nested: Doctrine\ORM\PersistentCollection {#4593 …}
  +votes: Doctrine\ORM\PersistentCollection {#4595 …}
  +reports: Doctrine\ORM\PersistentCollection {#4597 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4599 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4601 …}
  -id: 11373
  -bodyTs: "'essenti':2 'generat':7 'inductor':15 'kind':11 'like':13 'small':6 'spin':9 'turn':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/1459442"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689089885 {#4589
    date: 2023-07-11 17:38:05.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
48 DENIED moderate
App\Entity\EntryComment {#4590
  +user: App\Entity\User {#4338 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4507
    +user: Proxies\__CG__\App\Entity\User {#4508 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4423
      +user: Proxies\__CG__\App\Entity\User {#1970 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: App\Entity\EntryComment {#4093
        +user: App\Entity\User {#4082 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#266}
        +image: null
        +parent: null
        +root: null
        +body: "I’m no expert by any means and correct me if I’m wrong, but don’t you need a control board to drive brushless DC motors?"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 1
        +score: 0
        +lastActive: DateTime @1689089886 {#4099
          date: 2023-07-11 17:38:06.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@Machinist@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4098 …}
        +nested: Doctrine\ORM\PersistentCollection {#4097 …}
        +votes: Doctrine\ORM\PersistentCollection {#4088 …}
        +reports: Doctrine\ORM\PersistentCollection {#4091 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4086 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4084 …}
        -id: 10175
        -bodyTs: "'board':22 'brushless':25 'control':21 'correct':9 'dc':26 'drive':24 'expert':4 'm':2,13 'mean':7 'motor':27 'need':19 'wrong':14"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.fmhy.ml/comment/904301"
        +editedAt: null
        +createdAt: DateTimeImmutable @1689042943 {#4104
          date: 2023-07-11 04:35:43.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4093}
      +body: "The board is built into the motor and should also add flyback protection, that’s why I’m not sure if I need the diode. Give it juice and it spins."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689043149 {#4421
        date: 2023-07-11 04:39:09.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
        "@dalekcaan@lemmy.fmhy.ml"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4424 …}
      +nested: Doctrine\ORM\PersistentCollection {#4426 …}
      +votes: Doctrine\ORM\PersistentCollection {#4428 …}
      +reports: Doctrine\ORM\PersistentCollection {#4430 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4432 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4434 …}
      -id: 10180
      -bodyTs: "'add':11 'also':10 'board':2 'built':4 'diod':25 'flyback':12 'give':26 'juic':28 'm':18 'motor':7 'need':23 'protect':13 'spin':31 'sure':20"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/1103712"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689043149 {#4422
        date: 2023-07-11 04:39:09.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4093}
    +body: "The point of the diode is to prevent reverse current that gets induced when a (brushed) motor is turned off. It essentially turns into a small generator while spinning down, and the diode essentially short circuits that. It prevents damage to the rest of the circuit. If that motor is brushless (with an integrated control board), you likely won’t need it but it doesn’t do any harm either."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 1
    +score: 0
    +lastActive: DateTime @1689051152 {#4505
      date: 2023-07-11 06:52:32.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@dalekcaan@lemmy.fmhy.ml"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4509 …}
    +nested: Doctrine\ORM\PersistentCollection {#4511 …}
    +votes: Doctrine\ORM\PersistentCollection {#4513 …}
    +reports: Doctrine\ORM\PersistentCollection {#4515 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4517 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4519 …}
    -id: 10359
    -bodyTs: "'board':56 'brush':16 'brushless':51 'circuit':36,46 'control':55 'current':10 'damag':40 'diod':5,33 'doesn':65 'either':70 'essenti':22,34 'generat':27 'get':12 'harm':69 'induc':13 'integr':54 'like':58 'motor':17,49 'need':61 'point':2 'prevent':8,39 'rest':43 'revers':9 'short':35 'small':26 'spin':29 'turn':19,23 'won':59"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/883384"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689051152 {#4506
      date: 2023-07-11 06:52:32.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4093}
  +body: """
    > It essentially turns into a small generator while spinning down\n
    \n
    Kind of like an inductor?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689089885 {#4588
    date: 2023-07-11 17:38:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@dalekcaan@lemmy.fmhy.ml"
    "@Creat@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4591 …}
  +nested: Doctrine\ORM\PersistentCollection {#4593 …}
  +votes: Doctrine\ORM\PersistentCollection {#4595 …}
  +reports: Doctrine\ORM\PersistentCollection {#4597 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4599 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4601 …}
  -id: 11373
  -bodyTs: "'essenti':2 'generat':7 'inductor':15 'kind':11 'like':13 'small':6 'spin':9 'turn':3"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/1459442"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689089885 {#4589
    date: 2023-07-11 17:38:05.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
49 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
50 DENIED moderate
App\Entity\EntryComment {#4178
  +user: App\Entity\User {#4191 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689109142 {#4173
    date: 2023-07-11 22:59:02.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4179 …}
  +nested: Doctrine\ORM\PersistentCollection {#4181 …}
  +votes: Doctrine\ORM\PersistentCollection {#4183 …}
  +reports: Doctrine\ORM\PersistentCollection {#4185 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
  -id: 10316
  -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/882790"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689049410 {#4174
    date: 2023-07-11 06:23:30.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
51 DENIED edit
App\Entity\EntryComment {#4178
  +user: App\Entity\User {#4191 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689109142 {#4173
    date: 2023-07-11 22:59:02.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4179 …}
  +nested: Doctrine\ORM\PersistentCollection {#4181 …}
  +votes: Doctrine\ORM\PersistentCollection {#4183 …}
  +reports: Doctrine\ORM\PersistentCollection {#4185 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
  -id: 10316
  -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/882790"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689049410 {#4174
    date: 2023-07-11 06:23:30.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
52 DENIED moderate
App\Entity\EntryComment {#4178
  +user: App\Entity\User {#4191 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689109142 {#4173
    date: 2023-07-11 22:59:02.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4179 …}
  +nested: Doctrine\ORM\PersistentCollection {#4181 …}
  +votes: Doctrine\ORM\PersistentCollection {#4183 …}
  +reports: Doctrine\ORM\PersistentCollection {#4185 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
  -id: 10316
  -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/882790"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689049410 {#4174
    date: 2023-07-11 06:23:30.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
53 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
54 DENIED moderate
App\Entity\EntryComment {#4438
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4178
    +user: App\Entity\User {#4191 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689109142 {#4173
      date: 2023-07-11 22:59:02.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4179 …}
    +nested: Doctrine\ORM\PersistentCollection {#4181 …}
    +votes: Doctrine\ORM\PersistentCollection {#4183 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 10316
    -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882790"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689049410 {#4174
      date: 2023-07-11 06:23:30.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4178}
  +body: """
    Awesome. That agrees with what I calculated as well. I’m a jack when it comes to electronics.\n
    \n
    Thank you much for the help!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1689052652 {#4436
    date: 2023-07-11 07:17:32.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@nothacking@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4439 …}
  +nested: Doctrine\ORM\PersistentCollection {#4441 …}
  +votes: Doctrine\ORM\PersistentCollection {#4443 …}
  +reports: Doctrine\ORM\PersistentCollection {#4445 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4447 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4449 …}
  -id: 10381
  -bodyTs: "'agre':3 'awesom':1 'calcul':7 'come':16 'electron':18 'help':24 'jack':13 'm':11 'much':21 'thank':19 'well':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107413"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052652 {#4437
    date: 2023-07-11 07:17:32.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
55 DENIED edit
App\Entity\EntryComment {#4438
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4178
    +user: App\Entity\User {#4191 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689109142 {#4173
      date: 2023-07-11 22:59:02.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4179 …}
    +nested: Doctrine\ORM\PersistentCollection {#4181 …}
    +votes: Doctrine\ORM\PersistentCollection {#4183 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 10316
    -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882790"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689049410 {#4174
      date: 2023-07-11 06:23:30.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4178}
  +body: """
    Awesome. That agrees with what I calculated as well. I’m a jack when it comes to electronics.\n
    \n
    Thank you much for the help!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1689052652 {#4436
    date: 2023-07-11 07:17:32.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@nothacking@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4439 …}
  +nested: Doctrine\ORM\PersistentCollection {#4441 …}
  +votes: Doctrine\ORM\PersistentCollection {#4443 …}
  +reports: Doctrine\ORM\PersistentCollection {#4445 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4447 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4449 …}
  -id: 10381
  -bodyTs: "'agre':3 'awesom':1 'calcul':7 'come':16 'electron':18 'help':24 'jack':13 'm':11 'much':21 'thank':19 'well':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107413"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052652 {#4437
    date: 2023-07-11 07:17:32.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
56 DENIED moderate
App\Entity\EntryComment {#4438
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4178
    +user: App\Entity\User {#4191 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689109142 {#4173
      date: 2023-07-11 22:59:02.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4179 …}
    +nested: Doctrine\ORM\PersistentCollection {#4181 …}
    +votes: Doctrine\ORM\PersistentCollection {#4183 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 10316
    -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882790"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689049410 {#4174
      date: 2023-07-11 06:23:30.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4178}
  +body: """
    Awesome. That agrees with what I calculated as well. I’m a jack when it comes to electronics.\n
    \n
    Thank you much for the help!
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1689052652 {#4436
    date: 2023-07-11 07:17:32.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@nothacking@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4439 …}
  +nested: Doctrine\ORM\PersistentCollection {#4441 …}
  +votes: Doctrine\ORM\PersistentCollection {#4443 …}
  +reports: Doctrine\ORM\PersistentCollection {#4445 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4447 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4449 …}
  -id: 10381
  -bodyTs: "'agre':3 'awesom':1 'calcul':7 'come':16 'electron':18 'help':24 'jack':13 'm':11 'much':21 'thank':19 'well':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1107413"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689052652 {#4437
    date: 2023-07-11 07:17:32.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
57 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
58 DENIED moderate
App\Entity\EntryComment {#4453
  +user: App\Entity\User {#4338 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4178
    +user: App\Entity\User {#4191 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689109142 {#4173
      date: 2023-07-11 22:59:02.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4179 …}
    +nested: Doctrine\ORM\PersistentCollection {#4181 …}
    +votes: Doctrine\ORM\PersistentCollection {#4183 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 10316
    -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882790"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689049410 {#4174
      date: 2023-07-11 06:23:30.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4178}
  +body: "The transistor is a 2N4401. From the datasheet, V~BE(sat,max)~ = 1.2 V and h~FE(min)~ = 20, so it could drive ~60 mA in the worst case"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689089809 {#4451
    date: 2023-07-11 17:36:49.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@nothacking@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4454 …}
  +nested: Doctrine\ORM\PersistentCollection {#4456 …}
  +votes: Doctrine\ORM\PersistentCollection {#4458 …}
  +reports: Doctrine\ORM\PersistentCollection {#4460 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4462 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4464 …}
  -id: 11370
  -bodyTs: "'1.2':13 '20':19 '2n4401':5 '60':24 'case':29 'could':22 'datasheet':8 'drive':23 'h':16 'ma':25 'max':12 'min':18 'sat':11 'transistor':2 'v':9,14 'worst':28 '~be':10 '~fe':17"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/1459401"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689089809 {#4452
    date: 2023-07-11 17:36:49.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
59 DENIED edit
App\Entity\EntryComment {#4453
  +user: App\Entity\User {#4338 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4178
    +user: App\Entity\User {#4191 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689109142 {#4173
      date: 2023-07-11 22:59:02.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4179 …}
    +nested: Doctrine\ORM\PersistentCollection {#4181 …}
    +votes: Doctrine\ORM\PersistentCollection {#4183 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 10316
    -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882790"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689049410 {#4174
      date: 2023-07-11 06:23:30.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4178}
  +body: "The transistor is a 2N4401. From the datasheet, V~BE(sat,max)~ = 1.2 V and h~FE(min)~ = 20, so it could drive ~60 mA in the worst case"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689089809 {#4451
    date: 2023-07-11 17:36:49.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@nothacking@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4454 …}
  +nested: Doctrine\ORM\PersistentCollection {#4456 …}
  +votes: Doctrine\ORM\PersistentCollection {#4458 …}
  +reports: Doctrine\ORM\PersistentCollection {#4460 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4462 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4464 …}
  -id: 11370
  -bodyTs: "'1.2':13 '20':19 '2n4401':5 '60':24 'case':29 'could':22 'datasheet':8 'drive':23 'h':16 'ma':25 'max':12 'min':18 'sat':11 'transistor':2 'v':9,14 'worst':28 '~be':10 '~fe':17"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/1459401"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689089809 {#4452
    date: 2023-07-11 17:36:49.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
60 DENIED moderate
App\Entity\EntryComment {#4453
  +user: App\Entity\User {#4338 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4178
    +user: App\Entity\User {#4191 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: null
    +root: null
    +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689109142 {#4173
      date: 2023-07-11 22:59:02.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4179 …}
    +nested: Doctrine\ORM\PersistentCollection {#4181 …}
    +votes: Doctrine\ORM\PersistentCollection {#4183 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 10316
    -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/comment/882790"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689049410 {#4174
      date: 2023-07-11 06:23:30.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4178}
  +body: "The transistor is a 2N4401. From the datasheet, V~BE(sat,max)~ = 1.2 V and h~FE(min)~ = 20, so it could drive ~60 mA in the worst case"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689089809 {#4451
    date: 2023-07-11 17:36:49.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@nothacking@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4454 …}
  +nested: Doctrine\ORM\PersistentCollection {#4456 …}
  +votes: Doctrine\ORM\PersistentCollection {#4458 …}
  +reports: Doctrine\ORM\PersistentCollection {#4460 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4462 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4464 …}
  -id: 11370
  -bodyTs: "'1.2':13 '20':19 '2n4401':5 '60':24 'case':29 'could':22 'datasheet':8 'drive':23 'h':16 'ma':25 'max':12 'min':18 'sat':11 'transistor':2 'v':9,14 'worst':28 '~be':10 '~fe':17"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/1459401"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689089809 {#4452
    date: 2023-07-11 17:36:49.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
61 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
62 DENIED moderate
App\Entity\EntryComment {#4523
  +user: App\Entity\User {#4191 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4453
    +user: App\Entity\User {#4338 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4178
      +user: App\Entity\User {#4191 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689109142 {#4173
        date: 2023-07-11 22:59:02.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4179 …}
      +nested: Doctrine\ORM\PersistentCollection {#4181 …}
      +votes: Doctrine\ORM\PersistentCollection {#4183 …}
      +reports: Doctrine\ORM\PersistentCollection {#4185 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 10316
      -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/882790"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689049410 {#4174
        date: 2023-07-11 06:23:30.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4178}
    +body: "The transistor is a 2N4401. From the datasheet, V~BE(sat,max)~ = 1.2 V and h~FE(min)~ = 20, so it could drive ~60 mA in the worst case"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689089809 {#4451
      date: 2023-07-11 17:36:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@nothacking@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4454 …}
    +nested: Doctrine\ORM\PersistentCollection {#4456 …}
    +votes: Doctrine\ORM\PersistentCollection {#4458 …}
    +reports: Doctrine\ORM\PersistentCollection {#4460 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4462 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4464 …}
    -id: 11370
    -bodyTs: "'1.2':13 '20':19 '2n4401':5 '60':24 'case':29 'could':22 'datasheet':8 'drive':23 'h':16 'ma':25 'max':12 'min':18 'sat':11 'transistor':2 'v':9,14 'worst':28 '~be':10 '~fe':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/1459401"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689089809 {#4452
      date: 2023-07-11 17:36:49.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4178}
  +body: "Thanks for checking the datasheet!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689109140 {#4521
    date: 2023-07-11 22:59:00.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@nothacking@discuss.tchncs.de"
    "@glibg10b@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4524 …}
  +nested: Doctrine\ORM\PersistentCollection {#4526 …}
  +votes: Doctrine\ORM\PersistentCollection {#4528 …}
  +reports: Doctrine\ORM\PersistentCollection {#4530 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4532 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4534 …}
  -id: 11922
  -bodyTs: "'check':3 'datasheet':5 'thank':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/910515"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689109140 {#4522
    date: 2023-07-11 22:59:00.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
63 DENIED edit
App\Entity\EntryComment {#4523
  +user: App\Entity\User {#4191 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4453
    +user: App\Entity\User {#4338 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4178
      +user: App\Entity\User {#4191 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689109142 {#4173
        date: 2023-07-11 22:59:02.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4179 …}
      +nested: Doctrine\ORM\PersistentCollection {#4181 …}
      +votes: Doctrine\ORM\PersistentCollection {#4183 …}
      +reports: Doctrine\ORM\PersistentCollection {#4185 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 10316
      -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/882790"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689049410 {#4174
        date: 2023-07-11 06:23:30.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4178}
    +body: "The transistor is a 2N4401. From the datasheet, V~BE(sat,max)~ = 1.2 V and h~FE(min)~ = 20, so it could drive ~60 mA in the worst case"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689089809 {#4451
      date: 2023-07-11 17:36:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@nothacking@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4454 …}
    +nested: Doctrine\ORM\PersistentCollection {#4456 …}
    +votes: Doctrine\ORM\PersistentCollection {#4458 …}
    +reports: Doctrine\ORM\PersistentCollection {#4460 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4462 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4464 …}
    -id: 11370
    -bodyTs: "'1.2':13 '20':19 '2n4401':5 '60':24 'case':29 'could':22 'datasheet':8 'drive':23 'h':16 'ma':25 'max':12 'min':18 'sat':11 'transistor':2 'v':9,14 'worst':28 '~be':10 '~fe':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/1459401"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689089809 {#4452
      date: 2023-07-11 17:36:49.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4178}
  +body: "Thanks for checking the datasheet!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689109140 {#4521
    date: 2023-07-11 22:59:00.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@nothacking@discuss.tchncs.de"
    "@glibg10b@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4524 …}
  +nested: Doctrine\ORM\PersistentCollection {#4526 …}
  +votes: Doctrine\ORM\PersistentCollection {#4528 …}
  +reports: Doctrine\ORM\PersistentCollection {#4530 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4532 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4534 …}
  -id: 11922
  -bodyTs: "'check':3 'datasheet':5 'thank':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/910515"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689109140 {#4522
    date: 2023-07-11 22:59:00.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
64 DENIED moderate
App\Entity\EntryComment {#4523
  +user: App\Entity\User {#4191 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: App\Entity\EntryComment {#4453
    +user: App\Entity\User {#4338 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#266}
    +image: null
    +parent: App\Entity\EntryComment {#4178
      +user: App\Entity\User {#4191 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#266}
      +image: null
      +parent: null
      +root: null
      +body: "Doing some quick math, the transistor will have a base current of 5 milliamps, which a Pi should be able to supply. At a fairly typical beta of 100, the transistor could drive the fan at up to .5 amps, which is plenty for a small fan. A MOSFET transistor is generally better suited for switching high current loads, but for this a BJT (as drawn) should be fine."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 2
      +score: 0
      +lastActive: DateTime @1689109142 {#4173
        date: 2023-07-11 22:59:02.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@Machinist@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4179 …}
      +nested: Doctrine\ORM\PersistentCollection {#4181 …}
      +votes: Doctrine\ORM\PersistentCollection {#4183 …}
      +reports: Doctrine\ORM\PersistentCollection {#4185 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 10316
      -bodyTs: "'100':29 '5':13,39 'abl':20 'amp':40 'base':10 'beta':27 'better':53 'bjt':64 'could':32 'current':11,58 'drawn':66 'drive':33 'fair':25 'fan':35,47 'fine':69 'general':52 'high':57 'load':59 'math':4 'milliamp':14 'mosfet':49 'pi':17 'plenti':43 'quick':3 'small':46 'suit':54 'suppli':22 'switch':56 'transistor':6,31,50 'typic':26"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://discuss.tchncs.de/comment/882790"
      +editedAt: null
      +createdAt: DateTimeImmutable @1689049410 {#4174
        date: 2023-07-11 06:23:30.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4178}
    +body: "The transistor is a 2N4401. From the datasheet, V~BE(sat,max)~ = 1.2 V and h~FE(min)~ = 20, so it could drive ~60 mA in the worst case"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 2
    +score: 0
    +lastActive: DateTime @1689089809 {#4451
      date: 2023-07-11 17:36:49.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@Machinist@lemmy.world"
      "@nothacking@discuss.tchncs.de"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4454 …}
    +nested: Doctrine\ORM\PersistentCollection {#4456 …}
    +votes: Doctrine\ORM\PersistentCollection {#4458 …}
    +reports: Doctrine\ORM\PersistentCollection {#4460 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4462 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4464 …}
    -id: 11370
    -bodyTs: "'1.2':13 '20':19 '2n4401':5 '60':24 'case':29 'could':22 'datasheet':8 'drive':23 'h':16 'ma':25 'max':12 'min':18 'sat':11 'transistor':2 'v':9,14 'worst':28 '~be':10 '~fe':17"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.ml/comment/1459401"
    +editedAt: null
    +createdAt: DateTimeImmutable @1689089809 {#4452
      date: 2023-07-11 17:36:49.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4178}
  +body: "Thanks for checking the datasheet!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 2
  +score: 0
  +lastActive: DateTime @1689109140 {#4521
    date: 2023-07-11 22:59:00.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
    "@nothacking@discuss.tchncs.de"
    "@glibg10b@lemmy.ml"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4524 …}
  +nested: Doctrine\ORM\PersistentCollection {#4526 …}
  +votes: Doctrine\ORM\PersistentCollection {#4528 …}
  +reports: Doctrine\ORM\PersistentCollection {#4530 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4532 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4534 …}
  -id: 11922
  -bodyTs: "'check':3 'datasheet':5 'thank':1"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/910515"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689109140 {#4522
    date: 2023-07-11 22:59:00.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
65 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
66 DENIED moderate
App\Entity\EntryComment {#4251
  +user: App\Entity\User {#4264 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "On a KISS basis - I tend to just use a bimetallic switch or omit the temperature control and just run the fan from power up. It’s possible for a processor to suffer some non-handled exception where it no longer executes the temperature management routine."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1689070486 {#4246
    date: 2023-07-11 12:14:46.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4252 …}
  +nested: Doctrine\ORM\PersistentCollection {#4254 …}
  +votes: Doctrine\ORM\PersistentCollection {#4256 …}
  +reports: Doctrine\ORM\PersistentCollection {#4258 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
  -id: 10733
  -bodyTs: "'basi':4 'bimetal':11 'control':17 'except':38 'execut':43 'fan':22 'handl':37 'kiss':3 'longer':42 'manag':46 'non':36 'non-handl':35 'omit':14 'possibl':28 'power':24 'processor':31 'routin':47 'run':20 'suffer':33 'switch':12 'temperatur':16,45 'tend':6 'use':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/890207"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689070486 {#4247
    date: 2023-07-11 12:14:46.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
67 DENIED edit
App\Entity\EntryComment {#4251
  +user: App\Entity\User {#4264 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "On a KISS basis - I tend to just use a bimetallic switch or omit the temperature control and just run the fan from power up. It’s possible for a processor to suffer some non-handled exception where it no longer executes the temperature management routine."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1689070486 {#4246
    date: 2023-07-11 12:14:46.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4252 …}
  +nested: Doctrine\ORM\PersistentCollection {#4254 …}
  +votes: Doctrine\ORM\PersistentCollection {#4256 …}
  +reports: Doctrine\ORM\PersistentCollection {#4258 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
  -id: 10733
  -bodyTs: "'basi':4 'bimetal':11 'control':17 'except':38 'execut':43 'fan':22 'handl':37 'kiss':3 'longer':42 'manag':46 'non':36 'non-handl':35 'omit':14 'possibl':28 'power':24 'processor':31 'routin':47 'run':20 'suffer':33 'switch':12 'temperatur':16,45 'tend':6 'use':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/890207"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689070486 {#4247
    date: 2023-07-11 12:14:46.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
68 DENIED moderate
App\Entity\EntryComment {#4251
  +user: App\Entity\User {#4264 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "On a KISS basis - I tend to just use a bimetallic switch or omit the temperature control and just run the fan from power up. It’s possible for a processor to suffer some non-handled exception where it no longer executes the temperature management routine."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 3
  +score: 0
  +lastActive: DateTime @1689070486 {#4246
    date: 2023-07-11 12:14:46.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4252 …}
  +nested: Doctrine\ORM\PersistentCollection {#4254 …}
  +votes: Doctrine\ORM\PersistentCollection {#4256 …}
  +reports: Doctrine\ORM\PersistentCollection {#4258 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4260 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4262 …}
  -id: 10733
  -bodyTs: "'basi':4 'bimetal':11 'control':17 'except':38 'execut':43 'fan':22 'handl':37 'kiss':3 'longer':42 'manag':46 'non':36 'non-handl':35 'omit':14 'possibl':28 'power':24 'processor':31 'routin':47 'run':20 'suffer':33 'switch':12 'temperatur':16,45 'tend':6 'use':9"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/comment/890207"
  +editedAt: null
  +createdAt: DateTimeImmutable @1689070486 {#4247
    date: 2023-07-11 12:14:46.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
69 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
70 DENIED moderate
App\Entity\EntryComment {#4325
  +user: App\Entity\User {#4338 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "The maximum I~CE~ is 61.76 mA in the worst case, so I’d say you’re good"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689089405 {#4319
    date: 2023-07-11 17:30:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4326 …}
  +nested: Doctrine\ORM\PersistentCollection {#4328 …}
  +votes: Doctrine\ORM\PersistentCollection {#4330 …}
  +reports: Doctrine\ORM\PersistentCollection {#4332 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4334 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4336 …}
  -id: 11362
  -bodyTs: "'61.76':6 'case':11 'd':14 'good':18 'ma':7 'maximum':2 're':17 'say':15 'worst':10 '~ce':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/1459159"
  +editedAt: DateTimeImmutable @1689089534 {#4320
    date: 2023-07-11 17:32:14.0 +02:00
  }
  +createdAt: DateTimeImmutable @1689089405 {#4321
    date: 2023-07-11 17:30:05.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
71 DENIED edit
App\Entity\EntryComment {#4325
  +user: App\Entity\User {#4338 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "The maximum I~CE~ is 61.76 mA in the worst case, so I’d say you’re good"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689089405 {#4319
    date: 2023-07-11 17:30:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4326 …}
  +nested: Doctrine\ORM\PersistentCollection {#4328 …}
  +votes: Doctrine\ORM\PersistentCollection {#4330 …}
  +reports: Doctrine\ORM\PersistentCollection {#4332 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4334 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4336 …}
  -id: 11362
  -bodyTs: "'61.76':6 'case':11 'd':14 'good':18 'ma':7 'maximum':2 're':17 'say':15 'worst':10 '~ce':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/1459159"
  +editedAt: DateTimeImmutable @1689089534 {#4320
    date: 2023-07-11 17:32:14.0 +02:00
  }
  +createdAt: DateTimeImmutable @1689089405 {#4321
    date: 2023-07-11 17:30:05.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
72 DENIED moderate
App\Entity\EntryComment {#4325
  +user: App\Entity\User {#4338 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#276
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#238 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
      +entries: Doctrine\ORM\PersistentCollection {#181 …}
      +posts: Doctrine\ORM\PersistentCollection {#139 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
      +bans: Doctrine\ORM\PersistentCollection {#118 …}
      +reports: Doctrine\ORM\PersistentCollection {#104 …}
      +badges: Doctrine\ORM\PersistentCollection {#82 …}
      +logs: Doctrine\ORM\PersistentCollection {#72 …}
      +awards: Doctrine\ORM\PersistentCollection {#61 …}
      +categories: Doctrine\ORM\PersistentCollection {#1820 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#270
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#272
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Small-fan-switch-sanity-check"
    +title: "Small fan switch sanity check."
    +url: "https://lemmy.world/pictrs/image/061d3d3b-64a0-4dd8-bbd2-6f4a7226af3c.jpeg"
    +body: """
      Circuit is for controlling the fan on a Raspberry Pi, just on/off according to temp, no PWM. Not sure about the diode as it has a .7V drop and it’s a tiny brushless DC motor. No markings on the fan so I measured the current with a multimeter when hooking it up to a USB charger. Circuit was adapted from [here](https://howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python) using what I have on hand.\n
      \n
      Suggestions? Any advice is greatly appreciated!\n
      \n
      *EDIT: Confirmed, this circuit works on a Raspberry Pi 4. Base was wired to GPIO 17 and manually tested using commands:\n
      \n
      raspi-gpio set 17 op dh\n
      \n
      raspi-gpio set 17 op dl\n
      \n
      I didn’t use a breadboard, just hack-n-slash with the wires coming out of the fan, the leads on the thru hole components, a jumper connected to gpio 17 as a socket for the base/resistor lead, and heat shrink tubing for insulation. Folded it up as I closed the housing. Case combo including heatsinks and fan [here](https://a.co/d/bNQ5u4f).
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 17
    +favouriteCount: 36
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1689109140 {#2410
      date: 2023-07-11 22:59:00.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: 1031
    -titleTs: "'check':5 'fan':2 'saniti':4 'small':1 'switch':3"
    -bodyTs: "'/d/bnq5u4f).':175 '/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':65 '17':93,103,110,144 '4':87 '7v':27 'a.co':174 'a.co/d/bnq5u4f).':173 'accord':13 'adapt':60 'advic':74 'appreci':77 'base':88 'base/resistor':150 'breadboard':118 'brushless':34 'case':166 'charger':57 'circuit':1,58,81 'close':163 'combo':167 'come':127 'command':98 'compon':138 'confirm':79 'connect':141 'control':4 'current':46 'dc':35 'dh':105 'didn':114 'diod':22 'dl':112 'drop':28 'edit':78 'fan':6,41,131,171 'fold':158 'gpio':92,101,108,143 'great':76 'hack':121 'hack-n-slash':120 'hand':71 'heat':153 'heatsink':169 'hole':137 'hook':51 'hous':165 'howchoo.com':64 'howchoo.com/g/ote2mjkzzta/control-raspberry-pi-fan-temperature-python)':63 'includ':168 'insul':157 'jumper':140 'lead':133,151 'manual':95 'mark':38 'measur':44 'motor':36 'multimet':49 'n':122 'on/off':12 'op':104,111 'pi':10,86 'pwm':17 'raspberri':9,85 'raspi':100,107 'raspi-gpio':99,106 'set':102,109 'shrink':154 'slash':123 'socket':147 'suggest':72 'sure':19 'temp':15 'test':96 'thru':136 'tini':33 'tube':155 'usb':56 'use':66,97,116 'wire':90,126 'work':82"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1689126684
    +visibility: "visible             "
    +apId: "https://lemmy.world/post/1328894"
    +editedAt: DateTimeImmutable @1689223573 {#1850
      date: 2023-07-13 06:46:13.0 +02:00
    }
    +createdAt: DateTimeImmutable @1689040284 {#2420
      date: 2023-07-11 03:51:24.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "The maximum I~CE~ is 61.76 mA in the worst case, so I’d say you’re good"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1689089405 {#4319
    date: 2023-07-11 17:30:05.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@Machinist@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4326 …}
  +nested: Doctrine\ORM\PersistentCollection {#4328 …}
  +votes: Doctrine\ORM\PersistentCollection {#4330 …}
  +reports: Doctrine\ORM\PersistentCollection {#4332 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4334 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4336 …}
  -id: 11362
  -bodyTs: "'61.76':6 'case':11 'd':14 'good':18 'ma':7 'maximum':2 're':17 'say':15 'worst':10 '~ce':4"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.ml/comment/1459159"
  +editedAt: DateTimeImmutable @1689089534 {#4320
    date: 2023-07-11 17:32:14.0 +02:00
  }
  +createdAt: DateTimeImmutable @1689089405 {#4321
    date: 2023-07-11 17:30:05.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
73 DENIED edit
App\Entity\Magazine {#266
  +icon: Proxies\__CG__\App\Entity\Image {#247 …}
  +name: "askelectronics@discuss.tchncs.de"
  +title: "askelectronics"
  +description: """
    **For questions about component-level electronic circuits, tools and equipment.**\n
    \n
    Rules\n
    -----\n
    \n
    1: Be nice.\n
    \n
    2: Be on-topic (eg: *Electronic*, not *electrical*).\n
    \n
    3: No commercial stuff, buying, selling or valuations.\n
    \n
    4: Be safe.\n
    \n
    ---
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 154
  +entryCommentCount: 1230
  +postCount: 1
  +postCommentCount: 4
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729413608 {#276
    date: 2024-10-20 10:40:08.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#238 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …}
  +entries: Doctrine\ORM\PersistentCollection {#181 …}
  +posts: Doctrine\ORM\PersistentCollection {#139 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#201 …}
  +bans: Doctrine\ORM\PersistentCollection {#118 …}
  +reports: Doctrine\ORM\PersistentCollection {#104 …}
  +badges: Doctrine\ORM\PersistentCollection {#82 …}
  +logs: Doctrine\ORM\PersistentCollection {#72 …}
  +awards: Doctrine\ORM\PersistentCollection {#61 …}
  +categories: Doctrine\ORM\PersistentCollection {#1820 …}
  -id: 11
  +apId: "askelectronics@discuss.tchncs.de"
  +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
  +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
  +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
  +apInboxUrl: "https://discuss.tchncs.de/inbox"
  +apDomain: "discuss.tchncs.de"
  +apPreferredUsername: "askelectronics"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1727247714 {#270
    date: 2024-09-25 09:01:54.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1687144409 {#272
    date: 2023-06-19 05:13:29.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details