GET https://kbin.spritesserver.nl/m/electronics@discuss.tchncs.de/t/941/Finally-over/active

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

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

Listeners

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

Authenticators

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

Access Decision

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

Access decision log

# Result Attributes Object
1 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
2 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "electronics@discuss.tchncs.de"
    +title: "electronics"
    +description: """
      **Projects, pictures, industry discussions and news about electronic engineering & component-level electronic circuits.**\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: No circuit design or repair, tools or component questions.\n
      \n
      5: No excessively promoting your own sites, social media, videos etc.\n
      \n
      ---\n
      \n
      *Ask questions in [discuss.tchncs.de/c/askelectronics](https://discuss.tchncs.de/c/askelectronics)*\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 43
    +entryCommentCount: 201
    +postCount: 1
    +postCommentCount: 3
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1723220252 {#276
      date: 2024-08-09 18:17:32.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: 5
    +apId: "electronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/electronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/electronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/electronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "electronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719675646 {#270
      date: 2024-06-29 17:40:46.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686642591 {#272
      date: 2023-06-13 09:49:51.0 +02:00
    }
  }
  +image: Proxies\__CG__\App\Entity\Image {#1943 …}
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +slug: "Finally-over"
  +title: "Finally over"
  +url: "https://discuss.tchncs.de/pictrs/image/6e613b6f-b782-4eb0-bf3f-feaf74ece6e2.jpeg"
  +body: """
    High school is finally over! That being said, having chosen a technical school, I, like others, was asked to create a project to be shown during the oral interview with the exam commission. This post is meant to be sort of a postmortem for it. Now, my goal was to create some sort of PLC, capable of controlling high power loads. The plan was to make a switch mode power supply in order to power a microcontroller. With it, I would read and execute commands from a line terminal, such as turning on and off the relays that would control the HV loads. For the relays, I chose to build some solid state ones using TRIACs. My main goal was also to demonstrate how it was possible to use custom PCBs to make it all happen. Yes, I was the first one at school to “discover” the existence of JLCPCB and PCBWay (I’ve used the latter for the final product). Gone were the days of using our CNC milling machine (which, in its current state, can’t make tracks smaller than 1.5mm!) or chemicals. During this time, I also wanted to help all others with their projects (suggesting them to also make custom PCBs). Issues didn’t take long to appear while designing the circuits. Initially, I was using an RX140 board from Renesas as the main brain of the thing. Now, ignoring the fact I absolutely hated the IDE Renesas gave me (it’s based on eclipse, and it was tedious to use), that board died while I was casually using the debugger. I mean, that board had ESD warnings all over, but holy f**k, I even placed it on an antistatic surface. Frustrated with the slow process known as programming for a Renesas product, I have instead chosen to use an STM32 based board, and oh boy it was a good choice to make. Of course, I had to rewrite a lot of code, but I think it was all worth with. The solid state relay board didn’t give me many issues, and I was happy about it. And then… I had to make the SMPS. God. I was lucky enough to use a commercial transformer from wurth Elektronik and to find out that the initial prototype worked well. However, when the first PCBs arrived, we discovered that all prototypes kept blowing pretty violently. Eventually, after some testing, we found that the feedback loop was unstable. It used a TL431 and the only thing I can say is that, to make the board small, I made some… questionable choices with its layout. We eventually swapped it with a zener diode and everything worked well. The boards were designed using Altium designer and KiCad, and were uploaded on PCBWay for manufacturing. You can see the final flyback board on the image above. It uses an NCP1012AP10 controller (I know it’s obsolete, but at this point I’m just relieved everything works), and I’ve tried to follow the recommended layout. The final boards arrived two weeks before the exams. Everything then went according to plan.\n
    \n
    I’d like to thank everyone from r/electronics, r/AskElectronics and r/PCB who helped me during this journey.\n
    \n
    During the development, I’ve gathered all faulty components and put them in a bag. Once it was all over, I happily started to widlarize them. It was glorious.\n
    \n
    All simulations were made using OrCAD and PSpice, and were pretty accurate too.\n
    \n
    I’d like to also thank FedEx for partially destroying my PCB boxes 😢\n
    \n
    EDIT: I think I’ve spent almost $300 for all of this… Imagine all the beer I could have bought instead…
    """
  +type: "image"
  +lang: "en"
  +isOc: false
  +hasEmbed: true
  +commentCount: 1
  +favouriteCount: 18
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1688893326 {#2410
    date: 2023-07-09 11:02:06.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1866 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1946 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 941
  -titleTs: "'final':1"
  -bodyTs: "'1.5':183 '300':601 'absolut':239 'accord':519 'accur':579 'almost':600 'also':121,191,203,585 'altium':456 'antistat':286 'appear':213 'arriv':391,510 'ask':18 'bag':553 'base':248,308 'beer':609 'blow':398 'board':224,258,270,309,342,429,452,473,509 'bought':613 'box':593 'boy':312 'brain':230 'build':110 'capabl':56 'casual':263 'chemic':186 'choic':317,435 'chose':108 'chosen':10,303 'circuit':217 'cnc':169 'code':329 'command':85 'commerci':371 'commiss':33 'compon':547 'control':58,100,482 'could':611 'cours':321 'creat':20,51 'current':175 'custom':130,205 'd':523,582 'day':165 'debugg':266 'demonstr':123 'design':215,454,457 'destroy':590 'develop':541 'didn':208,343 'die':259 'diod':446 'discov':146,393 'eclips':250 'edit':594 'elektronik':375 'enough':367 'esd':272 'even':281 'eventu':401,440 'everyon':527 'everyth':448,496,516 'exam':32,515 'execut':84 'exist':148 'f':278 'fact':237 'faulti':546 'fedex':587 'feedback':409 'final':4,160,471,508 'find':378 'first':141,389 'flyback':472 'follow':503 'found':406 'frustrat':288 'gather':544 'gave':244 'give':345 'glorious':567 'goal':48,119 'god':363 'gone':162 'good':316 'happen':136 'happi':352 'happili':560 'hate':240 'help':194,534 'high':1,59 'holi':277 'howev':386 'hv':102 'ide':242 'ignor':235 'imag':476 'imagin':606 'initi':218,382 'instead':302,614 'interview':29 'issu':207,348 'jlcpcb':150 'journey':538 'k':279 'kept':397 'kicad':459 'know':484 'known':293 'latter':157 'layout':438,506 'like':15,524,583 'line':88 'load':61,103 'long':211 'loop':410 'lot':327 'lucki':366 'm':493 'machin':171 'made':432,571 'main':118,229 'make':66,133,179,204,319,360,427 'mani':347 'manufactur':466 'mean':268 'meant':37 'microcontrol':77 'mill':170 'mm':184 'mode':69 'ncp1012ap10':481 'obsolet':487 'oh':311 'one':114,142 'oral':28 'orcad':573 'order':73 'other':16,196 'partial':589 'pcb':592 'pcbs':131,206,390 'pcbway':152,464 'place':282 'plan':63,521 'plc':55 'point':491 'possibl':127 'post':35 'postmortem':43 'power':60,70,75 'pretti':399,578 'process':292 'product':161,299 'program':295 'project':22,199 'prototyp':383,396 'pspice':575 'put':549 'question':434 'r/askelectronics':530 'r/electronics':529 'r/pcb':532 'read':82 'recommend':505 'relay':97,106,341 'reliev':495 'renesa':226,243,298 'rewrit':325 'rx140':223 'said':8 'say':423 'school':2,13,144 'see':469 'shown':25 'simul':569 'slow':291 'small':430 'smaller':181 'smps':362 'solid':112,339 'sort':40,53 'spent':599 'start':561 'state':113,176,340 'stm32':307 'suggest':200 'suppli':71 'surfac':287 'swap':441 'switch':68 'take':210 'technic':12 'tedious':254 'termin':89 'test':404 'thank':526,586 'thing':233,420 'think':332,596 'time':189 'tl431':416 'track':180 'transform':372 'tri':501 'triac':116 'turn':92 'two':511 'unstabl':412 'upload':462 'use':115,129,155,167,221,256,264,305,369,414,455,479,572 've':154,500,543,598 'violent':400 'want':192 'warn':273 'week':512 'well':385,450 'went':518 'widlar':563 'work':384,449,497 'worth':336 'would':81,99 'wurth':374 'yes':137 'zener':445"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1688939410
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/post/597059"
  +editedAt: DateTimeImmutable @1688893446 {#1850
    date: 2023-07-09 11:04:06.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688892410 {#2420
    date: 2023-07-09 10:46:50.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
3 DENIED edit
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "electronics@discuss.tchncs.de"
    +title: "electronics"
    +description: """
      **Projects, pictures, industry discussions and news about electronic engineering & component-level electronic circuits.**\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: No circuit design or repair, tools or component questions.\n
      \n
      5: No excessively promoting your own sites, social media, videos etc.\n
      \n
      ---\n
      \n
      *Ask questions in [discuss.tchncs.de/c/askelectronics](https://discuss.tchncs.de/c/askelectronics)*\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 43
    +entryCommentCount: 201
    +postCount: 1
    +postCommentCount: 3
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1723220252 {#276
      date: 2024-08-09 18:17:32.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: 5
    +apId: "electronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/electronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/electronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/electronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "electronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719675646 {#270
      date: 2024-06-29 17:40:46.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686642591 {#272
      date: 2023-06-13 09:49:51.0 +02:00
    }
  }
  +image: Proxies\__CG__\App\Entity\Image {#1943 …}
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +slug: "Finally-over"
  +title: "Finally over"
  +url: "https://discuss.tchncs.de/pictrs/image/6e613b6f-b782-4eb0-bf3f-feaf74ece6e2.jpeg"
  +body: """
    High school is finally over! That being said, having chosen a technical school, I, like others, was asked to create a project to be shown during the oral interview with the exam commission. This post is meant to be sort of a postmortem for it. Now, my goal was to create some sort of PLC, capable of controlling high power loads. The plan was to make a switch mode power supply in order to power a microcontroller. With it, I would read and execute commands from a line terminal, such as turning on and off the relays that would control the HV loads. For the relays, I chose to build some solid state ones using TRIACs. My main goal was also to demonstrate how it was possible to use custom PCBs to make it all happen. Yes, I was the first one at school to “discover” the existence of JLCPCB and PCBWay (I’ve used the latter for the final product). Gone were the days of using our CNC milling machine (which, in its current state, can’t make tracks smaller than 1.5mm!) or chemicals. During this time, I also wanted to help all others with their projects (suggesting them to also make custom PCBs). Issues didn’t take long to appear while designing the circuits. Initially, I was using an RX140 board from Renesas as the main brain of the thing. Now, ignoring the fact I absolutely hated the IDE Renesas gave me (it’s based on eclipse, and it was tedious to use), that board died while I was casually using the debugger. I mean, that board had ESD warnings all over, but holy f**k, I even placed it on an antistatic surface. Frustrated with the slow process known as programming for a Renesas product, I have instead chosen to use an STM32 based board, and oh boy it was a good choice to make. Of course, I had to rewrite a lot of code, but I think it was all worth with. The solid state relay board didn’t give me many issues, and I was happy about it. And then… I had to make the SMPS. God. I was lucky enough to use a commercial transformer from wurth Elektronik and to find out that the initial prototype worked well. However, when the first PCBs arrived, we discovered that all prototypes kept blowing pretty violently. Eventually, after some testing, we found that the feedback loop was unstable. It used a TL431 and the only thing I can say is that, to make the board small, I made some… questionable choices with its layout. We eventually swapped it with a zener diode and everything worked well. The boards were designed using Altium designer and KiCad, and were uploaded on PCBWay for manufacturing. You can see the final flyback board on the image above. It uses an NCP1012AP10 controller (I know it’s obsolete, but at this point I’m just relieved everything works), and I’ve tried to follow the recommended layout. The final boards arrived two weeks before the exams. Everything then went according to plan.\n
    \n
    I’d like to thank everyone from r/electronics, r/AskElectronics and r/PCB who helped me during this journey.\n
    \n
    During the development, I’ve gathered all faulty components and put them in a bag. Once it was all over, I happily started to widlarize them. It was glorious.\n
    \n
    All simulations were made using OrCAD and PSpice, and were pretty accurate too.\n
    \n
    I’d like to also thank FedEx for partially destroying my PCB boxes 😢\n
    \n
    EDIT: I think I’ve spent almost $300 for all of this… Imagine all the beer I could have bought instead…
    """
  +type: "image"
  +lang: "en"
  +isOc: false
  +hasEmbed: true
  +commentCount: 1
  +favouriteCount: 18
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1688893326 {#2410
    date: 2023-07-09 11:02:06.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1866 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1946 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 941
  -titleTs: "'final':1"
  -bodyTs: "'1.5':183 '300':601 'absolut':239 'accord':519 'accur':579 'almost':600 'also':121,191,203,585 'altium':456 'antistat':286 'appear':213 'arriv':391,510 'ask':18 'bag':553 'base':248,308 'beer':609 'blow':398 'board':224,258,270,309,342,429,452,473,509 'bought':613 'box':593 'boy':312 'brain':230 'build':110 'capabl':56 'casual':263 'chemic':186 'choic':317,435 'chose':108 'chosen':10,303 'circuit':217 'cnc':169 'code':329 'command':85 'commerci':371 'commiss':33 'compon':547 'control':58,100,482 'could':611 'cours':321 'creat':20,51 'current':175 'custom':130,205 'd':523,582 'day':165 'debugg':266 'demonstr':123 'design':215,454,457 'destroy':590 'develop':541 'didn':208,343 'die':259 'diod':446 'discov':146,393 'eclips':250 'edit':594 'elektronik':375 'enough':367 'esd':272 'even':281 'eventu':401,440 'everyon':527 'everyth':448,496,516 'exam':32,515 'execut':84 'exist':148 'f':278 'fact':237 'faulti':546 'fedex':587 'feedback':409 'final':4,160,471,508 'find':378 'first':141,389 'flyback':472 'follow':503 'found':406 'frustrat':288 'gather':544 'gave':244 'give':345 'glorious':567 'goal':48,119 'god':363 'gone':162 'good':316 'happen':136 'happi':352 'happili':560 'hate':240 'help':194,534 'high':1,59 'holi':277 'howev':386 'hv':102 'ide':242 'ignor':235 'imag':476 'imagin':606 'initi':218,382 'instead':302,614 'interview':29 'issu':207,348 'jlcpcb':150 'journey':538 'k':279 'kept':397 'kicad':459 'know':484 'known':293 'latter':157 'layout':438,506 'like':15,524,583 'line':88 'load':61,103 'long':211 'loop':410 'lot':327 'lucki':366 'm':493 'machin':171 'made':432,571 'main':118,229 'make':66,133,179,204,319,360,427 'mani':347 'manufactur':466 'mean':268 'meant':37 'microcontrol':77 'mill':170 'mm':184 'mode':69 'ncp1012ap10':481 'obsolet':487 'oh':311 'one':114,142 'oral':28 'orcad':573 'order':73 'other':16,196 'partial':589 'pcb':592 'pcbs':131,206,390 'pcbway':152,464 'place':282 'plan':63,521 'plc':55 'point':491 'possibl':127 'post':35 'postmortem':43 'power':60,70,75 'pretti':399,578 'process':292 'product':161,299 'program':295 'project':22,199 'prototyp':383,396 'pspice':575 'put':549 'question':434 'r/askelectronics':530 'r/electronics':529 'r/pcb':532 'read':82 'recommend':505 'relay':97,106,341 'reliev':495 'renesa':226,243,298 'rewrit':325 'rx140':223 'said':8 'say':423 'school':2,13,144 'see':469 'shown':25 'simul':569 'slow':291 'small':430 'smaller':181 'smps':362 'solid':112,339 'sort':40,53 'spent':599 'start':561 'state':113,176,340 'stm32':307 'suggest':200 'suppli':71 'surfac':287 'swap':441 'switch':68 'take':210 'technic':12 'tedious':254 'termin':89 'test':404 'thank':526,586 'thing':233,420 'think':332,596 'time':189 'tl431':416 'track':180 'transform':372 'tri':501 'triac':116 'turn':92 'two':511 'unstabl':412 'upload':462 'use':115,129,155,167,221,256,264,305,369,414,455,479,572 've':154,500,543,598 'violent':400 'want':192 'warn':273 'week':512 'well':385,450 'went':518 'widlar':563 'work':384,449,497 'worth':336 'would':81,99 'wurth':374 'yes':137 'zener':445"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1688939410
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/post/597059"
  +editedAt: DateTimeImmutable @1688893446 {#1850
    date: 2023-07-09 11:04:06.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688892410 {#2420
    date: 2023-07-09 10:46:50.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
4 DENIED moderate
App\Entity\Entry {#2412
  +user: Proxies\__CG__\App\Entity\User {#1970 …}
  +magazine: App\Entity\Magazine {#266
    +icon: Proxies\__CG__\App\Entity\Image {#247 …}
    +name: "electronics@discuss.tchncs.de"
    +title: "electronics"
    +description: """
      **Projects, pictures, industry discussions and news about electronic engineering & component-level electronic circuits.**\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: No circuit design or repair, tools or component questions.\n
      \n
      5: No excessively promoting your own sites, social media, videos etc.\n
      \n
      ---\n
      \n
      *Ask questions in [discuss.tchncs.de/c/askelectronics](https://discuss.tchncs.de/c/askelectronics)*\n
      \n
      ---
      """
    +rules: null
    +subscriptionsCount: 1
    +entryCount: 43
    +entryCommentCount: 201
    +postCount: 1
    +postCommentCount: 3
    +isAdult: false
    +customCss: null
    +lastActive: DateTime @1723220252 {#276
      date: 2024-08-09 18:17:32.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: 5
    +apId: "electronics@discuss.tchncs.de"
    +apProfileId: "https://discuss.tchncs.de/c/electronics"
    +apPublicUrl: "https://discuss.tchncs.de/c/electronics"
    +apFollowersUrl: "https://discuss.tchncs.de/c/electronics/followers"
    +apInboxUrl: "https://discuss.tchncs.de/inbox"
    +apDomain: "discuss.tchncs.de"
    +apPreferredUsername: "electronics"
    +apDiscoverable: true
    +apManuallyApprovesFollowers: null
    +privateKey: null
    +publicKey: null
    +apFetchedAt: DateTime @1719675646 {#270
      date: 2024-06-29 17:40:46.0 +02:00
    }
    +apDeletedAt: null
    +apTimeoutAt: null
    +visibility: "visible             "
    +createdAt: DateTimeImmutable @1686642591 {#272
      date: 2023-06-13 09:49:51.0 +02:00
    }
  }
  +image: Proxies\__CG__\App\Entity\Image {#1943 …}
  +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
  +slug: "Finally-over"
  +title: "Finally over"
  +url: "https://discuss.tchncs.de/pictrs/image/6e613b6f-b782-4eb0-bf3f-feaf74ece6e2.jpeg"
  +body: """
    High school is finally over! That being said, having chosen a technical school, I, like others, was asked to create a project to be shown during the oral interview with the exam commission. This post is meant to be sort of a postmortem for it. Now, my goal was to create some sort of PLC, capable of controlling high power loads. The plan was to make a switch mode power supply in order to power a microcontroller. With it, I would read and execute commands from a line terminal, such as turning on and off the relays that would control the HV loads. For the relays, I chose to build some solid state ones using TRIACs. My main goal was also to demonstrate how it was possible to use custom PCBs to make it all happen. Yes, I was the first one at school to “discover” the existence of JLCPCB and PCBWay (I’ve used the latter for the final product). Gone were the days of using our CNC milling machine (which, in its current state, can’t make tracks smaller than 1.5mm!) or chemicals. During this time, I also wanted to help all others with their projects (suggesting them to also make custom PCBs). Issues didn’t take long to appear while designing the circuits. Initially, I was using an RX140 board from Renesas as the main brain of the thing. Now, ignoring the fact I absolutely hated the IDE Renesas gave me (it’s based on eclipse, and it was tedious to use), that board died while I was casually using the debugger. I mean, that board had ESD warnings all over, but holy f**k, I even placed it on an antistatic surface. Frustrated with the slow process known as programming for a Renesas product, I have instead chosen to use an STM32 based board, and oh boy it was a good choice to make. Of course, I had to rewrite a lot of code, but I think it was all worth with. The solid state relay board didn’t give me many issues, and I was happy about it. And then… I had to make the SMPS. God. I was lucky enough to use a commercial transformer from wurth Elektronik and to find out that the initial prototype worked well. However, when the first PCBs arrived, we discovered that all prototypes kept blowing pretty violently. Eventually, after some testing, we found that the feedback loop was unstable. It used a TL431 and the only thing I can say is that, to make the board small, I made some… questionable choices with its layout. We eventually swapped it with a zener diode and everything worked well. The boards were designed using Altium designer and KiCad, and were uploaded on PCBWay for manufacturing. You can see the final flyback board on the image above. It uses an NCP1012AP10 controller (I know it’s obsolete, but at this point I’m just relieved everything works), and I’ve tried to follow the recommended layout. The final boards arrived two weeks before the exams. Everything then went according to plan.\n
    \n
    I’d like to thank everyone from r/electronics, r/AskElectronics and r/PCB who helped me during this journey.\n
    \n
    During the development, I’ve gathered all faulty components and put them in a bag. Once it was all over, I happily started to widlarize them. It was glorious.\n
    \n
    All simulations were made using OrCAD and PSpice, and were pretty accurate too.\n
    \n
    I’d like to also thank FedEx for partially destroying my PCB boxes 😢\n
    \n
    EDIT: I think I’ve spent almost $300 for all of this… Imagine all the beer I could have bought instead…
    """
  +type: "image"
  +lang: "en"
  +isOc: false
  +hasEmbed: true
  +commentCount: 1
  +favouriteCount: 18
  +score: 0
  +isAdult: false
  +sticky: false
  +lastActive: DateTime @1688893326 {#2410
    date: 2023-07-09 11:02:06.0 +02:00
  }
  +ip: null
  +adaAmount: 0
  +tags: null
  +mentions: null
  +comments: Doctrine\ORM\PersistentCollection {#1866 …}
  +votes: Doctrine\ORM\PersistentCollection {#1966 …}
  +reports: Doctrine\ORM\PersistentCollection {#1946 …}
  +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
  +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
  +badges: Doctrine\ORM\PersistentCollection {#2439 …}
  +children: []
  -id: 941
  -titleTs: "'final':1"
  -bodyTs: "'1.5':183 '300':601 'absolut':239 'accord':519 'accur':579 'almost':600 'also':121,191,203,585 'altium':456 'antistat':286 'appear':213 'arriv':391,510 'ask':18 'bag':553 'base':248,308 'beer':609 'blow':398 'board':224,258,270,309,342,429,452,473,509 'bought':613 'box':593 'boy':312 'brain':230 'build':110 'capabl':56 'casual':263 'chemic':186 'choic':317,435 'chose':108 'chosen':10,303 'circuit':217 'cnc':169 'code':329 'command':85 'commerci':371 'commiss':33 'compon':547 'control':58,100,482 'could':611 'cours':321 'creat':20,51 'current':175 'custom':130,205 'd':523,582 'day':165 'debugg':266 'demonstr':123 'design':215,454,457 'destroy':590 'develop':541 'didn':208,343 'die':259 'diod':446 'discov':146,393 'eclips':250 'edit':594 'elektronik':375 'enough':367 'esd':272 'even':281 'eventu':401,440 'everyon':527 'everyth':448,496,516 'exam':32,515 'execut':84 'exist':148 'f':278 'fact':237 'faulti':546 'fedex':587 'feedback':409 'final':4,160,471,508 'find':378 'first':141,389 'flyback':472 'follow':503 'found':406 'frustrat':288 'gather':544 'gave':244 'give':345 'glorious':567 'goal':48,119 'god':363 'gone':162 'good':316 'happen':136 'happi':352 'happili':560 'hate':240 'help':194,534 'high':1,59 'holi':277 'howev':386 'hv':102 'ide':242 'ignor':235 'imag':476 'imagin':606 'initi':218,382 'instead':302,614 'interview':29 'issu':207,348 'jlcpcb':150 'journey':538 'k':279 'kept':397 'kicad':459 'know':484 'known':293 'latter':157 'layout':438,506 'like':15,524,583 'line':88 'load':61,103 'long':211 'loop':410 'lot':327 'lucki':366 'm':493 'machin':171 'made':432,571 'main':118,229 'make':66,133,179,204,319,360,427 'mani':347 'manufactur':466 'mean':268 'meant':37 'microcontrol':77 'mill':170 'mm':184 'mode':69 'ncp1012ap10':481 'obsolet':487 'oh':311 'one':114,142 'oral':28 'orcad':573 'order':73 'other':16,196 'partial':589 'pcb':592 'pcbs':131,206,390 'pcbway':152,464 'place':282 'plan':63,521 'plc':55 'point':491 'possibl':127 'post':35 'postmortem':43 'power':60,70,75 'pretti':399,578 'process':292 'product':161,299 'program':295 'project':22,199 'prototyp':383,396 'pspice':575 'put':549 'question':434 'r/askelectronics':530 'r/electronics':529 'r/pcb':532 'read':82 'recommend':505 'relay':97,106,341 'reliev':495 'renesa':226,243,298 'rewrit':325 'rx140':223 'said':8 'say':423 'school':2,13,144 'see':469 'shown':25 'simul':569 'slow':291 'small':430 'smaller':181 'smps':362 'solid':112,339 'sort':40,53 'spent':599 'start':561 'state':113,176,340 'stm32':307 'suggest':200 'suppli':71 'surfac':287 'swap':441 'switch':68 'take':210 'technic':12 'tedious':254 'termin':89 'test':404 'thank':526,586 'thing':233,420 'think':332,596 'time':189 'tl431':416 'track':180 'transform':372 'tri':501 'triac':116 'turn':92 'two':511 'unstabl':412 'upload':462 'use':115,129,155,167,221,256,264,305,369,414,455,479,572 've':154,500,543,598 'violent':400 'want':192 'warn':273 'week':512 'well':385,450 'went':518 'widlar':563 'work':384,449,497 'worth':336 'would':81,99 'wurth':374 'yes':137 'zener':445"
  +cross: false
  +upVotes: 0
  +downVotes: 0
  +ranking: 1688939410
  +visibility: "visible             "
  +apId: "https://discuss.tchncs.de/post/597059"
  +editedAt: DateTimeImmutable @1688893446 {#1850
    date: 2023-07-09 11:04:06.0 +02:00
  }
  +createdAt: DateTimeImmutable @1688892410 {#2420
    date: 2023-07-09 10:46:50.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS DENIED
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
5 DENIED ROLE_USER
null
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
6 DENIED moderate
App\Entity\EntryComment {#4048
  +user: App\Entity\User {#3996 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "electronics@discuss.tchncs.de"
      +title: "electronics"
      +description: """
        **Projects, pictures, industry discussions and news about electronic engineering & component-level electronic circuits.**\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: No circuit design or repair, tools or component questions.\n
        \n
        5: No excessively promoting your own sites, social media, videos etc.\n
        \n
        ---\n
        \n
        *Ask questions in [discuss.tchncs.de/c/askelectronics](https://discuss.tchncs.de/c/askelectronics)*\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 43
      +entryCommentCount: 201
      +postCount: 1
      +postCommentCount: 3
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1723220252 {#276
        date: 2024-08-09 18:17:32.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: 5
      +apId: "electronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/electronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/electronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/electronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "electronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719675646 {#270
        date: 2024-06-29 17:40:46.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686642591 {#272
        date: 2023-06-13 09:49:51.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Finally-over"
    +title: "Finally over"
    +url: "https://discuss.tchncs.de/pictrs/image/6e613b6f-b782-4eb0-bf3f-feaf74ece6e2.jpeg"
    +body: """
      High school is finally over! That being said, having chosen a technical school, I, like others, was asked to create a project to be shown during the oral interview with the exam commission. This post is meant to be sort of a postmortem for it. Now, my goal was to create some sort of PLC, capable of controlling high power loads. The plan was to make a switch mode power supply in order to power a microcontroller. With it, I would read and execute commands from a line terminal, such as turning on and off the relays that would control the HV loads. For the relays, I chose to build some solid state ones using TRIACs. My main goal was also to demonstrate how it was possible to use custom PCBs to make it all happen. Yes, I was the first one at school to “discover” the existence of JLCPCB and PCBWay (I’ve used the latter for the final product). Gone were the days of using our CNC milling machine (which, in its current state, can’t make tracks smaller than 1.5mm!) or chemicals. During this time, I also wanted to help all others with their projects (suggesting them to also make custom PCBs). Issues didn’t take long to appear while designing the circuits. Initially, I was using an RX140 board from Renesas as the main brain of the thing. Now, ignoring the fact I absolutely hated the IDE Renesas gave me (it’s based on eclipse, and it was tedious to use), that board died while I was casually using the debugger. I mean, that board had ESD warnings all over, but holy f**k, I even placed it on an antistatic surface. Frustrated with the slow process known as programming for a Renesas product, I have instead chosen to use an STM32 based board, and oh boy it was a good choice to make. Of course, I had to rewrite a lot of code, but I think it was all worth with. The solid state relay board didn’t give me many issues, and I was happy about it. And then… I had to make the SMPS. God. I was lucky enough to use a commercial transformer from wurth Elektronik and to find out that the initial prototype worked well. However, when the first PCBs arrived, we discovered that all prototypes kept blowing pretty violently. Eventually, after some testing, we found that the feedback loop was unstable. It used a TL431 and the only thing I can say is that, to make the board small, I made some… questionable choices with its layout. We eventually swapped it with a zener diode and everything worked well. The boards were designed using Altium designer and KiCad, and were uploaded on PCBWay for manufacturing. You can see the final flyback board on the image above. It uses an NCP1012AP10 controller (I know it’s obsolete, but at this point I’m just relieved everything works), and I’ve tried to follow the recommended layout. The final boards arrived two weeks before the exams. Everything then went according to plan.\n
      \n
      I’d like to thank everyone from r/electronics, r/AskElectronics and r/PCB who helped me during this journey.\n
      \n
      During the development, I’ve gathered all faulty components and put them in a bag. Once it was all over, I happily started to widlarize them. It was glorious.\n
      \n
      All simulations were made using OrCAD and PSpice, and were pretty accurate too.\n
      \n
      I’d like to also thank FedEx for partially destroying my PCB boxes 😢\n
      \n
      EDIT: I think I’ve spent almost $300 for all of this… Imagine all the beer I could have bought instead…
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 1
    +favouriteCount: 18
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688893326 {#2410
      date: 2023-07-09 11:02:06.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 941
    -titleTs: "'final':1"
    -bodyTs: "'1.5':183 '300':601 'absolut':239 'accord':519 'accur':579 'almost':600 'also':121,191,203,585 'altium':456 'antistat':286 'appear':213 'arriv':391,510 'ask':18 'bag':553 'base':248,308 'beer':609 'blow':398 'board':224,258,270,309,342,429,452,473,509 'bought':613 'box':593 'boy':312 'brain':230 'build':110 'capabl':56 'casual':263 'chemic':186 'choic':317,435 'chose':108 'chosen':10,303 'circuit':217 'cnc':169 'code':329 'command':85 'commerci':371 'commiss':33 'compon':547 'control':58,100,482 'could':611 'cours':321 'creat':20,51 'current':175 'custom':130,205 'd':523,582 'day':165 'debugg':266 'demonstr':123 'design':215,454,457 'destroy':590 'develop':541 'didn':208,343 'die':259 'diod':446 'discov':146,393 'eclips':250 'edit':594 'elektronik':375 'enough':367 'esd':272 'even':281 'eventu':401,440 'everyon':527 'everyth':448,496,516 'exam':32,515 'execut':84 'exist':148 'f':278 'fact':237 'faulti':546 'fedex':587 'feedback':409 'final':4,160,471,508 'find':378 'first':141,389 'flyback':472 'follow':503 'found':406 'frustrat':288 'gather':544 'gave':244 'give':345 'glorious':567 'goal':48,119 'god':363 'gone':162 'good':316 'happen':136 'happi':352 'happili':560 'hate':240 'help':194,534 'high':1,59 'holi':277 'howev':386 'hv':102 'ide':242 'ignor':235 'imag':476 'imagin':606 'initi':218,382 'instead':302,614 'interview':29 'issu':207,348 'jlcpcb':150 'journey':538 'k':279 'kept':397 'kicad':459 'know':484 'known':293 'latter':157 'layout':438,506 'like':15,524,583 'line':88 'load':61,103 'long':211 'loop':410 'lot':327 'lucki':366 'm':493 'machin':171 'made':432,571 'main':118,229 'make':66,133,179,204,319,360,427 'mani':347 'manufactur':466 'mean':268 'meant':37 'microcontrol':77 'mill':170 'mm':184 'mode':69 'ncp1012ap10':481 'obsolet':487 'oh':311 'one':114,142 'oral':28 'orcad':573 'order':73 'other':16,196 'partial':589 'pcb':592 'pcbs':131,206,390 'pcbway':152,464 'place':282 'plan':63,521 'plc':55 'point':491 'possibl':127 'post':35 'postmortem':43 'power':60,70,75 'pretti':399,578 'process':292 'product':161,299 'program':295 'project':22,199 'prototyp':383,396 'pspice':575 'put':549 'question':434 'r/askelectronics':530 'r/electronics':529 'r/pcb':532 'read':82 'recommend':505 'relay':97,106,341 'reliev':495 'renesa':226,243,298 'rewrit':325 'rx140':223 'said':8 'say':423 'school':2,13,144 'see':469 'shown':25 'simul':569 'slow':291 'small':430 'smaller':181 'smps':362 'solid':112,339 'sort':40,53 'spent':599 'start':561 'state':113,176,340 'stm32':307 'suggest':200 'suppli':71 'surfac':287 'swap':441 'switch':68 'take':210 'technic':12 'tedious':254 'termin':89 'test':404 'thank':526,586 'thing':233,420 'think':332,596 'time':189 'tl431':416 'track':180 'transform':372 'tri':501 'triac':116 'turn':92 'two':511 'unstabl':412 'upload':462 'use':115,129,155,167,221,256,264,305,369,414,455,479,572 've':154,500,543,598 'violent':400 'want':192 'warn':273 'week':512 'well':385,450 'went':518 'widlar':563 'work':384,449,497 'worth':336 'would':81,99 'wurth':374 'yes':137 'zener':445"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688939410
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/597059"
    +editedAt: DateTimeImmutable @1688893446 {#1850
      date: 2023-07-09 11:04:06.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688892410 {#2420
      date: 2023-07-09 10:46:50.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "With this pace your future will be brighter than sun!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1688893326 {#4057
    date: 2023-07-09 11:02:06.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@ncant@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4046 …}
  +nested: Doctrine\ORM\PersistentCollection {#4044 …}
  +votes: Doctrine\ORM\PersistentCollection {#4042 …}
  +reports: Doctrine\ORM\PersistentCollection {#4040 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4008 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4012 …}
  -id: 9232
  -bodyTs: "'brighter':8 'futur':5 'pace':3 'sun':10"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sopuli.xyz/comment/945633"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688893326 {#3993
    date: 2023-07-09 11:02:06.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
7 DENIED edit
App\Entity\EntryComment {#4048
  +user: App\Entity\User {#3996 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "electronics@discuss.tchncs.de"
      +title: "electronics"
      +description: """
        **Projects, pictures, industry discussions and news about electronic engineering & component-level electronic circuits.**\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: No circuit design or repair, tools or component questions.\n
        \n
        5: No excessively promoting your own sites, social media, videos etc.\n
        \n
        ---\n
        \n
        *Ask questions in [discuss.tchncs.de/c/askelectronics](https://discuss.tchncs.de/c/askelectronics)*\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 43
      +entryCommentCount: 201
      +postCount: 1
      +postCommentCount: 3
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1723220252 {#276
        date: 2024-08-09 18:17:32.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: 5
      +apId: "electronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/electronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/electronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/electronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "electronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719675646 {#270
        date: 2024-06-29 17:40:46.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686642591 {#272
        date: 2023-06-13 09:49:51.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Finally-over"
    +title: "Finally over"
    +url: "https://discuss.tchncs.de/pictrs/image/6e613b6f-b782-4eb0-bf3f-feaf74ece6e2.jpeg"
    +body: """
      High school is finally over! That being said, having chosen a technical school, I, like others, was asked to create a project to be shown during the oral interview with the exam commission. This post is meant to be sort of a postmortem for it. Now, my goal was to create some sort of PLC, capable of controlling high power loads. The plan was to make a switch mode power supply in order to power a microcontroller. With it, I would read and execute commands from a line terminal, such as turning on and off the relays that would control the HV loads. For the relays, I chose to build some solid state ones using TRIACs. My main goal was also to demonstrate how it was possible to use custom PCBs to make it all happen. Yes, I was the first one at school to “discover” the existence of JLCPCB and PCBWay (I’ve used the latter for the final product). Gone were the days of using our CNC milling machine (which, in its current state, can’t make tracks smaller than 1.5mm!) or chemicals. During this time, I also wanted to help all others with their projects (suggesting them to also make custom PCBs). Issues didn’t take long to appear while designing the circuits. Initially, I was using an RX140 board from Renesas as the main brain of the thing. Now, ignoring the fact I absolutely hated the IDE Renesas gave me (it’s based on eclipse, and it was tedious to use), that board died while I was casually using the debugger. I mean, that board had ESD warnings all over, but holy f**k, I even placed it on an antistatic surface. Frustrated with the slow process known as programming for a Renesas product, I have instead chosen to use an STM32 based board, and oh boy it was a good choice to make. Of course, I had to rewrite a lot of code, but I think it was all worth with. The solid state relay board didn’t give me many issues, and I was happy about it. And then… I had to make the SMPS. God. I was lucky enough to use a commercial transformer from wurth Elektronik and to find out that the initial prototype worked well. However, when the first PCBs arrived, we discovered that all prototypes kept blowing pretty violently. Eventually, after some testing, we found that the feedback loop was unstable. It used a TL431 and the only thing I can say is that, to make the board small, I made some… questionable choices with its layout. We eventually swapped it with a zener diode and everything worked well. The boards were designed using Altium designer and KiCad, and were uploaded on PCBWay for manufacturing. You can see the final flyback board on the image above. It uses an NCP1012AP10 controller (I know it’s obsolete, but at this point I’m just relieved everything works), and I’ve tried to follow the recommended layout. The final boards arrived two weeks before the exams. Everything then went according to plan.\n
      \n
      I’d like to thank everyone from r/electronics, r/AskElectronics and r/PCB who helped me during this journey.\n
      \n
      During the development, I’ve gathered all faulty components and put them in a bag. Once it was all over, I happily started to widlarize them. It was glorious.\n
      \n
      All simulations were made using OrCAD and PSpice, and were pretty accurate too.\n
      \n
      I’d like to also thank FedEx for partially destroying my PCB boxes 😢\n
      \n
      EDIT: I think I’ve spent almost $300 for all of this… Imagine all the beer I could have bought instead…
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 1
    +favouriteCount: 18
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688893326 {#2410
      date: 2023-07-09 11:02:06.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 941
    -titleTs: "'final':1"
    -bodyTs: "'1.5':183 '300':601 'absolut':239 'accord':519 'accur':579 'almost':600 'also':121,191,203,585 'altium':456 'antistat':286 'appear':213 'arriv':391,510 'ask':18 'bag':553 'base':248,308 'beer':609 'blow':398 'board':224,258,270,309,342,429,452,473,509 'bought':613 'box':593 'boy':312 'brain':230 'build':110 'capabl':56 'casual':263 'chemic':186 'choic':317,435 'chose':108 'chosen':10,303 'circuit':217 'cnc':169 'code':329 'command':85 'commerci':371 'commiss':33 'compon':547 'control':58,100,482 'could':611 'cours':321 'creat':20,51 'current':175 'custom':130,205 'd':523,582 'day':165 'debugg':266 'demonstr':123 'design':215,454,457 'destroy':590 'develop':541 'didn':208,343 'die':259 'diod':446 'discov':146,393 'eclips':250 'edit':594 'elektronik':375 'enough':367 'esd':272 'even':281 'eventu':401,440 'everyon':527 'everyth':448,496,516 'exam':32,515 'execut':84 'exist':148 'f':278 'fact':237 'faulti':546 'fedex':587 'feedback':409 'final':4,160,471,508 'find':378 'first':141,389 'flyback':472 'follow':503 'found':406 'frustrat':288 'gather':544 'gave':244 'give':345 'glorious':567 'goal':48,119 'god':363 'gone':162 'good':316 'happen':136 'happi':352 'happili':560 'hate':240 'help':194,534 'high':1,59 'holi':277 'howev':386 'hv':102 'ide':242 'ignor':235 'imag':476 'imagin':606 'initi':218,382 'instead':302,614 'interview':29 'issu':207,348 'jlcpcb':150 'journey':538 'k':279 'kept':397 'kicad':459 'know':484 'known':293 'latter':157 'layout':438,506 'like':15,524,583 'line':88 'load':61,103 'long':211 'loop':410 'lot':327 'lucki':366 'm':493 'machin':171 'made':432,571 'main':118,229 'make':66,133,179,204,319,360,427 'mani':347 'manufactur':466 'mean':268 'meant':37 'microcontrol':77 'mill':170 'mm':184 'mode':69 'ncp1012ap10':481 'obsolet':487 'oh':311 'one':114,142 'oral':28 'orcad':573 'order':73 'other':16,196 'partial':589 'pcb':592 'pcbs':131,206,390 'pcbway':152,464 'place':282 'plan':63,521 'plc':55 'point':491 'possibl':127 'post':35 'postmortem':43 'power':60,70,75 'pretti':399,578 'process':292 'product':161,299 'program':295 'project':22,199 'prototyp':383,396 'pspice':575 'put':549 'question':434 'r/askelectronics':530 'r/electronics':529 'r/pcb':532 'read':82 'recommend':505 'relay':97,106,341 'reliev':495 'renesa':226,243,298 'rewrit':325 'rx140':223 'said':8 'say':423 'school':2,13,144 'see':469 'shown':25 'simul':569 'slow':291 'small':430 'smaller':181 'smps':362 'solid':112,339 'sort':40,53 'spent':599 'start':561 'state':113,176,340 'stm32':307 'suggest':200 'suppli':71 'surfac':287 'swap':441 'switch':68 'take':210 'technic':12 'tedious':254 'termin':89 'test':404 'thank':526,586 'thing':233,420 'think':332,596 'time':189 'tl431':416 'track':180 'transform':372 'tri':501 'triac':116 'turn':92 'two':511 'unstabl':412 'upload':462 'use':115,129,155,167,221,256,264,305,369,414,455,479,572 've':154,500,543,598 'violent':400 'want':192 'warn':273 'week':512 'well':385,450 'went':518 'widlar':563 'work':384,449,497 'worth':336 'would':81,99 'wurth':374 'yes':137 'zener':445"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688939410
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/597059"
    +editedAt: DateTimeImmutable @1688893446 {#1850
      date: 2023-07-09 11:04:06.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688892410 {#2420
      date: 2023-07-09 10:46:50.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "With this pace your future will be brighter than sun!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1688893326 {#4057
    date: 2023-07-09 11:02:06.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@ncant@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4046 …}
  +nested: Doctrine\ORM\PersistentCollection {#4044 …}
  +votes: Doctrine\ORM\PersistentCollection {#4042 …}
  +reports: Doctrine\ORM\PersistentCollection {#4040 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4008 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4012 …}
  -id: 9232
  -bodyTs: "'brighter':8 'futur':5 'pace':3 'sun':10"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sopuli.xyz/comment/945633"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688893326 {#3993
    date: 2023-07-09 11:02:06.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
8 DENIED moderate
App\Entity\EntryComment {#4048
  +user: App\Entity\User {#3996 …}
  +entry: App\Entity\Entry {#2412
    +user: Proxies\__CG__\App\Entity\User {#1970 …}
    +magazine: App\Entity\Magazine {#266
      +icon: Proxies\__CG__\App\Entity\Image {#247 …}
      +name: "electronics@discuss.tchncs.de"
      +title: "electronics"
      +description: """
        **Projects, pictures, industry discussions and news about electronic engineering & component-level electronic circuits.**\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: No circuit design or repair, tools or component questions.\n
        \n
        5: No excessively promoting your own sites, social media, videos etc.\n
        \n
        ---\n
        \n
        *Ask questions in [discuss.tchncs.de/c/askelectronics](https://discuss.tchncs.de/c/askelectronics)*\n
        \n
        ---
        """
      +rules: null
      +subscriptionsCount: 1
      +entryCount: 43
      +entryCommentCount: 201
      +postCount: 1
      +postCommentCount: 3
      +isAdult: false
      +customCss: null
      +lastActive: DateTime @1723220252 {#276
        date: 2024-08-09 18:17:32.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: 5
      +apId: "electronics@discuss.tchncs.de"
      +apProfileId: "https://discuss.tchncs.de/c/electronics"
      +apPublicUrl: "https://discuss.tchncs.de/c/electronics"
      +apFollowersUrl: "https://discuss.tchncs.de/c/electronics/followers"
      +apInboxUrl: "https://discuss.tchncs.de/inbox"
      +apDomain: "discuss.tchncs.de"
      +apPreferredUsername: "electronics"
      +apDiscoverable: true
      +apManuallyApprovesFollowers: null
      +privateKey: null
      +publicKey: null
      +apFetchedAt: DateTime @1719675646 {#270
        date: 2024-06-29 17:40:46.0 +02:00
      }
      +apDeletedAt: null
      +apTimeoutAt: null
      +visibility: "visible             "
      +createdAt: DateTimeImmutable @1686642591 {#272
        date: 2023-06-13 09:49:51.0 +02:00
      }
    }
    +image: Proxies\__CG__\App\Entity\Image {#1943 …}
    +domain: Proxies\__CG__\App\Entity\Domain {#1912 …}
    +slug: "Finally-over"
    +title: "Finally over"
    +url: "https://discuss.tchncs.de/pictrs/image/6e613b6f-b782-4eb0-bf3f-feaf74ece6e2.jpeg"
    +body: """
      High school is finally over! That being said, having chosen a technical school, I, like others, was asked to create a project to be shown during the oral interview with the exam commission. This post is meant to be sort of a postmortem for it. Now, my goal was to create some sort of PLC, capable of controlling high power loads. The plan was to make a switch mode power supply in order to power a microcontroller. With it, I would read and execute commands from a line terminal, such as turning on and off the relays that would control the HV loads. For the relays, I chose to build some solid state ones using TRIACs. My main goal was also to demonstrate how it was possible to use custom PCBs to make it all happen. Yes, I was the first one at school to “discover” the existence of JLCPCB and PCBWay (I’ve used the latter for the final product). Gone were the days of using our CNC milling machine (which, in its current state, can’t make tracks smaller than 1.5mm!) or chemicals. During this time, I also wanted to help all others with their projects (suggesting them to also make custom PCBs). Issues didn’t take long to appear while designing the circuits. Initially, I was using an RX140 board from Renesas as the main brain of the thing. Now, ignoring the fact I absolutely hated the IDE Renesas gave me (it’s based on eclipse, and it was tedious to use), that board died while I was casually using the debugger. I mean, that board had ESD warnings all over, but holy f**k, I even placed it on an antistatic surface. Frustrated with the slow process known as programming for a Renesas product, I have instead chosen to use an STM32 based board, and oh boy it was a good choice to make. Of course, I had to rewrite a lot of code, but I think it was all worth with. The solid state relay board didn’t give me many issues, and I was happy about it. And then… I had to make the SMPS. God. I was lucky enough to use a commercial transformer from wurth Elektronik and to find out that the initial prototype worked well. However, when the first PCBs arrived, we discovered that all prototypes kept blowing pretty violently. Eventually, after some testing, we found that the feedback loop was unstable. It used a TL431 and the only thing I can say is that, to make the board small, I made some… questionable choices with its layout. We eventually swapped it with a zener diode and everything worked well. The boards were designed using Altium designer and KiCad, and were uploaded on PCBWay for manufacturing. You can see the final flyback board on the image above. It uses an NCP1012AP10 controller (I know it’s obsolete, but at this point I’m just relieved everything works), and I’ve tried to follow the recommended layout. The final boards arrived two weeks before the exams. Everything then went according to plan.\n
      \n
      I’d like to thank everyone from r/electronics, r/AskElectronics and r/PCB who helped me during this journey.\n
      \n
      During the development, I’ve gathered all faulty components and put them in a bag. Once it was all over, I happily started to widlarize them. It was glorious.\n
      \n
      All simulations were made using OrCAD and PSpice, and were pretty accurate too.\n
      \n
      I’d like to also thank FedEx for partially destroying my PCB boxes 😢\n
      \n
      EDIT: I think I’ve spent almost $300 for all of this… Imagine all the beer I could have bought instead…
      """
    +type: "image"
    +lang: "en"
    +isOc: false
    +hasEmbed: true
    +commentCount: 1
    +favouriteCount: 18
    +score: 0
    +isAdult: false
    +sticky: false
    +lastActive: DateTime @1688893326 {#2410
      date: 2023-07-09 11:02:06.0 +02:00
    }
    +ip: null
    +adaAmount: 0
    +tags: null
    +mentions: null
    +comments: Doctrine\ORM\PersistentCollection {#1866 …}
    +votes: Doctrine\ORM\PersistentCollection {#1966 …}
    +reports: Doctrine\ORM\PersistentCollection {#1946 …}
    +favourites: Doctrine\ORM\PersistentCollection {#1368 …}
    +notifications: Doctrine\ORM\PersistentCollection {#2426 …}
    +badges: Doctrine\ORM\PersistentCollection {#2439 …}
    +children: []
    -id: 941
    -titleTs: "'final':1"
    -bodyTs: "'1.5':183 '300':601 'absolut':239 'accord':519 'accur':579 'almost':600 'also':121,191,203,585 'altium':456 'antistat':286 'appear':213 'arriv':391,510 'ask':18 'bag':553 'base':248,308 'beer':609 'blow':398 'board':224,258,270,309,342,429,452,473,509 'bought':613 'box':593 'boy':312 'brain':230 'build':110 'capabl':56 'casual':263 'chemic':186 'choic':317,435 'chose':108 'chosen':10,303 'circuit':217 'cnc':169 'code':329 'command':85 'commerci':371 'commiss':33 'compon':547 'control':58,100,482 'could':611 'cours':321 'creat':20,51 'current':175 'custom':130,205 'd':523,582 'day':165 'debugg':266 'demonstr':123 'design':215,454,457 'destroy':590 'develop':541 'didn':208,343 'die':259 'diod':446 'discov':146,393 'eclips':250 'edit':594 'elektronik':375 'enough':367 'esd':272 'even':281 'eventu':401,440 'everyon':527 'everyth':448,496,516 'exam':32,515 'execut':84 'exist':148 'f':278 'fact':237 'faulti':546 'fedex':587 'feedback':409 'final':4,160,471,508 'find':378 'first':141,389 'flyback':472 'follow':503 'found':406 'frustrat':288 'gather':544 'gave':244 'give':345 'glorious':567 'goal':48,119 'god':363 'gone':162 'good':316 'happen':136 'happi':352 'happili':560 'hate':240 'help':194,534 'high':1,59 'holi':277 'howev':386 'hv':102 'ide':242 'ignor':235 'imag':476 'imagin':606 'initi':218,382 'instead':302,614 'interview':29 'issu':207,348 'jlcpcb':150 'journey':538 'k':279 'kept':397 'kicad':459 'know':484 'known':293 'latter':157 'layout':438,506 'like':15,524,583 'line':88 'load':61,103 'long':211 'loop':410 'lot':327 'lucki':366 'm':493 'machin':171 'made':432,571 'main':118,229 'make':66,133,179,204,319,360,427 'mani':347 'manufactur':466 'mean':268 'meant':37 'microcontrol':77 'mill':170 'mm':184 'mode':69 'ncp1012ap10':481 'obsolet':487 'oh':311 'one':114,142 'oral':28 'orcad':573 'order':73 'other':16,196 'partial':589 'pcb':592 'pcbs':131,206,390 'pcbway':152,464 'place':282 'plan':63,521 'plc':55 'point':491 'possibl':127 'post':35 'postmortem':43 'power':60,70,75 'pretti':399,578 'process':292 'product':161,299 'program':295 'project':22,199 'prototyp':383,396 'pspice':575 'put':549 'question':434 'r/askelectronics':530 'r/electronics':529 'r/pcb':532 'read':82 'recommend':505 'relay':97,106,341 'reliev':495 'renesa':226,243,298 'rewrit':325 'rx140':223 'said':8 'say':423 'school':2,13,144 'see':469 'shown':25 'simul':569 'slow':291 'small':430 'smaller':181 'smps':362 'solid':112,339 'sort':40,53 'spent':599 'start':561 'state':113,176,340 'stm32':307 'suggest':200 'suppli':71 'surfac':287 'swap':441 'switch':68 'take':210 'technic':12 'tedious':254 'termin':89 'test':404 'thank':526,586 'thing':233,420 'think':332,596 'time':189 'tl431':416 'track':180 'transform':372 'tri':501 'triac':116 'turn':92 'two':511 'unstabl':412 'upload':462 'use':115,129,155,167,221,256,264,305,369,414,455,479,572 've':154,500,543,598 'violent':400 'want':192 'warn':273 'week':512 'well':385,450 'went':518 'widlar':563 'work':384,449,497 'worth':336 'would':81,99 'wurth':374 'yes':137 'zener':445"
    +cross: false
    +upVotes: 0
    +downVotes: 0
    +ranking: 1688939410
    +visibility: "visible             "
    +apId: "https://discuss.tchncs.de/post/597059"
    +editedAt: DateTimeImmutable @1688893446 {#1850
      date: 2023-07-09 11:04:06.0 +02:00
    }
    +createdAt: DateTimeImmutable @1688892410 {#2420
      date: 2023-07-09 10:46:50.0 +02:00
    }
  }
  +magazine: App\Entity\Magazine {#266}
  +image: null
  +parent: null
  +root: null
  +body: "With this pace your future will be brighter than sun!"
  +lang: "en"
  +isAdult: false
  +favouriteCount: 1
  +score: 0
  +lastActive: DateTime @1688893326 {#4057
    date: 2023-07-09 11:02:06.0 +02:00
  }
  +ip: null
  +tags: null
  +mentions: [
    "@ncant@discuss.tchncs.de"
  ]
  +children: Doctrine\ORM\PersistentCollection {#4046 …}
  +nested: Doctrine\ORM\PersistentCollection {#4044 …}
  +votes: Doctrine\ORM\PersistentCollection {#4042 …}
  +reports: Doctrine\ORM\PersistentCollection {#4040 …}
  +favourites: Doctrine\ORM\PersistentCollection {#4008 …}
  +notifications: Doctrine\ORM\PersistentCollection {#4012 …}
  -id: 9232
  -bodyTs: "'brighter':8 'futur':5 'pace':3 'sun':10"
  +ranking: 0
  +commentCount: 0
  +upVotes: 0
  +downVotes: 0
  +visibility: "visible             "
  +apId: "https://sopuli.xyz/comment/945633"
  +editedAt: null
  +createdAt: DateTimeImmutable @1688893326 {#3993
    date: 2023-07-09 11:02:06.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS DENIED
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details
9 DENIED edit
App\Entity\Magazine {#266
  +icon: Proxies\__CG__\App\Entity\Image {#247 …}
  +name: "electronics@discuss.tchncs.de"
  +title: "electronics"
  +description: """
    **Projects, pictures, industry discussions and news about electronic engineering & component-level electronic circuits.**\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: No circuit design or repair, tools or component questions.\n
    \n
    5: No excessively promoting your own sites, social media, videos etc.\n
    \n
    ---\n
    \n
    *Ask questions in [discuss.tchncs.de/c/askelectronics](https://discuss.tchncs.de/c/askelectronics)*\n
    \n
    ---
    """
  +rules: null
  +subscriptionsCount: 1
  +entryCount: 43
  +entryCommentCount: 201
  +postCount: 1
  +postCommentCount: 3
  +isAdult: false
  +customCss: null
  +lastActive: DateTime @1723220252 {#276
    date: 2024-08-09 18:17:32.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: 5
  +apId: "electronics@discuss.tchncs.de"
  +apProfileId: "https://discuss.tchncs.de/c/electronics"
  +apPublicUrl: "https://discuss.tchncs.de/c/electronics"
  +apFollowersUrl: "https://discuss.tchncs.de/c/electronics/followers"
  +apInboxUrl: "https://discuss.tchncs.de/inbox"
  +apDomain: "discuss.tchncs.de"
  +apPreferredUsername: "electronics"
  +apDiscoverable: true
  +apManuallyApprovesFollowers: null
  +privateKey: null
  +publicKey: null
  +apFetchedAt: DateTime @1719675646 {#270
    date: 2024-06-29 17:40:46.0 +02:00
  }
  +apDeletedAt: null
  +apTimeoutAt: null
  +visibility: "visible             "
  +createdAt: DateTimeImmutable @1686642591 {#272
    date: 2023-06-13 09:49:51.0 +02:00
  }
}
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\EntryVoter"
ACCESS ABSTAIN
"App\Security\Voter\MagazineVoter"
ACCESS DENIED
"App\Security\Voter\MessageThreadVoter"
ACCESS ABSTAIN
"App\Security\Voter\MessageVoter"
ACCESS ABSTAIN
"App\Security\Voter\NotificationVoter"
ACCESS ABSTAIN
"App\Security\Voter\OAuth2UserConsentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostCommentVoter"
ACCESS ABSTAIN
"App\Security\Voter\PostVoter"
ACCESS ABSTAIN
"App\Security\Voter\UserVoter"
ACCESS ABSTAIN
Show voter details