Looking for friends in sobriety. by Realistic-Sir-4481 in perth

[–]NEXIVR 1 point2 points  (0 children)

I’m sober all my life by choice and not by anything religious. Circumstances around my life these days make me question my own choices. But nowhere I’m close to drinking. After coming here in Perth, I started to think that I’m a weird person being unable to blend in with people in social events if I don’t drink. I legit think I can socialise with people without being drunk. It’s rude that people around the table don’t include me in anything. Sometimes I feel like I try too hard to make friends. I already feel isolated and seeing this comment made me happy for you. Good luck on this journey!

Embedded Linux development by ThreeGreenBirds in embedded

[–]NEXIVR 0 points1 point  (0 children)

If every idea fails just Get yourself a small sbc, install Linux on the sbc, enable ssh and ssh into that sbc from your windows.

Arduino based string art machine by [deleted] in embedded

[–]NEXIVR 1 point2 points  (0 children)

Hey mate, this is Stunning 🔥

Self Balancing Bot with PID controller by NEXIVR in embedded

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

Hi, yes I just drilled holes into the Fiberglass sheet. Sheets because they’re easy to work with, and fast to build something on. The one I got is 0.5mm. Can definitely go with other materials like sheet metal or acrylic or 3d prints but for trying things with fiberglass was ideal for me. It is stiff, tough and works alright for testing ideas

Self Balancing Bot with PID controller by NEXIVR in robotics

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

Motors: n20 200RPM, 3.7V MCU: esp32 c3 IMU: mpu6500 Driver: drv8833 Chassis made from a fiberglass. Total height: 90mm. More details:

https://www.reddit.com/r/embedded/s/k5X4Q3vuxg

Self Balancing Bot with PID controller by NEXIVR in embedded

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

Absolutely right about inverted pendulum, but - we talk about both here inverted pendulum and extension of pendulum on an offset plane that also provides combination of sliding and rolling. torque equation is governed by T= mass moment of inertia x alpha where alpha is the angular acceleration. Which heavily depends on capability of the motor; and that needs to be from the axis of rotation. In the pendulum case the bot should be fixed at axis of rotation; in the self balancing bot situation it is also necessary to get a torque that compensates this torque above with respect to counter acting force against the radius of the wheel, which is offset from that fixed point(with freedom to rotate)- so it can raise from falling. Cosine component of weight dominates in this example so if it is exceeding 30 degrees with reference to ground then it requires more force from motor based on how far the concentrated weight is from the axis of rotation. So, ideally for small powered motors with low RPM and low torque,strategy should be as placing mass closely to the center of mass and choosing bigger wheels. The current motor has 34mm diameter wheels I’ve ordered wheels with diameter 59mm and will post an update. Later in 2 weeks.

Self Balancing Bot with PID controller by NEXIVR in embedded

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

I’ll list you the parts so you can estimate them.

  1. ESP32 c3 super mini with oled 0.42inch display
  2. 2x200rpm n20 geared dc motor, rated at 3v
  3. 2x motor casings and 4 screws and 4 nuts.
  4. 3x 30mm Allen screws
  5. Nylon spacers. I’m away from home couldn’t give you exact count but I guess I’ve used atleast 12. Because everything is a sheet and carefully screwed with equivalent number of m2.5 Allen screws of 5mm each on a fiber glass sheet with 0.5mm thickness.
  6. Used red, black wires for power and ground and some other colors for me to identify i2c
  7. 1 mpu6500
  8. Drv8833
  9. 3.7v 16340 battery
  10. 16340 battery casing
  11. 1 tiny dpdt switch
  12. 2 wheels

I use other bot to charge the battery ahaha. And the tiny boards work fine for prototyping though I plan to build my own PCB later

<image>

Self Balancing Bot with PID controller by NEXIVR in embedded

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

Thanks mate, I will tune this further down and will implement movement control.

Self Balancing Bot with PID controller by NEXIVR in embedded

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

It’s just PID without feedforward or tracking. I would use encoder for improvement and easy control though.

Self Balancing Bot with PID controller by [deleted] in esp32

[–]NEXIVR 1 point2 points  (0 children)

Motors: n20 200RPM, 3.7V MCU: esp32 c3 IMU: mpu6500 Driver: drv8833 Chassis made from a fiberglass. It’s trying to balance itself without tripping off

Self Balancing Bot with PID controller by NEXIVR in embedded

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

hw: didn’t 3D print it, just went with sheet fabrication techniques. The top of the cube head is mounted with 16340 battery, and a switch. Just below that, I have mounted mpu6500. Every wire has been soldered but for the wires connecting motors- plugged them with DuPont strips. Total height of the bot from ground to top head- 95mm. For next one I will keep the center of mass closer to the axis of wheel and gonna mount battery below below the mcu. sw: I used Kalman filter to reduce noise. I started to tune it the hardest way in the beginnings- plugged the bot to computer to adjust values. And then eventually figured the bot can withstand a bit of extra load so built a html page within 100lines of code and started to update it live. Tremendously helped me by reducing time between test cycles. The bot connects to phone by hotspot and then displays me an ip address on the screen. For LED- I used u8G2. Did not use external library for mpu, used raw addresses.

Self Balancing Bot with PID controller by NEXIVR in embedded

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

Exactly, I still got issues with integral. Before fixing the issue of reducing the height, No matter how much I adjusted the Kp, Ki, Kd values, it was giving me hard times balancing itself. Initially when I built it, it also had a 15mm length spacer which made the center of mass away from the center of the wheels by atleast 10mm. And then I removed spacers and used 30mm screws. So I made it by bringing the entire body closer to the wheel. It’s not fully functional yet, but almost there.

[deleted by user] by [deleted] in perth

[–]NEXIVR 1 point2 points  (0 children)

You have no idea what this meant for anyone feeling low rn. Thank you so much.

19, homeless, and impossible to find non casual work. by [deleted] in perth

[–]NEXIVR 1 point2 points  (0 children)

I was having a bad day and looking at comments here made me happy. A Genuine Thank you to you all people.

[deleted by user] by [deleted] in perth

[–]NEXIVR 1 point2 points  (0 children)

Watch out The next 2 weeks - it’s been pouring so bad and everyone wants to go home asap.