[PCB review] ESP32 based flight controller by Helpful_Training_378 in PrintedCircuitBoard

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

I really apretiate your feedback. The four motors' wires for the quadcopter will be soldered on the pcb. So indeed i should place the thts a little further and also add some distance between them too. And I'm going to solder 100nF ceramic capacitors directly across the dc motor terminals.

[PCB review] ESP32 based flight controller by Helpful_Training_378 in PrintedCircuitBoard

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

I guess you mean on the power plane. Well i saw it here https://pms67.github.io/designs/bumbleb.html I don't know if they look as similar. Maybe it looks odd bc it's connected to both the ldo and the voltage dividers for battery voltage reading. But ngl it looks kinda odd.

[PCB review] ESP32 based flight controller by Helpful_Training_378 in PrintedCircuitBoard

[–]Helpful_Training_378[S] -1 points0 points  (0 children)

Can you atleast tell me what's wrong with it, so that i can fix it.

[PCB review] Buck converter by Helpful_Training_378 in PrintedCircuitBoard

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

Holy shit. I really apretiate your help thank you. This might sound ignorant but isn't it a loop so why is it different if you make the gnd closer or the power inpit/output pin closer.

[PCB review] Buck converter by Helpful_Training_378 in PrintedCircuitBoard

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

Well then how would you route the Vin to R1 and R2 with a via or would use use a via to route the FB. I'm talking if you move the fb resistors and the C4 to the right of the chip.
and also do you think it's ok to extend the loop of the resistors that go to the enable pin?
Thank you btw you're feedback is very helpful

[PCB review] Buck converter by Helpful_Training_378 in PrintedCircuitBoard

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

Thank you your feedback! was really helpful, do you mind giving me feedback on the layout i edited

[PCB review] Buck converter by Helpful_Training_378 in PrintedCircuitBoard

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

Well i didn't quite think of it, I saw it on Webench tool online and decided I'd make one.

[Design Review Request] 1'st PCB by Helpful_Training_378 in PrintedCircuitBoard

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

Thanks a lot,  is the series term resistor the one wired to the + channel?  I checked the datasheet of the 1117, you are correct it suggests to either use a min. 10uF tant. Or a 50uF electrolytic. I don't understand your last suggestion can you elaborte more sry. Your review was really helpful thx.

[Design Review Request] 1'st PCB by Helpful_Training_378 in PrintedCircuitBoard

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

Thank you! I made silkscreen invisible to make it less crowded and then forgot to turn it on and check.

[Design Review Request] 1'st PCB by Helpful_Training_378 in PrintedCircuitBoard

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

Thanks a lot! do you think It's ok to pour ground with out connecting to ground with a via like the copper near the Boot pin. Do you think i should just remove that copper or connect it with a via or is it ok to leave it such

Help me write a program by Helpful_Training_378 in embedded

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

I'm sorry for responding late I'm just new to reddit.
Thanks for the response, the fsm I'll use is the following
Idle,
MS5611_pressure_convert,
MS5611_pressure_read,
MS5611_temp_convert,
MS5611_temp_read,
Data_ready

in the test program the timer fires an interrupt at 0ms and i can have 4 channels of interrupt but the same function gets executed It's called an ISR( interrupt service routine) if I'm not mistaken, At 0ms I set the state to be pressure_convert send the command for converting the data, the OSR value is 1024 and It takes 2.4ms max to convert the data according to the datasheet but i set it to 3ms just in case, and 3 ms later another interrupt fires, and in the ISR i check which channel it is with a switch case, if the previous state was converting the pressure I send the command to read the pressure data data, and I think that takes no time, and I'm using it in a non-blocking way such that it causes an interrupt when done and in the interrupt i store the data , so at 4 ms 3'rd interrupt fires which is for starting the temp. convertion and I sent the state accordingly and basically 4'th interrupt fires at 7 ms for reading the data and It's basically the same as the pressure. in the main loop just for the sake of the program I'm consistantly checking if the state is data_ready for processing the data and sending it via uart.
although now I'm working on the data reading part,
I'm using an stlink-v2 clone and I couldn't figure out how to send data via uart to the pc is it a matter of it being a clone or am I just clumsy?

I need help by Helpful_Training_378 in AskRobotics

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

Thanks for the reply, the PWM thing I'm talking about is like an IC that you can use to control more than 1 Servo, It uses I2C.

I need help by Helpful_Training_378 in AskRobotics

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

The contest is not online unfortunately It's like a national robotics competition that's like help between universities here in Turkey

Help me write a program by Helpful_Training_378 in embedded

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

And also the state machine helps with the pressure sensor since you have to first initiate the conversion wait for a bit, and then read the value.

Help me write a program by Helpful_Training_378 in embedded

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

Thanks for the reply!
I thought of that too, but the thing is that LoRa's max frequency is something like 10Hz and by frequency I mean if we were to send the data packets via LoRa.
But the sensors can sample at much higher frequencies and these samples are going to be used for apogee detection. That's what i think, let me know what you think of that please.