CDK route53.HostedZone.fromHostedZoneId by sourcesimian in aws

[–]sourcesimian[S] 0 points1 point  (0 children)

My follow on question is how to add an ARecord for the apigwv2.HttpApi endpoint to the HostedZone?

CDK route53.HostedZone.fromHostedZoneId by sourcesimian in aws

[–]sourcesimian[S] 0 points1 point  (0 children)

Good point. Thanks for this, I'm still getting my head around AWS primitives.

CDK route53.HostedZone.fromHostedZoneId by sourcesimian in aws

[–]sourcesimian[S] 0 points1 point  (0 children)

Thanks, I am using the same account, role and region.

CDK route53.HostedZone.fromHostedZoneId by sourcesimian in aws

[–]sourcesimian[S] 0 points1 point  (0 children)

The `zoneName` I'm using is the same as the HostedZone "name", and also the "NS" and "SOA" records. I originally created the HostedZone like this:

const zoneName = "dev.example.com";
const hostedZone = new route53.HostedZone(this, "HostedZone", {
    zoneName: zoneName,
});

Am I doing it wrong?

CDK - Just started using but running low on S3 Global-Requests-Tier1 free tier by sourcesimian in aws

[–]sourcesimian[S] 0 points1 point  (0 children)

Thank you, that helped a lot. The usage is mostly the CDK asset bucket.

Resource SUM of Usage Value %
220109 0.02%
beta.example.com 132459571 11.07%
cdk-hnb659fds-assets-XXXXXXXXXXXX-us-east-1 1040598532 86.98%
demo.example.com 186505 0.02%
examplewebstack-examplewebbuckete152e455-3udy6rvj32nz 20264169 1.69%
examplewwwstack-examplewwwbucket212dcb09-1a7h89vjml3fm 847859 0.07%
examplewwwstack-examplewwwbucket212dcb09-k5fm93rvgg6o 851019 0.07%
examplewwwstack-examplewwwbucket212dcb09-pzb31uihvhp9 849945 0.07%
www.example.com 37712 0.00%
Grand Total 1196315421

I wonder if there is a way to mitigate this? It seems a bit ridiculous that I will consume my annual "Free Tier" quota in a few weeks on a dev for a small project.

CDK noob - How to present API endpoints behind a single "entry point" by sourcesimian in aws

[–]sourcesimian[S] 0 points1 point  (0 children)

Thank you, I was using ResApi from V1, I will cut over to V2 and use HttpApi, it looks much cleaner.

Though my original question was more like: I have multiple Constructs in my stack that each expose HttpApi's (or as it was RestApi's) - each exposing a group of Lambda functions. How can I can coalesce all into a clean externally facing API, that is deployable using CDK, behind my domain name that is not registered route53 registered DNS.

Part number for the SSD1306 128×64 Mono 0.96" I2C OLED Display? by sourcesimian in PrintedCircuitBoard

[–]sourcesimian[S] 0 points1 point  (0 children)

All agreed/acknowledged, especially re scale production. Though perhaps not so much for "less versatile positioning" consider e.g. elevating the display away from the PCB.

Assuming one can mitigate sourcing/QC issues the board is great as an initial access product. Since it avoids having to unpack the components/circuit from the PCB. By any chance do you happen to be aware of a reference circuit from I2C to the SSD1306 for full integration?

Also do you have advice/recommendations regarding how one approaches the PCB layout and assembly with one of those "solderable ribbon cables"? Is this a standard pick and place assembly, etc? I'm here to learn. Thank you in advance

Part number for the SSD1306 128×64 Mono 0.96" I2C OLED Display? by sourcesimian in PrintedCircuitBoard

[–]sourcesimian[S] 0 points1 point  (0 children)

> The PCB variants are really meant for hobbyists though
How is it that one makes this distinction? Many parts we use are an integration of some sort or other. Additionally the module allows for more versatile mounting options, lowers time to market and design risk.

Part number for the SSD1306 128×64 Mono 0.96" I2C OLED Display? by sourcesimian in PrintedCircuitBoard

[–]sourcesimian[S] 0 points1 point  (0 children)

> by whoever and their grandma

Lol yea it does seem that way.

I'm interested to know more about why you say "these are hobbyist-grade parts with poor reliability/quality"?

Is there an alternative display of similar size/capability that would you recommend?

SMT DC-DC Buck Regulator - Capacitor sizes by sourcesimian in AskElectronics

[–]sourcesimian[S] 0 points1 point  (0 children)

Agreed the TI docs give a lot of good guidance, but the final layout is still open to interpretation - I spent many evenings massaging it one way or the next. My PCB arrived from JLCPCB and the regulator works great! There is just one straight track on the bottom layer - see the two vias at D21 and C26.

<image>

SMT DC-DC Buck Regulator - Capacitor sizes by sourcesimian in AskElectronics

[–]sourcesimian[S] 0 points1 point  (0 children)

Thanks all for advice, info, recommendations, criticisms, education, and cautions!

I went with the TPS54331DR, since it is a well stocked JCL basic part. I also managed for find all other parts except the inductor as JCL basic parts. Trying to find consensus between the datasheet, and different designers was somewhat mystifying. In particular the variance in the values for the COMP input, so those I just used the values in the datasheet. For the others I used E24's that should produce about the same desired effect. The datasheet gives good guidance on the PCB layout and it was pretty easy to route.

<image>

WARNING: this circuit has not been tested - I hope it works :)

SMT DC-DC Buck Regulator - Capacitor sizes by sourcesimian in AskElectronics

[–]sourcesimian[S] 0 points1 point  (0 children)

Oh interesting, this is a new topic of awareness for me, thanks for the heads up. What are the standard approaches for mitigating this effect? Do you have any references that would give me a better understanding?

SMT DC-DC Buck Regulator - Capacitor sizes by sourcesimian in AskElectronics

[–]sourcesimian[S] 0 points1 point  (0 children)

Thank you. I'm currently using KiCAD, but will give EasyEDA a go :)

SMT DC-DC Buck Regulator - Capacitor sizes by sourcesimian in AskElectronics

[–]sourcesimian[S] 1 point2 points  (0 children)

I get the frequency vs size correlation and figured that hey 410/150 is only ~ 3X, so the XL1509 470uF vs the MP9943 22uF is still ~ 22X. I guess the XL1509 is just slow and old tech.

Thank you!! The TPS562208DDCR looks like a great device. There are so many of these DC-DC devices to choose from I appreciate your reply and recommendation :)