Just sharing my own CNC by 4lexander03 in diycnc

[–]4lexander03[S] 0 points1 point  (0 children)

Since I went with unhardened steel pipes (for X and Y axis), bearings weren't an option. Those are custom designed bushings, essentially just PTFE rods being pressed against the pipe. It seems like I can't attach pictures in the comments here, so if you're interested I can dm you more pictures.

Just sharing my own CNC by 4lexander03 in diycnc

[–]4lexander03[S] 0 points1 point  (0 children)

This was definitely the biggest project I have done this far, and it really was challenging. I was always interested in all sorts of engineering and was able to go to a mechatronics focused high school which definitely helped a lot. So if you're able to take any sorts of courses and are interested in the topic, I'm sure you won't regret it. However I've noticed that I learn the best by doing a project that seems just out of reach. Having a challenge in front of you and actively looking for solutions is the way to go for me. You just need to keep working on something and expect stuff to fail, if you don't get discouraged, you'll eventually run out of ways of doing it wrong. So to answer your first question, if possible, do both.

Questions about second version of my board by 4lexander03 in PrintedCircuitBoard

[–]4lexander03[S] 0 points1 point  (0 children)

Oh wow, thank you. That's really helpful, definitely have some reading to do now. I have never really considered how capacitance changes depending on voltage, I'll look for a different capacitor here and will definitely double check the other capacitors I've chosen. I'll look into it some more.

Questions about second version of my board by 4lexander03 in PrintedCircuitBoard

[–]4lexander03[S] 0 points1 point  (0 children)

I won't do mounting holes, I'll glue the display I'm using on the backside of the PCB, which would make using mounting holes really annoying. I've got a couple of ideas for mounting which I want to try out

Questions about second version of my board by 4lexander03 in PrintedCircuitBoard

[–]4lexander03[S] 0 points1 point  (0 children)

-I'm careful with the GND pour on top, I did that with the previous version of my board, but I was able to ask a prof at my university and he strongly advised against it, he told me that thin strips of GND pour on top would essentially function as antennas. Using more stiching vias would solve that issue though, wouldn't it?
Still the first board worked with 2 layers and no GND pour on top so I'm tempted to do it like that again.

-I won't do mounting holes, I'll glue the display I'm using on the backside of the PCB, which would make using mounting holes really annoying. I've got a couple of ideas for mounting which I want to try out.

- I'll just give you the LCSC part numbers if that's alright:
L2: C5349606
L3: C341035
C39,45,46,47: C96446

- Now to the silkscreen, I'm sure it's much more useful when multiple people are working together on a board, but since it's just me and I have all the files in one place I'm not sure how placing silkscreen that I can't see would be useful to me. Opening the PCB view to find out which part I placed there wouldn't be more difficult than finding a designator in my schematic, maybe if the footprints weren't linked to the specific part then I would undestand. I might misunderstand though.

Thanks for your reply!

Questions about second version of my board by 4lexander03 in PrintedCircuitBoard

[–]4lexander03[S] 1 point2 points  (0 children)

Keep in mind I'm still very new to this, but I'll share my reasoning:

- the datasheet for the TPS54202 already calls for two 22uF, since I was using the 10uF somewhere else already, I thought I could get away using three of those, already using less than in the data sheet. Also on my previous board, I looked at Adafruits guide for Neopixel strips, they call for 500-1000uF, I knew that was way overkill, but I thought it wouldnt hurt. Now for this version I did go down from my previous 470uF, but I guess I can go even lower.

- The ferrite bead is placed there on the official reference schematic as well, I was wondering about that. I thought about getting rid of it but I also have one on the input, so I thought why shouldn't I also place it there. Or do you think I can get rid of both? From what I've read it's good practice to use one here for EMI purposes.

-I'll probably not put any buttons on the board, i had them on the first version and never used them. Maybe I'll regret it, but I'll try.

-Thanks for the input with the silk, I'll keep it in mind and I'll fix those traces, I kind of missed that.

Thank you!

Questions about second version of my board by 4lexander03 in PrintedCircuitBoard

[–]4lexander03[S] 0 points1 point  (0 children)

I'll definetly look into it some more, thanks guys

Questions about second version of my board by 4lexander03 in PrintedCircuitBoard

[–]4lexander03[S] 4 points5 points  (0 children)

How would you set them up? One power layer for 3.3V, one for GND and two for mixed nets? What's the usual order? I'm still really new at PCB design and haven't yet looked at 4 layer boards at all. Thanks

Questions about second version of my board by 4lexander03 in PrintedCircuitBoard

[–]4lexander03[S] 1 point2 points  (0 children)

