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 …}
}
43.65 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.05 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 {#1978 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#274
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#268
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#270
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
  +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
  +title: "What's a simplest way to get -5v from +/-12v?"
  +url: null
  +body: """
    Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
    \n
    TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 10
  +favouriteCount: 11
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1688977313 {#2418
    date: 2023-07-10 10:21:53.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1688 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1965 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 925
  -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
  -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1688806732
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688759232 {#1858
    date: 2023-07-07 21:47:12.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 {#1978 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#274
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#268
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#270
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
  +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
  +title: "What's a simplest way to get -5v from +/-12v?"
  +url: null
  +body: """
    Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
    \n
    TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 10
  +favouriteCount: 11
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1688977313 {#2418
    date: 2023-07-10 10:21:53.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1688 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1965 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 925
  -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
  -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1688806732
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688759232 {#1858
    date: 2023-07-07 21:47:12.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 {#1978 …}
  +magazine: App\Entity\Magazine {#264
    +icon: Proxies\__CG__\App\Entity\Image {#245 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#274
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#236 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
    +entries: Doctrine\ORM\PersistentCollection {#179 …}
    +posts: Doctrine\ORM\PersistentCollection {#137 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
    +bans: Doctrine\ORM\PersistentCollection {#116 …}
    +reports: Doctrine\ORM\PersistentCollection {#102 …}
    +badges: Doctrine\ORM\PersistentCollection {#80 …}
    +logs: Doctrine\ORM\PersistentCollection {#70 …}
    +awards: Doctrine\ORM\PersistentCollection {#1360 …}
    +categories: Doctrine\ORM\PersistentCollection {#1792 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#268
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#270
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
  +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
  +title: "What's a simplest way to get -5v from +/-12v?"
  +url: null
  +body: """
    Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
    \n
    TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 10
  +favouriteCount: 11
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1688977313 {#2418
    date: 2023-07-10 10:21:53.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1688 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1965 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 925
  -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
  -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1688806732
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688759232 {#1858
    date: 2023-07-07 21:47:12.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 {#4016
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1688977315 {#4026
    date: 2023-07-10 10:21:55.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4014 …}
  +nested: Doctrine\ORM\PersistentCollection {#4012 …}
  +votes: Doctrine\ORM\PersistentCollection {#4010 …}
  +reports: Doctrine\ORM\PersistentCollection {#4008 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
  -id: 9048
  -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/952345"
  +editedAt: DateTimeImmutable @1688764000 {#3962
    date: 2023-07-07 23:06:40.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688762712 {#4025
    date: 2023-07-07 22:45:12.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 {#4016
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1688977315 {#4026
    date: 2023-07-10 10:21:55.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4014 …}
  +nested: Doctrine\ORM\PersistentCollection {#4012 …}
  +votes: Doctrine\ORM\PersistentCollection {#4010 …}
  +reports: Doctrine\ORM\PersistentCollection {#4008 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
  -id: 9048
  -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/952345"
  +editedAt: DateTimeImmutable @1688764000 {#3962
    date: 2023-07-07 23:06:40.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688762712 {#4025
    date: 2023-07-07 22:45:12.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 {#4016
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: null
  +root: null
  +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 5
  +score: 0
  +lastActive: DateTime @1688977315 {#4026
    date: 2023-07-10 10:21:55.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4014 …}
  +nested: Doctrine\ORM\PersistentCollection {#4012 …}
  +votes: Doctrine\ORM\PersistentCollection {#4010 …}
  +reports: Doctrine\ORM\PersistentCollection {#4008 …}
  +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
  +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
  -id: 9048
  -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/952345"
  +editedAt: DateTimeImmutable @1688764000 {#3962
    date: 2023-07-07 23:06:40.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688762712 {#4025
    date: 2023-07-07 22:45:12.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 {#4032
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4016
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1688977315 {#4026
      date: 2023-07-10 10:21:55.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4014 …}
    +nested: Doctrine\ORM\PersistentCollection {#4012 …}
    +votes: Doctrine\ORM\PersistentCollection {#4010 …}
    +reports: Doctrine\ORM\PersistentCollection {#4008 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
    -id: 9048
    -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/952345"
    +editedAt: DateTimeImmutable @1688764000 {#3962
      date: 2023-07-07 23:06:40.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688762712 {#4025
      date: 2023-07-07 22:45:12.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688767913 {#4027
    date: 2023-07-08 00:11:53.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4088 …}
  +nested: Doctrine\ORM\PersistentCollection {#4092 …}
  +votes: Doctrine\ORM\PersistentCollection {#4094 …}
  +reports: Doctrine\ORM\PersistentCollection {#4095 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
  -id: 9062
  -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688767913 {#4030
    date: 2023-07-08 00:11:53.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 {#4032
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4016
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1688977315 {#4026
      date: 2023-07-10 10:21:55.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4014 …}
    +nested: Doctrine\ORM\PersistentCollection {#4012 …}
    +votes: Doctrine\ORM\PersistentCollection {#4010 …}
    +reports: Doctrine\ORM\PersistentCollection {#4008 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
    -id: 9048
    -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/952345"
    +editedAt: DateTimeImmutable @1688764000 {#3962
      date: 2023-07-07 23:06:40.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688762712 {#4025
      date: 2023-07-07 22:45:12.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688767913 {#4027
    date: 2023-07-08 00:11:53.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4088 …}
  +nested: Doctrine\ORM\PersistentCollection {#4092 …}
  +votes: Doctrine\ORM\PersistentCollection {#4094 …}
  +reports: Doctrine\ORM\PersistentCollection {#4095 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
  -id: 9062
  -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688767913 {#4030
    date: 2023-07-08 00:11:53.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 {#4032
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4016
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: null
    +root: null
    +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 5
    +score: 0
    +lastActive: DateTime @1688977315 {#4026
      date: 2023-07-10 10:21:55.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4014 …}
    +nested: Doctrine\ORM\PersistentCollection {#4012 …}
    +votes: Doctrine\ORM\PersistentCollection {#4010 …}
    +reports: Doctrine\ORM\PersistentCollection {#4008 …}
    +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
    +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
    -id: 9048
    -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/952345"
    +editedAt: DateTimeImmutable @1688764000 {#3962
      date: 2023-07-07 23:06:40.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688762712 {#4025
      date: 2023-07-07 22:45:12.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688767913 {#4027
    date: 2023-07-08 00:11:53.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4088 …}
  +nested: Doctrine\ORM\PersistentCollection {#4092 …}
  +votes: Doctrine\ORM\PersistentCollection {#4094 …}
  +reports: Doctrine\ORM\PersistentCollection {#4095 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
  -id: 9062
  -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688767913 {#4030
    date: 2023-07-08 00:11:53.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 {#4116
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4032
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4016
      +user: App\Entity\User {#3964 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1688977315 {#4026
        date: 2023-07-10 10:21:55.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4014 …}
      +nested: Doctrine\ORM\PersistentCollection {#4012 …}
      +votes: Doctrine\ORM\PersistentCollection {#4010 …}
      +reports: Doctrine\ORM\PersistentCollection {#4008 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
      -id: 9048
      -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/952345"
      +editedAt: DateTimeImmutable @1688764000 {#3962
        date: 2023-07-07 23:06:40.0 +02:00
      }
      +createdAt: DateTimeImmutable @1688762712 {#4025
        date: 2023-07-07 22:45:12.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688767913 {#4027
      date: 2023-07-08 00:11:53.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4088 …}
    +nested: Doctrine\ORM\PersistentCollection {#4092 …}
    +votes: Doctrine\ORM\PersistentCollection {#4094 …}
    +reports: Doctrine\ORM\PersistentCollection {#4095 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
    -id: 9062
    -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688767913 {#4030
      date: 2023-07-08 00:11:53.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688801774 {#4111
    date: 2023-07-08 09:36:14.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4108 …}
  +nested: Doctrine\ORM\PersistentCollection {#4105 …}
  +votes: Doctrine\ORM\PersistentCollection {#4103 …}
  +reports: Doctrine\ORM\PersistentCollection {#4117 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
  -id: 9123
  -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/971805"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688801774 {#4114
    date: 2023-07-08 09:36:14.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 {#4116
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4032
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4016
      +user: App\Entity\User {#3964 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1688977315 {#4026
        date: 2023-07-10 10:21:55.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4014 …}
      +nested: Doctrine\ORM\PersistentCollection {#4012 …}
      +votes: Doctrine\ORM\PersistentCollection {#4010 …}
      +reports: Doctrine\ORM\PersistentCollection {#4008 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
      -id: 9048
      -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/952345"
      +editedAt: DateTimeImmutable @1688764000 {#3962
        date: 2023-07-07 23:06:40.0 +02:00
      }
      +createdAt: DateTimeImmutable @1688762712 {#4025
        date: 2023-07-07 22:45:12.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688767913 {#4027
      date: 2023-07-08 00:11:53.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4088 …}
    +nested: Doctrine\ORM\PersistentCollection {#4092 …}
    +votes: Doctrine\ORM\PersistentCollection {#4094 …}
    +reports: Doctrine\ORM\PersistentCollection {#4095 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
    -id: 9062
    -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688767913 {#4030
      date: 2023-07-08 00:11:53.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688801774 {#4111
    date: 2023-07-08 09:36:14.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4108 …}
  +nested: Doctrine\ORM\PersistentCollection {#4105 …}
  +votes: Doctrine\ORM\PersistentCollection {#4103 …}
  +reports: Doctrine\ORM\PersistentCollection {#4117 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
  -id: 9123
  -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/971805"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688801774 {#4114
    date: 2023-07-08 09:36:14.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 {#4116
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4032
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4016
      +user: App\Entity\User {#3964 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: null
      +root: null
      +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 5
      +score: 0
      +lastActive: DateTime @1688977315 {#4026
        date: 2023-07-10 10:21:55.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4014 …}
      +nested: Doctrine\ORM\PersistentCollection {#4012 …}
      +votes: Doctrine\ORM\PersistentCollection {#4010 …}
      +reports: Doctrine\ORM\PersistentCollection {#4008 …}
      +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
      +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
      -id: 9048
      -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/952345"
      +editedAt: DateTimeImmutable @1688764000 {#3962
        date: 2023-07-07 23:06:40.0 +02:00
      }
      +createdAt: DateTimeImmutable @1688762712 {#4025
        date: 2023-07-07 22:45:12.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688767913 {#4027
      date: 2023-07-08 00:11:53.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4088 …}
    +nested: Doctrine\ORM\PersistentCollection {#4092 …}
    +votes: Doctrine\ORM\PersistentCollection {#4094 …}
    +reports: Doctrine\ORM\PersistentCollection {#4095 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
    -id: 9062
    -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688767913 {#4030
      date: 2023-07-08 00:11:53.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688801774 {#4111
    date: 2023-07-08 09:36:14.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4108 …}
  +nested: Doctrine\ORM\PersistentCollection {#4105 …}
  +votes: Doctrine\ORM\PersistentCollection {#4103 …}
  +reports: Doctrine\ORM\PersistentCollection {#4117 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
  -id: 9123
  -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/971805"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688801774 {#4114
    date: 2023-07-08 09:36:14.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 {#4138
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: Proxies\__CG__\App\Entity\Image {#4130 …}
  +parent: App\Entity\EntryComment {#4116
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4032
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4016
        +user: App\Entity\User {#3964 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: null
        +root: null
        +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1688977315 {#4026
          date: 2023-07-10 10:21:55.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4014 …}
        +nested: Doctrine\ORM\PersistentCollection {#4012 …}
        +votes: Doctrine\ORM\PersistentCollection {#4010 …}
        +reports: Doctrine\ORM\PersistentCollection {#4008 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
        -id: 9048
        -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/952345"
        +editedAt: DateTimeImmutable @1688764000 {#3962
          date: 2023-07-07 23:06:40.0 +02:00
        }
        +createdAt: DateTimeImmutable @1688762712 {#4025
          date: 2023-07-07 22:45:12.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688767913 {#4027
        date: 2023-07-08 00:11:53.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4088 …}
      +nested: Doctrine\ORM\PersistentCollection {#4092 …}
      +votes: Doctrine\ORM\PersistentCollection {#4094 …}
      +reports: Doctrine\ORM\PersistentCollection {#4095 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
      -id: 9062
      -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688767913 {#4030
        date: 2023-07-08 00:11:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688801774 {#4111
      date: 2023-07-08 09:36:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4108 …}
    +nested: Doctrine\ORM\PersistentCollection {#4105 …}
    +votes: Doctrine\ORM\PersistentCollection {#4103 …}
    +reports: Doctrine\ORM\PersistentCollection {#4117 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
    -id: 9123
    -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/971805"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688801774 {#4114
      date: 2023-07-08 09:36:14.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    it worked! (at least in the sim)  \n
     thanks a lot!  \n
     I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
     I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688813836 {#4133
    date: 2023-07-08 12:57:16.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4128 …}
  +nested: Doctrine\ORM\PersistentCollection {#4126 …}
  +votes: Doctrine\ORM\PersistentCollection {#4124 …}
  +reports: Doctrine\ORM\PersistentCollection {#4140 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
  -id: 9149
  -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688813836 {#4136
    date: 2023-07-08 12:57:16.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 {#4138
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: Proxies\__CG__\App\Entity\Image {#4130 …}
  +parent: App\Entity\EntryComment {#4116
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4032
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4016
        +user: App\Entity\User {#3964 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: null
        +root: null
        +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1688977315 {#4026
          date: 2023-07-10 10:21:55.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4014 …}
        +nested: Doctrine\ORM\PersistentCollection {#4012 …}
        +votes: Doctrine\ORM\PersistentCollection {#4010 …}
        +reports: Doctrine\ORM\PersistentCollection {#4008 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
        -id: 9048
        -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/952345"
        +editedAt: DateTimeImmutable @1688764000 {#3962
          date: 2023-07-07 23:06:40.0 +02:00
        }
        +createdAt: DateTimeImmutable @1688762712 {#4025
          date: 2023-07-07 22:45:12.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688767913 {#4027
        date: 2023-07-08 00:11:53.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4088 …}
      +nested: Doctrine\ORM\PersistentCollection {#4092 …}
      +votes: Doctrine\ORM\PersistentCollection {#4094 …}
      +reports: Doctrine\ORM\PersistentCollection {#4095 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
      -id: 9062
      -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688767913 {#4030
        date: 2023-07-08 00:11:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688801774 {#4111
      date: 2023-07-08 09:36:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4108 …}
    +nested: Doctrine\ORM\PersistentCollection {#4105 …}
    +votes: Doctrine\ORM\PersistentCollection {#4103 …}
    +reports: Doctrine\ORM\PersistentCollection {#4117 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
    -id: 9123
    -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/971805"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688801774 {#4114
      date: 2023-07-08 09:36:14.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    it worked! (at least in the sim)  \n
     thanks a lot!  \n
     I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
     I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688813836 {#4133
    date: 2023-07-08 12:57:16.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4128 …}
  +nested: Doctrine\ORM\PersistentCollection {#4126 …}
  +votes: Doctrine\ORM\PersistentCollection {#4124 …}
  +reports: Doctrine\ORM\PersistentCollection {#4140 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
  -id: 9149
  -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688813836 {#4136
    date: 2023-07-08 12:57:16.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 {#4138
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: Proxies\__CG__\App\Entity\Image {#4130 …}
  +parent: App\Entity\EntryComment {#4116
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4032
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4016
        +user: App\Entity\User {#3964 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: null
        +root: null
        +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 5
        +score: 0
        +lastActive: DateTime @1688977315 {#4026
          date: 2023-07-10 10:21:55.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4014 …}
        +nested: Doctrine\ORM\PersistentCollection {#4012 …}
        +votes: Doctrine\ORM\PersistentCollection {#4010 …}
        +reports: Doctrine\ORM\PersistentCollection {#4008 …}
        +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
        +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
        -id: 9048
        -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/952345"
        +editedAt: DateTimeImmutable @1688764000 {#3962
          date: 2023-07-07 23:06:40.0 +02:00
        }
        +createdAt: DateTimeImmutable @1688762712 {#4025
          date: 2023-07-07 22:45:12.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688767913 {#4027
        date: 2023-07-08 00:11:53.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4088 …}
      +nested: Doctrine\ORM\PersistentCollection {#4092 …}
      +votes: Doctrine\ORM\PersistentCollection {#4094 …}
      +reports: Doctrine\ORM\PersistentCollection {#4095 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
      -id: 9062
      -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688767913 {#4030
        date: 2023-07-08 00:11:53.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688801774 {#4111
      date: 2023-07-08 09:36:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4108 …}
    +nested: Doctrine\ORM\PersistentCollection {#4105 …}
    +votes: Doctrine\ORM\PersistentCollection {#4103 …}
    +reports: Doctrine\ORM\PersistentCollection {#4117 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
    -id: 9123
    -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/971805"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688801774 {#4114
      date: 2023-07-08 09:36:14.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    it worked! (at least in the sim)  \n
     thanks a lot!  \n
     I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
     I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688813836 {#4133
    date: 2023-07-08 12:57:16.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4128 …}
  +nested: Doctrine\ORM\PersistentCollection {#4126 …}
  +votes: Doctrine\ORM\PersistentCollection {#4124 …}
  +reports: Doctrine\ORM\PersistentCollection {#4140 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
  -id: 9149
  -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688813836 {#4136
    date: 2023-07-08 12:57:16.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 {#4161
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4138
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: Proxies\__CG__\App\Entity\Image {#4130 …}
    +parent: App\Entity\EntryComment {#4116
      +user: App\Entity\User {#3964 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4032
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4016
          +user: App\Entity\User {#3964 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: null
          +root: null
          +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1688977315 {#4026
            date: 2023-07-10 10:21:55.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4014 …}
          +nested: Doctrine\ORM\PersistentCollection {#4012 …}
          +votes: Doctrine\ORM\PersistentCollection {#4010 …}
          +reports: Doctrine\ORM\PersistentCollection {#4008 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
          -id: 9048
          -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/952345"
          +editedAt: DateTimeImmutable @1688764000 {#3962
            date: 2023-07-07 23:06:40.0 +02:00
          }
          +createdAt: DateTimeImmutable @1688762712 {#4025
            date: 2023-07-07 22:45:12.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688767913 {#4027
          date: 2023-07-08 00:11:53.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4088 …}
        +nested: Doctrine\ORM\PersistentCollection {#4092 …}
        +votes: Doctrine\ORM\PersistentCollection {#4094 …}
        +reports: Doctrine\ORM\PersistentCollection {#4095 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
        -id: 9062
        -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688767913 {#4030
          date: 2023-07-08 00:11:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688801774 {#4111
        date: 2023-07-08 09:36:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4108 …}
      +nested: Doctrine\ORM\PersistentCollection {#4105 …}
      +votes: Doctrine\ORM\PersistentCollection {#4103 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
      -id: 9123
      -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/971805"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688801774 {#4114
        date: 2023-07-08 09:36:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: """
      it worked! (at least in the sim)  \n
       thanks a lot!  \n
       I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
       I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688813836 {#4133
      date: 2023-07-08 12:57:16.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4128 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4140 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
    -id: 9149
    -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688813836 {#4136
      date: 2023-07-08 12:57:16.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688822182 {#4156
    date: 2023-07-08 15:16:22.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4153 …}
  +nested: Doctrine\ORM\PersistentCollection {#4150 …}
  +votes: Doctrine\ORM\PersistentCollection {#4148 …}
  +reports: Doctrine\ORM\PersistentCollection {#4162 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
  -id: 9152
  -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688822182 {#4159
    date: 2023-07-08 15:16: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
23 DENIED edit
App\Entity\EntryComment {#4161
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4138
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: Proxies\__CG__\App\Entity\Image {#4130 …}
    +parent: App\Entity\EntryComment {#4116
      +user: App\Entity\User {#3964 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4032
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4016
          +user: App\Entity\User {#3964 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: null
          +root: null
          +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1688977315 {#4026
            date: 2023-07-10 10:21:55.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4014 …}
          +nested: Doctrine\ORM\PersistentCollection {#4012 …}
          +votes: Doctrine\ORM\PersistentCollection {#4010 …}
          +reports: Doctrine\ORM\PersistentCollection {#4008 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
          -id: 9048
          -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/952345"
          +editedAt: DateTimeImmutable @1688764000 {#3962
            date: 2023-07-07 23:06:40.0 +02:00
          }
          +createdAt: DateTimeImmutable @1688762712 {#4025
            date: 2023-07-07 22:45:12.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688767913 {#4027
          date: 2023-07-08 00:11:53.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4088 …}
        +nested: Doctrine\ORM\PersistentCollection {#4092 …}
        +votes: Doctrine\ORM\PersistentCollection {#4094 …}
        +reports: Doctrine\ORM\PersistentCollection {#4095 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
        -id: 9062
        -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688767913 {#4030
          date: 2023-07-08 00:11:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688801774 {#4111
        date: 2023-07-08 09:36:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4108 …}
      +nested: Doctrine\ORM\PersistentCollection {#4105 …}
      +votes: Doctrine\ORM\PersistentCollection {#4103 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
      -id: 9123
      -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/971805"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688801774 {#4114
        date: 2023-07-08 09:36:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: """
      it worked! (at least in the sim)  \n
       thanks a lot!  \n
       I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
       I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688813836 {#4133
      date: 2023-07-08 12:57:16.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4128 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4140 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
    -id: 9149
    -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688813836 {#4136
      date: 2023-07-08 12:57:16.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688822182 {#4156
    date: 2023-07-08 15:16:22.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4153 …}
  +nested: Doctrine\ORM\PersistentCollection {#4150 …}
  +votes: Doctrine\ORM\PersistentCollection {#4148 …}
  +reports: Doctrine\ORM\PersistentCollection {#4162 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
  -id: 9152
  -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688822182 {#4159
    date: 2023-07-08 15:16: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
24 DENIED moderate
App\Entity\EntryComment {#4161
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4138
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: Proxies\__CG__\App\Entity\Image {#4130 …}
    +parent: App\Entity\EntryComment {#4116
      +user: App\Entity\User {#3964 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4032
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4016
          +user: App\Entity\User {#3964 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: null
          +root: null
          +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 5
          +score: 0
          +lastActive: DateTime @1688977315 {#4026
            date: 2023-07-10 10:21:55.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4014 …}
          +nested: Doctrine\ORM\PersistentCollection {#4012 …}
          +votes: Doctrine\ORM\PersistentCollection {#4010 …}
          +reports: Doctrine\ORM\PersistentCollection {#4008 …}
          +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
          +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
          -id: 9048
          -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/952345"
          +editedAt: DateTimeImmutable @1688764000 {#3962
            date: 2023-07-07 23:06:40.0 +02:00
          }
          +createdAt: DateTimeImmutable @1688762712 {#4025
            date: 2023-07-07 22:45:12.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688767913 {#4027
          date: 2023-07-08 00:11:53.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4088 …}
        +nested: Doctrine\ORM\PersistentCollection {#4092 …}
        +votes: Doctrine\ORM\PersistentCollection {#4094 …}
        +reports: Doctrine\ORM\PersistentCollection {#4095 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
        -id: 9062
        -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688767913 {#4030
          date: 2023-07-08 00:11:53.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688801774 {#4111
        date: 2023-07-08 09:36:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4108 …}
      +nested: Doctrine\ORM\PersistentCollection {#4105 …}
      +votes: Doctrine\ORM\PersistentCollection {#4103 …}
      +reports: Doctrine\ORM\PersistentCollection {#4117 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
      -id: 9123
      -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/971805"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688801774 {#4114
        date: 2023-07-08 09:36:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: """
      it worked! (at least in the sim)  \n
       thanks a lot!  \n
       I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
       I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688813836 {#4133
      date: 2023-07-08 12:57:16.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4128 …}
    +nested: Doctrine\ORM\PersistentCollection {#4126 …}
    +votes: Doctrine\ORM\PersistentCollection {#4124 …}
    +reports: Doctrine\ORM\PersistentCollection {#4140 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
    -id: 9149
    -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688813836 {#4136
      date: 2023-07-08 12:57:16.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688822182 {#4156
    date: 2023-07-08 15:16:22.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4153 …}
  +nested: Doctrine\ORM\PersistentCollection {#4150 …}
  +votes: Doctrine\ORM\PersistentCollection {#4148 …}
  +reports: Doctrine\ORM\PersistentCollection {#4162 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
  -id: 9152
  -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688822182 {#4159
    date: 2023-07-08 15:16: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
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 {#4175
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4161
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4138
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: Proxies\__CG__\App\Entity\Image {#4130 …}
      +parent: App\Entity\EntryComment {#4116
        +user: App\Entity\User {#3964 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4032
          +user: Proxies\__CG__\App\Entity\User {#1978 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: App\Entity\EntryComment {#4016
            +user: App\Entity\User {#3964 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: null
            +parent: null
            +root: null
            +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 5
            +score: 0
            +lastActive: DateTime @1688977315 {#4026
              date: 2023-07-10 10:21:55.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4014 …}
            +nested: Doctrine\ORM\PersistentCollection {#4012 …}
            +votes: Doctrine\ORM\PersistentCollection {#4010 …}
            +reports: Doctrine\ORM\PersistentCollection {#4008 …}
            +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
            +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
            -id: 9048
            -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/952345"
            +editedAt: DateTimeImmutable @1688764000 {#3962
              date: 2023-07-07 23:06:40.0 +02:00
            }
            +createdAt: DateTimeImmutable @1688762712 {#4025
              date: 2023-07-07 22:45:12.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688767913 {#4027
            date: 2023-07-08 00:11:53.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4088 …}
          +nested: Doctrine\ORM\PersistentCollection {#4092 …}
          +votes: Doctrine\ORM\PersistentCollection {#4094 …}
          +reports: Doctrine\ORM\PersistentCollection {#4095 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
          -id: 9062
          -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688767913 {#4030
            date: 2023-07-08 00:11:53.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688801774 {#4111
          date: 2023-07-08 09:36:14.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4108 …}
        +nested: Doctrine\ORM\PersistentCollection {#4105 …}
        +votes: Doctrine\ORM\PersistentCollection {#4103 …}
        +reports: Doctrine\ORM\PersistentCollection {#4117 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
        -id: 9123
        -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/971805"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688801774 {#4114
          date: 2023-07-08 09:36:14.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: """
        it worked! (at least in the sim)  \n
         thanks a lot!  \n
         I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
         I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688813836 {#4133
        date: 2023-07-08 12:57:16.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4128 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4140 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
      -id: 9149
      -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688813836 {#4136
        date: 2023-07-08 12:57:16.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688822182 {#4156
      date: 2023-07-08 15:16:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4153 …}
    +nested: Doctrine\ORM\PersistentCollection {#4150 …}
    +votes: Doctrine\ORM\PersistentCollection {#4148 …}
    +reports: Doctrine\ORM\PersistentCollection {#4162 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
    -id: 9152
    -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688822182 {#4159
      date: 2023-07-08 15:16:22.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
    \n
    Is that correct?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688850696 {#4178
    date: 2023-07-08 23:11:36.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4173 …}
  +nested: Doctrine\ORM\PersistentCollection {#4171 …}
  +votes: Doctrine\ORM\PersistentCollection {#4169 …}
  +reports: Doctrine\ORM\PersistentCollection {#4185 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
  -id: 9175
  -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/998806"
  +editedAt: DateTimeImmutable @1688851134 {#4181
    date: 2023-07-08 23:18:54.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688850696 {#4183
    date: 2023-07-08 23:11:36.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 {#4175
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4161
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4138
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: Proxies\__CG__\App\Entity\Image {#4130 …}
      +parent: App\Entity\EntryComment {#4116
        +user: App\Entity\User {#3964 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4032
          +user: Proxies\__CG__\App\Entity\User {#1978 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: App\Entity\EntryComment {#4016
            +user: App\Entity\User {#3964 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: null
            +parent: null
            +root: null
            +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 5
            +score: 0
            +lastActive: DateTime @1688977315 {#4026
              date: 2023-07-10 10:21:55.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4014 …}
            +nested: Doctrine\ORM\PersistentCollection {#4012 …}
            +votes: Doctrine\ORM\PersistentCollection {#4010 …}
            +reports: Doctrine\ORM\PersistentCollection {#4008 …}
            +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
            +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
            -id: 9048
            -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/952345"
            +editedAt: DateTimeImmutable @1688764000 {#3962
              date: 2023-07-07 23:06:40.0 +02:00
            }
            +createdAt: DateTimeImmutable @1688762712 {#4025
              date: 2023-07-07 22:45:12.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688767913 {#4027
            date: 2023-07-08 00:11:53.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4088 …}
          +nested: Doctrine\ORM\PersistentCollection {#4092 …}
          +votes: Doctrine\ORM\PersistentCollection {#4094 …}
          +reports: Doctrine\ORM\PersistentCollection {#4095 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
          -id: 9062
          -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688767913 {#4030
            date: 2023-07-08 00:11:53.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688801774 {#4111
          date: 2023-07-08 09:36:14.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4108 …}
        +nested: Doctrine\ORM\PersistentCollection {#4105 …}
        +votes: Doctrine\ORM\PersistentCollection {#4103 …}
        +reports: Doctrine\ORM\PersistentCollection {#4117 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
        -id: 9123
        -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/971805"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688801774 {#4114
          date: 2023-07-08 09:36:14.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: """
        it worked! (at least in the sim)  \n
         thanks a lot!  \n
         I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
         I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688813836 {#4133
        date: 2023-07-08 12:57:16.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4128 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4140 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
      -id: 9149
      -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688813836 {#4136
        date: 2023-07-08 12:57:16.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688822182 {#4156
      date: 2023-07-08 15:16:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4153 …}
    +nested: Doctrine\ORM\PersistentCollection {#4150 …}
    +votes: Doctrine\ORM\PersistentCollection {#4148 …}
    +reports: Doctrine\ORM\PersistentCollection {#4162 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
    -id: 9152
    -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688822182 {#4159
      date: 2023-07-08 15:16:22.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
    \n
    Is that correct?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688850696 {#4178
    date: 2023-07-08 23:11:36.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4173 …}
  +nested: Doctrine\ORM\PersistentCollection {#4171 …}
  +votes: Doctrine\ORM\PersistentCollection {#4169 …}
  +reports: Doctrine\ORM\PersistentCollection {#4185 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
  -id: 9175
  -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/998806"
  +editedAt: DateTimeImmutable @1688851134 {#4181
    date: 2023-07-08 23:18:54.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688850696 {#4183
    date: 2023-07-08 23:11:36.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 {#4175
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4161
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4138
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: Proxies\__CG__\App\Entity\Image {#4130 …}
      +parent: App\Entity\EntryComment {#4116
        +user: App\Entity\User {#3964 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4032
          +user: Proxies\__CG__\App\Entity\User {#1978 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: App\Entity\EntryComment {#4016
            +user: App\Entity\User {#3964 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: null
            +parent: null
            +root: null
            +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 5
            +score: 0
            +lastActive: DateTime @1688977315 {#4026
              date: 2023-07-10 10:21:55.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4014 …}
            +nested: Doctrine\ORM\PersistentCollection {#4012 …}
            +votes: Doctrine\ORM\PersistentCollection {#4010 …}
            +reports: Doctrine\ORM\PersistentCollection {#4008 …}
            +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
            +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
            -id: 9048
            -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/952345"
            +editedAt: DateTimeImmutable @1688764000 {#3962
              date: 2023-07-07 23:06:40.0 +02:00
            }
            +createdAt: DateTimeImmutable @1688762712 {#4025
              date: 2023-07-07 22:45:12.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688767913 {#4027
            date: 2023-07-08 00:11:53.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4088 …}
          +nested: Doctrine\ORM\PersistentCollection {#4092 …}
          +votes: Doctrine\ORM\PersistentCollection {#4094 …}
          +reports: Doctrine\ORM\PersistentCollection {#4095 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
          -id: 9062
          -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688767913 {#4030
            date: 2023-07-08 00:11:53.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688801774 {#4111
          date: 2023-07-08 09:36:14.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4108 …}
        +nested: Doctrine\ORM\PersistentCollection {#4105 …}
        +votes: Doctrine\ORM\PersistentCollection {#4103 …}
        +reports: Doctrine\ORM\PersistentCollection {#4117 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
        -id: 9123
        -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/971805"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688801774 {#4114
          date: 2023-07-08 09:36:14.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: """
        it worked! (at least in the sim)  \n
         thanks a lot!  \n
         I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
         I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688813836 {#4133
        date: 2023-07-08 12:57:16.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4128 …}
      +nested: Doctrine\ORM\PersistentCollection {#4126 …}
      +votes: Doctrine\ORM\PersistentCollection {#4124 …}
      +reports: Doctrine\ORM\PersistentCollection {#4140 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
      -id: 9149
      -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688813836 {#4136
        date: 2023-07-08 12:57:16.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688822182 {#4156
      date: 2023-07-08 15:16:22.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4153 …}
    +nested: Doctrine\ORM\PersistentCollection {#4150 …}
    +votes: Doctrine\ORM\PersistentCollection {#4148 …}
    +reports: Doctrine\ORM\PersistentCollection {#4162 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
    -id: 9152
    -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688822182 {#4159
      date: 2023-07-08 15:16:22.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
    \n
    Is that correct?
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688850696 {#4178
    date: 2023-07-08 23:11:36.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4173 …}
  +nested: Doctrine\ORM\PersistentCollection {#4171 …}
  +votes: Doctrine\ORM\PersistentCollection {#4169 …}
  +reports: Doctrine\ORM\PersistentCollection {#4185 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
  -id: 9175
  -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/998806"
  +editedAt: DateTimeImmutable @1688851134 {#4181
    date: 2023-07-08 23:18:54.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688850696 {#4183
    date: 2023-07-08 23:11:36.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 {#4206
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: Proxies\__CG__\App\Entity\Image {#4198 …}
  +parent: App\Entity\EntryComment {#4175
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4161
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4138
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: Proxies\__CG__\App\Entity\Image {#4130 …}
        +parent: App\Entity\EntryComment {#4116
          +user: App\Entity\User {#3964 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: App\Entity\EntryComment {#4032
            +user: Proxies\__CG__\App\Entity\User {#1978 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: null
            +parent: App\Entity\EntryComment {#4016
              +user: App\Entity\User {#3964 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#264}
              +image: null
              +parent: null
              +root: null
              +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 5
              +score: 0
              +lastActive: DateTime @1688977315 {#4026
                date: 2023-07-10 10:21:55.0 +02:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@PinkDuck@kbin.social"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4014 …}
              +nested: Doctrine\ORM\PersistentCollection {#4012 …}
              +votes: Doctrine\ORM\PersistentCollection {#4010 …}
              +reports: Doctrine\ORM\PersistentCollection {#4008 …}
              +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
              +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
              -id: 9048
              -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.world/comment/952345"
              +editedAt: DateTimeImmutable @1688764000 {#3962
                date: 2023-07-07 23:06:40.0 +02:00
              }
              +createdAt: DateTimeImmutable @1688762712 {#4025
                date: 2023-07-07 22:45:12.0 +02:00
              }
            }
            +root: App\Entity\EntryComment {#4016}
            +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1688767913 {#4027
              date: 2023-07-08 00:11:53.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
              "@grasib@lemmy.world"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4088 …}
            +nested: Doctrine\ORM\PersistentCollection {#4092 …}
            +votes: Doctrine\ORM\PersistentCollection {#4094 …}
            +reports: Doctrine\ORM\PersistentCollection {#4095 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
            -id: 9062
            -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
            +editedAt: null
            +createdAt: DateTimeImmutable @1688767913 {#4030
              date: 2023-07-08 00:11:53.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688801774 {#4111
            date: 2023-07-08 09:36:14.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4108 …}
          +nested: Doctrine\ORM\PersistentCollection {#4105 …}
          +votes: Doctrine\ORM\PersistentCollection {#4103 …}
          +reports: Doctrine\ORM\PersistentCollection {#4117 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
          -id: 9123
          -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/971805"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688801774 {#4114
            date: 2023-07-08 09:36:14.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: """
          it worked! (at least in the sim)  \n
           thanks a lot!  \n
           I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
           I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688813836 {#4133
          date: 2023-07-08 12:57:16.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4128 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4140 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
        -id: 9149
        -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688813836 {#4136
          date: 2023-07-08 12:57:16.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688822182 {#4156
        date: 2023-07-08 15:16:22.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4153 …}
      +nested: Doctrine\ORM\PersistentCollection {#4150 …}
      +votes: Doctrine\ORM\PersistentCollection {#4148 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
      -id: 9152
      -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688822182 {#4159
        date: 2023-07-08 15:16:22.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: """
      So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
      \n
      Is that correct?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688850696 {#4178
      date: 2023-07-08 23:11:36.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4173 …}
    +nested: Doctrine\ORM\PersistentCollection {#4171 …}
    +votes: Doctrine\ORM\PersistentCollection {#4169 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 9175
    -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/998806"
    +editedAt: DateTimeImmutable @1688851134 {#4181
      date: 2023-07-08 23:18:54.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688850696 {#4183
      date: 2023-07-08 23:11:36.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "No, with 0 Ohm I get a perfect 0+5v sine, just as I need. It's the other way round, it'll amplify the signal and clip off the top at about + supply voltage when you increase the resistance in the feedback loop, but it's not exactly square wave, as the bottom part of sine will remain intact. I use clipping schottky diodes to protect the arduino from voltage outside 0+5v range, this way if you increase input signal to say 20v peak to peak, you'll get more square-ish wave in 0+5v (I've attached the schematics)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688889494 {#4201
    date: 2023-07-09 09:58:14.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4196 …}
  +nested: Doctrine\ORM\PersistentCollection {#4194 …}
  +votes: Doctrine\ORM\PersistentCollection {#4192 …}
  +reports: Doctrine\ORM\PersistentCollection {#4208 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
  -id: 9227
  -bodyTs: "'+5':10,75,101 '0':3,9,74,100 '20v':87 'amplifi':25 'arduino':70 'attach':105 'bottom':55 'clip':29,64 'diod':66 'exact':50 'feedback':44 'get':6,93 'increas':39,82 'input':83 'intact':61 'ish':97 'll':24,92 'loop':45 'need':16 'ohm':4 'outsid':73 'part':56 'peak':88,90 'perfect':8 'protect':68 'rang':77 'remain':60 'resist':41 'round':22 'say':86 'schemat':107 'schottki':65 'signal':27,84 'sine':12,58 'squar':51,96 'square-ish':95 'suppli':35 'top':32 'use':63 'v':11,76,102 've':104 'voltag':36,72 'wave':52,98 'way':21,79"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/640035"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688889494 {#4204
    date: 2023-07-09 09:58:14.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 {#4206
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: Proxies\__CG__\App\Entity\Image {#4198 …}
  +parent: App\Entity\EntryComment {#4175
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4161
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4138
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: Proxies\__CG__\App\Entity\Image {#4130 …}
        +parent: App\Entity\EntryComment {#4116
          +user: App\Entity\User {#3964 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: App\Entity\EntryComment {#4032
            +user: Proxies\__CG__\App\Entity\User {#1978 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: null
            +parent: App\Entity\EntryComment {#4016
              +user: App\Entity\User {#3964 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#264}
              +image: null
              +parent: null
              +root: null
              +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 5
              +score: 0
              +lastActive: DateTime @1688977315 {#4026
                date: 2023-07-10 10:21:55.0 +02:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@PinkDuck@kbin.social"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4014 …}
              +nested: Doctrine\ORM\PersistentCollection {#4012 …}
              +votes: Doctrine\ORM\PersistentCollection {#4010 …}
              +reports: Doctrine\ORM\PersistentCollection {#4008 …}
              +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
              +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
              -id: 9048
              -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.world/comment/952345"
              +editedAt: DateTimeImmutable @1688764000 {#3962
                date: 2023-07-07 23:06:40.0 +02:00
              }
              +createdAt: DateTimeImmutable @1688762712 {#4025
                date: 2023-07-07 22:45:12.0 +02:00
              }
            }
            +root: App\Entity\EntryComment {#4016}
            +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1688767913 {#4027
              date: 2023-07-08 00:11:53.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
              "@grasib@lemmy.world"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4088 …}
            +nested: Doctrine\ORM\PersistentCollection {#4092 …}
            +votes: Doctrine\ORM\PersistentCollection {#4094 …}
            +reports: Doctrine\ORM\PersistentCollection {#4095 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
            -id: 9062
            -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
            +editedAt: null
            +createdAt: DateTimeImmutable @1688767913 {#4030
              date: 2023-07-08 00:11:53.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688801774 {#4111
            date: 2023-07-08 09:36:14.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4108 …}
          +nested: Doctrine\ORM\PersistentCollection {#4105 …}
          +votes: Doctrine\ORM\PersistentCollection {#4103 …}
          +reports: Doctrine\ORM\PersistentCollection {#4117 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
          -id: 9123
          -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/971805"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688801774 {#4114
            date: 2023-07-08 09:36:14.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: """
          it worked! (at least in the sim)  \n
           thanks a lot!  \n
           I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
           I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688813836 {#4133
          date: 2023-07-08 12:57:16.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4128 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4140 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
        -id: 9149
        -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688813836 {#4136
          date: 2023-07-08 12:57:16.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688822182 {#4156
        date: 2023-07-08 15:16:22.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4153 …}
      +nested: Doctrine\ORM\PersistentCollection {#4150 …}
      +votes: Doctrine\ORM\PersistentCollection {#4148 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
      -id: 9152
      -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688822182 {#4159
        date: 2023-07-08 15:16:22.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: """
      So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
      \n
      Is that correct?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688850696 {#4178
      date: 2023-07-08 23:11:36.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4173 …}
    +nested: Doctrine\ORM\PersistentCollection {#4171 …}
    +votes: Doctrine\ORM\PersistentCollection {#4169 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 9175
    -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/998806"
    +editedAt: DateTimeImmutable @1688851134 {#4181
      date: 2023-07-08 23:18:54.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688850696 {#4183
      date: 2023-07-08 23:11:36.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "No, with 0 Ohm I get a perfect 0+5v sine, just as I need. It's the other way round, it'll amplify the signal and clip off the top at about + supply voltage when you increase the resistance in the feedback loop, but it's not exactly square wave, as the bottom part of sine will remain intact. I use clipping schottky diodes to protect the arduino from voltage outside 0+5v range, this way if you increase input signal to say 20v peak to peak, you'll get more square-ish wave in 0+5v (I've attached the schematics)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688889494 {#4201
    date: 2023-07-09 09:58:14.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4196 …}
  +nested: Doctrine\ORM\PersistentCollection {#4194 …}
  +votes: Doctrine\ORM\PersistentCollection {#4192 …}
  +reports: Doctrine\ORM\PersistentCollection {#4208 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
  -id: 9227
  -bodyTs: "'+5':10,75,101 '0':3,9,74,100 '20v':87 'amplifi':25 'arduino':70 'attach':105 'bottom':55 'clip':29,64 'diod':66 'exact':50 'feedback':44 'get':6,93 'increas':39,82 'input':83 'intact':61 'ish':97 'll':24,92 'loop':45 'need':16 'ohm':4 'outsid':73 'part':56 'peak':88,90 'perfect':8 'protect':68 'rang':77 'remain':60 'resist':41 'round':22 'say':86 'schemat':107 'schottki':65 'signal':27,84 'sine':12,58 'squar':51,96 'square-ish':95 'suppli':35 'top':32 'use':63 'v':11,76,102 've':104 'voltag':36,72 'wave':52,98 'way':21,79"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/640035"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688889494 {#4204
    date: 2023-07-09 09:58:14.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 {#4206
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: Proxies\__CG__\App\Entity\Image {#4198 …}
  +parent: App\Entity\EntryComment {#4175
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4161
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4138
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: Proxies\__CG__\App\Entity\Image {#4130 …}
        +parent: App\Entity\EntryComment {#4116
          +user: App\Entity\User {#3964 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: App\Entity\EntryComment {#4032
            +user: Proxies\__CG__\App\Entity\User {#1978 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: null
            +parent: App\Entity\EntryComment {#4016
              +user: App\Entity\User {#3964 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#264}
              +image: null
              +parent: null
              +root: null
              +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 5
              +score: 0
              +lastActive: DateTime @1688977315 {#4026
                date: 2023-07-10 10:21:55.0 +02:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@PinkDuck@kbin.social"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4014 …}
              +nested: Doctrine\ORM\PersistentCollection {#4012 …}
              +votes: Doctrine\ORM\PersistentCollection {#4010 …}
              +reports: Doctrine\ORM\PersistentCollection {#4008 …}
              +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
              +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
              -id: 9048
              -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.world/comment/952345"
              +editedAt: DateTimeImmutable @1688764000 {#3962
                date: 2023-07-07 23:06:40.0 +02:00
              }
              +createdAt: DateTimeImmutable @1688762712 {#4025
                date: 2023-07-07 22:45:12.0 +02:00
              }
            }
            +root: App\Entity\EntryComment {#4016}
            +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1688767913 {#4027
              date: 2023-07-08 00:11:53.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
              "@grasib@lemmy.world"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4088 …}
            +nested: Doctrine\ORM\PersistentCollection {#4092 …}
            +votes: Doctrine\ORM\PersistentCollection {#4094 …}
            +reports: Doctrine\ORM\PersistentCollection {#4095 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
            -id: 9062
            -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
            +editedAt: null
            +createdAt: DateTimeImmutable @1688767913 {#4030
              date: 2023-07-08 00:11:53.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688801774 {#4111
            date: 2023-07-08 09:36:14.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4108 …}
          +nested: Doctrine\ORM\PersistentCollection {#4105 …}
          +votes: Doctrine\ORM\PersistentCollection {#4103 …}
          +reports: Doctrine\ORM\PersistentCollection {#4117 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
          -id: 9123
          -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://lemmy.world/comment/971805"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688801774 {#4114
            date: 2023-07-08 09:36:14.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: """
          it worked! (at least in the sim)  \n
           thanks a lot!  \n
           I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
           I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688813836 {#4133
          date: 2023-07-08 12:57:16.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4128 …}
        +nested: Doctrine\ORM\PersistentCollection {#4126 …}
        +votes: Doctrine\ORM\PersistentCollection {#4124 …}
        +reports: Doctrine\ORM\PersistentCollection {#4140 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
        -id: 9149
        -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688813836 {#4136
          date: 2023-07-08 12:57:16.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688822182 {#4156
        date: 2023-07-08 15:16:22.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4153 …}
      +nested: Doctrine\ORM\PersistentCollection {#4150 …}
      +votes: Doctrine\ORM\PersistentCollection {#4148 …}
      +reports: Doctrine\ORM\PersistentCollection {#4162 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
      -id: 9152
      -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688822182 {#4159
        date: 2023-07-08 15:16:22.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: """
      So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
      \n
      Is that correct?
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688850696 {#4178
      date: 2023-07-08 23:11:36.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4173 …}
    +nested: Doctrine\ORM\PersistentCollection {#4171 …}
    +votes: Doctrine\ORM\PersistentCollection {#4169 …}
    +reports: Doctrine\ORM\PersistentCollection {#4185 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
    -id: 9175
    -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/998806"
    +editedAt: DateTimeImmutable @1688851134 {#4181
      date: 2023-07-08 23:18:54.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688850696 {#4183
      date: 2023-07-08 23:11:36.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: "No, with 0 Ohm I get a perfect 0+5v sine, just as I need. It's the other way round, it'll amplify the signal and clip off the top at about + supply voltage when you increase the resistance in the feedback loop, but it's not exactly square wave, as the bottom part of sine will remain intact. I use clipping schottky diodes to protect the arduino from voltage outside 0+5v range, this way if you increase input signal to say 20v peak to peak, you'll get more square-ish wave in 0+5v (I've attached the schematics)"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688889494 {#4201
    date: 2023-07-09 09:58:14.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4196 …}
  +nested: Doctrine\ORM\PersistentCollection {#4194 …}
  +votes: Doctrine\ORM\PersistentCollection {#4192 …}
  +reports: Doctrine\ORM\PersistentCollection {#4208 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
  -id: 9227
  -bodyTs: "'+5':10,75,101 '0':3,9,74,100 '20v':87 'amplifi':25 'arduino':70 'attach':105 'bottom':55 'clip':29,64 'diod':66 'exact':50 'feedback':44 'get':6,93 'increas':39,82 'input':83 'intact':61 'ish':97 'll':24,92 'loop':45 'need':16 'ohm':4 'outsid':73 'part':56 'peak':88,90 'perfect':8 'protect':68 'rang':77 'remain':60 'resist':41 'round':22 'say':86 'schemat':107 'schottki':65 'signal':27,84 'sine':12,58 'squar':51,96 'square-ish':95 'suppli':35 'top':32 'use':63 'v':11,76,102 've':104 'voltag':36,72 'wave':52,98 'way':21,79"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/640035"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688889494 {#4204
    date: 2023-07-09 09:58:14.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 {#4221
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4206
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: Proxies\__CG__\App\Entity\Image {#4198 …}
    +parent: App\Entity\EntryComment {#4175
      +user: App\Entity\User {#3964 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4161
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4138
          +user: Proxies\__CG__\App\Entity\User {#1978 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: Proxies\__CG__\App\Entity\Image {#4130 …}
          +parent: App\Entity\EntryComment {#4116
            +user: App\Entity\User {#3964 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: null
            +parent: App\Entity\EntryComment {#4032
              +user: Proxies\__CG__\App\Entity\User {#1978 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#264}
              +image: null
              +parent: App\Entity\EntryComment {#4016
                +user: App\Entity\User {#3964 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#264}
                +image: null
                +parent: null
                +root: null
                +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 5
                +score: 0
                +lastActive: DateTime @1688977315 {#4026
                  date: 2023-07-10 10:21:55.0 +02:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@PinkDuck@kbin.social"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4014 …}
                +nested: Doctrine\ORM\PersistentCollection {#4012 …}
                +votes: Doctrine\ORM\PersistentCollection {#4010 …}
                +reports: Doctrine\ORM\PersistentCollection {#4008 …}
                +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
                +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
                -id: 9048
                -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.world/comment/952345"
                +editedAt: DateTimeImmutable @1688764000 {#3962
                  date: 2023-07-07 23:06:40.0 +02:00
                }
                +createdAt: DateTimeImmutable @1688762712 {#4025
                  date: 2023-07-07 22:45:12.0 +02:00
                }
              }
              +root: App\Entity\EntryComment {#4016}
              +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1688767913 {#4027
                date: 2023-07-08 00:11:53.0 +02:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@PinkDuck@kbin.social"
                "@grasib@lemmy.world"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4088 …}
              +nested: Doctrine\ORM\PersistentCollection {#4092 …}
              +votes: Doctrine\ORM\PersistentCollection {#4094 …}
              +reports: Doctrine\ORM\PersistentCollection {#4095 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
              -id: 9062
              -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
              +editedAt: null
              +createdAt: DateTimeImmutable @1688767913 {#4030
                date: 2023-07-08 00:11:53.0 +02:00
              }
            }
            +root: App\Entity\EntryComment {#4016}
            +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1688801774 {#4111
              date: 2023-07-08 09:36:14.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
              "@grasib@lemmy.world"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4108 …}
            +nested: Doctrine\ORM\PersistentCollection {#4105 …}
            +votes: Doctrine\ORM\PersistentCollection {#4103 …}
            +reports: Doctrine\ORM\PersistentCollection {#4117 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
            -id: 9123
            -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/971805"
            +editedAt: null
            +createdAt: DateTimeImmutable @1688801774 {#4114
              date: 2023-07-08 09:36:14.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: """
            it worked! (at least in the sim)  \n
             thanks a lot!  \n
             I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
             I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688813836 {#4133
            date: 2023-07-08 12:57:16.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4128 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4124 …}
          +reports: Doctrine\ORM\PersistentCollection {#4140 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
          -id: 9149
          -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688813836 {#4136
            date: 2023-07-08 12:57:16.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688822182 {#4156
          date: 2023-07-08 15:16:22.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4153 …}
        +nested: Doctrine\ORM\PersistentCollection {#4150 …}
        +votes: Doctrine\ORM\PersistentCollection {#4148 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
        -id: 9152
        -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688822182 {#4159
          date: 2023-07-08 15:16:22.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: """
        So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
        \n
        Is that correct?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688850696 {#4178
        date: 2023-07-08 23:11:36.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4173 …}
      +nested: Doctrine\ORM\PersistentCollection {#4171 …}
      +votes: Doctrine\ORM\PersistentCollection {#4169 …}
      +reports: Doctrine\ORM\PersistentCollection {#4185 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 9175
      -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/998806"
      +editedAt: DateTimeImmutable @1688851134 {#4181
        date: 2023-07-08 23:18:54.0 +02:00
      }
      +createdAt: DateTimeImmutable @1688850696 {#4183
        date: 2023-07-08 23:11:36.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "No, with 0 Ohm I get a perfect 0+5v sine, just as I need. It's the other way round, it'll amplify the signal and clip off the top at about + supply voltage when you increase the resistance in the feedback loop, but it's not exactly square wave, as the bottom part of sine will remain intact. I use clipping schottky diodes to protect the arduino from voltage outside 0+5v range, this way if you increase input signal to say 20v peak to peak, you'll get more square-ish wave in 0+5v (I've attached the schematics)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688889494 {#4201
      date: 2023-07-09 09:58:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4196 …}
    +nested: Doctrine\ORM\PersistentCollection {#4194 …}
    +votes: Doctrine\ORM\PersistentCollection {#4192 …}
    +reports: Doctrine\ORM\PersistentCollection {#4208 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
    -id: 9227
    -bodyTs: "'+5':10,75,101 '0':3,9,74,100 '20v':87 'amplifi':25 'arduino':70 'attach':105 'bottom':55 'clip':29,64 'diod':66 'exact':50 'feedback':44 'get':6,93 'increas':39,82 'input':83 'intact':61 'ish':97 'll':24,92 'loop':45 'need':16 'ohm':4 'outsid':73 'part':56 'peak':88,90 'perfect':8 'protect':68 'rang':77 'remain':60 'resist':41 'round':22 'say':86 'schemat':107 'schottki':65 'signal':27,84 'sine':12,58 'squar':51,96 'square-ish':95 'suppli':35 'top':32 'use':63 'v':11,76,102 've':104 'voltag':36,72 'wave':52,98 'way':21,79"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/640035"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688889494 {#4204
      date: 2023-07-09 09:58:14.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    You’re right of course. Two more questions if you don’t mind:\n
    \n
    - 1. what’s the 1k || 100k doing?\n
    - 2. if you don’t want more than 5V at the output of the OpAmp, wouldn’t it be easier to just supply the OpAmp with 5V instead of adding a shottky diode which has a forward voltage of around 0.6V? As I understand the screenshot the voltage is 5.4V at that exact point and it could theoretically raise to 5.6V.\n
    \n
    At the moment you’re also mixing up your + input. 10V AC + 5V DC result in 7.5V input in your sim.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688945113 {#4224
    date: 2023-07-10 01:25:13.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4219 …}
  +nested: Doctrine\ORM\PersistentCollection {#4217 …}
  +votes: Doctrine\ORM\PersistentCollection {#4215 …}
  +reports: Doctrine\ORM\PersistentCollection {#4231 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4233 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4235 …}
  -id: 9282
  -bodyTs: "'0.6':61 '1':14 '100k':19 '10v':95 '1k':18 '2':21 '5.4':71 '5.6':83 '5v':29,47,97 '7.5':101 'ac':96 'ad':50 'also':90 'around':60 'could':79 'cours':5 'dc':98 'diod':53 'easier':40 'exact':75 'forward':57 'input':94,103 'instead':48 'mind':13 'mix':91 'moment':87 'opamp':35,45 'output':32 'point':76 'question':8 'rais':81 're':2,89 'result':99 'right':3 'screenshot':67 'shottki':52 'sim':106 'suppli':43 'theoret':80 'two':6 'understand':65 'v':62,72,84,102 'voltag':58,69 'want':26 'wouldn':36"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1054095"
  +editedAt: DateTimeImmutable @1688946519 {#4227
    date: 2023-07-10 01:48:39.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688945113 {#4229
    date: 2023-07-10 01:25:13.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 {#4221
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4206
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: Proxies\__CG__\App\Entity\Image {#4198 …}
    +parent: App\Entity\EntryComment {#4175
      +user: App\Entity\User {#3964 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4161
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4138
          +user: Proxies\__CG__\App\Entity\User {#1978 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: Proxies\__CG__\App\Entity\Image {#4130 …}
          +parent: App\Entity\EntryComment {#4116
            +user: App\Entity\User {#3964 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: null
            +parent: App\Entity\EntryComment {#4032
              +user: Proxies\__CG__\App\Entity\User {#1978 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#264}
              +image: null
              +parent: App\Entity\EntryComment {#4016
                +user: App\Entity\User {#3964 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#264}
                +image: null
                +parent: null
                +root: null
                +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 5
                +score: 0
                +lastActive: DateTime @1688977315 {#4026
                  date: 2023-07-10 10:21:55.0 +02:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@PinkDuck@kbin.social"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4014 …}
                +nested: Doctrine\ORM\PersistentCollection {#4012 …}
                +votes: Doctrine\ORM\PersistentCollection {#4010 …}
                +reports: Doctrine\ORM\PersistentCollection {#4008 …}
                +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
                +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
                -id: 9048
                -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.world/comment/952345"
                +editedAt: DateTimeImmutable @1688764000 {#3962
                  date: 2023-07-07 23:06:40.0 +02:00
                }
                +createdAt: DateTimeImmutable @1688762712 {#4025
                  date: 2023-07-07 22:45:12.0 +02:00
                }
              }
              +root: App\Entity\EntryComment {#4016}
              +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1688767913 {#4027
                date: 2023-07-08 00:11:53.0 +02:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@PinkDuck@kbin.social"
                "@grasib@lemmy.world"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4088 …}
              +nested: Doctrine\ORM\PersistentCollection {#4092 …}
              +votes: Doctrine\ORM\PersistentCollection {#4094 …}
              +reports: Doctrine\ORM\PersistentCollection {#4095 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
              -id: 9062
              -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
              +editedAt: null
              +createdAt: DateTimeImmutable @1688767913 {#4030
                date: 2023-07-08 00:11:53.0 +02:00
              }
            }
            +root: App\Entity\EntryComment {#4016}
            +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1688801774 {#4111
              date: 2023-07-08 09:36:14.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
              "@grasib@lemmy.world"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4108 …}
            +nested: Doctrine\ORM\PersistentCollection {#4105 …}
            +votes: Doctrine\ORM\PersistentCollection {#4103 …}
            +reports: Doctrine\ORM\PersistentCollection {#4117 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
            -id: 9123
            -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/971805"
            +editedAt: null
            +createdAt: DateTimeImmutable @1688801774 {#4114
              date: 2023-07-08 09:36:14.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: """
            it worked! (at least in the sim)  \n
             thanks a lot!  \n
             I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
             I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688813836 {#4133
            date: 2023-07-08 12:57:16.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4128 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4124 …}
          +reports: Doctrine\ORM\PersistentCollection {#4140 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
          -id: 9149
          -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688813836 {#4136
            date: 2023-07-08 12:57:16.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688822182 {#4156
          date: 2023-07-08 15:16:22.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4153 …}
        +nested: Doctrine\ORM\PersistentCollection {#4150 …}
        +votes: Doctrine\ORM\PersistentCollection {#4148 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
        -id: 9152
        -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688822182 {#4159
          date: 2023-07-08 15:16:22.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: """
        So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
        \n
        Is that correct?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688850696 {#4178
        date: 2023-07-08 23:11:36.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4173 …}
      +nested: Doctrine\ORM\PersistentCollection {#4171 …}
      +votes: Doctrine\ORM\PersistentCollection {#4169 …}
      +reports: Doctrine\ORM\PersistentCollection {#4185 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 9175
      -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/998806"
      +editedAt: DateTimeImmutable @1688851134 {#4181
        date: 2023-07-08 23:18:54.0 +02:00
      }
      +createdAt: DateTimeImmutable @1688850696 {#4183
        date: 2023-07-08 23:11:36.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "No, with 0 Ohm I get a perfect 0+5v sine, just as I need. It's the other way round, it'll amplify the signal and clip off the top at about + supply voltage when you increase the resistance in the feedback loop, but it's not exactly square wave, as the bottom part of sine will remain intact. I use clipping schottky diodes to protect the arduino from voltage outside 0+5v range, this way if you increase input signal to say 20v peak to peak, you'll get more square-ish wave in 0+5v (I've attached the schematics)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688889494 {#4201
      date: 2023-07-09 09:58:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4196 …}
    +nested: Doctrine\ORM\PersistentCollection {#4194 …}
    +votes: Doctrine\ORM\PersistentCollection {#4192 …}
    +reports: Doctrine\ORM\PersistentCollection {#4208 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
    -id: 9227
    -bodyTs: "'+5':10,75,101 '0':3,9,74,100 '20v':87 'amplifi':25 'arduino':70 'attach':105 'bottom':55 'clip':29,64 'diod':66 'exact':50 'feedback':44 'get':6,93 'increas':39,82 'input':83 'intact':61 'ish':97 'll':24,92 'loop':45 'need':16 'ohm':4 'outsid':73 'part':56 'peak':88,90 'perfect':8 'protect':68 'rang':77 'remain':60 'resist':41 'round':22 'say':86 'schemat':107 'schottki':65 'signal':27,84 'sine':12,58 'squar':51,96 'square-ish':95 'suppli':35 'top':32 'use':63 'v':11,76,102 've':104 'voltag':36,72 'wave':52,98 'way':21,79"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/640035"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688889494 {#4204
      date: 2023-07-09 09:58:14.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    You’re right of course. Two more questions if you don’t mind:\n
    \n
    - 1. what’s the 1k || 100k doing?\n
    - 2. if you don’t want more than 5V at the output of the OpAmp, wouldn’t it be easier to just supply the OpAmp with 5V instead of adding a shottky diode which has a forward voltage of around 0.6V? As I understand the screenshot the voltage is 5.4V at that exact point and it could theoretically raise to 5.6V.\n
    \n
    At the moment you’re also mixing up your + input. 10V AC + 5V DC result in 7.5V input in your sim.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688945113 {#4224
    date: 2023-07-10 01:25:13.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4219 …}
  +nested: Doctrine\ORM\PersistentCollection {#4217 …}
  +votes: Doctrine\ORM\PersistentCollection {#4215 …}
  +reports: Doctrine\ORM\PersistentCollection {#4231 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4233 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4235 …}
  -id: 9282
  -bodyTs: "'0.6':61 '1':14 '100k':19 '10v':95 '1k':18 '2':21 '5.4':71 '5.6':83 '5v':29,47,97 '7.5':101 'ac':96 'ad':50 'also':90 'around':60 'could':79 'cours':5 'dc':98 'diod':53 'easier':40 'exact':75 'forward':57 'input':94,103 'instead':48 'mind':13 'mix':91 'moment':87 'opamp':35,45 'output':32 'point':76 'question':8 'rais':81 're':2,89 'result':99 'right':3 'screenshot':67 'shottki':52 'sim':106 'suppli':43 'theoret':80 'two':6 'understand':65 'v':62,72,84,102 'voltag':58,69 'want':26 'wouldn':36"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1054095"
  +editedAt: DateTimeImmutable @1688946519 {#4227
    date: 2023-07-10 01:48:39.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688945113 {#4229
    date: 2023-07-10 01:25:13.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 {#4221
  +user: App\Entity\User {#3964 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4206
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: Proxies\__CG__\App\Entity\Image {#4198 …}
    +parent: App\Entity\EntryComment {#4175
      +user: App\Entity\User {#3964 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: null
      +parent: App\Entity\EntryComment {#4161
        +user: Proxies\__CG__\App\Entity\User {#1978 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4138
          +user: Proxies\__CG__\App\Entity\User {#1978 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: Proxies\__CG__\App\Entity\Image {#4130 …}
          +parent: App\Entity\EntryComment {#4116
            +user: App\Entity\User {#3964 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: null
            +parent: App\Entity\EntryComment {#4032
              +user: Proxies\__CG__\App\Entity\User {#1978 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#264}
              +image: null
              +parent: App\Entity\EntryComment {#4016
                +user: App\Entity\User {#3964 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#264}
                +image: null
                +parent: null
                +root: null
                +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
                +lang: "en"
                +isAdult: false
                +favouriteCount: 5
                +score: 0
                +lastActive: DateTime @1688977315 {#4026
                  date: 2023-07-10 10:21:55.0 +02:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@PinkDuck@kbin.social"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4014 …}
                +nested: Doctrine\ORM\PersistentCollection {#4012 …}
                +votes: Doctrine\ORM\PersistentCollection {#4010 …}
                +reports: Doctrine\ORM\PersistentCollection {#4008 …}
                +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
                +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
                -id: 9048
                -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://lemmy.world/comment/952345"
                +editedAt: DateTimeImmutable @1688764000 {#3962
                  date: 2023-07-07 23:06:40.0 +02:00
                }
                +createdAt: DateTimeImmutable @1688762712 {#4025
                  date: 2023-07-07 22:45:12.0 +02:00
                }
              }
              +root: App\Entity\EntryComment {#4016}
              +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1688767913 {#4027
                date: 2023-07-08 00:11:53.0 +02:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@PinkDuck@kbin.social"
                "@grasib@lemmy.world"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4088 …}
              +nested: Doctrine\ORM\PersistentCollection {#4092 …}
              +votes: Doctrine\ORM\PersistentCollection {#4094 …}
              +reports: Doctrine\ORM\PersistentCollection {#4095 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
              -id: 9062
              -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
              +editedAt: null
              +createdAt: DateTimeImmutable @1688767913 {#4030
                date: 2023-07-08 00:11:53.0 +02:00
              }
            }
            +root: App\Entity\EntryComment {#4016}
            +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1688801774 {#4111
              date: 2023-07-08 09:36:14.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
              "@grasib@lemmy.world"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4108 …}
            +nested: Doctrine\ORM\PersistentCollection {#4105 …}
            +votes: Doctrine\ORM\PersistentCollection {#4103 …}
            +reports: Doctrine\ORM\PersistentCollection {#4117 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
            -id: 9123
            -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://lemmy.world/comment/971805"
            +editedAt: null
            +createdAt: DateTimeImmutable @1688801774 {#4114
              date: 2023-07-08 09:36:14.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: """
            it worked! (at least in the sim)  \n
             thanks a lot!  \n
             I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
             I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
            """
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688813836 {#4133
            date: 2023-07-08 12:57:16.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4128 …}
          +nested: Doctrine\ORM\PersistentCollection {#4126 …}
          +votes: Doctrine\ORM\PersistentCollection {#4124 …}
          +reports: Doctrine\ORM\PersistentCollection {#4140 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
          -id: 9149
          -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688813836 {#4136
            date: 2023-07-08 12:57:16.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688822182 {#4156
          date: 2023-07-08 15:16:22.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4153 …}
        +nested: Doctrine\ORM\PersistentCollection {#4150 …}
        +votes: Doctrine\ORM\PersistentCollection {#4148 …}
        +reports: Doctrine\ORM\PersistentCollection {#4162 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
        -id: 9152
        -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
        +editedAt: null
        +createdAt: DateTimeImmutable @1688822182 {#4159
          date: 2023-07-08 15:16:22.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: """
        So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
        \n
        Is that correct?
        """
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688850696 {#4178
        date: 2023-07-08 23:11:36.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4173 …}
      +nested: Doctrine\ORM\PersistentCollection {#4171 …}
      +votes: Doctrine\ORM\PersistentCollection {#4169 …}
      +reports: Doctrine\ORM\PersistentCollection {#4185 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
      -id: 9175
      -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://lemmy.world/comment/998806"
      +editedAt: DateTimeImmutable @1688851134 {#4181
        date: 2023-07-08 23:18:54.0 +02:00
      }
      +createdAt: DateTimeImmutable @1688850696 {#4183
        date: 2023-07-08 23:11:36.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: "No, with 0 Ohm I get a perfect 0+5v sine, just as I need. It's the other way round, it'll amplify the signal and clip off the top at about + supply voltage when you increase the resistance in the feedback loop, but it's not exactly square wave, as the bottom part of sine will remain intact. I use clipping schottky diodes to protect the arduino from voltage outside 0+5v range, this way if you increase input signal to say 20v peak to peak, you'll get more square-ish wave in 0+5v (I've attached the schematics)"
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688889494 {#4201
      date: 2023-07-09 09:58:14.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4196 …}
    +nested: Doctrine\ORM\PersistentCollection {#4194 …}
    +votes: Doctrine\ORM\PersistentCollection {#4192 …}
    +reports: Doctrine\ORM\PersistentCollection {#4208 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
    -id: 9227
    -bodyTs: "'+5':10,75,101 '0':3,9,74,100 '20v':87 'amplifi':25 'arduino':70 'attach':105 'bottom':55 'clip':29,64 'diod':66 'exact':50 'feedback':44 'get':6,93 'increas':39,82 'input':83 'intact':61 'ish':97 'll':24,92 'loop':45 'need':16 'ohm':4 'outsid':73 'part':56 'peak':88,90 'perfect':8 'protect':68 'rang':77 'remain':60 'resist':41 'round':22 'say':86 'schemat':107 'schottki':65 'signal':27,84 'sine':12,58 'squar':51,96 'square-ish':95 'suppli':35 'top':32 'use':63 'v':11,76,102 've':104 'voltag':36,72 'wave':52,98 'way':21,79"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/640035"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688889494 {#4204
      date: 2023-07-09 09:58:14.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    You’re right of course. Two more questions if you don’t mind:\n
    \n
    - 1. what’s the 1k || 100k doing?\n
    - 2. if you don’t want more than 5V at the output of the OpAmp, wouldn’t it be easier to just supply the OpAmp with 5V instead of adding a shottky diode which has a forward voltage of around 0.6V? As I understand the screenshot the voltage is 5.4V at that exact point and it could theoretically raise to 5.6V.\n
    \n
    At the moment you’re also mixing up your + input. 10V AC + 5V DC result in 7.5V input in your sim.
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688945113 {#4224
    date: 2023-07-10 01:25:13.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4219 …}
  +nested: Doctrine\ORM\PersistentCollection {#4217 …}
  +votes: Doctrine\ORM\PersistentCollection {#4215 …}
  +reports: Doctrine\ORM\PersistentCollection {#4231 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4233 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4235 …}
  -id: 9282
  -bodyTs: "'0.6':61 '1':14 '100k':19 '10v':95 '1k':18 '2':21 '5.4':71 '5.6':83 '5v':29,47,97 '7.5':101 'ac':96 'ad':50 'also':90 'around':60 'could':79 'cours':5 'dc':98 'diod':53 'easier':40 'exact':75 'forward':57 'input':94,103 'instead':48 'mind':13 'mix':91 'moment':87 'opamp':35,45 'output':32 'point':76 'question':8 'rais':81 're':2,89 'result':99 'right':3 'screenshot':67 'shottki':52 'sim':106 'suppli':43 'theoret':80 'two':6 'understand':65 'v':62,72,84,102 'voltag':58,69 'want':26 'wouldn':36"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://lemmy.world/comment/1054095"
  +editedAt: DateTimeImmutable @1688946519 {#4227
    date: 2023-07-10 01:48:39.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688945113 {#4229
    date: 2023-07-10 01:25:13.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 {#4252
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4221
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4206
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: Proxies\__CG__\App\Entity\Image {#4198 …}
      +parent: App\Entity\EntryComment {#4175
        +user: App\Entity\User {#3964 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4161
          +user: Proxies\__CG__\App\Entity\User {#1978 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: App\Entity\EntryComment {#4138
            +user: Proxies\__CG__\App\Entity\User {#1978 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: Proxies\__CG__\App\Entity\Image {#4130 …}
            +parent: App\Entity\EntryComment {#4116
              +user: App\Entity\User {#3964 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#264}
              +image: null
              +parent: App\Entity\EntryComment {#4032
                +user: Proxies\__CG__\App\Entity\User {#1978 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#264}
                +image: null
                +parent: App\Entity\EntryComment {#4016
                  +user: App\Entity\User {#3964 …}
                  +entry: App\Entity\Entry {#2412}
                  +magazine: App\Entity\Magazine {#264}
                  +image: null
                  +parent: null
                  +root: null
                  +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
                  +lang: "en"
                  +isAdult: false
                  +favouriteCount: 5
                  +score: 0
                  +lastActive: DateTime @1688977315 {#4026
                    date: 2023-07-10 10:21:55.0 +02:00
                  }
                  +ip: null
                  +tags: null
                  +mentions: [
                    "@PinkDuck@kbin.social"
                  ]
                  +children: Doctrine\ORM\PersistentCollection {#4014 …}
                  +nested: Doctrine\ORM\PersistentCollection {#4012 …}
                  +votes: Doctrine\ORM\PersistentCollection {#4010 …}
                  +reports: Doctrine\ORM\PersistentCollection {#4008 …}
                  +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
                  +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
                  -id: 9048
                  -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
                  +ranking: 0
                  +commentCount: 0
                  +upVotes: 0
                  +downVotes: 0
                  +visibility: "visible             "
                  +apId: "https://lemmy.world/comment/952345"
                  +editedAt: DateTimeImmutable @1688764000 {#3962
                    date: 2023-07-07 23:06:40.0 +02:00
                  }
                  +createdAt: DateTimeImmutable @1688762712 {#4025
                    date: 2023-07-07 22:45:12.0 +02:00
                  }
                }
                +root: App\Entity\EntryComment {#4016}
                +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
                +lang: "en"
                +isAdult: false
                +favouriteCount: 0
                +score: 0
                +lastActive: DateTime @1688767913 {#4027
                  date: 2023-07-08 00:11:53.0 +02:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@PinkDuck@kbin.social"
                  "@grasib@lemmy.world"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4088 …}
                +nested: Doctrine\ORM\PersistentCollection {#4092 …}
                +votes: Doctrine\ORM\PersistentCollection {#4094 …}
                +reports: Doctrine\ORM\PersistentCollection {#4095 …}
                +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
                +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
                -id: 9062
                -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
                +editedAt: null
                +createdAt: DateTimeImmutable @1688767913 {#4030
                  date: 2023-07-08 00:11:53.0 +02:00
                }
              }
              +root: App\Entity\EntryComment {#4016}
              +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1688801774 {#4111
                date: 2023-07-08 09:36:14.0 +02:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@PinkDuck@kbin.social"
                "@grasib@lemmy.world"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4108 …}
              +nested: Doctrine\ORM\PersistentCollection {#4105 …}
              +votes: Doctrine\ORM\PersistentCollection {#4103 …}
              +reports: Doctrine\ORM\PersistentCollection {#4117 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
              -id: 9123
              -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.world/comment/971805"
              +editedAt: null
              +createdAt: DateTimeImmutable @1688801774 {#4114
                date: 2023-07-08 09:36:14.0 +02:00
              }
            }
            +root: App\Entity\EntryComment {#4016}
            +body: """
              it worked! (at least in the sim)  \n
               thanks a lot!  \n
               I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
               I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1688813836 {#4133
              date: 2023-07-08 12:57:16.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
              "@grasib@lemmy.world"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4128 …}
            +nested: Doctrine\ORM\PersistentCollection {#4126 …}
            +votes: Doctrine\ORM\PersistentCollection {#4124 …}
            +reports: Doctrine\ORM\PersistentCollection {#4140 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
            -id: 9149
            -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
            +editedAt: null
            +createdAt: DateTimeImmutable @1688813836 {#4136
              date: 2023-07-08 12:57:16.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688822182 {#4156
            date: 2023-07-08 15:16:22.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4153 …}
          +nested: Doctrine\ORM\PersistentCollection {#4150 …}
          +votes: Doctrine\ORM\PersistentCollection {#4148 …}
          +reports: Doctrine\ORM\PersistentCollection {#4162 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
          -id: 9152
          -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688822182 {#4159
            date: 2023-07-08 15:16:22.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: """
          So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
          \n
          Is that correct?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688850696 {#4178
          date: 2023-07-08 23:11:36.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4173 …}
        +nested: Doctrine\ORM\PersistentCollection {#4171 …}
        +votes: Doctrine\ORM\PersistentCollection {#4169 …}
        +reports: Doctrine\ORM\PersistentCollection {#4185 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 9175
        -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/998806"
        +editedAt: DateTimeImmutable @1688851134 {#4181
          date: 2023-07-08 23:18:54.0 +02:00
        }
        +createdAt: DateTimeImmutable @1688850696 {#4183
          date: 2023-07-08 23:11:36.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "No, with 0 Ohm I get a perfect 0+5v sine, just as I need. It's the other way round, it'll amplify the signal and clip off the top at about + supply voltage when you increase the resistance in the feedback loop, but it's not exactly square wave, as the bottom part of sine will remain intact. I use clipping schottky diodes to protect the arduino from voltage outside 0+5v range, this way if you increase input signal to say 20v peak to peak, you'll get more square-ish wave in 0+5v (I've attached the schematics)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688889494 {#4201
        date: 2023-07-09 09:58:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4196 …}
      +nested: Doctrine\ORM\PersistentCollection {#4194 …}
      +votes: Doctrine\ORM\PersistentCollection {#4192 …}
      +reports: Doctrine\ORM\PersistentCollection {#4208 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
      -id: 9227
      -bodyTs: "'+5':10,75,101 '0':3,9,74,100 '20v':87 'amplifi':25 'arduino':70 'attach':105 'bottom':55 'clip':29,64 'diod':66 'exact':50 'feedback':44 'get':6,93 'increas':39,82 'input':83 'intact':61 'ish':97 'll':24,92 'loop':45 'need':16 'ohm':4 'outsid':73 'part':56 'peak':88,90 'perfect':8 'protect':68 'rang':77 'remain':60 'resist':41 'round':22 'say':86 'schemat':107 'schottki':65 'signal':27,84 'sine':12,58 'squar':51,96 'square-ish':95 'suppli':35 'top':32 'use':63 'v':11,76,102 've':104 'voltag':36,72 'wave':52,98 'way':21,79"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/640035"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688889494 {#4204
        date: 2023-07-09 09:58:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: """
      You’re right of course. Two more questions if you don’t mind:\n
      \n
      - 1. what’s the 1k || 100k doing?\n
      - 2. if you don’t want more than 5V at the output of the OpAmp, wouldn’t it be easier to just supply the OpAmp with 5V instead of adding a shottky diode which has a forward voltage of around 0.6V? As I understand the screenshot the voltage is 5.4V at that exact point and it could theoretically raise to 5.6V.\n
      \n
      At the moment you’re also mixing up your + input. 10V AC + 5V DC result in 7.5V input in your sim.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688945113 {#4224
      date: 2023-07-10 01:25:13.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4219 …}
    +nested: Doctrine\ORM\PersistentCollection {#4217 …}
    +votes: Doctrine\ORM\PersistentCollection {#4215 …}
    +reports: Doctrine\ORM\PersistentCollection {#4231 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4233 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4235 …}
    -id: 9282
    -bodyTs: "'0.6':61 '1':14 '100k':19 '10v':95 '1k':18 '2':21 '5.4':71 '5.6':83 '5v':29,47,97 '7.5':101 'ac':96 'ad':50 'also':90 'around':60 'could':79 'cours':5 'dc':98 'diod':53 'easier':40 'exact':75 'forward':57 'input':94,103 'instead':48 'mind':13 'mix':91 'moment':87 'opamp':35,45 'output':32 'point':76 'question':8 'rais':81 're':2,89 'result':99 'right':3 'screenshot':67 'shottki':52 'sim':106 'suppli':43 'theoret':80 'two':6 'understand':65 'v':62,72,84,102 'voltag':58,69 'want':26 'wouldn':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1054095"
    +editedAt: DateTimeImmutable @1688946519 {#4227
      date: 2023-07-10 01:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688945113 {#4229
      date: 2023-07-10 01:25:13.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    1. it does nothing 😅 I just forgot to remove it from the sim\n
    2. you mean like power it with 0+5v? I think it won't work with negative input voltages then, right? and I'm using tl074 and I'm not sure that 0+5v is enough juice for it, and I use remaining 3 opamps for other stuff, so it's not really an option for me. the sim didn't have shottky diodes, so this measurements are not 100% accurate, but I used this approach to protect arduino inputs in another project, and it worked well. And yeah, I cranked up the input signal to +/-10v just to check the clipping, it'll normally stay within +/-5v\n
    \n
    I already ordered PCB for the prototype. I hope it'll work fine. Thanks a lot for your help :)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688977313 {#4247
    date: 2023-07-10 10:21:53.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4244 …}
  +nested: Doctrine\ORM\PersistentCollection {#4241 …}
  +votes: Doctrine\ORM\PersistentCollection {#4239 …}
  +reports: Doctrine\ORM\PersistentCollection {#4253 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
  -id: 9341
  -bodyTs: "'+5':22,48 '-10':112 '-5':124 '0':21,47 '1':1 '100':85 '2':14 '3':59 'accur':86 'alreadi':127 'anoth':97 'approach':91 'arduino':94 'check':116 'clip':118 'crank':106 'didn':75 'diod':79 'enough':51 'fine':138 'forgot':7 'help':144 'hope':134 'input':32,95,109 'juic':52 'like':17 'll':120,136 'lot':141 'm':38,43 'mean':16 'measur':82 'negat':31 'normal':121 'noth':4 'opamp':60 'option':70 'order':128 'pcb':129 'power':18 'project':98 'protect':93 'prototyp':132 'realli':68 'remain':58 'remov':9 'right':35 'shottki':78 'signal':110 'sim':13,74 'stay':122 'stuff':63 'sure':45 'thank':139 'think':25 'tl074':40 'use':39,57,89 'v':23,49,113,125 'voltag':33 'well':102 'within':123 'won':27 'work':29,101,137 'yeah':104"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/662908"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688977313 {#4250
    date: 2023-07-10 10:21:53.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 {#4252
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4221
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4206
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: Proxies\__CG__\App\Entity\Image {#4198 …}
      +parent: App\Entity\EntryComment {#4175
        +user: App\Entity\User {#3964 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4161
          +user: Proxies\__CG__\App\Entity\User {#1978 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: App\Entity\EntryComment {#4138
            +user: Proxies\__CG__\App\Entity\User {#1978 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: Proxies\__CG__\App\Entity\Image {#4130 …}
            +parent: App\Entity\EntryComment {#4116
              +user: App\Entity\User {#3964 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#264}
              +image: null
              +parent: App\Entity\EntryComment {#4032
                +user: Proxies\__CG__\App\Entity\User {#1978 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#264}
                +image: null
                +parent: App\Entity\EntryComment {#4016
                  +user: App\Entity\User {#3964 …}
                  +entry: App\Entity\Entry {#2412}
                  +magazine: App\Entity\Magazine {#264}
                  +image: null
                  +parent: null
                  +root: null
                  +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
                  +lang: "en"
                  +isAdult: false
                  +favouriteCount: 5
                  +score: 0
                  +lastActive: DateTime @1688977315 {#4026
                    date: 2023-07-10 10:21:55.0 +02:00
                  }
                  +ip: null
                  +tags: null
                  +mentions: [
                    "@PinkDuck@kbin.social"
                  ]
                  +children: Doctrine\ORM\PersistentCollection {#4014 …}
                  +nested: Doctrine\ORM\PersistentCollection {#4012 …}
                  +votes: Doctrine\ORM\PersistentCollection {#4010 …}
                  +reports: Doctrine\ORM\PersistentCollection {#4008 …}
                  +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
                  +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
                  -id: 9048
                  -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
                  +ranking: 0
                  +commentCount: 0
                  +upVotes: 0
                  +downVotes: 0
                  +visibility: "visible             "
                  +apId: "https://lemmy.world/comment/952345"
                  +editedAt: DateTimeImmutable @1688764000 {#3962
                    date: 2023-07-07 23:06:40.0 +02:00
                  }
                  +createdAt: DateTimeImmutable @1688762712 {#4025
                    date: 2023-07-07 22:45:12.0 +02:00
                  }
                }
                +root: App\Entity\EntryComment {#4016}
                +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
                +lang: "en"
                +isAdult: false
                +favouriteCount: 0
                +score: 0
                +lastActive: DateTime @1688767913 {#4027
                  date: 2023-07-08 00:11:53.0 +02:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@PinkDuck@kbin.social"
                  "@grasib@lemmy.world"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4088 …}
                +nested: Doctrine\ORM\PersistentCollection {#4092 …}
                +votes: Doctrine\ORM\PersistentCollection {#4094 …}
                +reports: Doctrine\ORM\PersistentCollection {#4095 …}
                +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
                +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
                -id: 9062
                -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
                +editedAt: null
                +createdAt: DateTimeImmutable @1688767913 {#4030
                  date: 2023-07-08 00:11:53.0 +02:00
                }
              }
              +root: App\Entity\EntryComment {#4016}
              +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1688801774 {#4111
                date: 2023-07-08 09:36:14.0 +02:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@PinkDuck@kbin.social"
                "@grasib@lemmy.world"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4108 …}
              +nested: Doctrine\ORM\PersistentCollection {#4105 …}
              +votes: Doctrine\ORM\PersistentCollection {#4103 …}
              +reports: Doctrine\ORM\PersistentCollection {#4117 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
              -id: 9123
              -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.world/comment/971805"
              +editedAt: null
              +createdAt: DateTimeImmutable @1688801774 {#4114
                date: 2023-07-08 09:36:14.0 +02:00
              }
            }
            +root: App\Entity\EntryComment {#4016}
            +body: """
              it worked! (at least in the sim)  \n
               thanks a lot!  \n
               I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
               I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1688813836 {#4133
              date: 2023-07-08 12:57:16.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
              "@grasib@lemmy.world"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4128 …}
            +nested: Doctrine\ORM\PersistentCollection {#4126 …}
            +votes: Doctrine\ORM\PersistentCollection {#4124 …}
            +reports: Doctrine\ORM\PersistentCollection {#4140 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
            -id: 9149
            -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
            +editedAt: null
            +createdAt: DateTimeImmutable @1688813836 {#4136
              date: 2023-07-08 12:57:16.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688822182 {#4156
            date: 2023-07-08 15:16:22.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4153 …}
          +nested: Doctrine\ORM\PersistentCollection {#4150 …}
          +votes: Doctrine\ORM\PersistentCollection {#4148 …}
          +reports: Doctrine\ORM\PersistentCollection {#4162 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
          -id: 9152
          -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688822182 {#4159
            date: 2023-07-08 15:16:22.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: """
          So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
          \n
          Is that correct?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688850696 {#4178
          date: 2023-07-08 23:11:36.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4173 …}
        +nested: Doctrine\ORM\PersistentCollection {#4171 …}
        +votes: Doctrine\ORM\PersistentCollection {#4169 …}
        +reports: Doctrine\ORM\PersistentCollection {#4185 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 9175
        -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/998806"
        +editedAt: DateTimeImmutable @1688851134 {#4181
          date: 2023-07-08 23:18:54.0 +02:00
        }
        +createdAt: DateTimeImmutable @1688850696 {#4183
          date: 2023-07-08 23:11:36.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "No, with 0 Ohm I get a perfect 0+5v sine, just as I need. It's the other way round, it'll amplify the signal and clip off the top at about + supply voltage when you increase the resistance in the feedback loop, but it's not exactly square wave, as the bottom part of sine will remain intact. I use clipping schottky diodes to protect the arduino from voltage outside 0+5v range, this way if you increase input signal to say 20v peak to peak, you'll get more square-ish wave in 0+5v (I've attached the schematics)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688889494 {#4201
        date: 2023-07-09 09:58:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4196 …}
      +nested: Doctrine\ORM\PersistentCollection {#4194 …}
      +votes: Doctrine\ORM\PersistentCollection {#4192 …}
      +reports: Doctrine\ORM\PersistentCollection {#4208 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
      -id: 9227
      -bodyTs: "'+5':10,75,101 '0':3,9,74,100 '20v':87 'amplifi':25 'arduino':70 'attach':105 'bottom':55 'clip':29,64 'diod':66 'exact':50 'feedback':44 'get':6,93 'increas':39,82 'input':83 'intact':61 'ish':97 'll':24,92 'loop':45 'need':16 'ohm':4 'outsid':73 'part':56 'peak':88,90 'perfect':8 'protect':68 'rang':77 'remain':60 'resist':41 'round':22 'say':86 'schemat':107 'schottki':65 'signal':27,84 'sine':12,58 'squar':51,96 'square-ish':95 'suppli':35 'top':32 'use':63 'v':11,76,102 've':104 'voltag':36,72 'wave':52,98 'way':21,79"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/640035"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688889494 {#4204
        date: 2023-07-09 09:58:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: """
      You’re right of course. Two more questions if you don’t mind:\n
      \n
      - 1. what’s the 1k || 100k doing?\n
      - 2. if you don’t want more than 5V at the output of the OpAmp, wouldn’t it be easier to just supply the OpAmp with 5V instead of adding a shottky diode which has a forward voltage of around 0.6V? As I understand the screenshot the voltage is 5.4V at that exact point and it could theoretically raise to 5.6V.\n
      \n
      At the moment you’re also mixing up your + input. 10V AC + 5V DC result in 7.5V input in your sim.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688945113 {#4224
      date: 2023-07-10 01:25:13.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4219 …}
    +nested: Doctrine\ORM\PersistentCollection {#4217 …}
    +votes: Doctrine\ORM\PersistentCollection {#4215 …}
    +reports: Doctrine\ORM\PersistentCollection {#4231 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4233 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4235 …}
    -id: 9282
    -bodyTs: "'0.6':61 '1':14 '100k':19 '10v':95 '1k':18 '2':21 '5.4':71 '5.6':83 '5v':29,47,97 '7.5':101 'ac':96 'ad':50 'also':90 'around':60 'could':79 'cours':5 'dc':98 'diod':53 'easier':40 'exact':75 'forward':57 'input':94,103 'instead':48 'mind':13 'mix':91 'moment':87 'opamp':35,45 'output':32 'point':76 'question':8 'rais':81 're':2,89 'result':99 'right':3 'screenshot':67 'shottki':52 'sim':106 'suppli':43 'theoret':80 'two':6 'understand':65 'v':62,72,84,102 'voltag':58,69 'want':26 'wouldn':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1054095"
    +editedAt: DateTimeImmutable @1688946519 {#4227
      date: 2023-07-10 01:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688945113 {#4229
      date: 2023-07-10 01:25:13.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    1. it does nothing 😅 I just forgot to remove it from the sim\n
    2. you mean like power it with 0+5v? I think it won't work with negative input voltages then, right? and I'm using tl074 and I'm not sure that 0+5v is enough juice for it, and I use remaining 3 opamps for other stuff, so it's not really an option for me. the sim didn't have shottky diodes, so this measurements are not 100% accurate, but I used this approach to protect arduino inputs in another project, and it worked well. And yeah, I cranked up the input signal to +/-10v just to check the clipping, it'll normally stay within +/-5v\n
    \n
    I already ordered PCB for the prototype. I hope it'll work fine. Thanks a lot for your help :)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688977313 {#4247
    date: 2023-07-10 10:21:53.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4244 …}
  +nested: Doctrine\ORM\PersistentCollection {#4241 …}
  +votes: Doctrine\ORM\PersistentCollection {#4239 …}
  +reports: Doctrine\ORM\PersistentCollection {#4253 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
  -id: 9341
  -bodyTs: "'+5':22,48 '-10':112 '-5':124 '0':21,47 '1':1 '100':85 '2':14 '3':59 'accur':86 'alreadi':127 'anoth':97 'approach':91 'arduino':94 'check':116 'clip':118 'crank':106 'didn':75 'diod':79 'enough':51 'fine':138 'forgot':7 'help':144 'hope':134 'input':32,95,109 'juic':52 'like':17 'll':120,136 'lot':141 'm':38,43 'mean':16 'measur':82 'negat':31 'normal':121 'noth':4 'opamp':60 'option':70 'order':128 'pcb':129 'power':18 'project':98 'protect':93 'prototyp':132 'realli':68 'remain':58 'remov':9 'right':35 'shottki':78 'signal':110 'sim':13,74 'stay':122 'stuff':63 'sure':45 'thank':139 'think':25 'tl074':40 'use':39,57,89 'v':23,49,113,125 'voltag':33 'well':102 'within':123 'won':27 'work':29,101,137 'yeah':104"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/662908"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688977313 {#4250
    date: 2023-07-10 10:21:53.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 {#4252
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: null
  +parent: App\Entity\EntryComment {#4221
    +user: App\Entity\User {#3964 …}
    +entry: App\Entity\Entry {#2412}
    +magazine: App\Entity\Magazine {#264}
    +image: null
    +parent: App\Entity\EntryComment {#4206
      +user: Proxies\__CG__\App\Entity\User {#1978 …}
      +entry: App\Entity\Entry {#2412}
      +magazine: App\Entity\Magazine {#264}
      +image: Proxies\__CG__\App\Entity\Image {#4198 …}
      +parent: App\Entity\EntryComment {#4175
        +user: App\Entity\User {#3964 …}
        +entry: App\Entity\Entry {#2412}
        +magazine: App\Entity\Magazine {#264}
        +image: null
        +parent: App\Entity\EntryComment {#4161
          +user: Proxies\__CG__\App\Entity\User {#1978 …}
          +entry: App\Entity\Entry {#2412}
          +magazine: App\Entity\Magazine {#264}
          +image: null
          +parent: App\Entity\EntryComment {#4138
            +user: Proxies\__CG__\App\Entity\User {#1978 …}
            +entry: App\Entity\Entry {#2412}
            +magazine: App\Entity\Magazine {#264}
            +image: Proxies\__CG__\App\Entity\Image {#4130 …}
            +parent: App\Entity\EntryComment {#4116
              +user: App\Entity\User {#3964 …}
              +entry: App\Entity\Entry {#2412}
              +magazine: App\Entity\Magazine {#264}
              +image: null
              +parent: App\Entity\EntryComment {#4032
                +user: Proxies\__CG__\App\Entity\User {#1978 …}
                +entry: App\Entity\Entry {#2412}
                +magazine: App\Entity\Magazine {#264}
                +image: null
                +parent: App\Entity\EntryComment {#4016
                  +user: App\Entity\User {#3964 …}
                  +entry: App\Entity\Entry {#2412}
                  +magazine: App\Entity\Magazine {#264}
                  +image: null
                  +parent: null
                  +root: null
                  +body: "Supply the OpAmp with +/-12V or +5/0V and use a non inverting Summing OpAmp Circuit to get your 0-5V signal. V1 is 5V, V2 your input."
                  +lang: "en"
                  +isAdult: false
                  +favouriteCount: 5
                  +score: 0
                  +lastActive: DateTime @1688977315 {#4026
                    date: 2023-07-10 10:21:55.0 +02:00
                  }
                  +ip: null
                  +tags: null
                  +mentions: [
                    "@PinkDuck@kbin.social"
                  ]
                  +children: Doctrine\ORM\PersistentCollection {#4014 …}
                  +nested: Doctrine\ORM\PersistentCollection {#4012 …}
                  +votes: Doctrine\ORM\PersistentCollection {#4010 …}
                  +reports: Doctrine\ORM\PersistentCollection {#4008 …}
                  +favourites: Doctrine\ORM\PersistentCollection {#3976 …}
                  +notifications: Doctrine\ORM\PersistentCollection {#3980 …}
                  -id: 9048
                  -bodyTs: "'+5':8 '-12':5 '-5':22 '/0v':9 '0':21 '5v':27 'circuit':17 'get':19 'input':30 'invert':14 'non':13 'opamp':3,16 'signal':24 'sum':15 'suppli':1 'use':11 'v':6,23 'v1':25 'v2':28"
                  +ranking: 0
                  +commentCount: 0
                  +upVotes: 0
                  +downVotes: 0
                  +visibility: "visible             "
                  +apId: "https://lemmy.world/comment/952345"
                  +editedAt: DateTimeImmutable @1688764000 {#3962
                    date: 2023-07-07 23:06:40.0 +02:00
                  }
                  +createdAt: DateTimeImmutable @1688762712 {#4025
                    date: 2023-07-07 22:45:12.0 +02:00
                  }
                }
                +root: App\Entity\EntryComment {#4016}
                +body: "thanks! gonna give it a try tomorrow. I'm pretty new to this, and never used opAmps in non-inverting configuration, so I missed this option"
                +lang: "en"
                +isAdult: false
                +favouriteCount: 0
                +score: 0
                +lastActive: DateTime @1688767913 {#4027
                  date: 2023-07-08 00:11:53.0 +02:00
                }
                +ip: null
                +tags: null
                +mentions: [
                  "@PinkDuck@kbin.social"
                  "@grasib@lemmy.world"
                ]
                +children: Doctrine\ORM\PersistentCollection {#4088 …}
                +nested: Doctrine\ORM\PersistentCollection {#4092 …}
                +votes: Doctrine\ORM\PersistentCollection {#4094 …}
                +reports: Doctrine\ORM\PersistentCollection {#4095 …}
                +favourites: Doctrine\ORM\PersistentCollection {#4097 …}
                +notifications: Doctrine\ORM\PersistentCollection {#4099 …}
                -id: 9062
                -bodyTs: "'configur':22 'give':3 'gonna':2 'invert':21 'm':9 'miss':25 'never':15 'new':11 'non':20 'non-invert':19 'opamp':17 'option':27 'pretti':10 'thank':1 'tomorrow':7 'tri':6 'use':16"
                +ranking: 0
                +commentCount: 0
                +upVotes: 0
                +downVotes: 0
                +visibility: "visible             "
                +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/603582"
                +editedAt: null
                +createdAt: DateTimeImmutable @1688767913 {#4030
                  date: 2023-07-08 00:11:53.0 +02:00
                }
              }
              +root: App\Entity\EntryComment {#4016}
              +body: "Exiting! It has been some time for me too, let me know how you solved the problem at the end."
              +lang: "en"
              +isAdult: false
              +favouriteCount: 0
              +score: 0
              +lastActive: DateTime @1688801774 {#4111
                date: 2023-07-08 09:36:14.0 +02:00
              }
              +ip: null
              +tags: null
              +mentions: [
                "@PinkDuck@kbin.social"
                "@grasib@lemmy.world"
              ]
              +children: Doctrine\ORM\PersistentCollection {#4108 …}
              +nested: Doctrine\ORM\PersistentCollection {#4105 …}
              +votes: Doctrine\ORM\PersistentCollection {#4103 …}
              +reports: Doctrine\ORM\PersistentCollection {#4117 …}
              +favourites: Doctrine\ORM\PersistentCollection {#4119 …}
              +notifications: Doctrine\ORM\PersistentCollection {#4121 …}
              -id: 9123
              -bodyTs: "'end':20 'exit':1 'know':12 'let':10 'problem':17 'solv':15 'time':6"
              +ranking: 0
              +commentCount: 0
              +upVotes: 0
              +downVotes: 0
              +visibility: "visible             "
              +apId: "https://lemmy.world/comment/971805"
              +editedAt: null
              +createdAt: DateTimeImmutable @1688801774 {#4114
                date: 2023-07-08 09:36:14.0 +02:00
              }
            }
            +root: App\Entity\EntryComment {#4016}
            +body: """
              it worked! (at least in the sim)  \n
               thanks a lot!  \n
               I'm not sure I got all the math right, since I get 0 - 5.05V on the output, but it's not a deal breaker for me.  \n
               I attached the schematics, but not sure that images in comments federate from kbin to lemmy, so if you don't see it, try opening an original link to this comment.
              """
            +lang: "en"
            +isAdult: false
            +favouriteCount: 0
            +score: 0
            +lastActive: DateTime @1688813836 {#4133
              date: 2023-07-08 12:57:16.0 +02:00
            }
            +ip: null
            +tags: null
            +mentions: [
              "@PinkDuck@kbin.social"
              "@grasib@lemmy.world"
            ]
            +children: Doctrine\ORM\PersistentCollection {#4128 …}
            +nested: Doctrine\ORM\PersistentCollection {#4126 …}
            +votes: Doctrine\ORM\PersistentCollection {#4124 …}
            +reports: Doctrine\ORM\PersistentCollection {#4140 …}
            +favourites: Doctrine\ORM\PersistentCollection {#4142 …}
            +notifications: Doctrine\ORM\PersistentCollection {#4144 …}
            -id: 9149
            -bodyTs: "'0':24 '5.05':25 'attach':40 'breaker':36 'comment':49,69 'deal':35 'feder':50 'get':23 'got':16 'imag':47 'kbin':52 'least':4 'lemmi':54 'link':66 'lot':10 'm':12 'math':19 'open':63 'origin':65 'output':29 'right':20 'schemat':42 'see':60 'sim':7 'sinc':21 'sure':14,45 'thank':8 'tri':62 'v':26 'work':2"
            +ranking: 0
            +commentCount: 0
            +upVotes: 0
            +downVotes: 0
            +visibility: "visible             "
            +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/615561"
            +editedAt: null
            +createdAt: DateTimeImmutable @1688813836 {#4136
              date: 2023-07-08 12:57:16.0 +02:00
            }
          }
          +root: App\Entity\EntryComment {#4016}
          +body: "ah, a little bit of thinking helped me realize that I don't need 1k in inverting loop and then I'll get 5v instead of 5.05v :) and 100k can also be replaced by 1k"
          +lang: "en"
          +isAdult: false
          +favouriteCount: 0
          +score: 0
          +lastActive: DateTime @1688822182 {#4156
            date: 2023-07-08 15:16:22.0 +02:00
          }
          +ip: null
          +tags: null
          +mentions: [
            "@PinkDuck@kbin.social"
            "@grasib@lemmy.world"
          ]
          +children: Doctrine\ORM\PersistentCollection {#4153 …}
          +nested: Doctrine\ORM\PersistentCollection {#4150 …}
          +votes: Doctrine\ORM\PersistentCollection {#4148 …}
          +reports: Doctrine\ORM\PersistentCollection {#4162 …}
          +favourites: Doctrine\ORM\PersistentCollection {#4164 …}
          +notifications: Doctrine\ORM\PersistentCollection {#4166 …}
          -id: 9152
          -bodyTs: "'100k':30 '1k':15,36 '5.05':27 '5v':24 'ah':1 'also':32 'bit':4 'get':23 'help':7 'instead':25 'invert':17 'littl':3 'll':22 'loop':18 'need':14 'realiz':9 'replac':34 'think':6 'v':28"
          +ranking: 0
          +commentCount: 0
          +upVotes: 0
          +downVotes: 0
          +visibility: "visible             "
          +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/617824"
          +editedAt: null
          +createdAt: DateTimeImmutable @1688822182 {#4159
            date: 2023-07-08 15:16:22.0 +02:00
          }
        }
        +root: App\Entity\EntryComment {#4016}
        +body: """
          So what should happen if you replace the 1k in the inverting loop by 0 Ohm is, you should get a 5V square wave.\n
          \n
          Is that correct?
          """
        +lang: "en"
        +isAdult: false
        +favouriteCount: 0
        +score: 0
        +lastActive: DateTime @1688850696 {#4178
          date: 2023-07-08 23:11:36.0 +02:00
        }
        +ip: null
        +tags: null
        +mentions: [
          "@PinkDuck@kbin.social"
          "@grasib@lemmy.world"
        ]
        +children: Doctrine\ORM\PersistentCollection {#4173 …}
        +nested: Doctrine\ORM\PersistentCollection {#4171 …}
        +votes: Doctrine\ORM\PersistentCollection {#4169 …}
        +reports: Doctrine\ORM\PersistentCollection {#4185 …}
        +favourites: Doctrine\ORM\PersistentCollection {#4187 …}
        +notifications: Doctrine\ORM\PersistentCollection {#4189 …}
        -id: 9175
        -bodyTs: "'0':15 '1k':9 '5v':22 'correct':27 'get':20 'happen':4 'invert':12 'loop':13 'ohm':16 'replac':7 'squar':23 'wave':24"
        +ranking: 0
        +commentCount: 0
        +upVotes: 0
        +downVotes: 0
        +visibility: "visible             "
        +apId: "https://lemmy.world/comment/998806"
        +editedAt: DateTimeImmutable @1688851134 {#4181
          date: 2023-07-08 23:18:54.0 +02:00
        }
        +createdAt: DateTimeImmutable @1688850696 {#4183
          date: 2023-07-08 23:11:36.0 +02:00
        }
      }
      +root: App\Entity\EntryComment {#4016}
      +body: "No, with 0 Ohm I get a perfect 0+5v sine, just as I need. It's the other way round, it'll amplify the signal and clip off the top at about + supply voltage when you increase the resistance in the feedback loop, but it's not exactly square wave, as the bottom part of sine will remain intact. I use clipping schottky diodes to protect the arduino from voltage outside 0+5v range, this way if you increase input signal to say 20v peak to peak, you'll get more square-ish wave in 0+5v (I've attached the schematics)"
      +lang: "en"
      +isAdult: false
      +favouriteCount: 0
      +score: 0
      +lastActive: DateTime @1688889494 {#4201
        date: 2023-07-09 09:58:14.0 +02:00
      }
      +ip: null
      +tags: null
      +mentions: [
        "@PinkDuck@kbin.social"
        "@grasib@lemmy.world"
      ]
      +children: Doctrine\ORM\PersistentCollection {#4196 …}
      +nested: Doctrine\ORM\PersistentCollection {#4194 …}
      +votes: Doctrine\ORM\PersistentCollection {#4192 …}
      +reports: Doctrine\ORM\PersistentCollection {#4208 …}
      +favourites: Doctrine\ORM\PersistentCollection {#4210 …}
      +notifications: Doctrine\ORM\PersistentCollection {#4212 …}
      -id: 9227
      -bodyTs: "'+5':10,75,101 '0':3,9,74,100 '20v':87 'amplifi':25 'arduino':70 'attach':105 'bottom':55 'clip':29,64 'diod':66 'exact':50 'feedback':44 'get':6,93 'increas':39,82 'input':83 'intact':61 'ish':97 'll':24,92 'loop':45 'need':16 'ohm':4 'outsid':73 'part':56 'peak':88,90 'perfect':8 'protect':68 'rang':77 'remain':60 'resist':41 'round':22 'say':86 'schemat':107 'schottki':65 'signal':27,84 'sine':12,58 'squar':51,96 'square-ish':95 'suppli':35 'top':32 'use':63 'v':11,76,102 've':104 'voltag':36,72 'wave':52,98 'way':21,79"
      +ranking: 0
      +commentCount: 0
      +upVotes: 0
      +downVotes: 0
      +visibility: "visible             "
      +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/640035"
      +editedAt: null
      +createdAt: DateTimeImmutable @1688889494 {#4204
        date: 2023-07-09 09:58:14.0 +02:00
      }
    }
    +root: App\Entity\EntryComment {#4016}
    +body: """
      You’re right of course. Two more questions if you don’t mind:\n
      \n
      - 1. what’s the 1k || 100k doing?\n
      - 2. if you don’t want more than 5V at the output of the OpAmp, wouldn’t it be easier to just supply the OpAmp with 5V instead of adding a shottky diode which has a forward voltage of around 0.6V? As I understand the screenshot the voltage is 5.4V at that exact point and it could theoretically raise to 5.6V.\n
      \n
      At the moment you’re also mixing up your + input. 10V AC + 5V DC result in 7.5V input in your sim.
      """
    +lang: "en"
    +isAdult: false
    +favouriteCount: 0
    +score: 0
    +lastActive: DateTime @1688945113 {#4224
      date: 2023-07-10 01:25:13.0 +02:00
    }
    +ip: null
    +tags: null
    +mentions: [
      "@PinkDuck@kbin.social"
      "@grasib@lemmy.world"
    ]
    +children: Doctrine\ORM\PersistentCollection {#4219 …}
    +nested: Doctrine\ORM\PersistentCollection {#4217 …}
    +votes: Doctrine\ORM\PersistentCollection {#4215 …}
    +reports: Doctrine\ORM\PersistentCollection {#4231 …}
    +favourites: Doctrine\ORM\PersistentCollection {#4233 …}
    +notifications: Doctrine\ORM\PersistentCollection {#4235 …}
    -id: 9282
    -bodyTs: "'0.6':61 '1':14 '100k':19 '10v':95 '1k':18 '2':21 '5.4':71 '5.6':83 '5v':29,47,97 '7.5':101 'ac':96 'ad':50 'also':90 'around':60 'could':79 'cours':5 'dc':98 'diod':53 'easier':40 'exact':75 'forward':57 'input':94,103 'instead':48 'mind':13 'mix':91 'moment':87 'opamp':35,45 'output':32 'point':76 'question':8 'rais':81 're':2,89 'result':99 'right':3 'screenshot':67 'shottki':52 'sim':106 'suppli':43 'theoret':80 'two':6 'understand':65 'v':62,72,84,102 'voltag':58,69 'want':26 'wouldn':36"
    +ranking: 0
    +commentCount: 0
    +upVotes: 0
    +downVotes: 0
    +visibility: "visible             "
    +apId: "https://lemmy.world/comment/1054095"
    +editedAt: DateTimeImmutable @1688946519 {#4227
      date: 2023-07-10 01:48:39.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688945113 {#4229
      date: 2023-07-10 01:25:13.0 +02:00
    }
  }
  +root: App\Entity\EntryComment {#4016}
  +body: """
    1. it does nothing 😅 I just forgot to remove it from the sim\n
    2. you mean like power it with 0+5v? I think it won't work with negative input voltages then, right? and I'm using tl074 and I'm not sure that 0+5v is enough juice for it, and I use remaining 3 opamps for other stuff, so it's not really an option for me. the sim didn't have shottky diodes, so this measurements are not 100% accurate, but I used this approach to protect arduino inputs in another project, and it worked well. And yeah, I cranked up the input signal to +/-10v just to check the clipping, it'll normally stay within +/-5v\n
    \n
    I already ordered PCB for the prototype. I hope it'll work fine. Thanks a lot for your help :)
    """
  +lang: "en"
  +isAdult: false
  +favouriteCount: 0
  +score: 0
  +lastActive: DateTime @1688977313 {#4247
    date: 2023-07-10 10:21:53.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
    "@grasib@lemmy.world"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4244 …}
  +nested: Doctrine\ORM\PersistentCollection {#4241 …}
  +votes: Doctrine\ORM\PersistentCollection {#4239 …}
  +reports: Doctrine\ORM\PersistentCollection {#4253 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4255 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4257 …}
  -id: 9341
  -bodyTs: "'+5':22,48 '-10':112 '-5':124 '0':21,47 '1':1 '100':85 '2':14 '3':59 'accur':86 'alreadi':127 'anoth':97 'approach':91 'arduino':94 'check':116 'clip':118 'crank':106 'didn':75 'diod':79 'enough':51 'fine':138 'forgot':7 'help':144 'hope':134 'input':32,95,109 'juic':52 'like':17 'll':120,136 'lot':141 'm':38,43 'mean':16 'measur':82 'negat':31 'normal':121 'noth':4 'opamp':60 'option':70 'order':128 'pcb':129 'power':18 'project':98 'protect':93 'prototyp':132 'realli':68 'remain':58 'remov':9 'right':35 'shottki':78 'signal':110 'sim':13,74 'stay':122 'stuff':63 'sure':45 'thank':139 'think':25 'tl074':40 'use':39,57,89 'v':23,49,113,125 'voltag':33 'well':102 'within':123 'won':27 'work':29,101,137 'yeah':104"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/662908"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688977313 {#4250
    date: 2023-07-10 10:21:53.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 {#4054
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: Proxies\__CG__\App\Entity\Image {#4052 …}
  +parent: null
  +root: null
  +body: "Oops, the schematics didn't attach for some reason, let's try to add it here"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1688759314 {#4060
    date: 2023-07-07 21:48:34.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4053 …}
  +nested: Doctrine\ORM\PersistentCollection {#4044 …}
  +votes: Doctrine\ORM\PersistentCollection {#4047 …}
  +reports: Doctrine\ORM\PersistentCollection {#4042 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4040 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4038 …}
  -id: 9033
  -bodyTs: "'add':14 'attach':6 'didn':4 'let':10 'oop':1 'reason':9 'schemat':3 'tri':12"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/600100"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688759314 {#4058
    date: 2023-07-07 21:48:34.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 {#4054
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: Proxies\__CG__\App\Entity\Image {#4052 …}
  +parent: null
  +root: null
  +body: "Oops, the schematics didn't attach for some reason, let's try to add it here"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1688759314 {#4060
    date: 2023-07-07 21:48:34.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4053 …}
  +nested: Doctrine\ORM\PersistentCollection {#4044 …}
  +votes: Doctrine\ORM\PersistentCollection {#4047 …}
  +reports: Doctrine\ORM\PersistentCollection {#4042 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4040 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4038 …}
  -id: 9033
  -bodyTs: "'add':14 'attach':6 'didn':4 'let':10 'oop':1 'reason':9 'schemat':3 'tri':12"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/600100"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688759314 {#4058
    date: 2023-07-07 21:48:34.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 {#4054
  +user: Proxies\__CG__\App\Entity\User {#1978 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1978 …}
    +magazine: App\Entity\Magazine {#264
      +icon: Proxies\__CG__\App\Entity\Image {#245 …}
      +name: "askelectronics@discuss.tchncs.de"
      +title: "askelectronics"
      +description: """
        **For questions about component-level electronic circuits, tools and equipment.**\n
        \n
        Rules\n
        -----\n
        \n
        1: Be nice.\n
        \n
        2: Be on-topic (eg: *Electronic*, not *electrical*).\n
        \n
        3: No commercial stuff, buying, selling or valuations.\n
        \n
        4: Be safe.\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 154
      +entryCommentCount: 1230
      +postCount: 1
      +postCommentCount: 4
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1729413608 {#274
        date: 2024-10-20 10:40:08.0 +02:00
      }
      +markedForDeletionAt: null
      +tags: null
      +moderators: Doctrine\ORM\PersistentCollection {#236 …}
      +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
      +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
      +entries: Doctrine\ORM\PersistentCollection {#179 …}
      +posts: Doctrine\ORM\PersistentCollection {#137 …}
      +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
      +bans: Doctrine\ORM\PersistentCollection {#116 …}
      +reports: Doctrine\ORM\PersistentCollection {#102 …}
      +badges: Doctrine\ORM\PersistentCollection {#80 …}
      +logs: Doctrine\ORM\PersistentCollection {#70 …}
      +awards: Doctrine\ORM\PersistentCollection {#1360 …}
      +categories: Doctrine\ORM\PersistentCollection {#1792 …}
      -id: 11
      +apId: "askelectronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "askelectronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1727247714 {#268
        date: 2024-09-25 09:01:54.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1687144409 {#270
        date: 2023-06-19 05:13:29.0 +02:00
      }
    }
    +image: null
    +domain: Proxies\__CG__\App\Entity\Domain {#1889 …}
    +slug: "What-s-a-simplest-way-to-get-5v-from-12v"
    +title: "What's a simplest way to get -5v from +/-12v?"
    +url: null
    +body: """
      Hi! I'm working on an arduino project that has a -12v/0v/+12 psu. +12 is fed directly into arduinos voltage regulator, so there's also a +5v line available. I need to convert a -5v+5v signal to 0v+5v to feed it into arduinos analogue input and I've already mocked up a schematic in circuitjs based on an opamp that seems to do what I want. The only problem is that it needs -5v to shift the signal to be unipolar. I know that I can invert +5v using another opamp, but maybe there's some simpler way? I'd really like to avoid adding another opamp just for this? In this schematic I used simple voltage divider to get the needed voltage, but I guess that's not the best approach?\n
      \n
      TLDR: I have -12v, 0v, +12v and +5v, what's the easiest way to get -5v?
      """
    +type: "article"
    +lang: "en"
    +isOc: false
    +hasEmbed: false
    +commentCount: 10
    +favouriteCount: 11
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688977313 {#2418
      date: 2023-07-10 10:21:53.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1688 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1965 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 925
    -titleTs: "'-12':11 '-5':8 'get':7 'simplest':4 'v':9,12 'way':5"
    -bodyTs: "'+12':14,16,149 '+5':29,40,45,97,152 '-12':12,146 '-5':38,82,161 '0v':44,148 'ad':115 'alreadi':57 'also':27 'analogu':52 'anoth':100,116 'approach':142 'arduino':7,21,51 'avail':32 'avoid':114 'base':64 'best':141 'circuitj':63 'convert':36 'd':110 'direct':19 'divid':128 'easiest':157 'fed':18 'feed':48 'get':130,160 'guess':136 'hi':1 'input':53 'invert':96 'know':92 'like':112 'line':31 'm':3 'mayb':103 'mock':58 'need':34,81,132 'opamp':67,101,117 'problem':77 'project':8 'psu':15 'realli':111 'regul':23 'schemat':61,123 'seem':69 'shift':85 'signal':42,87 'simpl':126 'simpler':107 'tldr':143 'unipolar':90 'use':99,125 'v':30,39,41,46,83,98,147,150,153,162 'v/0v':13 've':56 'voltag':22,127,133 'want':74 'way':108,158 'work':4"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688806732
    +visibility: "visible             "
    +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276"
    +editedAt: null
    +createdAt: DateTimeImmutable @1688759232 {#1858
      date: 2023-07-07 21:47:12.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#264}
  +image: Proxies\__CG__\App\Entity\Image {#4052 …}
  +parent: null
  +root: null
  +body: "Oops, the schematics didn't attach for some reason, let's try to add it here"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1688759314 {#4060
    date: 2023-07-07 21:48:34.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@PinkDuck@kbin.social"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4053 …}
  +nested: Doctrine\ORM\PersistentCollection {#4044 …}
  +votes: Doctrine\ORM\PersistentCollection {#4047 …}
  +reports: Doctrine\ORM\PersistentCollection {#4042 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4040 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4038 …}
  -id: 9033
  -bodyTs: "'add':14 'attach':6 'didn':4 'let':10 'oop':1 'reason':9 'schemat':3 'tri':12"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://kbin.social/m/askelectronics@discuss.tchncs.de/t/154276/-/comment/600100"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688759314 {#4058
    date: 2023-07-07 21:48:34.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 edit
App\Entity\Magazine {#264
  +icon: Proxies\__CG__\App\Entity\Image {#245 …}
  +name: "askelectronics@discuss.tchncs.de"
  +title: "askelectronics"
  +description: """
    **For questions about component-level electronic circuits, tools and equipment.**\n
    \n
    Rules\n
    -----\n
    \n
    1: Be nice.\n
    \n
    2: Be on-topic (eg: *Electronic*, not *electrical*).\n
    \n
    3: No commercial stuff, buying, selling or valuations.\n
    \n
    4: Be safe.\n
    \n
    ---
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 154
  +entryCommentCount: 1230
  +postCount: 1
  +postCommentCount: 4
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729413608 {#274
    date: 2024-10-20 10:40:08.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#236 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#232 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#221 …}
  +entries: Doctrine\ORM\PersistentCollection {#179 …}
  +posts: Doctrine\ORM\PersistentCollection {#137 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#199 …}
  +bans: Doctrine\ORM\PersistentCollection {#116 …}
  +reports: Doctrine\ORM\PersistentCollection {#102 …}
  +badges: Doctrine\ORM\PersistentCollection {#80 …}
  +logs: Doctrine\ORM\PersistentCollection {#70 …}
  +awards: Doctrine\ORM\PersistentCollection {#1360 …}
  +categories: Doctrine\ORM\PersistentCollection {#1792 …}
  -id: 11
  +apId: "askelectronics@discuss.tchncs.de"
  +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
  +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
  +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
  +apInboxUrl: "https://discuss.tchncs.de/inbox"
  +apDomain: "discuss.tchncs.de"
  +apPreferredUsername: "askelectronics"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1727247714 {#268
    date: 2024-09-25 09:01:54.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1687144409 {#270
    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