Alex DiFranco

Future mechanical engineer

I'm a senior at Eastchester High School in New York. I love cars and figuring out how things actually work, and I built my own dynamometer to see how fast my RC car really goes.

About me

Alex DiFranco

Eastchester High School, NY, Class of 2027
Intended major: Mechanical Engineering
GPA: 96.9 / 100 (weighted)
SAT: 1420 superscore (770 Math, 650 Reading and Writing)

Featured project

RC dynamometer roller rig

RC dynamometer. I saw a video of a Ferrari on a dyno and wanted to build one for my RC car. The listing said it could hit 18 mph, so I built a dynamometer with a magnet, a Hall sensor, and an Arduino to find out for myself. It took three versions to get consistent results.

Read about it

Next: About

About me

Alex DiFranco

I've always liked figuring out how stuff actually works. When I was little I built a "robot" out of a cardboard box, aluminum foil, pipe cleaners, and bottle caps because I genuinely thought it would clean my room. It didn't work, but I never stopped wanting to know why. Since then I've taken apart old laptops, iPads, and PCs just to see how they work.

A lot of it comes from cars. My dad has a 1966 Ford Mustang, and when I was 11 he let me rev it in the driveway. After that I started learning how engines work and why one car performs differently from another. Realizing that every part of a car was designed by someone is kind of what made me want to design things too.

Whenever something doesn't work, I like figuring out why, changing one thing, and measuring it again. That's how my dynamometer project went, and I think that's pretty much what engineers do for a living. Robotics is my favorite class right now because I get to build things.

I want to study mechanical engineering and get a master's, and eventually work in motorsports, ideally Formula One or IndyCar. In college I want to join a Formula SAE team and help build a race car with other people who care about the same stuff.

Systems thinking

I want to actually understand how parts work together, not just what each one does on its own, but why the whole thing acts the way it does once real-world stuff gets involved.

Data over instinct

Every change I make gets measured somehow. I don't really trust my gut on this stuff when I can just go get the actual number.

Purposeful iteration

V3 has to actually be better than V2 for a reason I can point to. If I can't explain why it's better, I'm not really engineering, I'm just guessing.

Activities

Classes

AP exam scores: Psychology 5; Computer Science A 4; Computer Science Principles 4; Environmental Science 4; English Language 4; US History 4; World History 3

This year: AP Physics C (Mechanics and Electricity & Magnetism), AP Calculus AB, Robotics & Foundations in Electrical Engineering, AP English Literature, AP Business with Personal Finance, AP Macroeconomics, AP Italian Language and Culture, WISE Internship

College courses: Precalculus at Iona University and Intermediate Italian at Westchester Community College (dual enrollment)

Academics: GPA 96.9 / 100 (weighted). SAT 1420 superscore (770 Math, 650 Reading and Writing).

Honors

Next: Project

RC Dynamometer Project

Started as just a speed sensor, turned into an actual testing rig.

Where it started: I saw a video of a Ferrari on a dyno and thought, what if I could build one for my RC car? The listing for the car says it can hit 18 mph, but how would I actually know? I wanted to test it, so I built a device.

What I built: A low-cost RC dynamometer that uses a magnet, a Hall sensor, and an Arduino to turn pulses into RPM and speed. I designed the parts in 3D and printed them myself. The car is the test subject, but the dyno is really the project. Every time my data was noisy, I had to figure out why, change one thing, and measure it again, and that investigative work is what I loved most. V1 was me learning the sensor and sketching ideas, V2 got it working, and V3 made the results much more consistent.

Results at a glance: Run-to-run variation in average speed dropped from about 20% in V2 to about 5% in V3. The roller's top speed was 18.62 mph at 6,360 RPM, in line with the 18 mph listed for the car.

Jump to V1, V2, or V3.

V1: Learning and planning

V1 was the planning stage. There was no stand, no mount, and nothing measuring anything yet. I wired the Hall sensor up on a breadboard to see how it worked, and I found out that only one side of a magnet triggers it. I also sketched a few ideas for a stand and clip. The clip I designed ended up too tight to work, and a circular mounting point I tried on top wasn't strong enough and slid around too much.

V2: Desk-clip stand

What I built

How it works

  1. The motor drives the wheel while I hold the chassis steady.
  2. The magnet on the wheel sweeps past the sensor once per rotation.
  3. The Hall sensor fires a pulse every time the magnet passes.
  4. The Arduino counts pulses over a set window.
  5. The pulse count turns into RPM and wheel speed.

Results

Average RPM and average speed are each from 5 separate 30-second trials. This data isn't perfectly clean. It takes the wheel a second to get up to speed, so the early readings drag the average down, and there's some wobble from the wheel itself and a little give in the desk. Average speed varied by about 3 mph from the lowest trial to the highest (roughly 20%). It's not perfect, but it's a real starting point.

