PIR-Activated SAMD21 LED Control
$30-250 AUD
Posted 1 minute ago
•
Ends in 6 days
$30-250 AUD
Paid on delivery
Project Description, PIR to SAMD21 to LED COB A schematic was designed to turn on a 12 volt COB strip (BTF-LIGHTING UL Listed FCOB COB LED Strip Light Warm White 3000K DC12V) with a PIR (AM312). When the PIR motion detector is triggered a signal is sent to a microprocessor, SEEED SAMD21, which is programmed to stay on for five minutes. [login to view URL] A PCB was designed from the schematic. closet_xiao_PCB_top_layer_b_&[login to view URL] In testing the system works in turning on the LED strip. But in turning off the light it has three behaviors. 1. Sometimes, but rarely, the system operates as designed. That is, the light comes on when the PIR is triggered, stays on for five minutes and then goes off. 2. More often, the light comes on when triggered and after five minutes the light goes off for a split second and comes back on. 3. In other tests the system comes on and never goes off. The PIR has been tested and operates normally. The tests demonstrate that the PIR, when triggered sends a 3.2 volt signal for 3 seconds and then returns to 0 volts. A test at pin 3 of the SAMD21 shows that the output of the microprocessor is the same as the the three behaviors of the LEDs described above. A test at the Gate of the transistor is also the same as the the three behaviors of the LEDs described above. The project has three parts: 1. Either rework the existing schematic or draft a new schematic that will operate the LED strip as intended and described in the first two sentences of this text. 2. After the schematic by contractor is delivered to Allen Pitts, Allen Pitts will design a PCB in software DipTrace based on the schematic by contractor. A JPG of the PCB, similar to the JPG marked 'Closet XIAO 240930', will be delivered to the contractor The second part of project is for the contractor to review the PCB and advise Allen Pitts that the PCB design is consistent with the schematic by contractor. If the PCB design is not consistent with the schematic by contractor, the contractor will make recommendations for rework of the PCB by Allen Pitts and the reworked PCB will be delivered to the contractor for review and advice. 3. When the PCB is received by Allen Pitts from the manufacturer the PCB will be tested by Allen Pitts and the result of the tests will be presented to the contractor. The project is split into three parts because after the schematic by contractor is received by Allen Pitts it will take some days to translate the schematic by contractor into a PCB. And after the PCB is reviewed and approved it can take weeks for the PCB to be delivered by the manufacturer. Because of this project timeline there will be four payments: 1. Project acceptance and initiation. 2. Schematic by contractor delivered. 3. PCB reviewed and approved. 4. PCB tested for normal operation. Although the microprocessor sketch is not an item in the project the sketch is attached herewith to provide context.
Project ID: 40829184
About the project
2 proposals
Open for bidding
Remote project
Active 27 secs ago
Place your bid
Bid amount Email addressBenefits of bidding on Freelancer
Set your budget and timeframe
It's free to sign up and bid on jobs
2 freelancers are bidding on average $165 AUD for this job


Your gate and pin 3 both show the fault, so the problem is probably upstream of the transistor. A PIR that re-triggers during the 5 minute count, or a timer that gets restarted by the 3 second pulses, would give exactly this on-again, never-off behavior. A floating or noisy input line and a weak gate pull-down are the other things I'd check. I'll go through your schematic and sketch, fix the input and gate drive, and deliver a clean corrected schematic. Then I'll review your PCB against it and answer the later test results. I've worked on a lot of embedded and power-stage boards, and some are in my portfolio.
内容来自 Freelancer News,版权归原作者所有。
阅读原文 ↗