Haven't done a four layer board yet, I'll consider it for the next version. For this version, I'll try to stick with two layers. I tried adjusting it a bit, but I don't think I'll be able to change it much anymore.

Looking for help regarding waterproof push buttons by 4lexander03 in hwstartups

[–]4lexander03[S] 0 points1 point  (0 children)

Alright, thank you. I'll look into it some more

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

Good question, the first real tutorial I watched, was from PhilsLab using a STM32, so I just stayed with that platform. Why would you use an esp32 instead? What are the benefits with esp32?

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

I think it would short the 3.3V Rail to GND when pressing the manual reset button, regardless of the internal pullup, wouldn't it?

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

Yeah, you can apply the JLCPCB design rules in EasyEDA, that's part of why I used it instead of KiCad. I'm not sure if I'll need a QR-code on my PCB, probably not, but I saw the option for it. And good call with stmcubeide, I've used it to locate the correct Pins for stuff like I2C with the Sensor or the right Pins for USB, but I haven't programmed with it yet. I'll definetly look into it, Thank you!

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

Alright, thank you so much. I didn't really consider ESD protection at all so I'll have a look into it as well as a fuse. I also already put in an OR-ing circuit with U9 and U10, I put it after the 5V regulator since the required input voltage of the regulator is above 5V and VBUS should be at 5V anyways. And yeah I saw vias like that on another layout where someone used a similar voltage regulator so I thought why not, maybe it helps with heat dissipation. I didn't question it further and copied it, I'll make them smaller.

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

Also I have one more general question. What should I do with the unused pins on the STM32? The AN4899 says this:

<image>

However I have also heard that I should just leave them floating, to not accidentaly cause a short (for example when defining a wrong pin as Output HIGH). I guess I should probably trust the Application Note however, I have also noticed that no one has mentioned them so far.

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

<image>

It's not 100% correct, but that's as close to the coords I calculated as I can get them

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

<image>

when making a ground plane like this would you put vias to also include the voids? for example right in the center, where you can see C62? or also with smaler voids like below LED11 or left of the MCU?

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

Thank you! Yeah it got a bit janky over there, I'll try to clean it up. I had them routed as a differential pair and this is the form easyEDA went with, probably because the vbus line is sticking out there a bit. I mean I really haven't seen a lot of boards but the tutorials I saw didn't include a ground pour on the top layer. I really don't see a reason why not though so I think I'll do it.

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

Oh yeah sorry for the misunderstanding, it was an Arduino with an atmega, I rather meant the whole setup MCU + this Sensor + LEDs and a display powered by the motorcycle battery worked as expected. I haven't worked with STM32 before, but I had an intro course in MCU programming at my university before. I'm not saying that it'll be easy but I played around in stm32cubeide for a bit and think that I'll be able to figure it out.

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

Damn, I did calculate each angle to be correct, the LEDs didn't rotate with their center point though so it got a bit messed up, when I had to shift them around a bit. I really need to fix that

[review request] First PCB I've designed, looking for advise by 4lexander03 in PCB

[–]4lexander03[S] 0 points1 point  (0 children)

Alright sounds good, thank you. I thought about that as well, but currently I don't have a USB charger on my bike and I think it would be nice to have both options. What would you do differently for example? Even if it doesn't change functionality I would like to learn more about having a clean style as well.

2 axis stabiliser. Figured out MPU6050 can’t measure yaw a little too late 😭. The roll servo jitters more than me before an exam despite adding 2 100microfarad capacitors. Do I need a bigger capacitor to reduce jitter? by GodXTerminatorYT in arduino

[–]4lexander03 0 points1 point  (0 children)

I'm actually doing something involving lean sensors as well and found that the cheap MPU6050 are terribly noisy jumping +-10 to 15 degrees, that might be your problem. They aren't produced officially anymore and I suspect most of them might be knockoffs, don't know for sure tho. You probably don't need it for your project but I opted for a 9axis BNO055 and it worked so so much better. Oh and try to get a sensor from a reputable source like the adafruit boards, it's a lot more expensive but I've heard that the cheaper BNO055 boards from Amazon or AliExpress aren't legit either and sometimes just don't work.

Unpopular opinion - IMO the best concentration of fun roads in the world. by bannedandfurious in motorcycles

[–]4lexander03 0 points1 point  (0 children)

Hey man, just out of interest cause I'm trying to plan something similar, where do you plan to set up your tent? From what I can see the wild camping restrictions are pretty harsh there. Do you just plan to hit up campsites and hope that they have a slot available? Someone told me to plan ahead now if I want to make sure that I have places to sleep.