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 …}
}
1.23 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.22 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 {#1846
  +user: Proxies\__CG__\App\Entity\User {#1899 …}
  +magazine: App\Entity\Magazine {#289
    +icon: Proxies\__CG__\App\Entity\Image {#270 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#299
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#261 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#257 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#246 …}
    +entries: Doctrine\ORM\PersistentCollection {#204 …}
    +posts: Doctrine\ORM\PersistentCollection {#162 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#224 …}
    +bans: Doctrine\ORM\PersistentCollection {#141 …}
    +reports: Doctrine\ORM\PersistentCollection {#127 …}
    +badges: Doctrine\ORM\PersistentCollection {#105 …}
    +logs: Doctrine\ORM\PersistentCollection {#95 …}
    +awards: Doctrine\ORM\PersistentCollection {#84 …}
    +categories: Doctrine\ORM\PersistentCollection {#71 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#293
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#292
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1911 …}
  +slug: "Can-I-switch-this-constant-current-LED-driver-at-38kHz"
  +title: "Can I switch this constant current LED driver at 38kHz?"
  +url: null
  +body: """
    My goal is to drive an infrared LED like ([this SFH 4727AS](https://dammedia.osram.info/media/resource/hires/osram-dam-5723342/SFH%204727AS_EN.pdf)) to control IR remote controlled devices (for example a TV).\n
    \n
    I can already output the signal on a pin of my microcontroller. The signal has a carrier frequency of 38kHz.\n
    \n
    I am however limited to a 5V 1A power supply and would like to drive the LED as close to the 5W psu limit as possible.\n
    \n
    I first thought about using a MOSFET like [this AO3400A](https://aosmd.com/sites/default/files/res/data_sheets/AO3400A.pdf) together with a resistor, but decided it was worth using an LED driver, do you agree?\n
    \n
    Now I’m looking at [this PAM2804](https://www.diodes.com/assets/Datasheets/PAM2804.pdf) constant current LED driver but I’m not sure if I can just supply my signal to the EN pin. The EN pin is meant for PWM-dimming, so does that mean the output is smoothed to prevent flickering?\n
    \n
    I’d love to hear your thoughts about how I should go about this. Thanks
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 6
  +favouriteCount: 3
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1688440552 {#1861
    date: 2023-07-04 05:15:52.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1949 …}
  +votes: Doctrine\ORM\PersistentCollection {#1894 …}
  +reports: Doctrine\ORM\PersistentCollection {#2402 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1386 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1370 …}
  +badges: Doctrine\ORM\PersistentCollection {#1375 …}
  +children: []
  -id: 749
  -titleTs: "'38khz':10 'constant':5 'current':6 'driver':8 'led':7 'switch':3"
  -bodyTs: "'/assets/datasheets/pam2804.pdf)':110 '/media/resource/hires/osram-dam-5723342/sfh%204727as_en.pdf))':15 '/sites/default/files/res/data_sheets/ao3400a.pdf)':84 '1a':53 '38khz':45 '4727as':12 '5v':52 '5w':67 'agre':100 'alreadi':28 'ao3400a':81 'aosmd.com':83 'aosmd.com/sites/default/files/res/data_sheets/ao3400a.pdf)':82 'carrier':42 'close':64 'constant':111 'control':17,20 'current':112 'd':152 'dammedia.osram.info':14 'dammedia.osram.info/media/resource/hires/osram-dam-5723342/sfh%204727as_en.pdf))':13 'decid':90 'devic':21 'dim':139 'drive':5,60 'driver':97,114 'en':129,132 'exampl':23 'first':73 'flicker':150 'frequenc':43 'go':162 'goal':2 'hear':155 'howev':48 'infrar':7 'ir':18 'led':8,62,96,113 'like':9,58,79 'limit':49,69 'look':104 'love':153 'm':103,117 'mean':143 'meant':135 'microcontrol':37 'mosfet':78 'output':29,145 'pam2804':107 'pin':34,130,133 'possibl':71 'power':54 'prevent':149 'psu':68 'pwm':138 'pwm-dim':137 'remot':19 'resistor':88 'sfh':11 'signal':31,39,126 'smooth':147 'suppli':55,124 'sure':119 'thank':165 'thought':74,157 'togeth':85 'tv':25 'use':76,94 'worth':93 'would':57 'www.diodes.com':109 'www.diodes.com/assets/datasheets/pam2804.pdf)':108"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1688452507
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/post/465080"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688424007 {#75
    date: 2023-07-04 00:40:07.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 {#1846
  +user: Proxies\__CG__\App\Entity\User {#1899 …}
  +magazine: App\Entity\Magazine {#289
    +icon: Proxies\__CG__\App\Entity\Image {#270 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#299
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#261 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#257 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#246 …}
    +entries: Doctrine\ORM\PersistentCollection {#204 …}
    +posts: Doctrine\ORM\PersistentCollection {#162 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#224 …}
    +bans: Doctrine\ORM\PersistentCollection {#141 …}
    +reports: Doctrine\ORM\PersistentCollection {#127 …}
    +badges: Doctrine\ORM\PersistentCollection {#105 …}
    +logs: Doctrine\ORM\PersistentCollection {#95 …}
    +awards: Doctrine\ORM\PersistentCollection {#84 …}
    +categories: Doctrine\ORM\PersistentCollection {#71 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#293
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#292
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1911 …}
  +slug: "Can-I-switch-this-constant-current-LED-driver-at-38kHz"
  +title: "Can I switch this constant current LED driver at 38kHz?"
  +url: null
  +body: """
    My goal is to drive an infrared LED like ([this SFH 4727AS](https://dammedia.osram.info/media/resource/hires/osram-dam-5723342/SFH%204727AS_EN.pdf)) to control IR remote controlled devices (for example a TV).\n
    \n
    I can already output the signal on a pin of my microcontroller. The signal has a carrier frequency of 38kHz.\n
    \n
    I am however limited to a 5V 1A power supply and would like to drive the LED as close to the 5W psu limit as possible.\n
    \n
    I first thought about using a MOSFET like [this AO3400A](https://aosmd.com/sites/default/files/res/data_sheets/AO3400A.pdf) together with a resistor, but decided it was worth using an LED driver, do you agree?\n
    \n
    Now I’m looking at [this PAM2804](https://www.diodes.com/assets/Datasheets/PAM2804.pdf) constant current LED driver but I’m not sure if I can just supply my signal to the EN pin. The EN pin is meant for PWM-dimming, so does that mean the output is smoothed to prevent flickering?\n
    \n
    I’d love to hear your thoughts about how I should go about this. Thanks
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 6
  +favouriteCount: 3
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1688440552 {#1861
    date: 2023-07-04 05:15:52.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1949 …}
  +votes: Doctrine\ORM\PersistentCollection {#1894 …}
  +reports: Doctrine\ORM\PersistentCollection {#2402 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1386 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1370 …}
  +badges: Doctrine\ORM\PersistentCollection {#1375 …}
  +children: []
  -id: 749
  -titleTs: "'38khz':10 'constant':5 'current':6 'driver':8 'led':7 'switch':3"
  -bodyTs: "'/assets/datasheets/pam2804.pdf)':110 '/media/resource/hires/osram-dam-5723342/sfh%204727as_en.pdf))':15 '/sites/default/files/res/data_sheets/ao3400a.pdf)':84 '1a':53 '38khz':45 '4727as':12 '5v':52 '5w':67 'agre':100 'alreadi':28 'ao3400a':81 'aosmd.com':83 'aosmd.com/sites/default/files/res/data_sheets/ao3400a.pdf)':82 'carrier':42 'close':64 'constant':111 'control':17,20 'current':112 'd':152 'dammedia.osram.info':14 'dammedia.osram.info/media/resource/hires/osram-dam-5723342/sfh%204727as_en.pdf))':13 'decid':90 'devic':21 'dim':139 'drive':5,60 'driver':97,114 'en':129,132 'exampl':23 'first':73 'flicker':150 'frequenc':43 'go':162 'goal':2 'hear':155 'howev':48 'infrar':7 'ir':18 'led':8,62,96,113 'like':9,58,79 'limit':49,69 'look':104 'love':153 'm':103,117 'mean':143 'meant':135 'microcontrol':37 'mosfet':78 'output':29,145 'pam2804':107 'pin':34,130,133 'possibl':71 'power':54 'prevent':149 'psu':68 'pwm':138 'pwm-dim':137 'remot':19 'resistor':88 'sfh':11 'signal':31,39,126 'smooth':147 'suppli':55,124 'sure':119 'thank':165 'thought':74,157 'togeth':85 'tv':25 'use':76,94 'worth':93 'would':57 'www.diodes.com':109 'www.diodes.com/assets/datasheets/pam2804.pdf)':108"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1688452507
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/post/465080"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688424007 {#75
    date: 2023-07-04 00:40:07.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 {#1846
  +user: Proxies\__CG__\App\Entity\User {#1899 …}
  +magazine: App\Entity\Magazine {#289
    +icon: Proxies\__CG__\App\Entity\Image {#270 …}
    +name: "askelectronics@discuss.tchncs.de"
    +title: "askelectronics"
    +description: """
      **For questions about component-level electronic circuits, tools and equipment.**\n
      \n
      Rules\n
      -----\n
      \n
      1: Be nice.\n
      \n
      2: Be on-topic (eg: *Electronic*, not *electrical*).\n
      \n
      3: No commercial stuff, buying, selling or valuations.\n
      \n
      4: Be safe.\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 154
    +entryCommentCount: 1230
    +postCount: 1
    +postCommentCount: 4
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1729413608 {#299
      date: 2024-10-20 10:40:08.0 +02:00
    }
    +markedForDeletionAt: null
    +tags: null
    +moderators: Doctrine\ORM\PersistentCollection {#261 …}
    +ownershipRequests: Doctrine\ORM\PersistentCollection {#257 …}
    +moderatorRequests: Doctrine\ORM\PersistentCollection {#246 …}
    +entries: Doctrine\ORM\PersistentCollection {#204 …}
    +posts: Doctrine\ORM\PersistentCollection {#162 …}
    +subscriptions: Doctrine\ORM\PersistentCollection {#224 …}
    +bans: Doctrine\ORM\PersistentCollection {#141 …}
    +reports: Doctrine\ORM\PersistentCollection {#127 …}
    +badges: Doctrine\ORM\PersistentCollection {#105 …}
    +logs: Doctrine\ORM\PersistentCollection {#95 …}
    +awards: Doctrine\ORM\PersistentCollection {#84 …}
    +categories: Doctrine\ORM\PersistentCollection {#71 …}
    -id: 11
    +apId: "askelectronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "askelectronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1727247714 {#293
      date: 2024-09-25 09:01:54.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1687144409 {#292
      date: 2023-06-19 05:13:29.0 +02:00
    }
  }
  +image: null
  +domain: Proxies\__CG__\App\Entity\Domain {#1911 …}
  +slug: "Can-I-switch-this-constant-current-LED-driver-at-38kHz"
  +title: "Can I switch this constant current LED driver at 38kHz?"
  +url: null
  +body: """
    My goal is to drive an infrared LED like ([this SFH 4727AS](https://dammedia.osram.info/media/resource/hires/osram-dam-5723342/SFH%204727AS_EN.pdf)) to control IR remote controlled devices (for example a TV).\n
    \n
    I can already output the signal on a pin of my microcontroller. The signal has a carrier frequency of 38kHz.\n
    \n
    I am however limited to a 5V 1A power supply and would like to drive the LED as close to the 5W psu limit as possible.\n
    \n
    I first thought about using a MOSFET like [this AO3400A](https://aosmd.com/sites/default/files/res/data_sheets/AO3400A.pdf) together with a resistor, but decided it was worth using an LED driver, do you agree?\n
    \n
    Now I’m looking at [this PAM2804](https://www.diodes.com/assets/Datasheets/PAM2804.pdf) constant current LED driver but I’m not sure if I can just supply my signal to the EN pin. The EN pin is meant for PWM-dimming, so does that mean the output is smoothed to prevent flickering?\n
    \n
    I’d love to hear your thoughts about how I should go about this. Thanks
    """
  +type: "article"
  +lang: "en"
  +isOc: false
  +hasEmbed: false
  +commentCount: 6
  +favouriteCount: 3
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1688440552 {#1861
    date: 2023-07-04 05:15:52.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1949 …}
  +votes: Doctrine\ORM\PersistentCollection {#1894 …}
  +reports: Doctrine\ORM\PersistentCollection {#2402 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1386 …}
  +notifications: Doctrine\ORM\PersistentCollection {#1370 …}
  +badges: Doctrine\ORM\PersistentCollection {#1375 …}
  +children: []
  -id: 749
  -titleTs: "'38khz':10 'constant':5 'current':6 'driver':8 'led':7 'switch':3"
  -bodyTs: "'/assets/datasheets/pam2804.pdf)':110 '/media/resource/hires/osram-dam-5723342/sfh%204727as_en.pdf))':15 '/sites/default/files/res/data_sheets/ao3400a.pdf)':84 '1a':53 '38khz':45 '4727as':12 '5v':52 '5w':67 'agre':100 'alreadi':28 'ao3400a':81 'aosmd.com':83 'aosmd.com/sites/default/files/res/data_sheets/ao3400a.pdf)':82 'carrier':42 'close':64 'constant':111 'control':17,20 'current':112 'd':152 'dammedia.osram.info':14 'dammedia.osram.info/media/resource/hires/osram-dam-5723342/sfh%204727as_en.pdf))':13 'decid':90 'devic':21 'dim':139 'drive':5,60 'driver':97,114 'en':129,132 'exampl':23 'first':73 'flicker':150 'frequenc':43 'go':162 'goal':2 'hear':155 'howev':48 'infrar':7 'ir':18 'led':8,62,96,113 'like':9,58,79 'limit':49,69 'look':104 'love':153 'm':103,117 'mean':143 'meant':135 'microcontrol':37 'mosfet':78 'output':29,145 'pam2804':107 'pin':34,130,133 'possibl':71 'power':54 'prevent':149 'psu':68 'pwm':138 'pwm-dim':137 'remot':19 'resistor':88 'sfh':11 'signal':31,39,126 'smooth':147 'suppli':55,124 'sure':119 'thank':165 'thought':74,157 'togeth':85 'tv':25 'use':76,94 'worth':93 'would':57 'www.diodes.com':109 'www.diodes.com/assets/datasheets/pam2804.pdf)':108"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1688452507
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/post/465080"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688424007 {#75
    date: 2023-07-04 00:40:07.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 edit
App\Entity\Magazine {#289
  +icon: Proxies\__CG__\App\Entity\Image {#270 …}
  +name: "askelectronics@discuss.tchncs.de"
  +title: "askelectronics"
  +description: """
    **For questions about component-level electronic circuits, tools and equipment.**\n
    \n
    Rules\n
    -----\n
    \n
    1: Be nice.\n
    \n
    2: Be on-topic (eg: *Electronic*, not *electrical*).\n
    \n
    3: No commercial stuff, buying, selling or valuations.\n
    \n
    4: Be safe.\n
    \n
    ---
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 154
  +entryCommentCount: 1230
  +postCount: 1
  +postCommentCount: 4
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1729413608 {#299
    date: 2024-10-20 10:40:08.0 +02:00
  }
  +markedForDeletionAt: null
  +tags: null
  +moderators: Doctrine\ORM\PersistentCollection {#261 …}
  +ownershipRequests: Doctrine\ORM\PersistentCollection {#257 …}
  +moderatorRequests: Doctrine\ORM\PersistentCollection {#246 …}
  +entries: Doctrine\ORM\PersistentCollection {#204 …}
  +posts: Doctrine\ORM\PersistentCollection {#162 …}
  +subscriptions: Doctrine\ORM\PersistentCollection {#224 …}
  +bans: Doctrine\ORM\PersistentCollection {#141 …}
  +reports: Doctrine\ORM\PersistentCollection {#127 …}
  +badges: Doctrine\ORM\PersistentCollection {#105 …}
  +logs: Doctrine\ORM\PersistentCollection {#95 …}
  +awards: Doctrine\ORM\PersistentCollection {#84 …}
  +categories: Doctrine\ORM\PersistentCollection {#71 …}
  -id: 11
  +apId: "askelectronics@discuss.tchncs.de"
  +apProfileId: "https://discuss.tchncs.de/c/askelectronics"
  +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics"
  +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers"
  +apInboxUrl: "https://discuss.tchncs.de/inbox"
  +apDomain: "discuss.tchncs.de"
  +apPreferredUsername: "askelectronics"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1727247714 {#293
    date: 2024-09-25 09:01:54.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1687144409 {#292
    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