TrialAvg MPH
Trial 115.84
Trial 213.71
Trial 316.73
Trial 413.96
Trial 515.23
Average15.09
Highest17.2

Average RPM across the five trials was about 1,913, and the highest RPM recorded was 2,160.

What I learned

V3: Roller system (current build)

What I built

How it works

  1. I pull the trigger and the wheel drives the roller directly, completely hands-free.
  2. The custom roller spins on ball bearings.
  3. The tiny magnet on the roller sweeps past the floating sensor mount once per rotation.
  4. The Hall sensor fires a pulse every time the magnet passes.
  5. The code counts pulses, throws out the first 5 seconds of startup, and turns the rest into RPM and MPH over a 30-second run.

Results

Average RPM and average speed are each from 5 separate 30-second trials. Much tighter than V2. The roller and the floating sensor mount got rid of most of the noise, and average speed varied by only about 0.9 mph across the five runs (roughly 5%). The top roller speed was 18.62 mph at 6,360 RPM, which lines up with the 18 mph listed for the car. Run 5 dips a little, which fits with the battery sagging by the end. Results depend a lot on battery voltage, so I need to keep track of that going forward.

RunAvg RPMAvg MPHMax RPMMax MPH
Run 16261.218.33636018.62
Run 26254.118.31636018.62
Run 36268.218.35636018.62
Run 46188.218.12624018.27
Run 55967.117.47624018.27
Average6187.818.12
Best6268.218.35636018.62

What I learned

Next: Code

Dyno code

The actual Arduino code behind each version.

V1: just testing the sensor (dyno_v1.ino)

This isn't even a real dyno sketch, it's literally just checking if the Hall sensor works. I'd pass a magnet over it and watch the Serial output flip between ON and OFF. This is also how I learned that only one side of the magnet actually triggers the sensor. Flip it around and it does nothing.

const int hallPin = 2;

void setup() {
  pinMode(hallPin, INPUT);
  Serial.begin(9600);
}

void loop() {
  if (digitalRead(hallPin) == LOW) {
    Serial.println("ON");
  } else {
    Serial.println("OFF");
  }

  delay(100);
}

V2: Hall sensor RPM and speed reader (dyno_v2.ino)

Reads pulses off the Hall sensor, turns them into RPM and MPH, and tracks a full run on its own. An LED lights up while it's running and switches over once the wheel's been still for 2 seconds, so I get max/average stats per run without touching a laptop.

const int hallPin = 2;

const int runningLed = 8;
const int finishedLed = 13;

volatile long pulseCount = 0;

unsigned long lastCalcTime = 0;
unsigned long lastPulseTime = 0;
unsigned long sessionStart = 0;

const int interval = 500;
const int timeout = 2000;

const float wheelDiameterInches = 2.67717;

bool sessionActive = false;

long rpmSum = 0;
int rpmSamples = 0;

int maxRPM = 0;
float maxMPH = 0;

void setup() {
  pinMode(hallPin, INPUT);

  pinMode(runningLed, OUTPUT);
  pinMode(finishedLed, OUTPUT);

  digitalWrite(runningLed, LOW);
  digitalWrite(finishedLed, HIGH);

  Serial.begin(9600);
  Serial.println("RC RPM System Ready");

  attachInterrupt(digitalPinToInterrupt(hallPin), countPulse, FALLING);
}

void loop() {
  unsigned long now = millis();

  if (now - lastCalcTime >= interval) {
    lastCalcTime = now;

    long pulses = pulseCount;
    pulseCount = 0;

    int rpm = pulses * 120;

    if (rpm > 0) {

      lastPulseTime = now;

      if (!sessionActive) {
        sessionActive = true;

        digitalWrite(runningLed, HIGH);
        digitalWrite(finishedLed, LOW);

        sessionStart = now;

        rpmSum = 0;
        rpmSamples = 0;
        maxRPM = 0;
        maxMPH = 0;

        Serial.println("=== RUN STARTED ===");
      }

      rpmSum += rpm;
      rpmSamples++;

      if (rpm > maxRPM) {
        maxRPM = rpm;
      }

      float circumference = wheelDiameterInches * 3.14159;
      float mph = rpm * circumference * 60.0 / 63360.0;

      if (mph > maxMPH) {
        maxMPH = mph;
      }

      Serial.print("RPM: ");
      Serial.print(rpm);
      Serial.print(" | MPH: ");
      Serial.println(mph, 2);
    }
  }

  if (sessionActive && (now - lastPulseTime > timeout)) {

    sessionActive = false;

    digitalWrite(runningLed, LOW);
    digitalWrite(finishedLed, HIGH);

    float avgRPM = (rpmSamples > 0) ? (float)rpmSum / rpmSamples : 0;

    float circumference = wheelDiameterInches * 3.14159;
    float avgMPH = avgRPM * circumference * 60.0 / 63360.0;

    float runTime = (now - sessionStart) / 1000.0;

    Serial.println();
    Serial.println("===== RUN COMPLETE =====");

    Serial.print("Run Time (s): ");
    Serial.println(runTime, 2);

    Serial.print("Average RPM: ");
    Serial.println(avgRPM, 1);

    Serial.print("Max RPM: ");
    Serial.println(maxRPM);

    Serial.print("Average MPH: ");
    Serial.println(avgMPH, 2);

    Serial.print("Max MPH: ");
    Serial.println(maxMPH, 2);

    Serial.println("========================");
    Serial.println();
  }
}

