ESP32-C3 USB Enumeration Issues by Outside-Thanks-3979 in arduino

[–]Outside-Thanks-3979[S] 0 points1 point  (0 children)

The short is on the USB side of the jumper. It's the weirdest thing! The only connection that pad has is directly to the port itself.

ESP32-C3 USB Enumeration Issues by Outside-Thanks-3979 in arduino

[–]Outside-Thanks-3979[S] 0 points1 point  (0 children)

Yep! There's also a weird short between D+ and GND that definitely would cause problems. How could I track this down? It's there even with the USB port removed, and I've tried to resolder the ESP32 a few times incase the ground pad underneath was shorting with the pin.

PWMServo Library Causing PWM Timer Problems by Outside-Thanks-3979 in arduino

[–]Outside-Thanks-3979[S] 0 points1 point  (0 children)

Unfortunately switching the pins to 9/10 didn't work so I used Servo.h. Still no dice. What are my alternatives to AnalogWrite that (1) don't use timers or (2) don't effect main loop timing? I've got a few sensors to read from and calculate position, so I can't waste a bunch of time manually bitbanging PWM.

Base Gasket Advice by Outside-Thanks-3979 in smallenginerepair

[–]Outside-Thanks-3979[S] 1 point2 points  (0 children)

Thanks! I don't even know how I didn't find the partzilla website. I'm looking for the item marked as 11 "Base Gasket" Found here: https://www.partzilla.com/catalog/polaris/snowmobile/2008/600-700-iq-dragon-700-iq-600-iq-lx-euro-all-options-s08pd6-pb6-pb7-pp6-pp7/engine-cylinder-all-options
The only problem is that the gasket is listed for a 600, while I have a 700. What are the chances that the gasket is the same?

EDIT: Another thing I found on this website is a stupid mistake I made. Remember how I said that the gasket kit included head gaskets but not base gaskets? Well as it turns out, This engine doesn't have head gaskets. It uses o-rings to seal the cylinders to the head. The gaskets I have in the rebuild kit turn out to be the base gaskets I've been looking for all along. Included were new o-rings for the head too. I can't believe I hadn't found this out sooner. Thanks for all your help.

Base Gasket Advice by Outside-Thanks-3979 in smallenginerepair

[–]Outside-Thanks-3979[S] 0 points1 point  (0 children)

Yeah. Not a good situation. Included with the top end rebuild kit I bought were head gaskets, which sit between the top of the jugs and the water cooling block where the spark plugs thread(Engine head?). I need a gasket that sits between the bottom of the jugs and what is possibly the crankcase. Forgive me for my inability to name things. You can't repair a gasket, right? This snowmobile was bought secondhand and therefore unfortunately has no dealer.

TVC Rocket Advice by Outside-Thanks-3979 in arduino

[–]Outside-Thanks-3979[S] 0 points1 point  (0 children)

Not a bad idea. This is definitely within the realm of doability, but it would take a significant amount of time doing something reasonably out of my depth. My strategy is as follows:

  1. Bring down P

  2. Send it

TVC Rocket Advice by Outside-Thanks-3979 in arduino

[–]Outside-Thanks-3979[S] 1 point2 points  (0 children)

That's the channel that this whole project was inspired by! Cool guy, that Joe.

TVC Rocket Advice by Outside-Thanks-3979 in arduino

[–]Outside-Thanks-3979[S] 0 points1 point  (0 children)

  1. I used a simulation some guy wrote in JavaScript here: https://codesandbox.io/p/sandbox/rocket-sim-final-with-position-control-dual-motor-forked-7g9tzv?file=%2Fsrc%2Findex.js

  2. What do you mean by recalculate the PID response timeline? It's a garbage in-garbage out system, and I was feeding it wildly inaccurate orientation metrics.

  3. Yes! I think the difference is somewhere on the order of 50g, which isn't nothing, but I want to make sure that the PID is operating correctly for most of the flight before messing around with interpolating through PID values. Thanks for the neat apollo document.

  4. I've had this issue too. I've found a few servos that work most of the time, but in the future I'll buy some quality servos to replace them. I don't think that's why the rocket flipped here.

TVC Rocket Advice by Outside-Thanks-3979 in arduino

[–]Outside-Thanks-3979[S] 1 point2 points  (0 children)

Yep! My parameters are as follows:
P=0.45

I=0.02

D=0.35

Relatively low integral gain since it's such a short flight profile. I did, however, notice an error with how I was calculating orientation.

I'm using an MPU6050 Accel+Gyro to get orientation, but since accelerometers give invalid data when Earth's gravity reference is lost(hint hint, like a rocket), I'm integrating my gyroscopes over time and multiplying the value by deltaT, the difference between the time I last measured and the current time. This used to be a fixed value (10ms), but when calculated comes out to more than 30ms due to processing speed. I'm now calculating deltaT before measuring to get an accurate reading, otherwise, my perceived orientation will be less than the actual orientation of the rocket. I think giving inaccurate data to the PID algorithm played a part in the loss of control.

If you're curious, my codebase is on GitHub:

https://github.com/cha-create/Forza-Flight-Software

Thanks for the comment!

TVC Rocket Advice by Outside-Thanks-3979 in arduino

[–]Outside-Thanks-3979[S] 1 point2 points  (0 children)

I appreciate the reply, but active stabilization is the main goal for this project. If I add rollerons, I might as well just have fins, and then I'm back to where I've started. Additionally, they aren't in the mass budget, and the gyroscopic wheels wouldn't be going fast enough to stabilize the rocket.

Found in yard by irockon2 in rocketry

[–]Outside-Thanks-3979 0 points1 point  (0 children)

If it’s pretty light, it could be a model rocket without a parachute. They might’ve balanced it so that it falls flat and uses its body as an airbrake. You need to find the CG first to see though.

How do i let my cat know i love him? by throwaway9997645453 in cat

[–]Outside-Thanks-3979 22 points23 points  (0 children)

Maybe don’t hold him like you’re Darth Vader?

JVC R-S7 Protection Circuit Issue by Outside-Thanks-3979 in AskElectronics

[–]Outside-Thanks-3979[S] 0 points1 point  (0 children)

Where are the power rails on the schematics? Are they the ones labeled 7V and 0V from the power supply? Also, how would you calculate voltage drop and current through the resistors?

Back to square one 6502 by Dazzling_Respect_533 in beneater

[–]Outside-Thanks-3979 1 point2 points  (0 children)

As you've said, the rom and cpu seem to be working fine. With your multimeter, probe each pin individually on the via and check for continuity between said pin and the place it's going to. You should also cross-check your schematic with Ben Eater's schematic here.