I know math is not everybody's favorite, but sometimes you just don't get away without when designing a circuit for Arduino. MathJax is enabled on EE.SE; can we have that here too?

There are not many questions on the Arduino stack yet, but I invite everybody to add example questions that benefit from a MathJax below.

  • 1
    Yes, the way to request support for MathJax (LaTeX support) is to demonstrate a need for this in actual practice. As you suggested, the best way to make this happen is by compiling a collection of posts below which would substantively be improved with the addition to MathJax. If the benefit to this site can be demonstrated in actual use, we will bring it up for consideration. Good luck! Commented Feb 12, 2014 at 13:58
  • @RobertCartaino How to prevent "Trivial answer converted to comment"?
    – jippie
    Commented Feb 12, 2014 at 14:32
  • Sorry about that. It's an automated system. Add a bit of supporting text do describe why you think the post you linked would benefit from MathJax. Commented Feb 12, 2014 at 14:34
  • 1
    For the time being I use math.ucla.edu/~robjohn/math/mathjax.html You can place a button on your bookmark toolbar to enable MathJax on any page.
    – jippie
    Commented Feb 14, 2014 at 16:07

5 Answers 5


Yes, a formula feature is needed. The Arduino has both hardware and software functions that are often best described as formula's when asking questions.

  1. PID loop's
  2. Filters
    1. often filters need to be calculated for the Hardware and then worked with in hardware.
    2. the PWM used with RC to make A2D can be best described with 2PiRC formula.
  3. Polynomial
  4. CRC's
    1. example question
  5. Motor control
  6. etc...

Why do some pins have a different PWM frequency?

Above mentioned question will benefit from MathJax. The formula when written without proper formatting quickly gets hard to read.


Another perfect example why we want something trivial as the ability to author formulas is in this question:

Why voltage at AREF is given by Vin * R2 / Rtotal


Here is one. I posted basically the same question on both Arduino SE and Electrical Engineering SE.


How can I seriously calibrate ADC voltage readings with Arduino Nano?

The answer I came to in EE SE made good sense to share on Arduino. I thought it was all one system but have discovered that each SE runs different software.

I havn't had time to remove the LaTex codes used to make it understandable on the SE one. It looks really bad on Arduino.

The only option I have s to go back to the answer on Arduino and convert the equations to their FORTRAN equivalents. Which I haven't yet done.

So I posted this question here:

As we get more advanced in our use of Arduinos in ever more complex ways, it would be good if the Arduino SE supported Tex

I sure hope it can happen sometimes soon.

Here is the list of SE that allows it:

Which Stack Exchange sites use MathJax?


With respect to the adage, "Go read the datasheet," datasheets contain formulae such as:

Waveform frequency equation

Figure 1 – Waveform frequency equation.

PWM frequency equation

Figure 2 – PWM frequency equation.

PWM resolution in bits equation

Figure 3 – PWM resolution in bits equation.

Maximum external clock frequency equation

Figure 4 – Maximum external clock frequency equation.

Equations to calculate the ratio of the incoming data rate and internal receiver baud rate.                   Equations to calculate the ratio of the incoming data rate and internal receiver baud rate.

Figure 5 – Equations to calculate the ratio of the incoming data rate and internal receiver baud rate.

ADC conversion result

Figure 6 – ADC conversion result.

Since the Arduino datasheets contain formulae, the Arduino forums should as well.

And here is one of many posts that would benefit from MathJax formulae:
Switching a Solenoid Using Arduino's 5V Output?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .