Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESPHome HAN Reader #1363

Merged
merged 14 commits into from
Dec 24, 2024
Merged

ESPHome HAN Reader #1363

merged 14 commits into from
Dec 24, 2024

Conversation

Lazylllama
Copy link
Contributor

Submission Checklist:

  • I am a current high school, middle school, or home schooled student.

  • I have joined the #electronics channel on Slack

  • I made this board from scratch, even if I followed a tutorial

  • I have followed the directions in README.md

    • Created a folder under onboard/projects
    • Filled out TEMPLATE.md as README.md inside your project folder
    • Uploaded gerber.zip and schematic.pdf inside your project folder
    • Created a folder called src and uploaded design files
    • Uploaded screenshot of PCB order called cart.png with all costs included
    • I am ordering the smallest batch size (ie. JLCPCB's smallest order is for 5 boards)
    • If outside the US I've checked that I can afford the customs charges in my country (which isn't covered by the grant)
  • (Optional) This project is from a tutorial1.

  • (Optional) This project is for OnBoard Live2.

  • (Optional) I'm in a FIRST (FRC, FTC, FLL, etc.) team. The number is: ____

Footnotes

  1. Projects from a tutorial are 100% fine! We just want to ask so we can count how people are using tutorials.

  2. OnBoard Live is a special version of OnBoard where you can earn more money for designing advanced boards. Check out the #onboard-live channel on our Slack!

@github-actions github-actions bot added the Submission New Boards! label Dec 21, 2024
@prophetorpheus
Copy link
Collaborator

prophetorpheus commented Dec 21, 2024

Hi, I'm Orpheus Leap! Here to help you review your PR.

projects/esphome-han-reader:

Required files

README.md A description of your project
cart.png cart.png
gerber.zip
schematic.pdf Manually check schematic.pdf
Source files - KiCAD Found both PCB and SCH files

You can view a render of your board over on gerber.zip/2d!

Happy OnBoarding!
This bot is a simpler helper for common submission types. If there's an error with this, please point it out and someone from the OnBoard team will look at it manually.

Copy link
Collaborator

@LimesKey LimesKey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one of the most interesting projects I've seen, it's so cool you're able to do this and monitor your power usage this way. A few questions though,

  • Is there a reason you chose to not use a USB-C port for flashing the microcontroller, and instead opted to have the male pin headers?
  • Why are you using Tantalum Capacitors and not regular MLCC capacitors which are much smaller and used for decoupling?
  • You might want to use thicker power traces, especially for 3V. Also, a GND fill wouldn't hurt.

@LimesKey LimesKey self-assigned this Dec 21, 2024
@Lazylllama
Copy link
Contributor Author

Heya, just woke up from my 6 hour sleep haha. Thank you! I can't take all the credit though for this. The firmware is already made and theres a whole repository about this https://github.com/psvanstrom/esphome-p1reader, It's really awesome though!

  1. Putting an USB-c port for flashing would require me to put the programmer onboard and that would make insane, since I have like every single type of ESP at home, I also have programmers for them so It's much easier for me to just program it once, shove it in my electrical box and be done with it.
  2. This is probably the part on my PCB that I understand the least. I had to ask ChatGPT if I needed the capacitors when I first made the schematic cause I saw it on another PCB and it told me yes and explained how and other yap, It also recommended tantalum capacitors cause of I think it was more stability and lower "ESR" no clue what that is. Couldn't really find anything about the cap thing on google. Let me know If I should switch, I have no clue what I'm doing for that part other than 5v -> 3.3v (Just noticed I had switched the volt in and out on my schematic, fixed on my next commit.)
  3. Yeah, I used to have that. Then JLCPCB told me I could only assemble on one side so had to remake the entire layout and traces and at like 4AM I lost my will to live and used freerouting which didn't take that into account, will fix and also make them straighter. For ground fill, I simply have no idea how to do that. It looks awesome, but my skills are not awesome. Also felt like it would be a royal pain in the arse if i need to move one single trace even a mm. Gonna look at some youtube videos and try to implement it though.

@Lazylllama Lazylllama requested a review from LimesKey December 21, 2024 14:34
@LimesKey
Copy link
Collaborator

LimesKey commented Dec 22, 2024

Makes sense, however, if it were me I would have gone with a simple ESP32 chip you can find commonly around LCSC, then it'd be quite simple to program it with a USB-C connector. I have never seen that specific variety of microcontrollers before.

recommended tantalum capacitors cause of I think it was more stability and lower "ESR"

This is true but you don't need it for your design, it's only for larger power supplies and sensitive components and such. Use these, they're much smaller, have a higher capacitance and will work as a replacement, https://jlcpcb.com/partdetail/4414076-GRM158R61A226ME15D/C3845593. I'd also recommend swapping out your voltage regulator for either the Texas Instruments TLV76133DCYR or Texas Instruments TLV1117LV33DCYT, both are pretty common and should be more efficient.

For ground fill, I simply have no idea how to do that. It looks awesome, but my skills are not awesome

It's very easy in KiCad, like it takes a minute and is really easy to re-fill when you update your traces. Look up online how to do that, it should be simple.

@Lazylllama
Copy link
Contributor Author

I ended up adding an FTDI chip with an USB-C port as input and staying with my ESP-07. I switched my caps to 22uF caps like the ones you linked and my LDR to an Texas Instruments TLV1117LV33DCYT like you said and ALOT of component adjustments for pricing. Learnt how to do ground fill 1 minute after I sent the message :P.

Hopefully this is my last revision! Happy holidays 🎄

Copy link
Collaborator

@LimesKey LimesKey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Lazylllama!

I've just sent you your grant for OnBoard. You should have received an invite in your email. There will be instructions on how to use your debit card attached should you need them. Please remember to upload your receipts when you make purchases.

Also, unfortunately, we're unable to offer support with reimbursements for customs fees, including reimbursements using leftover grant funds. Please keep this in mind before you make any purchases. More info in the OnBoard community shipping doc.

I'm looking forward to seeing your PCB be manufactured! Send pictures in the #electronics channel on Slack once you get it! Please don't hesitate to reach out if you have any questions!

@LimesKey LimesKey merged commit 9413bd7 into hackclub:main Dec 24, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Submission New Boards!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants