Activities/Turtle Art/Using Turtle Art Sensors: Difference between revisions

Tonyforster (talk | contribs)
Tonyforster (talk | contribs)
Line 158: Line 158:


How it works: the 1000 and 1100 blocks are input x in the Python code. The -f option in speaker-test is the frequency, {0} gets replaced by x which in turn is replaced by 1000 or 1100 so speaker-test is sent either -f 1000 or -f 1100 giving frequencies of 1000 Hz or 1100 Hz.
How it works: the 1000 and 1100 blocks are input x in the Python code. The -f option in speaker-test is the frequency, {0} gets replaced by x which in turn is replaced by 1000 or 1100 so speaker-test is sent either -f 1000 or -f 1100 giving frequencies of 1000 Hz or 1100 Hz.
==Measuring AC Amps==
An inexpensive current transformer can be built to measure AC amps.


==Links==
==Links==