Tuning your violin using a Piano or Keyboard is a simple task. It is pretty easy and good for beginners because your only playing open strings on the violin, so you can have a free hand to turn the pegs while the piano and the violin are resonating. It's also better because you can tune each individual string, instead of getting one reference string and tuning the rest of the strings to it.
Open Strings - Down below I will talk about playing Open Strings. To play an Open String means to play a string without fretting anything. So that's why it's called Open.

The picture above shows you each string on the violin, it's same note on the Piano or Keyboard. Just follow the picture for each individual string and tune the string until it matches the keyboard or piano. Just play each string open, you don't have to fret anything. Make sure you use the 'Middle C' on the picture as a reference point so you don't tune your violin an octave too low, or too high.
Congratulations on tuning your violin!



Tuning a Violin with a Piano
how to tune a violin using a piano