Components
24
Twig Components
95
Render Count
334
ms
Render Time
12.0
MiB
Memory Usage
Components
Render calls
entry | App\Twig\Components\EntryComponent | 12.0 MiB | 37.44 ms | |
---|---|---|---|---|
Input props | [ "entry" => App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } "isSingle" => true "showShortSentence" => false "showBody" => true ] |
|||
Attributes | [ "class" => "entry--single section--top" ] |
|||
Component | App\Twig\Components\EntryComponent {#2954 -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} -newCommentMarkerCount: App\Kbin\NewCommentMarker\NewCommentMarkerCount {#2955 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +isSingle: true +showShortSentence: false +showBody: true +showMagazineName: false +canSeeTrash: false +newComments: 0 } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.57 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#3145 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.58 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1688424007 {#1850 : 2023-07-04 00:40:07.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#3215 +date: DateTimeImmutable @1688424007 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.27 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1688424007 {#1850 : 2023-07-04 00:40:07.0 +02:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#3279 +createdAt: DateTimeImmutable @1688424007 {#1850 : 2023-07-04 00:40:07.0 +02:00 } +editedAt: null } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.78 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#3344 +subject: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +formDest: "entry" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 16.97 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#3410 +formDest: "entry" +subject: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entries_cross | App\Twig\Components\EntriesCrossComponent | 12.0 MiB | 58.87 ms | |
---|---|---|---|---|
Input props | [ "entry" => App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntriesCrossComponent {#3724 +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } -repository: App\Repository\EntryRepository {#271 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} } |
editor_toolbar | App\Twig\Components\EditorToolbarComponent | 12.0 MiB | 0.41 ms | |
---|---|---|---|---|
Input props | [ "id" => "entry_comment_679234a9eef9e1.71845701_body" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EditorToolbarComponent {#3849 +id: "entry_comment_679234a9eef9e1.71845701_body" } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 57.58 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#4217 +comment: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 1 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#4306 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.17 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#4361 +date: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#4415 +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.30 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#4471 +width: 40 +height: 40 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.50 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#4558 +subject: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.68 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#4615 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 40.73 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#4862 +comment: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +nestedComments: [ 7558 => App\Entity\EntryComment {#4230 +user: App\Entity\User {#3997} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049} +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Those calculations are correct.\n \n Since the remote control signals are short and low duty cycle, you could use a capacitor to provide the peak current for the LED without going over the maximum current of the power supply. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440552 {#4228 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4231 …} +nested: Doctrine\ORM\PersistentCollection {#4233 …} +votes: Doctrine\ORM\PersistentCollection {#4235 …} +reports: Doctrine\ORM\PersistentCollection {#4237 …} +favourites: Doctrine\ORM\PersistentCollection {#4239 …} +notifications: Doctrine\ORM\PersistentCollection {#4241 …} -id: 7558 -bodyTs: "'calcul':2 'capacitor':20 'control':8 'correct':4 'could':17 'current':25,34 'cycl':15 'duti':14 'go':30 'led':28 'low':13 'maximum':33 'peak':24 'power':37 'provid':22 'remot':7 'short':11 'signal':9 'sinc':5 'suppli':38 'use':18 'without':29" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/600360" +editedAt: null +createdAt: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } } 7524 => App\Entity\EntryComment {#4193} ] +level: 1 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 34.37 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } "showNested" => true "level" => 2 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#4936 +comment: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 2 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#4983 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5038 +date: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } "editedAt" => DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#5092 +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.17 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#5146 +width: 40 +height: 40 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.50 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#5303 +subject: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.74 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#5360 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 19.12 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } "level" => 2 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#5600 +comment: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +nestedComments: [] +level: 2 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 9.71 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4230 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Those calculations are correct.\n \n Since the remote control signals are short and low duty cycle, you could use a capacitor to provide the peak current for the LED without going over the maximum current of the power supply. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440552 {#4228 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4231 …} +nested: Doctrine\ORM\PersistentCollection {#4233 …} +votes: Doctrine\ORM\PersistentCollection {#4235 …} +reports: Doctrine\ORM\PersistentCollection {#4237 …} +favourites: Doctrine\ORM\PersistentCollection {#4239 …} +notifications: Doctrine\ORM\PersistentCollection {#4241 …} -id: 7558 -bodyTs: "'calcul':2 'capacitor':20 'control':8 'correct':4 'could':17 'current':25,34 'cycl':15 'duti':14 'go':30 'led':28 'low':13 'maximum':33 'peak':24 'power':37 'provid':22 'remot':7 'short':11 'signal':9 'sinc':5 'suppli':38 'use':18 'without':29" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/600360" +editedAt: null +createdAt: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } } "showNested" => true "level" => 3 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#5655 +comment: App\Entity\EntryComment {#4230 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Those calculations are correct.\n \n Since the remote control signals are short and low duty cycle, you could use a capacitor to provide the peak current for the LED without going over the maximum current of the power supply. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440552 {#4228 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4231 …} +nested: Doctrine\ORM\PersistentCollection {#4233 …} +votes: Doctrine\ORM\PersistentCollection {#4235 …} +reports: Doctrine\ORM\PersistentCollection {#4237 …} +favourites: Doctrine\ORM\PersistentCollection {#4239 …} +notifications: Doctrine\ORM\PersistentCollection {#4241 …} -id: 7558 -bodyTs: "'calcul':2 'capacitor':20 'control':8 'correct':4 'could':17 'current':25,34 'cycl':15 'duti':14 'go':30 'led':28 'low':13 'maximum':33 'peak':24 'power':37 'provid':22 'remot':7 'short':11 'signal':9 'sinc':5 'suppli':38 'use':18 'without':29" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/600360" +editedAt: null +createdAt: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 3 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#5700 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5755 +date: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#5809 +createdAt: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#5863 +width: 40 +height: 40 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.59 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4230 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Those calculations are correct.\n \n Since the remote control signals are short and low duty cycle, you could use a capacitor to provide the peak current for the LED without going over the maximum current of the power supply. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440552 {#4228 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4231 …} +nested: Doctrine\ORM\PersistentCollection {#4233 …} +votes: Doctrine\ORM\PersistentCollection {#4235 …} +reports: Doctrine\ORM\PersistentCollection {#4237 …} +favourites: Doctrine\ORM\PersistentCollection {#4239 …} +notifications: Doctrine\ORM\PersistentCollection {#4241 …} -id: 7558 -bodyTs: "'calcul':2 'capacitor':20 'control':8 'correct':4 'could':17 'current':25,34 'cycl':15 'duti':14 'go':30 'led':28 'low':13 'maximum':33 'peak':24 'power':37 'provid':22 'remot':7 'short':11 'signal':9 'sinc':5 'suppli':38 'use':18 'without':29" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/600360" +editedAt: null +createdAt: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#5936 +subject: App\Entity\EntryComment {#4230 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Those calculations are correct.\n \n Since the remote control signals are short and low duty cycle, you could use a capacitor to provide the peak current for the LED without going over the maximum current of the power supply. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440552 {#4228 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4231 …} +nested: Doctrine\ORM\PersistentCollection {#4233 …} +votes: Doctrine\ORM\PersistentCollection {#4235 …} +reports: Doctrine\ORM\PersistentCollection {#4237 …} +favourites: Doctrine\ORM\PersistentCollection {#4239 …} +notifications: Doctrine\ORM\PersistentCollection {#4241 …} -id: 7558 -bodyTs: "'calcul':2 'capacitor':20 'control':8 'correct':4 'could':17 'current':25,34 'cycl':15 'duti':14 'go':30 'led':28 'low':13 'maximum':33 'peak':24 'power':37 'provid':22 'remot':7 'short':11 'signal':9 'sinc':5 'suppli':38 'use':18 'without':29" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/600360" +editedAt: null +createdAt: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.72 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4230 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Those calculations are correct.\n \n Since the remote control signals are short and low duty cycle, you could use a capacitor to provide the peak current for the LED without going over the maximum current of the power supply. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440552 {#4228 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4231 …} +nested: Doctrine\ORM\PersistentCollection {#4233 …} +votes: Doctrine\ORM\PersistentCollection {#4235 …} +reports: Doctrine\ORM\PersistentCollection {#4237 …} +favourites: Doctrine\ORM\PersistentCollection {#4239 …} +notifications: Doctrine\ORM\PersistentCollection {#4241 …} -id: 7558 -bodyTs: "'calcul':2 'capacitor':20 'control':8 'correct':4 'could':17 'current':25,34 'cycl':15 'duti':14 'go':30 'led':28 'low':13 'maximum':33 'peak':24 'power':37 'provid':22 'remot':7 'short':11 'signal':9 'sinc':5 'suppli':38 'use':18 'without':29" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/600360" +editedAt: null +createdAt: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#5993 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4230 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Those calculations are correct.\n \n Since the remote control signals are short and low duty cycle, you could use a capacitor to provide the peak current for the LED without going over the maximum current of the power supply. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440552 {#4228 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4231 …} +nested: Doctrine\ORM\PersistentCollection {#4233 …} +votes: Doctrine\ORM\PersistentCollection {#4235 …} +reports: Doctrine\ORM\PersistentCollection {#4237 …} +favourites: Doctrine\ORM\PersistentCollection {#4239 …} +notifications: Doctrine\ORM\PersistentCollection {#4241 …} -id: 7558 -bodyTs: "'calcul':2 'capacitor':20 'control':8 'correct':4 'could':17 'current':25,34 'cycl':15 'duti':14 'go':30 'led':28 'low':13 'maximum':33 'peak':24 'power':37 'provid':22 'remot':7 'short':11 'signal':9 'sinc':5 'suppli':38 'use':18 'without':29" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/600360" +editedAt: null +createdAt: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 1.46 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4230 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Those calculations are correct.\n \n Since the remote control signals are short and low duty cycle, you could use a capacitor to provide the peak current for the LED without going over the maximum current of the power supply. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440552 {#4228 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4231 …} +nested: Doctrine\ORM\PersistentCollection {#4233 …} +votes: Doctrine\ORM\PersistentCollection {#4235 …} +reports: Doctrine\ORM\PersistentCollection {#4237 …} +favourites: Doctrine\ORM\PersistentCollection {#4239 …} +notifications: Doctrine\ORM\PersistentCollection {#4241 …} -id: 7558 -bodyTs: "'calcul':2 'capacitor':20 'control':8 'correct':4 'could':17 'current':25,34 'cycl':15 'duti':14 'go':30 'led':28 'low':13 'maximum':33 'peak':24 'power':37 'provid':22 'remot':7 'short':11 'signal':9 'sinc':5 'suppli':38 'use':18 'without':29" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/600360" +editedAt: null +createdAt: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } } "level" => 3 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#6233 +comment: App\Entity\EntryComment {#4230 +user: App\Entity\User {#3997 +avatar: null +cover: null +email: "cmnybo@discuss.tchncs.de" +username: "@cmnybo@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1729562926 {#4057 : 2024-10-22 04:08:46.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#3998 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4001 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#3993 …} +entries: Doctrine\ORM\PersistentCollection {#3991 …} +entryVotes: Doctrine\ORM\PersistentCollection {#3989 …} +entryComments: Doctrine\ORM\PersistentCollection {#3986 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#3984 …} +posts: Doctrine\ORM\PersistentCollection {#3981 …} +postVotes: Doctrine\ORM\PersistentCollection {#3979 …} +postComments: Doctrine\ORM\PersistentCollection {#3977 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#3974 …} +subscriptions: Doctrine\ORM\PersistentCollection {#3972 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#3970 …} +follows: Doctrine\ORM\PersistentCollection {#4113 …} +followers: Doctrine\ORM\PersistentCollection {#4109 …} +blocks: Doctrine\ORM\PersistentCollection {#4098 …} +blockers: Doctrine\ORM\PersistentCollection {#4089 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4078 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4115 …} +reports: Doctrine\ORM\PersistentCollection {#4112 …} +favourites: Doctrine\ORM\PersistentCollection {#4075 …} +violations: Doctrine\ORM\PersistentCollection {#4102 …} +notifications: Doctrine\ORM\PersistentCollection {#4105 …} +awards: Doctrine\ORM\PersistentCollection {#4103 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4101 …} +categories: Doctrine\ORM\PersistentCollection {#4100 …} -id: 67 -password: "$2y$13$xXIZNvW/m.IOzEDXt7h4G.keLrkjvo3fVOpCsmcXVdXTffdfkjZX6" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4093 …} +apId: "cmnybo@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/cmnybo" +apPublicUrl: "https://discuss.tchncs.de/u/cmnybo" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "cmnybo" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728135826 {#4053 : 2024-10-05 15:43:46.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686644885 {#4051 : 2023-06-13 10:28:05.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4193 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4049 +user: App\Entity\User {#3997} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I would just use a MOSFET and resistor to drive the LED if you are only using it in short bursts.\n \n If you want to drive the MOSFET directly from the microcontroller pin, it will need a series resistor to limit the current since the gate has quite a bit of capacitance. If your microcontroller pins can handle 15-20mA, it will be able to switch an AO3400A fast enough without needing a gate driver. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440553 {#4058 : 2023-07-04 05:15:53.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4047 …} +nested: Doctrine\ORM\PersistentCollection {#4045 …} +votes: Doctrine\ORM\PersistentCollection {#4043 …} +reports: Doctrine\ORM\PersistentCollection {#4041 …} +favourites: Doctrine\ORM\PersistentCollection {#4009 …} +notifications: Doctrine\ORM\PersistentCollection {#4013 …} -id: 7516 -bodyTs: "'-20':60 '15':59 'abl':65 'ao3400a':69 'bit':50 'burst':21 'capacit':52 'current':43 'direct':29 'drive':10,26 'driver':76 'enough':71 'fast':70 'gate':46,75 'handl':58 'led':12 'limit':41 'ma':61 'microcontrol':32,55 'mosfet':6,28 'need':36,73 'pin':33,56 'quit':48 'resistor':8,39 'seri':38 'short':20 'sinc':44 'switch':67 'use':4,17 'want':24 'without':72 'would':2" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/596704" +editedAt: null +createdAt: DateTimeImmutable @1688429807 {#3994 : 2023-07-04 02:16:47.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Hey, thanks for your comment. I looked at using a resistor in series with the LED, but if my calculations were correct I could only power the LED less than 3W and 2W would be wasted.\n \n R = (V~s~-V~f~)/I~f~ = (5V-2.8V)/1A = 2.2Ω\n \n P~LED~ = V~f~*I~f~ = 2.8V*1A = 2.8W\n \n P~Resistor~ = V~s~*I~f~-P~LED~ = 5V*1A-2.8W = 2.2W\n \n Let me know if the calculations are correct.\n \n Edit: Calculations """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688432188 {#4190 : 2023-07-04 02:56:28.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4194 …} +nested: Doctrine\ORM\PersistentCollection {#4196 …} +votes: Doctrine\ORM\PersistentCollection {#4198 …} +reports: Doctrine\ORM\PersistentCollection {#4200 …} +favourites: Doctrine\ORM\PersistentCollection {#4202 …} +notifications: Doctrine\ORM\PersistentCollection {#4204 …} -id: 7524 -bodyTs: "'-2.8':45,71 '/1a':47 '/i':42 '1a':58,70 '2.2':48,73 '2.8':56,59 '2w':33 '3w':31 '5v':44,69 'calcul':20,80,84 'comment':5 'correct':22,82 'could':24 'edit':83 'hey':1 'know':77 'led':16,28 'less':29 'let':75 'look':7 'p':50,61,67 'power':26 'r':37 'resistor':11 'seri':13 'thank':2 'use':9 'v':38,40,46,52,57,63 'w':60,72,74 'wast':36 'would':34 '~f':41,43,53,55,66 '~led':51,68 '~resistor':62 '~s':39,64 'ω':49" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597544" +editedAt: DateTimeImmutable @1688432995 {#4191 : 2023-07-04 03:09:55.0 +02:00 } +createdAt: DateTimeImmutable @1688432188 {#4192 : 2023-07-04 02:56:28.0 +02:00 } } +root: App\Entity\EntryComment {#4049} +body: """ Those calculations are correct.\n \n Since the remote control signals are short and low duty cycle, you could use a capacitor to provide the peak current for the LED without going over the maximum current of the power supply. """ +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688440552 {#4228 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@cmnybo@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4231 …} +nested: Doctrine\ORM\PersistentCollection {#4233 …} +votes: Doctrine\ORM\PersistentCollection {#4235 …} +reports: Doctrine\ORM\PersistentCollection {#4237 …} +favourites: Doctrine\ORM\PersistentCollection {#4239 …} +notifications: Doctrine\ORM\PersistentCollection {#4241 …} -id: 7558 -bodyTs: "'calcul':2 'capacitor':20 'control':8 'correct':4 'could':17 'current':25,34 'cycl':15 'duti':14 'go':30 'led':28 'low':13 'maximum':33 'peak':24 'power':37 'provid':22 'remot':7 'short':11 'signal':9 'sinc':5 'suppli':38 'use':18 'without':29" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/600360" +editedAt: null +createdAt: DateTimeImmutable @1688440552 {#4229 : 2023-07-04 05:15:52.0 +02:00 } } +nestedComments: [] +level: 3 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 62.54 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } "showNested" => true "dateAsUrl" => false "showMagazineName" => false "showEntryTitle" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#6320 +comment: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 1 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#6365 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#6420 +date: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.10 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } "editedAt" => DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#6474 +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#6528 +width: 40 +height: 40 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.45 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#6615 +subject: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.67 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#6672 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 41.93 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } "level" => 1 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#6912 +comment: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +nestedComments: [ 7522 => App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086} +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } 7535 => App\Entity\EntryComment {#4207 +user: App\Entity\User {#4069} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4169} +root: App\Entity\EntryComment {#4086} +body: """ > How would I go about calculating the time a constant current source takes to recover from a short?\n \n To the extent possible, I’d look for graphs of “load regulation” in the datasheet, which graphically depict the regulator’s response to a load change. But that seems like maybe an uncommon thing for LED drivers (neither of the two parts we’ve been discussing have those in their datasheets).\n \n Alternatively, if the regulator lists its control bandwidth in the datasheet, you could use the old [rule of thumb](https://www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/) to relate that to the rise time. For instance, if you’re modulating at 38 kHz, and you want to be sure your rise time is less than 10% of a period, you’d want it to be less than 1/380,000 = 2.6 microseconds. From the article, you’d want a control bandwidth of no less than 0.35/2.6 microseconds = 133 kHz. (or you could just say you want a bandwidth at least 3.5x your carrier frequency).\n \n Using that metric, the MAX16834 is more than capable - yet despite that, the datasheet suggests (not a hard spec) that PWM dimming is functional only up to 20 kHz. I don’t know how to explain that discrepancy. This is where I’d buy an eval kit and try it out to see what I’m missing. """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688433081 {#4212 : 2023-07-04 03:11:21.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4215 …} +nested: Doctrine\ORM\PersistentCollection {#4219 …} +votes: Doctrine\ORM\PersistentCollection {#4221 …} +reports: Doctrine\ORM\PersistentCollection {#4222 …} +favourites: Doctrine\ORM\PersistentCollection {#4224 …} +notifications: Doctrine\ORM\PersistentCollection {#4226 …} -id: 7535 -bodyTs: "'/2.6':150 '/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':91 '0.35':149 '000':133 '1/380':132 '10':120 '133':152 '2.6':134 '20':197 '3.5':165 '38':106 'altern':70 'articl':138 'bandwidth':77,144,162 'buy':213 'calcul':6 'capabl':178 'carrier':168 'chang':44 'constant':10 'control':76,143 'could':82,156 'current':11 'd':24,125,140,212 'datasheet':33,69,80,183 'depict':36 'despit':180 'dim':191 'discrep':207 'discuss':64 'driver':55 'eval':215 'explain':205 'extent':21 'frequenc':169 'function':193 'go':4 'graph':27 'graphic':35 'hard':187 'instanc':100 'khz':107,153,198 'kit':216 'know':202 'least':164 'led':54 'less':118,130,147 'like':48 'list':74 'load':29,43 'look':25 'm':225 'max16834':174 'mayb':49 'metric':172 'microsecond':135,151 'miss':226 'modul':104 'neither':56 'old':85 'part':60 'period':123 'possibl':22 'pwm':190 're':103 'recov':15 'regul':30,38,73 'relat':93 'respons':40 'rise':97,115 'rule':86 'say':158 'see':222 'seem':47 'short':18 'sourc':12 'spec':188 'suggest':184 'sure':113 'take':13 'thing':52 'thumb':88 'time':8,98,116 'tri':218 'two':59 'uncommon':51 'use':83,170 've':62 'want':110,126,141,160 'would':2 'www.edn.com':90 'www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':89 'x':166 'yet':179" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/791618" +editedAt: null +createdAt: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } } ] +level: 1 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 34.67 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } "showNested" => true "level" => 2 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#6972 +comment: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 2 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#7017 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#7072 +date: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#7126 +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#7180 +width: 40 +height: 40 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.40 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#7249 +subject: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.66 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#7306 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 21.71 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } "level" => 2 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#5269 +comment: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +nestedComments: [] +level: 2 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
entry_comment | App\Twig\Components\EntryCommentComponent | 12.0 MiB | 18.68 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4207 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: """ > How would I go about calculating the time a constant current source takes to recover from a short?\n \n To the extent possible, I’d look for graphs of “load regulation” in the datasheet, which graphically depict the regulator’s response to a load change. But that seems like maybe an uncommon thing for LED drivers (neither of the two parts we’ve been discussing have those in their datasheets).\n \n Alternatively, if the regulator lists its control bandwidth in the datasheet, you could use the old [rule of thumb](https://www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/) to relate that to the rise time. For instance, if you’re modulating at 38 kHz, and you want to be sure your rise time is less than 10% of a period, you’d want it to be less than 1/380,000 = 2.6 microseconds. From the article, you’d want a control bandwidth of no less than 0.35/2.6 microseconds = 133 kHz. (or you could just say you want a bandwidth at least 3.5x your carrier frequency).\n \n Using that metric, the MAX16834 is more than capable - yet despite that, the datasheet suggests (not a hard spec) that PWM dimming is functional only up to 20 kHz. I don’t know how to explain that discrepancy. This is where I’d buy an eval kit and try it out to see what I’m missing. """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688433081 {#4212 : 2023-07-04 03:11:21.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4215 …} +nested: Doctrine\ORM\PersistentCollection {#4219 …} +votes: Doctrine\ORM\PersistentCollection {#4221 …} +reports: Doctrine\ORM\PersistentCollection {#4222 …} +favourites: Doctrine\ORM\PersistentCollection {#4224 …} +notifications: Doctrine\ORM\PersistentCollection {#4226 …} -id: 7535 -bodyTs: "'/2.6':150 '/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':91 '0.35':149 '000':133 '1/380':132 '10':120 '133':152 '2.6':134 '20':197 '3.5':165 '38':106 'altern':70 'articl':138 'bandwidth':77,144,162 'buy':213 'calcul':6 'capabl':178 'carrier':168 'chang':44 'constant':10 'control':76,143 'could':82,156 'current':11 'd':24,125,140,212 'datasheet':33,69,80,183 'depict':36 'despit':180 'dim':191 'discrep':207 'discuss':64 'driver':55 'eval':215 'explain':205 'extent':21 'frequenc':169 'function':193 'go':4 'graph':27 'graphic':35 'hard':187 'instanc':100 'khz':107,153,198 'kit':216 'know':202 'least':164 'led':54 'less':118,130,147 'like':48 'list':74 'load':29,43 'look':25 'm':225 'max16834':174 'mayb':49 'metric':172 'microsecond':135,151 'miss':226 'modul':104 'neither':56 'old':85 'part':60 'period':123 'possibl':22 'pwm':190 're':103 'recov':15 'regul':30,38,73 'relat':93 'respons':40 'rise':97,115 'rule':86 'say':158 'see':222 'seem':47 'short':18 'sourc':12 'spec':188 'suggest':184 'sure':113 'take':13 'thing':52 'thumb':88 'time':8,98,116 'tri':218 'two':59 'uncommon':51 'use':83,170 've':62 'want':110,126,141,160 'would':2 'www.edn.com':90 'www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':89 'x':166 'yet':179" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/791618" +editedAt: null +createdAt: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } } "showNested" => true "level" => 3 "showEntryTitle" => false "showMagazineName" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\EntryCommentComponent {#5216 +comment: App\Entity\EntryComment {#4207 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: """ > How would I go about calculating the time a constant current source takes to recover from a short?\n \n To the extent possible, I’d look for graphs of “load regulation” in the datasheet, which graphically depict the regulator’s response to a load change. But that seems like maybe an uncommon thing for LED drivers (neither of the two parts we’ve been discussing have those in their datasheets).\n \n Alternatively, if the regulator lists its control bandwidth in the datasheet, you could use the old [rule of thumb](https://www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/) to relate that to the rise time. For instance, if you’re modulating at 38 kHz, and you want to be sure your rise time is less than 10% of a period, you’d want it to be less than 1/380,000 = 2.6 microseconds. From the article, you’d want a control bandwidth of no less than 0.35/2.6 microseconds = 133 kHz. (or you could just say you want a bandwidth at least 3.5x your carrier frequency).\n \n Using that metric, the MAX16834 is more than capable - yet despite that, the datasheet suggests (not a hard spec) that PWM dimming is functional only up to 20 kHz. I don’t know how to explain that discrepancy. This is where I’d buy an eval kit and try it out to see what I’m missing. """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688433081 {#4212 : 2023-07-04 03:11:21.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4215 …} +nested: Doctrine\ORM\PersistentCollection {#4219 …} +votes: Doctrine\ORM\PersistentCollection {#4221 …} +reports: Doctrine\ORM\PersistentCollection {#4222 …} +favourites: Doctrine\ORM\PersistentCollection {#4224 …} +notifications: Doctrine\ORM\PersistentCollection {#4226 …} -id: 7535 -bodyTs: "'/2.6':150 '/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':91 '0.35':149 '000':133 '1/380':132 '10':120 '133':152 '2.6':134 '20':197 '3.5':165 '38':106 'altern':70 'articl':138 'bandwidth':77,144,162 'buy':213 'calcul':6 'capabl':178 'carrier':168 'chang':44 'constant':10 'control':76,143 'could':82,156 'current':11 'd':24,125,140,212 'datasheet':33,69,80,183 'depict':36 'despit':180 'dim':191 'discrep':207 'discuss':64 'driver':55 'eval':215 'explain':205 'extent':21 'frequenc':169 'function':193 'go':4 'graph':27 'graphic':35 'hard':187 'instanc':100 'khz':107,153,198 'kit':216 'know':202 'least':164 'led':54 'less':118,130,147 'like':48 'list':74 'load':29,43 'look':25 'm':225 'max16834':174 'mayb':49 'metric':172 'microsecond':135,151 'miss':226 'modul':104 'neither':56 'old':85 'part':60 'period':123 'possibl':22 'pwm':190 're':103 'recov':15 'regul':30,38,73 'relat':93 'respons':40 'rise':97,115 'rule':86 'say':158 'see':222 'seem':47 'short':18 'sourc':12 'spec':188 'suggest':184 'sure':113 'take':13 'thing':52 'thumb':88 'time':8,98,116 'tri':218 'two':59 'uncommon':51 'use':83,170 've':62 'want':110,126,141,160 'would':2 'www.edn.com':90 'www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':89 'x':166 'yet':179" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/791618" +editedAt: null +createdAt: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } } +showMagazineName: false +showEntryTitle: false +showNested: true +level: 3 +canSeeTrash: false +dateAsUrl: false -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -authorizationChecker: Symfony\Component\Security\Core\Authorization\AuthorizationChecker {#931 …} } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } "showAvatar" => false ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#2920 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +showAvatar: false } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 2.31 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#5338 +date: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } } |
date_edited | App\Twig\Components\DateEditedComponent | 12.0 MiB | 0.09 ms | |
---|---|---|---|---|
Input props | [ "createdAt" => DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } "editedAt" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateEditedComponent {#7470 +createdAt: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } +editedAt: null } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.17 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } "width" => 40 "height" => 40 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#7524 +width: 40 +height: 40 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +asLink: true } |
vote | App\Twig\Components\VoteComponent | 12.0 MiB | 0.53 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4207 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: """ > How would I go about calculating the time a constant current source takes to recover from a short?\n \n To the extent possible, I’d look for graphs of “load regulation” in the datasheet, which graphically depict the regulator’s response to a load change. But that seems like maybe an uncommon thing for LED drivers (neither of the two parts we’ve been discussing have those in their datasheets).\n \n Alternatively, if the regulator lists its control bandwidth in the datasheet, you could use the old [rule of thumb](https://www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/) to relate that to the rise time. For instance, if you’re modulating at 38 kHz, and you want to be sure your rise time is less than 10% of a period, you’d want it to be less than 1/380,000 = 2.6 microseconds. From the article, you’d want a control bandwidth of no less than 0.35/2.6 microseconds = 133 kHz. (or you could just say you want a bandwidth at least 3.5x your carrier frequency).\n \n Using that metric, the MAX16834 is more than capable - yet despite that, the datasheet suggests (not a hard spec) that PWM dimming is functional only up to 20 kHz. I don’t know how to explain that discrepancy. This is where I’d buy an eval kit and try it out to see what I’m missing. """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688433081 {#4212 : 2023-07-04 03:11:21.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4215 …} +nested: Doctrine\ORM\PersistentCollection {#4219 …} +votes: Doctrine\ORM\PersistentCollection {#4221 …} +reports: Doctrine\ORM\PersistentCollection {#4222 …} +favourites: Doctrine\ORM\PersistentCollection {#4224 …} +notifications: Doctrine\ORM\PersistentCollection {#4226 …} -id: 7535 -bodyTs: "'/2.6':150 '/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':91 '0.35':149 '000':133 '1/380':132 '10':120 '133':152 '2.6':134 '20':197 '3.5':165 '38':106 'altern':70 'articl':138 'bandwidth':77,144,162 'buy':213 'calcul':6 'capabl':178 'carrier':168 'chang':44 'constant':10 'control':76,143 'could':82,156 'current':11 'd':24,125,140,212 'datasheet':33,69,80,183 'depict':36 'despit':180 'dim':191 'discrep':207 'discuss':64 'driver':55 'eval':215 'explain':205 'extent':21 'frequenc':169 'function':193 'go':4 'graph':27 'graphic':35 'hard':187 'instanc':100 'khz':107,153,198 'kit':216 'know':202 'least':164 'led':54 'less':118,130,147 'like':48 'list':74 'load':29,43 'look':25 'm':225 'max16834':174 'mayb':49 'metric':172 'microsecond':135,151 'miss':226 'modul':104 'neither':56 'old':85 'part':60 'period':123 'possibl':22 'pwm':190 're':103 'recov':15 'regul':30,38,73 'relat':93 'respons':40 'rise':97,115 'rule':86 'say':158 'see':222 'seem':47 'short':18 'sourc':12 'spec':188 'suggest':184 'sure':113 'take':13 'thing':52 'thumb':88 'time':8,98,116 'tri':218 'two':59 'uncommon':51 'use':83,170 've':62 'want':110,126,141,160 'would':2 'www.edn.com':90 'www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':89 'x':166 'yet':179" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/791618" +editedAt: null +createdAt: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\VoteComponent {#7613 +subject: App\Entity\EntryComment {#4207 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: """ > How would I go about calculating the time a constant current source takes to recover from a short?\n \n To the extent possible, I’d look for graphs of “load regulation” in the datasheet, which graphically depict the regulator’s response to a load change. But that seems like maybe an uncommon thing for LED drivers (neither of the two parts we’ve been discussing have those in their datasheets).\n \n Alternatively, if the regulator lists its control bandwidth in the datasheet, you could use the old [rule of thumb](https://www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/) to relate that to the rise time. For instance, if you’re modulating at 38 kHz, and you want to be sure your rise time is less than 10% of a period, you’d want it to be less than 1/380,000 = 2.6 microseconds. From the article, you’d want a control bandwidth of no less than 0.35/2.6 microseconds = 133 kHz. (or you could just say you want a bandwidth at least 3.5x your carrier frequency).\n \n Using that metric, the MAX16834 is more than capable - yet despite that, the datasheet suggests (not a hard spec) that PWM dimming is functional only up to 20 kHz. I don’t know how to explain that discrepancy. This is where I’d buy an eval kit and try it out to see what I’m missing. """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688433081 {#4212 : 2023-07-04 03:11:21.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4215 …} +nested: Doctrine\ORM\PersistentCollection {#4219 …} +votes: Doctrine\ORM\PersistentCollection {#4221 …} +reports: Doctrine\ORM\PersistentCollection {#4222 …} +favourites: Doctrine\ORM\PersistentCollection {#4224 …} +notifications: Doctrine\ORM\PersistentCollection {#4226 …} -id: 7535 -bodyTs: "'/2.6':150 '/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':91 '0.35':149 '000':133 '1/380':132 '10':120 '133':152 '2.6':134 '20':197 '3.5':165 '38':106 'altern':70 'articl':138 'bandwidth':77,144,162 'buy':213 'calcul':6 'capabl':178 'carrier':168 'chang':44 'constant':10 'control':76,143 'could':82,156 'current':11 'd':24,125,140,212 'datasheet':33,69,80,183 'depict':36 'despit':180 'dim':191 'discrep':207 'discuss':64 'driver':55 'eval':215 'explain':205 'extent':21 'frequenc':169 'function':193 'go':4 'graph':27 'graphic':35 'hard':187 'instanc':100 'khz':107,153,198 'kit':216 'know':202 'least':164 'led':54 'less':118,130,147 'like':48 'list':74 'load':29,43 'look':25 'm':225 'max16834':174 'mayb':49 'metric':172 'microsecond':135,151 'miss':226 'modul':104 'neither':56 'old':85 'part':60 'period':123 'possibl':22 'pwm':190 're':103 'recov':15 'regul':30,38,73 'relat':93 'respons':40 'rise':97,115 'rule':86 'say':158 'see':222 'seem':47 'short':18 'sourc':12 'spec':188 'suggest':184 'sure':113 'take':13 'thing':52 'thumb':88 'time':8,98,116 'tri':218 'two':59 'uncommon':51 'use':83,170 've':62 'want':110,126,141,160 'would':2 'www.edn.com':90 'www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':89 'x':166 'yet':179" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/791618" +editedAt: null +createdAt: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } } +formDest: "entry_comment" +showDownvote: true -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
boost | App\Twig\Components\BoostComponent | 12.0 MiB | 0.73 ms | |
---|---|---|---|---|
Input props | [ "subject" => App\Entity\EntryComment {#4207 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: """ > How would I go about calculating the time a constant current source takes to recover from a short?\n \n To the extent possible, I’d look for graphs of “load regulation” in the datasheet, which graphically depict the regulator’s response to a load change. But that seems like maybe an uncommon thing for LED drivers (neither of the two parts we’ve been discussing have those in their datasheets).\n \n Alternatively, if the regulator lists its control bandwidth in the datasheet, you could use the old [rule of thumb](https://www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/) to relate that to the rise time. For instance, if you’re modulating at 38 kHz, and you want to be sure your rise time is less than 10% of a period, you’d want it to be less than 1/380,000 = 2.6 microseconds. From the article, you’d want a control bandwidth of no less than 0.35/2.6 microseconds = 133 kHz. (or you could just say you want a bandwidth at least 3.5x your carrier frequency).\n \n Using that metric, the MAX16834 is more than capable - yet despite that, the datasheet suggests (not a hard spec) that PWM dimming is functional only up to 20 kHz. I don’t know how to explain that discrepancy. This is where I’d buy an eval kit and try it out to see what I’m missing. """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688433081 {#4212 : 2023-07-04 03:11:21.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4215 …} +nested: Doctrine\ORM\PersistentCollection {#4219 …} +votes: Doctrine\ORM\PersistentCollection {#4221 …} +reports: Doctrine\ORM\PersistentCollection {#4222 …} +favourites: Doctrine\ORM\PersistentCollection {#4224 …} +notifications: Doctrine\ORM\PersistentCollection {#4226 …} -id: 7535 -bodyTs: "'/2.6':150 '/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':91 '0.35':149 '000':133 '1/380':132 '10':120 '133':152 '2.6':134 '20':197 '3.5':165 '38':106 'altern':70 'articl':138 'bandwidth':77,144,162 'buy':213 'calcul':6 'capabl':178 'carrier':168 'chang':44 'constant':10 'control':76,143 'could':82,156 'current':11 'd':24,125,140,212 'datasheet':33,69,80,183 'depict':36 'despit':180 'dim':191 'discrep':207 'discuss':64 'driver':55 'eval':215 'explain':205 'extent':21 'frequenc':169 'function':193 'go':4 'graph':27 'graphic':35 'hard':187 'instanc':100 'khz':107,153,198 'kit':216 'know':202 'least':164 'led':54 'less':118,130,147 'like':48 'list':74 'load':29,43 'look':25 'm':225 'max16834':174 'mayb':49 'metric':172 'microsecond':135,151 'miss':226 'modul':104 'neither':56 'old':85 'part':60 'period':123 'possibl':22 'pwm':190 're':103 'recov':15 'regul':30,38,73 'relat':93 'respons':40 'rise':97,115 'rule':86 'say':158 'see':222 'seem':47 'short':18 'sourc':12 'spec':188 'suggest':184 'sure':113 'take':13 'thing':52 'thumb':88 'time':8,98,116 'tri':218 'two':59 'uncommon':51 'use':83,170 've':62 'want':110,126,141,160 'would':2 'www.edn.com':90 'www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':89 'x':166 'yet':179" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/791618" +editedAt: null +createdAt: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\BoostComponent {#7670 +formDest: "entry_comment" +subject: App\Entity\EntryComment {#4207 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: """ > How would I go about calculating the time a constant current source takes to recover from a short?\n \n To the extent possible, I’d look for graphs of “load regulation” in the datasheet, which graphically depict the regulator’s response to a load change. But that seems like maybe an uncommon thing for LED drivers (neither of the two parts we’ve been discussing have those in their datasheets).\n \n Alternatively, if the regulator lists its control bandwidth in the datasheet, you could use the old [rule of thumb](https://www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/) to relate that to the rise time. For instance, if you’re modulating at 38 kHz, and you want to be sure your rise time is less than 10% of a period, you’d want it to be less than 1/380,000 = 2.6 microseconds. From the article, you’d want a control bandwidth of no less than 0.35/2.6 microseconds = 133 kHz. (or you could just say you want a bandwidth at least 3.5x your carrier frequency).\n \n Using that metric, the MAX16834 is more than capable - yet despite that, the datasheet suggests (not a hard spec) that PWM dimming is functional only up to 20 kHz. I don’t know how to explain that discrepancy. This is where I’d buy an eval kit and try it out to see what I’m missing. """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688433081 {#4212 : 2023-07-04 03:11:21.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4215 …} +nested: Doctrine\ORM\PersistentCollection {#4219 …} +votes: Doctrine\ORM\PersistentCollection {#4221 …} +reports: Doctrine\ORM\PersistentCollection {#4222 …} +favourites: Doctrine\ORM\PersistentCollection {#4224 …} +notifications: Doctrine\ORM\PersistentCollection {#4226 …} -id: 7535 -bodyTs: "'/2.6':150 '/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':91 '0.35':149 '000':133 '1/380':132 '10':120 '133':152 '2.6':134 '20':197 '3.5':165 '38':106 'altern':70 'articl':138 'bandwidth':77,144,162 'buy':213 'calcul':6 'capabl':178 'carrier':168 'chang':44 'constant':10 'control':76,143 'could':82,156 'current':11 'd':24,125,140,212 'datasheet':33,69,80,183 'depict':36 'despit':180 'dim':191 'discrep':207 'discuss':64 'driver':55 'eval':215 'explain':205 'extent':21 'frequenc':169 'function':193 'go':4 'graph':27 'graphic':35 'hard':187 'instanc':100 'khz':107,153,198 'kit':216 'know':202 'least':164 'led':54 'less':118,130,147 'like':48 'list':74 'load':29,43 'look':25 'm':225 'max16834':174 'mayb':49 'metric':172 'microsecond':135,151 'miss':226 'modul':104 'neither':56 'old':85 'part':60 'period':123 'possibl':22 'pwm':190 're':103 'recov':15 'regul':30,38,73 'relat':93 'respons':40 'rise':97,115 'rule':86 'say':158 'see':222 'seem':47 'short':18 'sourc':12 'spec':188 'suggest':184 'sure':113 'take':13 'thing':52 'thumb':88 'time':8,98,116 'tri':218 'two':59 'uncommon':51 'use':83,170 've':62 'want':110,126,141,160 'would':2 'www.edn.com':90 'www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':89 'x':166 'yet':179" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/791618" +editedAt: null +createdAt: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } } -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} } |
entry_comments_nested | App\Twig\Components\EntryCommentsNestedComponent | 12.0 MiB | 6.95 ms | |
---|---|---|---|---|
Input props | [ "comment" => App\Entity\EntryComment {#4207 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: """ > How would I go about calculating the time a constant current source takes to recover from a short?\n \n To the extent possible, I’d look for graphs of “load regulation” in the datasheet, which graphically depict the regulator’s response to a load change. But that seems like maybe an uncommon thing for LED drivers (neither of the two parts we’ve been discussing have those in their datasheets).\n \n Alternatively, if the regulator lists its control bandwidth in the datasheet, you could use the old [rule of thumb](https://www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/) to relate that to the rise time. For instance, if you’re modulating at 38 kHz, and you want to be sure your rise time is less than 10% of a period, you’d want it to be less than 1/380,000 = 2.6 microseconds. From the article, you’d want a control bandwidth of no less than 0.35/2.6 microseconds = 133 kHz. (or you could just say you want a bandwidth at least 3.5x your carrier frequency).\n \n Using that metric, the MAX16834 is more than capable - yet despite that, the datasheet suggests (not a hard spec) that PWM dimming is functional only up to 20 kHz. I don’t know how to explain that discrepancy. This is where I’d buy an eval kit and try it out to see what I’m missing. """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688433081 {#4212 : 2023-07-04 03:11:21.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4215 …} +nested: Doctrine\ORM\PersistentCollection {#4219 …} +votes: Doctrine\ORM\PersistentCollection {#4221 …} +reports: Doctrine\ORM\PersistentCollection {#4222 …} +favourites: Doctrine\ORM\PersistentCollection {#4224 …} +notifications: Doctrine\ORM\PersistentCollection {#4226 …} -id: 7535 -bodyTs: "'/2.6':150 '/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':91 '0.35':149 '000':133 '1/380':132 '10':120 '133':152 '2.6':134 '20':197 '3.5':165 '38':106 'altern':70 'articl':138 'bandwidth':77,144,162 'buy':213 'calcul':6 'capabl':178 'carrier':168 'chang':44 'constant':10 'control':76,143 'could':82,156 'current':11 'd':24,125,140,212 'datasheet':33,69,80,183 'depict':36 'despit':180 'dim':191 'discrep':207 'discuss':64 'driver':55 'eval':215 'explain':205 'extent':21 'frequenc':169 'function':193 'go':4 'graph':27 'graphic':35 'hard':187 'instanc':100 'khz':107,153,198 'kit':216 'know':202 'least':164 'led':54 'less':118,130,147 'like':48 'list':74 'load':29,43 'look':25 'm':225 'max16834':174 'mayb':49 'metric':172 'microsecond':135,151 'miss':226 'modul':104 'neither':56 'old':85 'part':60 'period':123 'possibl':22 'pwm':190 're':103 'recov':15 'regul':30,38,73 'relat':93 'respons':40 'rise':97,115 'rule':86 'say':158 'see':222 'seem':47 'short':18 'sourc':12 'spec':188 'suggest':184 'sure':113 'take':13 'thing':52 'thumb':88 'time':8,98,116 'tri':218 'two':59 'uncommon':51 'use':83,170 've':62 'want':110,126,141,160 'would':2 'www.edn.com':90 'www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':89 'x':166 'yet':179" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/791618" +editedAt: null +createdAt: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } } "level" => 3 "showNested" => true "view" => "tree" ] |
|||
Attributes | [ "showNested" => true ] |
|||
Component | App\Twig\Components\EntryCommentsNestedComponent {#7910 +comment: App\Entity\EntryComment {#4207 +user: App\Entity\User {#4069 +avatar: null +cover: null +email: "lemmyman@lemmy.world" +username: "@lemmyman@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1727114558 {#4091 : 2024-09-23 20:02:38.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#4068 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#4066 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#4064 …} +entries: Doctrine\ORM\PersistentCollection {#4062 …} +entryVotes: Doctrine\ORM\PersistentCollection {#4060 …} +entryComments: Doctrine\ORM\PersistentCollection {#4119 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#4120 …} +posts: Doctrine\ORM\PersistentCollection {#4122 …} +postVotes: Doctrine\ORM\PersistentCollection {#4124 …} +postComments: Doctrine\ORM\PersistentCollection {#4126 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#4128 …} +subscriptions: Doctrine\ORM\PersistentCollection {#4130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#4132 …} +follows: Doctrine\ORM\PersistentCollection {#4134 …} +followers: Doctrine\ORM\PersistentCollection {#4136 …} +blocks: Doctrine\ORM\PersistentCollection {#4138 …} +blockers: Doctrine\ORM\PersistentCollection {#4140 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#4142 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#4144 …} +reports: Doctrine\ORM\PersistentCollection {#4146 …} +favourites: Doctrine\ORM\PersistentCollection {#4148 …} +violations: Doctrine\ORM\PersistentCollection {#4150 …} +notifications: Doctrine\ORM\PersistentCollection {#4152 …} +awards: Doctrine\ORM\PersistentCollection {#4154 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#4156 …} +categories: Doctrine\ORM\PersistentCollection {#4158 …} -id: 18224 -password: "$2y$13$NoAXv3tpn3/dNSQDyf2VA.G9EgBVxZP6RF7AFVzC0ovwxWoh.0JY2" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#4160 …} +apId: "lemmyman@lemmy.world" +apProfileId: "https://lemmy.world/u/lemmyman" +apPublicUrl: "https://lemmy.world/u/lemmyman" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "lemmyman" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727014650 {#4088 : 2024-09-22 16:17:30.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688426088 {#4081 : 2023-07-04 01:14:48.0 +02:00 } } +entry: App\Entity\Entry {#2388 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +image: null +domain: Proxies\__CG__\App\Entity\Domain {#1912 …} +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 {#2410 : 2023-07-04 05:15:52.0 +02:00 } +ip: null +adaAmount: 0 +tags: null +mentions: null +comments: Doctrine\ORM\PersistentCollection {#1866 …} +votes: Doctrine\ORM\PersistentCollection {#1978 …} +reports: Doctrine\ORM\PersistentCollection {#1946 …} +favourites: Doctrine\ORM\PersistentCollection {#1971 …} +notifications: Doctrine\ORM\PersistentCollection {#2443 …} +badges: Doctrine\ORM\PersistentCollection {#2426 …} +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 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4169 +user: Proxies\__CG__\App\Entity\User {#1943 …2} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: App\Entity\EntryComment {#4086 +user: App\Entity\User {#4069} +entry: App\Entity\Entry {#2388} +magazine: App\Entity\Magazine {#266} +image: null +parent: null +root: null +body: """ I wouldn’t use the PAM2804. The datasheet recommends a PWM frequency of 500 Hz, and if you look at the “PWM Dimming: ILED vs. Duty Cycle” chart on page 5 you can see why - at 1 kHz there is already a significant reduction in the average LED current. The enable response just isn’t fast enough to modulate at 38 kHz - by the time you want to turn it off, it will barely be on.\n \n This isn’t quite enough for your 38 kHz either, but it’s closer (and waaaay more complicated): [MAX16834](https://www.analog.com/en/products/max16834.html#product-overview). The datasheet says it can do up to 20 kHz, but at a glance I did not see a particular spec that seems to actually limit that.\n \n [Here’s an article](https://e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming) about fast switching LEDs. All the linked products unfortunately have supply voltage ratings above yours, so they won’t work. But it discusses the concept of shunt dimming, where you’d end up simply bypassing the current around the LED rather than actually turning off the current regulator. Inefficient, yes. """ +lang: "en" +isAdult: false +favouriteCount: 2 +score: 0 +lastActive: DateTime @1688433083 {#4087 : 2023-07-04 03:11:23.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" ] +children: Doctrine\ORM\PersistentCollection {#4084 …} +nested: Doctrine\ORM\PersistentCollection {#4082 …} +votes: Doctrine\ORM\PersistentCollection {#4080 …} +reports: Doctrine\ORM\PersistentCollection {#4077 …} +favourites: Doctrine\ORM\PersistentCollection {#4073 …} +notifications: Doctrine\ORM\PersistentCollection {#4071 …} -id: 7512 -bodyTs: "'/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':132 '/en/products/max16834.html#product-overview).':98 '1':37 '20':107 '38':61,84 '5':31 '500':14 'actual':123,175 'alreadi':41 'around':170 'articl':129 'averag':47 'bare':74 'bypass':167 'chart':28 'closer':90 'complic':94 'concept':157 'current':49,169,179 'cycl':27 'd':163 'datasheet':8,100 'dim':23,160 'discuss':155 'duti':26 'e2e.ti.com':131 'e2e.ti.com/blogs_/b/powerhouse/posts/led-brightness-adjustment-high-frequency-pwm-dimming)':130 'either':86 'enabl':51 'end':164 'enough':57,81 'fast':56,134 'frequenc':12 'glanc':112 'hz':15 'ile':24 'ineffici':181 'isn':54,78 'khz':38,62,85,108 'led':48,136,172 'limit':124 'link':139 'look':19 'max16834':95 'modul':59 'page':30 'pam2804':6 'particular':118 'product':140 'pwm':11,22 'quit':80 'rate':145 'rather':173 'recommend':9 'reduct':44 'regul':180 'respons':52 'say':101 'see':34,116 'seem':121 'shunt':159 'signific':43 'simpli':166 'spec':119 'suppli':143 'switch':135 'time':65 'turn':69,176 'unfortun':141 'use':4 'voltag':144 'vs':25 'waaaay':92 'want':67 'won':150 'work':152 'wouldn':2 'www.analog.com':97 'www.analog.com/en/products/max16834.html#product-overview).':96 'yes':182" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/788676" +editedAt: DateTimeImmutable @1688426164 {#4092 : 2023-07-04 01:16:04.0 +02:00 } +createdAt: DateTimeImmutable @1688426087 {#4090 : 2023-07-04 01:14:47.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: "Hey, thanks for your comment. I’ll look into the MAX16834 as soon as I have time tomorrow. Also, how would I be able to use a constant current driver with shunt dimming? How would I go about calculating the time a constant current source takes to recover from a short?" +lang: "en" +isAdult: false +favouriteCount: 0 +score: 0 +lastActive: DateTime @1688432028 {#4174 : 2023-07-04 02:53:48.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4177 …} +nested: Doctrine\ORM\PersistentCollection {#4181 …} +votes: Doctrine\ORM\PersistentCollection {#4183 …} +reports: Doctrine\ORM\PersistentCollection {#4184 …} +favourites: Doctrine\ORM\PersistentCollection {#4186 …} +notifications: Doctrine\ORM\PersistentCollection {#4188 …} -id: 7522 -bodyTs: "'abl':24 'also':19 'calcul':39 'comment':5 'constant':28,43 'current':29,44 'dim':33 'driver':30 'go':37 'hey':1 'll':7 'look':8 'max16834':11 'recov':48 'short':51 'shunt':32 'soon':13 'sourc':45 'take':46 'thank':2 'time':17,41 'tomorrow':18 'use':26 'would':21,35" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://discuss.tchncs.de/comment/597480" +editedAt: null +createdAt: DateTimeImmutable @1688432028 {#4171 : 2023-07-04 02:53:48.0 +02:00 } } +root: App\Entity\EntryComment {#4086} +body: """ > How would I go about calculating the time a constant current source takes to recover from a short?\n \n To the extent possible, I’d look for graphs of “load regulation” in the datasheet, which graphically depict the regulator’s response to a load change. But that seems like maybe an uncommon thing for LED drivers (neither of the two parts we’ve been discussing have those in their datasheets).\n \n Alternatively, if the regulator lists its control bandwidth in the datasheet, you could use the old [rule of thumb](https://www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/) to relate that to the rise time. For instance, if you’re modulating at 38 kHz, and you want to be sure your rise time is less than 10% of a period, you’d want it to be less than 1/380,000 = 2.6 microseconds. From the article, you’d want a control bandwidth of no less than 0.35/2.6 microseconds = 133 kHz. (or you could just say you want a bandwidth at least 3.5x your carrier frequency).\n \n Using that metric, the MAX16834 is more than capable - yet despite that, the datasheet suggests (not a hard spec) that PWM dimming is functional only up to 20 kHz. I don’t know how to explain that discrepancy. This is where I’d buy an eval kit and try it out to see what I’m missing. """ +lang: "en" +isAdult: false +favouriteCount: 1 +score: 0 +lastActive: DateTime @1688433081 {#4212 : 2023-07-04 03:11:21.0 +02:00 } +ip: null +tags: null +mentions: [ "@silvio2402@discuss.tchncs.de" "@lemmyman@lemmy.world" ] +children: Doctrine\ORM\PersistentCollection {#4215 …} +nested: Doctrine\ORM\PersistentCollection {#4219 …} +votes: Doctrine\ORM\PersistentCollection {#4221 …} +reports: Doctrine\ORM\PersistentCollection {#4222 …} +favourites: Doctrine\ORM\PersistentCollection {#4224 …} +notifications: Doctrine\ORM\PersistentCollection {#4226 …} -id: 7535 -bodyTs: "'/2.6':150 '/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':91 '0.35':149 '000':133 '1/380':132 '10':120 '133':152 '2.6':134 '20':197 '3.5':165 '38':106 'altern':70 'articl':138 'bandwidth':77,144,162 'buy':213 'calcul':6 'capabl':178 'carrier':168 'chang':44 'constant':10 'control':76,143 'could':82,156 'current':11 'd':24,125,140,212 'datasheet':33,69,80,183 'depict':36 'despit':180 'dim':191 'discrep':207 'discuss':64 'driver':55 'eval':215 'explain':205 'extent':21 'frequenc':169 'function':193 'go':4 'graph':27 'graphic':35 'hard':187 'instanc':100 'khz':107,153,198 'kit':216 'know':202 'least':164 'led':54 'less':118,130,147 'like':48 'list':74 'load':29,43 'look':25 'm':225 'max16834':174 'mayb':49 'metric':172 'microsecond':135,151 'miss':226 'modul':104 'neither':56 'old':85 'part':60 'period':123 'possibl':22 'pwm':190 're':103 'recov':15 'regul':30,38,73 'relat':93 'respons':40 'rise':97,115 'rule':86 'say':158 'see':222 'seem':47 'short':18 'sourc':12 'spec':188 'suggest':184 'sure':113 'take':13 'thing':52 'thumb':88 'time':8,98,116 'tri':218 'two':59 'uncommon':51 'use':83,170 've':62 'want':110,126,141,160 'would':2 'www.edn.com':90 'www.edn.com/rule-of-thumb-1-bandwidth-of-a-signal-from-its-rise-time/)':89 'x':166 'yet':179" +ranking: 0 +commentCount: 0 +upVotes: 0 +downVotes: 0 +visibility: "visible " +apId: "https://lemmy.world/comment/791618" +editedAt: null +createdAt: DateTimeImmutable @1688433081 {#4209 : 2023-07-04 03:11:21.0 +02:00 } } +nestedComments: [] +level: 3 +view: "tree" -entryCommentRepository: App\Repository\EntryCommentRepository {#558 …} -twig: Twig\Environment {#1252 …} -security: Symfony\Bundle\SecurityBundle\Security {#1101 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 12.0 MiB | 0.23 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sidebar position" "settingsKey" => "KBIN_GENERAL_SIDEBAR_POSITION" "values" => [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] "defaultValue" => "RIGHT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#8052 +label: "Sidebar position" +help: "" +settingsKey: "KBIN_GENERAL_SIDEBAR_POSITION" +values: [ [ "name" => "Left" "value" => "LEFT" ] [ "name" => "Right" "value" => "RIGHT" ] ] +defaultValue: "RIGHT" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.18 ms | |
---|---|---|---|---|
Input props | [ "label" => "Dynamic lists" "settingsKey" => "KBIN_GENERAL_DYNAMIC_LISTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8116 +label: "Dynamic lists" +help: "" +settingsKey: "KBIN_GENERAL_DYNAMIC_LISTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Rounded edges" "settingsKey" => "KBIN_GENERAL_ROUNDED_EDGES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8181 +label: "Rounded edges" +help: "" +settingsKey: "KBIN_GENERAL_ROUNDED_EDGES" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Infinite scrolling" "help" => "Automatically load more content when you reach the bottom of the page." "settingsKey" => "KBIN_GENERAL_INFINITE_SCROLL" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8237 +label: "Infinite scrolling" +help: "Automatically load more content when you reach the bottom of the page." +settingsKey: "KBIN_GENERAL_INFINITE_SCROLL" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Sticky navbar" "help" => "The navbar will stick to the top of the page when you scroll down." "settingsKey" => "KBIN_GENERAL_FIXED_NAVBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8296 +label: "Sticky navbar" +help: "The navbar will stick to the top of the page when you scroll down." +settingsKey: "KBIN_GENERAL_FIXED_NAVBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show top bar" "settingsKey" => "KBIN_GENERAL_TOPBAR" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8352 +label: "Show top bar" +help: "" +settingsKey: "KBIN_GENERAL_TOPBAR" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Turbo mode (experimental)" "settingsKey" => "KBIN_GENERAL_TURBO" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8408 +label: "Turbo mode (experimental)" +help: "" +settingsKey: "KBIN_GENERAL_TURBO" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.24 ms | |
---|---|---|---|---|
Input props | [ "label" => "Mark new comments" "settingsKey" => "KBIN_MARK_NEW_COMMENTS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#8466 +label: "Mark new comments" +help: "" +settingsKey: "KBIN_MARK_NEW_COMMENTS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.14 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show "Support Us" block" "settingsKey" => "KBIN_GENERAL_SUPPORT_US_BLOCK" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8529 +label: "Show "Support Us" block" +help: "" +settingsKey: "KBIN_GENERAL_SUPPORT_US_BLOCK" +defaultValue: true +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed users" "settingsKey" => "KBIN_SUB_CHANNEL_USERS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#8587 +label: "Show subscribed users" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_USERS" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.15 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed magazines" "settingsKey" => "KBIN_SUB_CHANNEL_MAGAZINES" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#8643 +label: "Show subscribed magazines" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_MAGAZINES" +defaultValue: false +reloadRequired: true } |
user_settings_row_switch | App\Twig\Components\UserSettingsRowSwitchComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show subscribed domains" "settingsKey" => "KBIN_SUB_CHANNEL_DOMAINS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserSettingsRowSwitchComponent {#8699 +label: "Show subscribed domains" +help: "" +settingsKey: "KBIN_SUB_CHANNEL_DOMAINS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 1.49 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_ENTRIES_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8755 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_ENTRIES_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Compact view" "settingsKey" => "KBIN_ENTRIES_COMPACT" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8811 +label: "Compact view" +help: "" +settingsKey: "KBIN_ENTRIES_COMPACT" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_ENTRIES_SHOW_USERS_AVATARS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8867 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_USERS_AVATARS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show magazines’ icons" "settingsKey" => "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8923 +label: "Show magazines’ icons" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_MAGAZINES_ICONS" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show thumbnails" "settingsKey" => "KBIN_ENTRIES_SHOW_THUMBNAILS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#8979 +label: "Show thumbnails" +help: "" +settingsKey: "KBIN_ENTRIES_SHOW_THUMBNAILS" +defaultValue: true +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.12 ms | |
---|---|---|---|---|
Input props | [ "label" => "Auto media preview" "help" => "Automatically expand media previews." "settingsKey" => "KBIN_POSTS_SHOW_PREVIEW" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#9035 +label: "Auto media preview" +help: "Automatically expand media previews." +settingsKey: "KBIN_POSTS_SHOW_PREVIEW" +defaultValue: false +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.17 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show users’ avatars" "settingsKey" => "KBIN_POSTS_SHOW_USERS_AVATARS" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#9091 +label: "Show users’ avatars" +help: "" +settingsKey: "KBIN_POSTS_SHOW_USERS_AVATARS" +defaultValue: true +reloadRequired: true } |
settings_row_enum | App\Twig\Components\SettingsRowEnumComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "label" => "Comment reply position" "help" => "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." "settingsKey" => "KBIN_COMMENTS_REPLY_POSITION" "values" => [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] "defaultValue" => "TOP" ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowEnumComponent {#9147 +label: "Comment reply position" +help: "Display the comment reply form either at the top or bottom of the page. When 'infinite scroll' is enabled the position will always appear at the top." +settingsKey: "KBIN_COMMENTS_REPLY_POSITION" +values: [ [ "name" => "top" "value" => "TOP" ] [ "name" => "bottom" "value" => "BOTTOM" ] ] +defaultValue: "TOP" +reloadRequired: true } |
settings_row_switch | App\Twig\Components\SettingsRowSwitchComponent | 12.0 MiB | 0.13 ms | |
---|---|---|---|---|
Input props | [ "label" => "Show Comment Avatars" "help" => "Display/hide user avatars when viewing comments on a single thread or post." "settingsKey" => "KBIN_COMMENTS_SHOW_USER_AVATAR" "defaultValue" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SettingsRowSwitchComponent {#9205 +label: "Show Comment Avatars" +help: "Display/hide user avatars when viewing comments on a single thread or post." +settingsKey: "KBIN_COMMENTS_SHOW_USER_AVATAR" +defaultValue: true +reloadRequired: true } |
user_actions | App\Twig\Components\UserActionsComponent | 12.0 MiB | 0.83 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserActionsComponent {#9282 +user: Proxies\__CG__\App\Entity\User {#1943 +avatar: null +cover: null +email: "silvio2402@discuss.tchncs.de" +username: "@silvio2402@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: null +lastActive: DateTime @1688432189 {#1537 : 2023-07-04 02:56:29.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#1516 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#1519 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#1517 …} +entries: Doctrine\ORM\PersistentCollection {#1623 …} +entryVotes: Doctrine\ORM\PersistentCollection {#1406 …} +entryComments: Doctrine\ORM\PersistentCollection {#1713 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#1748 …} +posts: Doctrine\ORM\PersistentCollection {#1657 …} +postVotes: Doctrine\ORM\PersistentCollection {#1488 …} +postComments: Doctrine\ORM\PersistentCollection {#1756 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#1465 …} +subscriptions: Doctrine\ORM\PersistentCollection {#1495 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#1624 …} +follows: Doctrine\ORM\PersistentCollection {#1635 …} +followers: Doctrine\ORM\PersistentCollection {#1633 …} +blocks: Doctrine\ORM\PersistentCollection {#1418 …} +blockers: Doctrine\ORM\PersistentCollection {#1411 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#1455 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#1459 …} +reports: Doctrine\ORM\PersistentCollection {#1419 …} +favourites: Doctrine\ORM\PersistentCollection {#1428 …} +violations: Doctrine\ORM\PersistentCollection {#1429 …} +notifications: Doctrine\ORM\PersistentCollection {#1694 …} +awards: Doctrine\ORM\PersistentCollection {#1435 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#1709 …} +categories: Doctrine\ORM\PersistentCollection {#1647 …} -id: 18217 -password: "$2y$13$HY4VsKt51/YzSZ.gD5hlkOybU0YpdWN8QlAbC18Nz0IqWeaOvqMxO" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#1677 …} +apId: "silvio2402@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/silvio2402" +apPublicUrl: "https://discuss.tchncs.de/u/silvio2402" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "silvio2402" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1688433000 {#1536 : 2023-07-04 03:10:00.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688424008 {#1515 : 2023-07-04 00:40:08.0 +02:00 } +__isInitialized__: true …2 } } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1688424007 {#1850 : 2023-07-04 00:40:07.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#9343 +date: DateTimeImmutable @1688424007 {#1850 : 2023-07-04 00:40:07.0 +02:00 } } |
magazine_box | App\Twig\Components\MagazineBoxComponent | 12.0 MiB | 23.51 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } "showSectionTitle" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineBoxComponent {#9399 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } +showCover: true +showDescription: true +showRules: true +showSubscribeButton: true +showInfo: true +showMeta: true +showSectionTitle: true +stretchedLink: true } |
magazine_sub | App\Twig\Components\MagazineSubComponent | 12.0 MiB | 0.43 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\MagazineSubComponent {#9457 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } } |
date | App\Twig\Components\DateComponent | 12.0 MiB | 0.16 ms | |
---|---|---|---|---|
Input props | [ "date" => DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\DateComponent {#9569 +date: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } |
user_inline | App\Twig\Components\UserInlineComponent | 12.0 MiB | 4.71 ms | |
---|---|---|---|---|
Input props | [ "user" => Proxies\__CG__\App\Entity\User {#9628 +avatar: null +cover: null +email: "kbin@j0h.nl" +username: "Sprite_tm" +roles: [ "ROLE_ADMIN" ] +followersCount: 0 +homepage: "front" +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com." +lastActive: DateTime @1707547382 {#9675 : 2024-02-10 07:43:02.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: true +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9677 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9679 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9681 …} +entries: Doctrine\ORM\PersistentCollection {#9683 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9685 …} +entryComments: Doctrine\ORM\PersistentCollection {#9687 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9689 …} +posts: Doctrine\ORM\PersistentCollection {#9691 …} +postVotes: Doctrine\ORM\PersistentCollection {#9693 …} +postComments: Doctrine\ORM\PersistentCollection {#9695 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9697 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9699 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9701 …} +follows: Doctrine\ORM\PersistentCollection {#9703 …} +followers: Doctrine\ORM\PersistentCollection {#9705 …} +blocks: Doctrine\ORM\PersistentCollection {#9707 …} +blockers: Doctrine\ORM\PersistentCollection {#9709 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9711 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9713 …} +reports: Doctrine\ORM\PersistentCollection {#9715 …} +favourites: Doctrine\ORM\PersistentCollection {#9717 …} +violations: Doctrine\ORM\PersistentCollection {#9719 …} +notifications: Doctrine\ORM\PersistentCollection {#9721 …} +awards: Doctrine\ORM\PersistentCollection {#9723 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9725 …} +categories: Doctrine\ORM\PersistentCollection {#9727 …} -id: 1 -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9729 …} +apId: null +apProfileId: null +apPublicUrl: null +apFollowersUrl: null +apInboxUrl: null +apDomain: null +apPreferredUsername: null +apDiscoverable: null +apManuallyApprovesFollowers: null +privateKey: """ -----BEGIN PRIVATE KEY-----\r\n MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n 31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n 7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n 1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n -----END PRIVATE KEY----- """ +publicKey: """ -----BEGIN PUBLIC KEY-----\r\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n 55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n 60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n 2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n -----END PUBLIC KEY----- """ +apFetchedAt: null +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686560440 {#9676 : 2023-06-12 11:00:40.0 +02:00 } +__isInitialized__: true …2 } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserInlineComponent {#9646 +user: Proxies\__CG__\App\Entity\User {#9628 +avatar: null +cover: null +email: "kbin@j0h.nl" +username: "Sprite_tm" +roles: [ "ROLE_ADMIN" ] +followersCount: 0 +homepage: "front" +about: "Hi! I'm Sprite_tm. You may know me from sites like https://spritesmods.com." +lastActive: DateTime @1707547382 {#9675 : 2024-02-10 07:43:02.0 +01:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: true +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#9677 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#9679 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9681 …} +entries: Doctrine\ORM\PersistentCollection {#9683 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9685 …} +entryComments: Doctrine\ORM\PersistentCollection {#9687 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9689 …} +posts: Doctrine\ORM\PersistentCollection {#9691 …} +postVotes: Doctrine\ORM\PersistentCollection {#9693 …} +postComments: Doctrine\ORM\PersistentCollection {#9695 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#9697 …} +subscriptions: Doctrine\ORM\PersistentCollection {#9699 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#9701 …} +follows: Doctrine\ORM\PersistentCollection {#9703 …} +followers: Doctrine\ORM\PersistentCollection {#9705 …} +blocks: Doctrine\ORM\PersistentCollection {#9707 …} +blockers: Doctrine\ORM\PersistentCollection {#9709 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#9711 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#9713 …} +reports: Doctrine\ORM\PersistentCollection {#9715 …} +favourites: Doctrine\ORM\PersistentCollection {#9717 …} +violations: Doctrine\ORM\PersistentCollection {#9719 …} +notifications: Doctrine\ORM\PersistentCollection {#9721 …} +awards: Doctrine\ORM\PersistentCollection {#9723 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#9725 …} +categories: Doctrine\ORM\PersistentCollection {#9727 …} -id: 1 -password: "$2y$13$ZX7Aou2QOPRGkHPp4y5x8OWfxZMoT1BGH7bRLlPP7mwZFTkfiaPGG" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#9729 …} +apId: null +apProfileId: null +apPublicUrl: null +apFollowersUrl: null +apInboxUrl: null +apDomain: null +apPreferredUsername: null +apDiscoverable: null +apManuallyApprovesFollowers: null +privateKey: """ -----BEGIN PRIVATE KEY-----\r\n MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDleeotz5TBiMlC\r\n YsJYJHVNxjvnvt0qsQA282B7vdqBTbARfD49iKPiMIwgU2yhCI0oTSQwc2Zy9AQ+\r\n 31rwmvBx8VvcLgQvKpNzPVhMQjelK7k5iPiPc/W1soaauepq3YwQKgGod4c5Vh9f\r\n MInSANfOLOUSo3pUzfaQaGEvQc5DbKjDgIjsv/OKI1acbzu067KQzIThu+1BvcqQ\r\n Ypo2Ux5W23nNqkrRZ++z/r1MI2jS3vwi5OSwz4fWhLPJXE6lwokc6b/uAZe7sLT6\r\n QQtjevLnmMyRIVnmxbtHPMSfhLdz8ssQhoNCfAkMnBjDUX31SSs67pU8v5O3Fn2H\r\n d+qFWCjrREwSpBAd24INJqKsjSa6j3oLL8Xw8HZf+x6QRPJch/c3FNWRtM2b9n8V\r\n sAQiD985pafyeQ1TqIe4iSjI0iUgy2WgwO0C1Z0PNbQzQmRk0EOAlxIXjPmB229P\r\n V4+OcZxLT9phP/rid1Qt9Ro+2LdkS9Zqe8c2JHeJKc5Nv/8OOX5uQ/B82JXnuXYi\r\n /oVEJb5t42G8u3IIkYM5G/Gt033WU6dbyKOBmdnbXaPw9LC3M7oop3yyCb3UDLfg\r\n g/XnZVvZxSPCPlh5G1Lb0r47siKq/0k9YRua0AFsVg0dhqfuwsb6G9Hx5EicuPsu\r\n OIjXINBTjlnE4SdMz0ZJt7bLjwlKdQIDAQABAoICAAlWo8QHfYs+sMoF0Njbavam\r\n SYvNxZxWJacW0mdWu4ylh7O+dZ31cI3k4d7y5inLeksYkI90MsgczAtu9XlzJLPO\r\n WamlKcBtoCCBb5Vy4GbVV61SuKLF2krxn+6uAC8nIusJepXLf3JC4fXyuLkWFbIr\r\n O4s9od3Pn+gSh1nv+J/fzSJfmbLgwN1vQLgPAsQDD3o7CHFTP318ZsDnclUhnst0\r\n FQnckzzgWO3fQP7XNg3WyzX0UKYtW97L+bEJE55FQ2Us0gWyhOU7dLH2casztqzc\r\n F/8T91+fzlZAz9OaCAks6Tyb7L2I5KlhtNRF/bU8rAiy6tnVBgLeZG9d3upcQxX0\r\n L+SMPWg55qERGI5mO+BxFdUnVtcmswziKmySYtzgm+c4jmPS5cWhGB9HFCTW2S0x\r\n GoVA2cZGWjMTrbZQhgJjBqzp76fhLtXTufd328sYmX7fBYKEWFYNwrEJaWYUNl/V\r\n yEyl0aMQWKhVokx6eCqnuDZUc77LeuGuCleIdhQ53NYHrXMCmgVyLfmGdrOS3Uh6\r\n RrAYmnvvMkAUTOQajW2csC345PmgBOjE7vB7349ylKUkXvN4L+9xZCYaVjBt3O24\r\n aRoQSQDGhk+NIaYleiFx+u7dJSryxdx/6ut6dQ2S+jKlm1oN1qq6ppO5y/TFRQ1e\r\n qn7kjIGzUT80fANDFqdhAoIBAQD1+cGiWXRQhUrJc5X3ngH1zHoLWpmSZcUUDFn/\r\n bV/CChd2M43fOpneIQETZ1oS7BsU3y92kTw63ytYOUg7C5iT5/r9ZoBGq0HZSbll\r\n riRJWGiajr2aYCmIes++CrfUvCcD6+l8QMZ3s8eXdk80GX+vt1xEfRpWV9e9huJK\r\n K1e8wXfFmPAmxUi63IePscdc+SVQGeooMYDnMwLWvxpAtp5mGOaQc4D5dviWXjSE\r\n Z/PJa+gectpD1iDIPUXm3o17ivE2UYFia8/FCGUN6Yz7ucRKF+2SPO8hLefk5UvJ\r\n Lxlkh67MXKkneDqRU9C82Qmcfz5nQLQadC0nbE44YeXrnlIdAoIBAQDu1AWMIe6f\r\n 7TZYCWnTa3nT6penJ9CMaGDPI/62dKTmGnI4oo3u9DGGrnuWbcFFCQA02vcYdpuw\r\n CVy6mkP/yqN5VSV3EHZiJUA0aKIxot3o3YOiobpVYn9hwvzzOdMZO4SOuevNfY1c\r\n qmnLGhYoDvR1c2yaudCf/BDwQqlLoSg9F5X57bRtwaRyUjhtXVKXWb59qtiwwrvp\r\n 1vPjxciEIxAtgSXtIUQz3ljDRNUHjpyfYM3ska5jkxMIPNYUYFMX2x+Gxn9PZEG3\r\n Im391BRynZsnkvJO6i4i5N1xsPK5SyPiKBnlMxW/6ZLi5aAQHV3cc2KLzV+T+s2B\r\n v9LTAyO7nWo5AoIBAASA/jqqyKZwyl3F8AkIq6CEjfeHQSidFG65iyxSJF65MJTJ\r\n fN+Jgye+Evb3/X47NIO9UnEpV6D8VR7YbaonHDQZG09ogRDKMfp4jxx9g8yUAdZS\r\n psYc3KXTGdqw94y9pTk9KJlN1lR6xjzPvcOGdAATq2zVnZXXJewifCI/iOu73yWP\r\n F1aeZiaFwzWuW6goJ7a/wrnZrjKNjI/CEAj/TwcvjYk3lDT9KLAYKX4DKUOW5jko\r\n gTacxRzlglIn4Q9SC/iipWvX7YX+EVuf2yUA0cdJiOAUnYxN+uEGEc0tP5nHoju7\r\n tp0yZmAi2L+cecCT0+CwHpwdZHZEVWpS4JLf40ECggEBALFSZIgGDZlaU5YL7zHV\r\n Q5APRugKDLKjMPW7IPwxINnj2tioAL/hOQBpfkNTXEM4ipmz1fCo57FNUjcOINzD\r\n hJqqmHWNmIgIZmJDKeG2rhKenYTblXCeADwCvTKNxWmfoi0iZ6ybwqCBuqjcxoSZ\r\n jfHCcGl0+yw9yAnLRM1ta2XopCb70ZIIS2PCHjk9J/xN2ryNY/PhsgnN2ilMiTNq\r\n oTFYCWPF5lCojrj020KQJUPEaUBzbcpqwZ/FI6HfXvKAdCjqKk40/wHNI2Np2oC6\r\n +h7o4NWs0/J+gNhP6/edjZf19DwTsNtbvf6PRUeRtkXeudVY99T0Sy9B0HNxik9b\r\n cikCggEAM2wassiP1i0Gc3wrbNLHyQN+yqMaAp0xF+8l0fU3T8zPL/tYDcITnZPY\r\n pEFV/aodP9X7XFuQD0iGTOTGDXiMSLPOLI/ifmwbT41rgIN9x14MpU2EtWeVz7sx\r\n ZIFMt98rHx6BsZx/DnSFDQ8iqrKF3u+OOv7s6j+8odz4Rq53+16vMev5VUMOPq+E\r\n aQn8SDKkOjZzwb9QGB9bXS5s9yyj4pLyggQ0O5S2ugZjUcmCecNpktN8bUR3I9VQ\r\n KWkcQa9yCpidp/JYrQtlbqAPiIzptA4T4RNh+F6pKbmw7hNMIPipPzbQezEMaBOn\r\n Cgb38EldyAVGjCzRGfhu9SNU9B03bg==\r\n -----END PRIVATE KEY----- """ +publicKey: """ -----BEGIN PUBLIC KEY-----\r\n MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA5XnqLc+UwYjJQmLCWCR1\r\n TcY7577dKrEANvNge73agU2wEXw+PYij4jCMIFNsoQiNKE0kMHNmcvQEPt9a8Jrw\r\n cfFb3C4ELyqTcz1YTEI3pSu5OYj4j3P1tbKGmrnqat2MECoBqHeHOVYfXzCJ0gDX\r\n zizlEqN6VM32kGhhL0HOQ2yow4CI7L/ziiNWnG87tOuykMyE4bvtQb3KkGKaNlMe\r\n Vtt5zapK0Wfvs/69TCNo0t78IuTksM+H1oSzyVxOpcKJHOm/7gGXu7C0+kELY3ry\r\n 55jMkSFZ5sW7RzzEn4S3c/LLEIaDQnwJDJwYw1F99UkrOu6VPL+TtxZ9h3fqhVgo\r\n 60RMEqQQHduCDSairI0muo96Cy/F8PB2X/sekETyXIf3NxTVkbTNm/Z/FbAEIg/f\r\n OaWn8nkNU6iHuIkoyNIlIMtloMDtAtWdDzW0M0JkZNBDgJcSF4z5gdtvT1ePjnGc\r\n S0/aYT/64ndULfUaPti3ZEvWanvHNiR3iSnOTb//Djl+bkPwfNiV57l2Iv6FRCW+\r\n beNhvLtyCJGDORvxrdN91lOnW8ijgZnZ212j8PSwtzO6KKd8sgm91Ay34IP152Vb\r\n 2cUjwj5YeRtS29K+O7Iiqv9JPWEbmtABbFYNHYan7sLG+hvR8eRInLj7LjiI1yDQ\r\n U45ZxOEnTM9GSbe2y48JSnUCAwEAAQ==\r\n -----END PUBLIC KEY----- """ +apFetchedAt: null +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1686560440 {#9676 : 2023-06-12 11:00:40.0 +02:00 } +__isInitialized__: true …2 } +showAvatar: true } |
related_magazines | App\Twig\Components\RelatedMagazinesComponent | 12.0 MiB | 18.97 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "askelectronics@discuss.tchncs.de" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedMagazinesComponent {#9837 +limit: 4 +tag: null +magazine: "askelectronics@discuss.tchncs.de" +type: "magazine" +title: "related_magazines" +refreshedRandom: false -repository: App\Repository\MagazineRepository {#334 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
active_users | App\Twig\Components\ActiveUsersComponent | 12.0 MiB | 34.29 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\ActiveUsersComponent {#9963 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } -userRepository: App\Repository\UserRepository {#603 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.51 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#10410 +avatar: Proxies\__CG__\App\Entity\Image {#10407 …} +cover: Proxies\__CG__\App\Entity\Image {#10408 …} +email: "TCB13@lemmy.world" +username: "@TCB13@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "" +lastActive: DateTime @1729518803 {#10230 : 2024-10-21 15:53:23.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#10405 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10403 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#10401 …} +entries: Doctrine\ORM\PersistentCollection {#10399 …} +entryVotes: Doctrine\ORM\PersistentCollection {#10397 …} +entryComments: Doctrine\ORM\PersistentCollection {#10395 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10393 …} +posts: Doctrine\ORM\PersistentCollection {#10391 …} +postVotes: Doctrine\ORM\PersistentCollection {#10389 …} +postComments: Doctrine\ORM\PersistentCollection {#10387 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#10385 …} +subscriptions: Doctrine\ORM\PersistentCollection {#10383 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#10381 …} +follows: Doctrine\ORM\PersistentCollection {#10379 …} +followers: Doctrine\ORM\PersistentCollection {#10377 …} +blocks: Doctrine\ORM\PersistentCollection {#10375 …} +blockers: Doctrine\ORM\PersistentCollection {#10373 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#10371 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#10369 …} +reports: Doctrine\ORM\PersistentCollection {#10367 …} +favourites: Doctrine\ORM\PersistentCollection {#10365 …} +violations: Doctrine\ORM\PersistentCollection {#10363 …} +notifications: Doctrine\ORM\PersistentCollection {#10361 …} +awards: Doctrine\ORM\PersistentCollection {#10359 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#10357 …} +categories: Doctrine\ORM\PersistentCollection {#10355 …} -id: 43677 -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10353 …} +apId: "TCB13@lemmy.world" +apProfileId: "https://lemmy.world/u/TCB13" +apPublicUrl: "https://lemmy.world/u/TCB13" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "TCB13" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729566764 {#10411 : 2024-10-22 05:12:44.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1693492241 {#10409 : 2023-08-31 16:30:41.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10019 +width: 65 +height: 65 +user: App\Entity\User {#10410 +avatar: Proxies\__CG__\App\Entity\Image {#10407 …} +cover: Proxies\__CG__\App\Entity\Image {#10408 …} +email: "TCB13@lemmy.world" +username: "@TCB13@lemmy.world" +roles: [] +followersCount: 0 +homepage: "front" +about: "" +lastActive: DateTime @1729518803 {#10230 : 2024-10-21 15:53:23.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#10405 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10403 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#10401 …} +entries: Doctrine\ORM\PersistentCollection {#10399 …} +entryVotes: Doctrine\ORM\PersistentCollection {#10397 …} +entryComments: Doctrine\ORM\PersistentCollection {#10395 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10393 …} +posts: Doctrine\ORM\PersistentCollection {#10391 …} +postVotes: Doctrine\ORM\PersistentCollection {#10389 …} +postComments: Doctrine\ORM\PersistentCollection {#10387 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#10385 …} +subscriptions: Doctrine\ORM\PersistentCollection {#10383 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#10381 …} +follows: Doctrine\ORM\PersistentCollection {#10379 …} +followers: Doctrine\ORM\PersistentCollection {#10377 …} +blocks: Doctrine\ORM\PersistentCollection {#10375 …} +blockers: Doctrine\ORM\PersistentCollection {#10373 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#10371 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#10369 …} +reports: Doctrine\ORM\PersistentCollection {#10367 …} +favourites: Doctrine\ORM\PersistentCollection {#10365 …} +violations: Doctrine\ORM\PersistentCollection {#10363 …} +notifications: Doctrine\ORM\PersistentCollection {#10361 …} +awards: Doctrine\ORM\PersistentCollection {#10359 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#10357 …} +categories: Doctrine\ORM\PersistentCollection {#10355 …} -id: 43677 -password: "$2y$13$67WvGuLt4FPbc4trvxnH0ODZHTvTlMWI7kaafAJZUzYiSsXw.KDqi" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10353 …} +apId: "TCB13@lemmy.world" +apProfileId: "https://lemmy.world/u/TCB13" +apPublicUrl: "https://lemmy.world/u/TCB13" +apFollowersUrl: null +apInboxUrl: "https://lemmy.world/inbox" +apDomain: "lemmy.world" +apPreferredUsername: "TCB13" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1729566764 {#10411 : 2024-10-22 05:12:44.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1693492241 {#10409 : 2023-08-31 16:30:41.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.55 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#10095 +avatar: Proxies\__CG__\App\Entity\Image {#10094 …} +cover: null +email: "skillissuer@discuss.tchncs.de" +username: "@skillissuer@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: "i should be writing" +lastActive: DateTime @1721044672 {#10098 : 2024-07-15 13:57:52.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#10093 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10091 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#10089 …} +entries: Doctrine\ORM\PersistentCollection {#10087 …} +entryVotes: Doctrine\ORM\PersistentCollection {#10085 …} +entryComments: Doctrine\ORM\PersistentCollection {#10083 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10081 …} +posts: Doctrine\ORM\PersistentCollection {#10079 …} +postVotes: Doctrine\ORM\PersistentCollection {#10077 …} +postComments: Doctrine\ORM\PersistentCollection {#10075 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#10073 …} +subscriptions: Doctrine\ORM\PersistentCollection {#10071 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#10069 …} +follows: Doctrine\ORM\PersistentCollection {#10067 …} +followers: Doctrine\ORM\PersistentCollection {#10065 …} +blocks: Doctrine\ORM\PersistentCollection {#10063 …} +blockers: Doctrine\ORM\PersistentCollection {#10061 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#10059 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#10057 …} +reports: Doctrine\ORM\PersistentCollection {#10055 …} +favourites: Doctrine\ORM\PersistentCollection {#10053 …} +violations: Doctrine\ORM\PersistentCollection {#10051 …} +notifications: Doctrine\ORM\PersistentCollection {#10049 …} +awards: Doctrine\ORM\PersistentCollection {#10047 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#10045 …} +categories: Doctrine\ORM\PersistentCollection {#10043 …} -id: 39464 -password: "$2y$13$wQAP4Gif3ESopfZf00xAU.zwr9iTTX.ev3twB9omsse0v00sxuD/G" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10041 …} +apId: "skillissuer@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/skillissuer" +apPublicUrl: "https://discuss.tchncs.de/u/skillissuer" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "skillissuer" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728245617 {#10097 : 2024-10-06 22:13:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1691480767 {#10096 : 2023-08-08 09:46:07.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10299 +width: 65 +height: 65 +user: App\Entity\User {#10095 +avatar: Proxies\__CG__\App\Entity\Image {#10094 …} +cover: null +email: "skillissuer@discuss.tchncs.de" +username: "@skillissuer@discuss.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: "i should be writing" +lastActive: DateTime @1721044672 {#10098 : 2024-07-15 13:57:52.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#10093 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10091 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#10089 …} +entries: Doctrine\ORM\PersistentCollection {#10087 …} +entryVotes: Doctrine\ORM\PersistentCollection {#10085 …} +entryComments: Doctrine\ORM\PersistentCollection {#10083 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10081 …} +posts: Doctrine\ORM\PersistentCollection {#10079 …} +postVotes: Doctrine\ORM\PersistentCollection {#10077 …} +postComments: Doctrine\ORM\PersistentCollection {#10075 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#10073 …} +subscriptions: Doctrine\ORM\PersistentCollection {#10071 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#10069 …} +follows: Doctrine\ORM\PersistentCollection {#10067 …} +followers: Doctrine\ORM\PersistentCollection {#10065 …} +blocks: Doctrine\ORM\PersistentCollection {#10063 …} +blockers: Doctrine\ORM\PersistentCollection {#10061 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#10059 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#10057 …} +reports: Doctrine\ORM\PersistentCollection {#10055 …} +favourites: Doctrine\ORM\PersistentCollection {#10053 …} +violations: Doctrine\ORM\PersistentCollection {#10051 …} +notifications: Doctrine\ORM\PersistentCollection {#10049 …} +awards: Doctrine\ORM\PersistentCollection {#10047 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#10045 …} +categories: Doctrine\ORM\PersistentCollection {#10043 …} -id: 39464 -password: "$2y$13$wQAP4Gif3ESopfZf00xAU.zwr9iTTX.ev3twB9omsse0v00sxuD/G" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10041 …} +apId: "skillissuer@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/u/skillissuer" +apPublicUrl: "https://discuss.tchncs.de/u/skillissuer" +apFollowersUrl: null +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "skillissuer" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1728245617 {#10097 : 2024-10-06 22:13:37.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1691480767 {#10096 : 2023-08-08 09:46:07.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.84 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#10036 +avatar: Proxies\__CG__\App\Entity\Image {#10035 …} +cover: Proxies\__CG__\App\Entity\Image {#10034 …} +email: "vfrmedia@social.tchncs.de" +username: "@vfrmedia@social.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Old roaming Tom Cat (zwerfkater) but still young at heart. Toots EN, (NL,FR,DE). [#DevOpa](https://social.tchncs.de/tags/DevOpa) - interested more in retro tech / culture / aesthetics than new stuff. Also transport and public infrastructure in general (with a UK/European focus)\n \n Welcome to the secret goose shed!\n \n Avatar is a tabby point Siamese cat - header picture is a Stentor FM radio transmitter designed in the Netherlands; popular with small pirate radio broadcasters in late 1980s """ +lastActive: DateTime @1692636225 {#10039 : 2023-08-21 18:43:45.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#10033 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9981 …} +entries: Doctrine\ORM\PersistentCollection {#9983 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9990 …} +entryComments: Doctrine\ORM\PersistentCollection {#9991 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9993 …} +posts: Doctrine\ORM\PersistentCollection {#9995 …} +postVotes: Doctrine\ORM\PersistentCollection {#9992 …} +postComments: Doctrine\ORM\PersistentCollection {#9985 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#10003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#10000 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#10008 …} +follows: Doctrine\ORM\PersistentCollection {#10005 …} +followers: Doctrine\ORM\PersistentCollection {#10013 …} +blocks: Doctrine\ORM\PersistentCollection {#10015 …} +blockers: Doctrine\ORM\PersistentCollection {#10017 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#10425 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#10419 …} +reports: Doctrine\ORM\PersistentCollection {#10232 …} +favourites: Doctrine\ORM\PersistentCollection {#10221 …} +violations: Doctrine\ORM\PersistentCollection {#10427 …} +notifications: Doctrine\ORM\PersistentCollection {#10426 …} +awards: Doctrine\ORM\PersistentCollection {#10423 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#10420 …} +categories: Doctrine\ORM\PersistentCollection {#10417 …} -id: 41651 -password: "$2y$13$MR/jvQLw20snj7dhCUOzrerIeJOUi.vmMEXqlAliA6M/KYuWQH.Sa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10416 …} +apId: "vfrmedia@social.tchncs.de" +apProfileId: "https://social.tchncs.de/users/vfrmedia" +apPublicUrl: "https://social.tchncs.de/@vfrmedia" +apFollowersUrl: "https://social.tchncs.de/users/vfrmedia/followers" +apInboxUrl: "https://social.tchncs.de/inbox" +apDomain: "social.tchncs.de" +apPreferredUsername: "vfrmedia" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1692636225 {#10038 : 2023-08-21 18:43:45.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692554254 {#10037 : 2023-08-20 19:57:34.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10244 +width: 65 +height: 65 +user: App\Entity\User {#10036 +avatar: Proxies\__CG__\App\Entity\Image {#10035 …} +cover: Proxies\__CG__\App\Entity\Image {#10034 …} +email: "vfrmedia@social.tchncs.de" +username: "@vfrmedia@social.tchncs.de" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Old roaming Tom Cat (zwerfkater) but still young at heart. Toots EN, (NL,FR,DE). [#DevOpa](https://social.tchncs.de/tags/DevOpa) - interested more in retro tech / culture / aesthetics than new stuff. Also transport and public infrastructure in general (with a UK/European focus)\n \n Welcome to the secret goose shed!\n \n Avatar is a tabby point Siamese cat - header picture is a Stentor FM radio transmitter designed in the Netherlands; popular with small pirate radio broadcasters in late 1980s """ +lastActive: DateTime @1692636225 {#10039 : 2023-08-21 18:43:45.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: false +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: true +notifyOnNewEntryCommentReply: true +notifyOnNewPost: false +notifyOnNewPostReply: true +notifyOnNewPostCommentReply: true +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#10033 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10031 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#9981 …} +entries: Doctrine\ORM\PersistentCollection {#9983 …} +entryVotes: Doctrine\ORM\PersistentCollection {#9990 …} +entryComments: Doctrine\ORM\PersistentCollection {#9991 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#9993 …} +posts: Doctrine\ORM\PersistentCollection {#9995 …} +postVotes: Doctrine\ORM\PersistentCollection {#9992 …} +postComments: Doctrine\ORM\PersistentCollection {#9985 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#10003 …} +subscriptions: Doctrine\ORM\PersistentCollection {#10000 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#10008 …} +follows: Doctrine\ORM\PersistentCollection {#10005 …} +followers: Doctrine\ORM\PersistentCollection {#10013 …} +blocks: Doctrine\ORM\PersistentCollection {#10015 …} +blockers: Doctrine\ORM\PersistentCollection {#10017 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#10425 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#10419 …} +reports: Doctrine\ORM\PersistentCollection {#10232 …} +favourites: Doctrine\ORM\PersistentCollection {#10221 …} +violations: Doctrine\ORM\PersistentCollection {#10427 …} +notifications: Doctrine\ORM\PersistentCollection {#10426 …} +awards: Doctrine\ORM\PersistentCollection {#10423 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#10420 …} +categories: Doctrine\ORM\PersistentCollection {#10417 …} -id: 41651 -password: "$2y$13$MR/jvQLw20snj7dhCUOzrerIeJOUi.vmMEXqlAliA6M/KYuWQH.Sa" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10416 …} +apId: "vfrmedia@social.tchncs.de" +apProfileId: "https://social.tchncs.de/users/vfrmedia" +apPublicUrl: "https://social.tchncs.de/@vfrmedia" +apFollowersUrl: "https://social.tchncs.de/users/vfrmedia/followers" +apInboxUrl: "https://social.tchncs.de/inbox" +apDomain: "social.tchncs.de" +apPreferredUsername: "vfrmedia" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1692636225 {#10038 : 2023-08-21 18:43:45.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1692554254 {#10037 : 2023-08-20 19:57:34.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.35 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#10154 +avatar: Proxies\__CG__\App\Entity\Image {#10153 …} +cover: null +email: "birdcat@lemmy.ml" +username: "@birdcat@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Appreciate and upvote every reply to my comments/posts if I can detect any effort being put into it; even if I think you completely missed what I tried to say or strongly disagree with your opinion.\n \n Occasionally I cannot resist shitposting, hyperbolic, ironic, sarcastic or populist rhetoric; no /s """ +lastActive: DateTime @1696696022 {#10157 : 2023-10-07 18:27:02.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#10152 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10150 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#10148 …} +entries: Doctrine\ORM\PersistentCollection {#10146 …} +entryVotes: Doctrine\ORM\PersistentCollection {#10144 …} +entryComments: Doctrine\ORM\PersistentCollection {#10142 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10140 …} +posts: Doctrine\ORM\PersistentCollection {#10138 …} +postVotes: Doctrine\ORM\PersistentCollection {#10136 …} +postComments: Doctrine\ORM\PersistentCollection {#10134 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#10132 …} +subscriptions: Doctrine\ORM\PersistentCollection {#10130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#10128 …} +follows: Doctrine\ORM\PersistentCollection {#10126 …} +followers: Doctrine\ORM\PersistentCollection {#10124 …} +blocks: Doctrine\ORM\PersistentCollection {#10122 …} +blockers: Doctrine\ORM\PersistentCollection {#10120 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#10118 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#10116 …} +reports: Doctrine\ORM\PersistentCollection {#10114 …} +favourites: Doctrine\ORM\PersistentCollection {#10112 …} +violations: Doctrine\ORM\PersistentCollection {#10110 …} +notifications: Doctrine\ORM\PersistentCollection {#10108 …} +awards: Doctrine\ORM\PersistentCollection {#10106 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#10104 …} +categories: Doctrine\ORM\PersistentCollection {#10102 …} -id: 21796 -password: "$2y$13$ACNmoGKWwRgm/Njn146GG.b25O8.XXYtlu6ZukGNMl7KWiROcYuzK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10100 …} +apId: "birdcat@lemmy.ml" +apProfileId: "https://lemmy.ml/u/birdcat" +apPublicUrl: "https://lemmy.ml/u/birdcat" +apFollowersUrl: null +apInboxUrl: "https://lemmy.ml/inbox" +apDomain: "lemmy.ml" +apPreferredUsername: "birdcat" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719824521 {#10156 : 2024-07-01 11:02:01.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689039812 {#10155 : 2023-07-11 03:43:32.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10470 +width: 65 +height: 65 +user: App\Entity\User {#10154 +avatar: Proxies\__CG__\App\Entity\Image {#10153 …} +cover: null +email: "birdcat@lemmy.ml" +username: "@birdcat@lemmy.ml" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Appreciate and upvote every reply to my comments/posts if I can detect any effort being put into it; even if I think you completely missed what I tried to say or strongly disagree with your opinion.\n \n Occasionally I cannot resist shitposting, hyperbolic, ironic, sarcastic or populist rhetoric; no /s """ +lastActive: DateTime @1696696022 {#10157 : 2023-10-07 18:27:02.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#10152 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10150 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#10148 …} +entries: Doctrine\ORM\PersistentCollection {#10146 …} +entryVotes: Doctrine\ORM\PersistentCollection {#10144 …} +entryComments: Doctrine\ORM\PersistentCollection {#10142 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10140 …} +posts: Doctrine\ORM\PersistentCollection {#10138 …} +postVotes: Doctrine\ORM\PersistentCollection {#10136 …} +postComments: Doctrine\ORM\PersistentCollection {#10134 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#10132 …} +subscriptions: Doctrine\ORM\PersistentCollection {#10130 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#10128 …} +follows: Doctrine\ORM\PersistentCollection {#10126 …} +followers: Doctrine\ORM\PersistentCollection {#10124 …} +blocks: Doctrine\ORM\PersistentCollection {#10122 …} +blockers: Doctrine\ORM\PersistentCollection {#10120 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#10118 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#10116 …} +reports: Doctrine\ORM\PersistentCollection {#10114 …} +favourites: Doctrine\ORM\PersistentCollection {#10112 …} +violations: Doctrine\ORM\PersistentCollection {#10110 …} +notifications: Doctrine\ORM\PersistentCollection {#10108 …} +awards: Doctrine\ORM\PersistentCollection {#10106 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#10104 …} +categories: Doctrine\ORM\PersistentCollection {#10102 …} -id: 21796 -password: "$2y$13$ACNmoGKWwRgm/Njn146GG.b25O8.XXYtlu6ZukGNMl7KWiROcYuzK" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10100 …} +apId: "birdcat@lemmy.ml" +apProfileId: "https://lemmy.ml/u/birdcat" +apPublicUrl: "https://lemmy.ml/u/birdcat" +apFollowersUrl: null +apInboxUrl: "https://lemmy.ml/inbox" +apDomain: "lemmy.ml" +apPreferredUsername: "birdcat" +apDiscoverable: true +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1719824521 {#10156 : 2024-07-01 11:02:01.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1689039812 {#10155 : 2023-07-11 03:43:32.0 +02:00 } } +asLink: true } |
user_avatar | App\Twig\Components\UserAvatarComponent | 12.0 MiB | 0.56 ms | |
---|---|---|---|---|
Input props | [ "user" => App\Entity\User {#10213 +avatar: Proxies\__CG__\App\Entity\Image {#10212 …} +cover: null +email: "jarrodsfarrell@hoosier.social" +username: "@jarrodsfarrell@hoosier.social" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Grounded tech enthusiast, Linux enjoyer, and Indy 500 wannabe that lives in south-east Indiana. \n Go pride. [#LGBTQ](https://hoosier.social/tags/LGBTQ) """ +lastActive: DateTime @1690728142 {#10216 : 2023-07-30 16:42:22.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#10211 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10209 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#10207 …} +entries: Doctrine\ORM\PersistentCollection {#10205 …} +entryVotes: Doctrine\ORM\PersistentCollection {#10203 …} +entryComments: Doctrine\ORM\PersistentCollection {#10201 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10199 …} +posts: Doctrine\ORM\PersistentCollection {#10197 …} +postVotes: Doctrine\ORM\PersistentCollection {#10195 …} +postComments: Doctrine\ORM\PersistentCollection {#10193 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#10191 …} +subscriptions: Doctrine\ORM\PersistentCollection {#10189 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#10187 …} +follows: Doctrine\ORM\PersistentCollection {#10185 …} +followers: Doctrine\ORM\PersistentCollection {#10183 …} +blocks: Doctrine\ORM\PersistentCollection {#10181 …} +blockers: Doctrine\ORM\PersistentCollection {#10179 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#10177 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#10175 …} +reports: Doctrine\ORM\PersistentCollection {#10173 …} +favourites: Doctrine\ORM\PersistentCollection {#10171 …} +violations: Doctrine\ORM\PersistentCollection {#10169 …} +notifications: Doctrine\ORM\PersistentCollection {#10167 …} +awards: Doctrine\ORM\PersistentCollection {#10165 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#10163 …} +categories: Doctrine\ORM\PersistentCollection {#10161 …} -id: 20657 -password: "$2y$13$XNERcrvg1/EZkZQbKQ6R6efd5bjo3rlAJRSz0lDRnfkNCV76hr5Me" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10159 …} +apId: "jarrodsfarrell@hoosier.social" +apProfileId: "https://hoosier.social/users/jarrodsfarrell" +apPublicUrl: "https://hoosier.social/@jarrodsfarrell" +apFollowersUrl: "https://hoosier.social/users/jarrodsfarrell/followers" +apInboxUrl: "https://hoosier.social/inbox" +apDomain: "hoosier.social" +apPreferredUsername: "jarrodsfarrell" +apDiscoverable: false +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1690726862 {#10215 : 2023-07-30 16:21:02.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688878027 {#10214 : 2023-07-09 06:47:07.0 +02:00 } } "width" => 65 "height" => 65 "asLink" => true ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\UserAvatarComponent {#10527 +width: 65 +height: 65 +user: App\Entity\User {#10213 +avatar: Proxies\__CG__\App\Entity\Image {#10212 …} +cover: null +email: "jarrodsfarrell@hoosier.social" +username: "@jarrodsfarrell@hoosier.social" +roles: [] +followersCount: 0 +homepage: "front" +about: """ Grounded tech enthusiast, Linux enjoyer, and Indy 500 wannabe that lives in south-east Indiana. \n Go pride. [#LGBTQ](https://hoosier.social/tags/LGBTQ) """ +lastActive: DateTime @1690728142 {#10216 : 2023-07-30 16:42:22.0 +02:00 } +markedForDeletionAt: null +fields: null +oauthGithubId: null +oauthGoogleId: null +oauthFacebookId: null +oauthKeycloakId: null +hideAdult: true +showSubscribedUsers: true +showSubscribedMagazines: true +showSubscribedDomains: true +preferredLanguages: [] +featuredMagazines: null +showProfileSubscriptions: true +showProfileFollowings: true +markNewComments: false +notifyOnNewEntry: false +notifyOnNewEntryReply: false +notifyOnNewEntryCommentReply: false +notifyOnNewPost: false +notifyOnNewPostReply: false +notifyOnNewPostCommentReply: false +addMentionsEntries: false +addMentionsPosts: true +isBanned: false +isVerified: false +isDeleted: false +isBot: false +spamProtection: true +customCss: null +ignoreMagazinesCustomCss: false +moderatorTokens: Doctrine\ORM\PersistentCollection {#10211 …} +magazineOwnershipRequests: Doctrine\ORM\PersistentCollection {#10209 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#10207 …} +entries: Doctrine\ORM\PersistentCollection {#10205 …} +entryVotes: Doctrine\ORM\PersistentCollection {#10203 …} +entryComments: Doctrine\ORM\PersistentCollection {#10201 …} +entryCommentVotes: Doctrine\ORM\PersistentCollection {#10199 …} +posts: Doctrine\ORM\PersistentCollection {#10197 …} +postVotes: Doctrine\ORM\PersistentCollection {#10195 …} +postComments: Doctrine\ORM\PersistentCollection {#10193 …} +postCommentVotes: Doctrine\ORM\PersistentCollection {#10191 …} +subscriptions: Doctrine\ORM\PersistentCollection {#10189 …} +subscribedDomains: Doctrine\ORM\PersistentCollection {#10187 …} +follows: Doctrine\ORM\PersistentCollection {#10185 …} +followers: Doctrine\ORM\PersistentCollection {#10183 …} +blocks: Doctrine\ORM\PersistentCollection {#10181 …} +blockers: Doctrine\ORM\PersistentCollection {#10179 …} +blockedMagazines: Doctrine\ORM\PersistentCollection {#10177 …} +blockedDomains: Doctrine\ORM\PersistentCollection {#10175 …} +reports: Doctrine\ORM\PersistentCollection {#10173 …} +favourites: Doctrine\ORM\PersistentCollection {#10171 …} +violations: Doctrine\ORM\PersistentCollection {#10169 …} +notifications: Doctrine\ORM\PersistentCollection {#10167 …} +awards: Doctrine\ORM\PersistentCollection {#10165 …} +subscribedCategories: Doctrine\ORM\PersistentCollection {#10163 …} +categories: Doctrine\ORM\PersistentCollection {#10161 …} -id: 20657 -password: "$2y$13$XNERcrvg1/EZkZQbKQ6R6efd5bjo3rlAJRSz0lDRnfkNCV76hr5Me" -totpSecret: null -totpBackupCodes: [] -oAuth2UserConsents: Doctrine\ORM\PersistentCollection {#10159 …} +apId: "jarrodsfarrell@hoosier.social" +apProfileId: "https://hoosier.social/users/jarrodsfarrell" +apPublicUrl: "https://hoosier.social/@jarrodsfarrell" +apFollowersUrl: "https://hoosier.social/users/jarrodsfarrell/followers" +apInboxUrl: "https://hoosier.social/inbox" +apDomain: "hoosier.social" +apPreferredUsername: "jarrodsfarrell" +apDiscoverable: false +apManuallyApprovesFollowers: false +privateKey: null +publicKey: null +apFetchedAt: DateTime @1690726862 {#10215 : 2023-07-30 16:21:02.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1688878027 {#10214 : 2023-07-09 06:47:07.0 +02:00 } } +asLink: true } |
related_categories | App\Twig\Components\RelatedCategoriesComponent | 12.0 MiB | 9.30 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "askelectronics@discuss.tchncs.de" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedCategoriesComponent {#10589 +limit: 4 +tag: null +magazine: "askelectronics@discuss.tchncs.de" +type: "related" +title: "related_categories" +refreshedRandom: false -repository: App\Repository\CategoryRepository {#10590 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} } |
related_posts | App\Twig\Components\RelatedPostsComponent | 12.0 MiB | 6.66 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "askelectronics@discuss.tchncs.de" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedPostsComponent {#10666 +limit: 4 +tag: null +magazine: "askelectronics@discuss.tchncs.de" +type: "magazine" +post: null +title: "related_posts" +refreshedRandom: false -repository: App\Repository\PostRepository {#10667 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#390 …} } |
related_entries | App\Twig\Components\RelatedEntriesComponent | 12.0 MiB | 17.23 ms | |
---|---|---|---|---|
Input props | [ "magazine" => "askelectronics@discuss.tchncs.de" "tag" => null ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\RelatedEntriesComponent {#10739 +limit: 4 +tag: null +magazine: "askelectronics@discuss.tchncs.de" +type: "magazine" +entry: null +title: "related_entries" +refreshedRandom: false -repository: App\Repository\EntryRepository {#271 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -twig: Twig\Environment {#1252 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -mentionManager: App\Service\MentionManager {#390 …} } |
support_us_block | App\Twig\Components\SupportUsBlock | 12.0 MiB | 0.29 ms | |
---|---|---|---|---|
Input props | [] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\SupportUsBlock {#10808 +subject: ? App\Entity\Contracts\VotableInterface +url: ? string -twig: Twig\Environment {#1252 …} -cache: Symfony\Component\Cache\Adapter\TraceableTagAwareAdapter {#600 …} -requestStack: Symfony\Component\HttpFoundation\RequestStack {#1328 …} -partnerBlockRepository: App\Repository\PartnerBlockRepository {#10809 …} } |
featured_magazines | App\Twig\Components\FeaturedMagazinesComponent | 12.0 MiB | 1.71 ms | |
---|---|---|---|---|
Input props | [ "magazine" => App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } ] |
|||
Attributes | [] |
|||
Component | App\Twig\Components\FeaturedMagazinesComponent {#10897 +magazine: App\Entity\Magazine {#266 +icon: Proxies\__CG__\App\Entity\Image {#247 …} +name: "askelectronics@discuss.tchncs.de" +title: "askelectronics" +description: """ **For questions about component-level electronic circuits, tools and equipment.**\n \n Rules\n -----\n \n 1: Be nice.\n \n 2: Be on-topic (eg: *Electronic*, not *electrical*).\n \n 3: No commercial stuff, buying, selling or valuations.\n \n 4: Be safe.\n \n --- """ +rules: null +subscriptionsCount: 1 +entryCount: 154 +entryCommentCount: 1230 +postCount: 1 +postCommentCount: 4 +isAdult: false +customCss: null +lastActive: DateTime @1729413608 {#276 : 2024-10-20 10:40:08.0 +02:00 } +markedForDeletionAt: null +tags: null +moderators: Doctrine\ORM\PersistentCollection {#238 …} +ownershipRequests: Doctrine\ORM\PersistentCollection {#234 …} +moderatorRequests: Doctrine\ORM\PersistentCollection {#223 …} +entries: Doctrine\ORM\PersistentCollection {#181 …} +posts: Doctrine\ORM\PersistentCollection {#139 …} +subscriptions: Doctrine\ORM\PersistentCollection {#201 …} +bans: Doctrine\ORM\PersistentCollection {#118 …} +reports: Doctrine\ORM\PersistentCollection {#104 …} +badges: Doctrine\ORM\PersistentCollection {#82 …} +logs: Doctrine\ORM\PersistentCollection {#72 …} +awards: Doctrine\ORM\PersistentCollection {#61 …} +categories: Doctrine\ORM\PersistentCollection {#1820 …} -id: 11 +apId: "askelectronics@discuss.tchncs.de" +apProfileId: "https://discuss.tchncs.de/c/askelectronics" +apPublicUrl: "https://discuss.tchncs.de/c/askelectronics" +apFollowersUrl: "https://discuss.tchncs.de/c/askelectronics/followers" +apInboxUrl: "https://discuss.tchncs.de/inbox" +apDomain: "discuss.tchncs.de" +apPreferredUsername: "askelectronics" +apDiscoverable: true +apManuallyApprovesFollowers: null +privateKey: null +publicKey: null +apFetchedAt: DateTime @1727247714 {#270 : 2024-09-25 09:01:54.0 +02:00 } +apDeletedAt: null +apTimeoutAt: null +visibility: "visible " +createdAt: DateTimeImmutable @1687144409 {#272 : 2023-06-19 05:13:29.0 +02:00 } } -twig: Twig\Environment {#1252 …} -repository: App\Repository\MagazineRepository {#334 …} } |