void countPulse() {
  pulseCount++;
}

V3: roller dyno with auto run detection (dyno_v3.ino)

Rewrote this for the roller rig. A run starts on its own the second it picks up a Hall signal, throws out the first 5 seconds (that's just spin-up), and reports average/max RPM and MPH once the roller's been still for 2 seconds or 30 seconds have passed, whichever comes first.

const int hallPin = 2;

const int runningLed = 8;
const int finishedLed = 13;

const unsigned long TEST_DURATION = 30000;
const unsigned long STARTUP_EXCLUSION = 5000;

const unsigned long RPM_INTERVAL = 500;

const int ZERO_INTERVAL_LIMIT = 4;

const float rollerDiameterMM = 25.0;
const int magnetsPerRevolution = 1;

volatile long pulseCount = 0;

unsigned long lastCalcTime = 0;
unsigned long runStartTime = 0;

bool runActive = false;

int zeroIntervals = 0;

long rpmSum = 0;
int rpmSamples = 0;

int maxRPM = 0;
float maxMPH = 0;

void setup() {

  pinMode(hallPin, INPUT);

  pinMode(runningLed, OUTPUT);
  pinMode(finishedLed, OUTPUT);

  digitalWrite(runningLed, LOW);
  digitalWrite(finishedLed, HIGH);

  Serial.begin(9600);

  Serial.println();
  Serial.println("================================");
  Serial.println("      RC ROLLER DYNO V2");
  Serial.println("================================");
  Serial.println("Ready.");
  Serial.println("Waiting for first Hall signal...");
  Serial.println();

  attachInterrupt(
    digitalPinToInterrupt(hallPin),
    countPulse,
    FALLING
  );
}

void loop() {

  unsigned long now = millis();

  if (now - lastCalcTime >= RPM_INTERVAL) {

    lastCalcTime = now;

    noInterrupts();

    long pulses = pulseCount;
    pulseCount = 0;

    interrupts();

    if (!runActive) {

      if (pulses > 0) {

        runActive = true;

        runStartTime = now;

        zeroIntervals = 0;

        rpmSum = 0;
        rpmSamples = 0;

        maxRPM = 0;
        maxMPH = 0;

        digitalWrite(runningLed, HIGH);
        digitalWrite(finishedLed, LOW);

        Serial.println();
        Serial.println("================================");
        Serial.println("         RUN STARTED");
        Serial.println("================================");
        Serial.println("30 second timer started!");
        Serial.println();
      }

      return;
    }

    unsigned long elapsed = now - runStartTime;

    int rpm = 0;

    if (pulses > 0) {

      rpm = (pulses * 60000L) /
            RPM_INTERVAL /
            magnetsPerRevolution;

      zeroIntervals = 0;

    } else {

      rpm = 0;

      zeroIntervals++;

    }

    float circumferenceMM =
      rollerDiameterMM * 3.14159;

    float mph =
      rpm * circumferenceMM * 60.0 /
      1609344.0;

    Serial.print("Time: ");
    Serial.print(elapsed / 1000.0, 1);

    Serial.print("s | RPM: ");
    Serial.print(rpm);

    Serial.print(" | MPH: ");
    Serial.print(mph, 2);

    if (elapsed < STARTUP_EXCLUSION) {
      Serial.println(" | STARTUP");
    } else {
      Serial.println(" | DATA");
    }

    if (rpm > maxRPM) {
      maxRPM = rpm;
    }

    if (mph > maxMPH) {
      maxMPH = mph;
    }

    if (elapsed >= STARTUP_EXCLUSION) {

      if (rpm > 0) {

        rpmSum += rpm;
        rpmSamples++;
      }
    }

    if (zeroIntervals >= ZERO_INTERVAL_LIMIT) {

      Serial.println();
      Serial.println("No movement detected for 2 seconds.");

      finishRun(false);

      return;
    }

    if (elapsed >= TEST_DURATION) {

      finishRun(true);

      return;
    }
  }
}

void finishRun(bool completed) {

  runActive = false;

  digitalWrite(runningLed, LOW);
  digitalWrite(finishedLed, HIGH);

  float avgRPM = 0;

  if (rpmSamples > 0) {
    avgRPM = (float)rpmSum / rpmSamples;
  }

  float circumferenceMM =
    rollerDiameterMM * 3.14159;

  float avgMPH =
    avgRPM * circumferenceMM * 60.0 /
    1609344.0;

  Serial.println();
  Serial.println("================================");

  if (completed) {
    Serial.println("       30 SECOND RUN COMPLETE");
  } else {
    Serial.println("          INCOMPLETE RUN");
  }

  Serial.println("================================");

  Serial.print("Run Time: ");

  if (completed) {
    Serial.println("30.00 seconds");
  } else {
    unsigned long actualTime =
      millis() - runStartTime;

    Serial.print(actualTime / 1000.0, 2);
    Serial.println(" seconds");
  }

  Serial.println();

  Serial.println("--- RESULTS ---");

  Serial.print("Average RPM: ");
  Serial.println(avgRPM, 1);

  Serial.print("Average MPH: ");
  Serial.println(avgMPH, 2);

  Serial.print("Max RPM: ");
  Serial.println(maxRPM);

  Serial.print("Max MPH: ");
  Serial.println(maxMPH, 2);

  Serial.println();

  if (!completed) {
    Serial.println("Run was NOT counted as a valid");
    Serial.println("30-second test.");
  } else {
    Serial.println("Valid 30-second test.");
  }

  Serial.println();
  Serial.println("================================");
  Serial.println("Ready for next run.");
  Serial.println("================================");
  Serial.println();

  zeroIntervals = 0;
  rpmSum = 0;
  rpmSamples = 0;
  maxRPM = 0;
  maxMPH = 0;
}

void countPulse() {

  pulseCount++;
}

Next: Photography

Photography

Traveling brings me joy because I get to see things that make me think, "How is this actually real?" In Aruba, I climbed a small cliff to photograph waves crashing against the rocks. The picture came out great, but what I love most is how it takes me back to that moment. Wherever I go, I want to explore every street, find cool cars, try local food, and photograph anything that catches my eye. Pictures bring back not just what I saw, but what it felt like to be there. Click an album to open it, and click a photo to see it full size.

Nature (50 photos)
Nature photo 1Nature photo 2Nature photo 3Nature photo 4Nature photo 5Nature photo 6Nature photo 7Nature photo 8Nature photo 9Nature photo 10Nature photo 11Nature photo 12Nature photo 13Nature photo 14Nature photo 15Nature photo 16Nature photo 17Nature photo 18Nature photo 19Nature photo 20Nature photo 21Nature photo 22Nature photo 23Nature photo 24Nature photo 25Nature photo 26Nature photo 27Nature photo 28Nature photo 29Nature photo 30Nature photo 31Nature photo 32Nature photo 33Nature photo 34Nature photo 35Nature photo 36Nature photo 37Nature photo 38Nature photo 39Nature photo 40Nature photo 41Nature photo 42Nature photo 43Nature photo 44Nature photo 45Nature photo 46Nature photo 47Nature photo 48Nature photo 49Nature photo 50
Cars (50 photos)
Cars photo 1Cars photo 2Cars photo 3Cars photo 4Cars photo 5Cars photo 6Cars photo 7Cars photo 8Cars photo 9Cars photo 10Cars photo 11Cars photo 12Cars photo 13Cars photo 14Cars photo 15Cars photo 16Cars photo 17Cars photo 18Cars photo 19Cars photo 20Cars photo 21Cars photo 22Cars photo 23Cars photo 24Cars photo 25Cars photo 26Cars photo 27Cars photo 28Cars photo 29Cars photo 30Cars photo 31Cars photo 32Cars photo 33Cars photo 34Cars photo 35Cars photo 36Cars photo 37Cars photo 38Cars photo 39Cars photo 40Cars photo 41Cars photo 42Cars photo 43Cars photo 44Cars photo 45Cars photo 46Cars photo 47Cars photo 48Cars photo 49Cars photo 50
Cities (30 photos)
Cities photo 1Cities photo 2Cities photo 3Cities photo 4Cities photo 5Cities photo 6Cities photo 7Cities photo 8Cities photo 9Cities photo 10Cities photo 11Cities photo 12Cities photo 13Cities photo 14Cities photo 15Cities photo 16Cities photo 17Cities photo 18Cities photo 19Cities photo 20Cities photo 21Cities photo 22Cities photo 23Cities photo 24Cities photo 25Cities photo 26Cities photo 27Cities photo 28Cities photo 29Cities photo 30

Next: Contact

Contact

Happy to talk with engineers, students, or anyone interested building things.

Email: scartu200909@gmail.com
GitHub: github.com/alexdifranco
LinkedIn: linkedin.com/in/alexander-difranco
School: Eastchester High School, NY, Class of 2027

Back to home