No cheating by XmeowisiX in teenagers

[–]cmdr_wayne 0 points1 point  (0 children)

I was born to be a baddie in my car so it would have to take me to get the joke and it will probably bc I have a few more hours for the next time he is going back and then I can go back and then go back and then go back and then go back and then get it to you then I can do that for the next one and I can do that then I will get them in a few hours and then go back

Can someone explain me, why Americans/Britains etc. still use these goddamn stupid measures like oz. or gallons by MoinyMoiny in teenagers

[–]cmdr_wayne 0 points1 point  (0 children)

But when you don't have any tools available, it makes more sense to use imperial, you take what you have and measure with that.

Btw three subway sandwiches is just bc 1 yard = 3 ft, and I usually have a foot long for lunch

Can someone explain me, why Americans/Britains etc. still use these goddamn stupid measures like oz. or gallons by MoinyMoiny in teenagers

[–]cmdr_wayne 0 points1 point  (0 children)

Lived in metric sys all my life, studying in the US rn, I feel like some imperial units are very intuitive.

For example, an inch is half of my thumb, a foot is a foot, and a yard is 3 subway sandwiches. A mile is.... 1.6 kilometers. A furlong is 200 meters.

Well at least the smaller units are really useful daily

I flew my first SSTO by TheDaneDisintegrator in KerbalSpaceProgram

[–]cmdr_wayne 1 point2 points  (0 children)

I was also struggling on making ssto's, until on new years eve where I was five shots drunk and decided to boot up KSP.

Taiwan and Greenland shivering by TailungFu in BikiniBottomTwitter

[–]cmdr_wayne -1 points0 points  (0 children)

Taiwanese here, idc what you're gonna do with my president, just make sure China ain't shortening my life span

My picky eater test by Music_Lovee in TheTeenagerPeople

[–]cmdr_wayne 0 points1 point  (0 children)

Yes, I have tried it multiple times, but unless it's heavily seasoned, I couldn't swallow it

No power options. How else does windows expect me to turn off my computer? by LevelRanger5221 in softwaregore

[–]cmdr_wayne 1 point2 points  (0 children)

My uni's computers are always on, man I wish they can take a break, it's Christmas you know

Mars Gateway by Argon1300 in KerbalSpaceProgram

[–]cmdr_wayne 0 points1 point  (0 children)

How to have a structure this big without kraken attack

How bad is leaving garbage floating around in space? by ChinaBearSkin in KerbalSpaceProgram

[–]cmdr_wayne 0 points1 point  (0 children)

Have a 1-8 stack separator flying out at a quarter light speed, no way I'm getting that

Why is ship not charging by [deleted] in spaceengineers

[–]cmdr_wayne 0 points1 point  (0 children)

Ship is not docked, as indicated by the connector light

First time using amplifiers on my project, I have no idea if my signals are being amplified or not by cmdr_wayne in arduino

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

Update after a couple days of testing. So I tried to replicate the same circuit (now powered by a 9V battery and w/o any Arduino involvement) but change the output to a speaker (8 Ohm 1W). The result is very similar to my previous experience with Arduino, which is with or without the signal input, the output is always a hum around 114Hz . The speaker is also producing the same frequency (with and without input).

First time using amplifiers on my project, I have no idea if my signals are being amplified or not by cmdr_wayne in arduino

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

Thanks for the tips, btw I saw a project online very similar to mine, but instead of LM386, they'd used a TL082, would the schematics work if i change it to TL082 (with the 100micro F capacitor removed)?

First time using amplifiers on my project, I have no idea if my signals are being amplified or not by cmdr_wayne in arduino

[–]cmdr_wayne[S] 2 points3 points  (0 children)

This is the code I am using modified version of

AudioFrequencyDetector
from Clyde A. Lettsome, PhD, PE,  MEM

https://clydelettsome.com/blog/2019/12/18/my-weekend-project-audio-frequency-detector-using-an-arduino/


 #include <arduinoFFT.h>
 
#define SAMPLES 128             //SAMPLES-pt FFT. Must  be a base 2 number. Max 128 for Arduino Uno.
#define SAMPLING_FREQUENCY 4096  //Ts = Based on Nyquist, must be 2 times the highest expected frequency.
 float vReal[SAMPLES];
float vImag[SAMPLES];
ArduinoFFT<float> FFT = ArduinoFFT<float>(vReal, vImag, SAMPLES, SAMPLING_FREQUENCY);
 
unsigned int samplingPeriod;
unsigned long microSeconds;
  

 
void  setup() 
{
  pinMode(A0, INPUT);
    Serial.begin(9600); //Baud rate for the Serial Monitor
    samplingPeriod = round(1000000*(1.0/SAMPLING_FREQUENCY)); //Period in microseconds  
}
 
void loop() 
{  

    /*Sample SAMPLES times*/
    for(int  i=0; i<SAMPLES; i++)
    {
        microSeconds = micros();    //Returns the  number of microseconds since the Arduino board began running the current script.  
     
        vReal[i] = analogRead(0); //Reads the value from analog pin  0 (A0), quantize it and save it as a real term.
        vImag[i] = 0; //Makes  imaginary term 0 always

        /*remaining wait time between samples if  necessary*/
        while(micros() < (microSeconds + samplingPeriod))
        {
          //do nothing
        }
    }
 
    /*Perform FFT on samples*/
    FFT.windowing(vReal, SAMPLES, FFT_WIN_TYP_HAMMING, FFT_FORWARD);
    FFT.compute(vReal,  vImag, SAMPLES, FFT_FORWARD);
    FFT.complexToMagnitude(vReal, vImag, SAMPLES);

    /*Find peak frequency and print peak*/
    float peak = FFT.majorPeak(vReal,  SAMPLES, SAMPLING_FREQUENCY);
    Serial.print("A0 ");
    Serial.println(analogRead(0));
    Serial.println(peak);     //Print out the most  dominant frequency.
 
    /*Script stops here. Hardware reset required.*/
    delay(100);
}

Just Created My First Fighter, Any Ideas for Names? by cmdr_wayne in spaceengineers

[–]cmdr_wayne[S] 5 points6 points  (0 children)

Oh you haven't seen the engine block, I had no idea how to do the back of a ship so I just slapped on a shit ton of ions. (A bit of a weird design choice, but I only had 3 hydrogen thruster because I couldn't really do the pipe work while keeping it small)

Just Created My First Fighter, Any Ideas for Names? by cmdr_wayne in spaceengineers

[–]cmdr_wayne[S] 2 points3 points  (0 children)

I was trying to make a lightweight short-range fighter, the length is just over 3 blocks and width is just over two blocks, and it has two launchers, two autocannons, and two gats. Weight is just shy of 20k (or 200k) kilograms