<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Measuring magnetic fields with Arduino</title><link>/products/arduino/arduino-tutorials/b/blog/posts/measuring-magnetic-fields-with-arduino</link><description>My previous post was devoted to the illustration of a digital magnetoresistive sensor. A digital sensor provides just two states: on and off. Such sensors, then, can only tell you if there is a strong enough magnetic field close to the sensor or not.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Measuring magnetic fields with Arduino</title><link>https://community.element14.com/products/arduino/arduino-tutorials/b/blog/posts/measuring-magnetic-fields-with-arduino</link><pubDate>Thu, 22 Jun 2017 09:19:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5ff2862c-5fb9-4988-b705-4321b7ef2f91</guid><dc:creator>sl35</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;Hello,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Your application interests me but I do not understand how you made the connection between Arduino and Geogebra. If I vary A0 from 0 to 5V and I send serial port information :&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Arduino soft :&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;#define PinAna 0 //&lt;/p&gt;&lt;p&gt;int val;&lt;/p&gt;&lt;p&gt;void setup() {&lt;/p&gt;&lt;p&gt;&amp;nbsp; Serial.begin(9600);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;void loop () {&lt;/p&gt;&lt;p&gt;&amp;nbsp; val = analogRead(PinAna);&lt;/p&gt;&lt;p&gt;&amp;nbsp; Serial.println(val);&lt;/p&gt;&lt;p&gt;&amp;nbsp; delay(250);&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;On geogebra I want to move a point A (0, val) vertically with val the value read on the serial port. What script should you write and where should you write it?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Thank you&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21009&amp;AppID=148&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Measuring magnetic fields with Arduino</title><link>https://community.element14.com/products/arduino/arduino-tutorials/b/blog/posts/measuring-magnetic-fields-with-arduino</link><pubDate>Thu, 07 Jul 2016 09:30:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5ff2862c-5fb9-4988-b705-4321b7ef2f91</guid><dc:creator>e14 Contributor</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Thanks for a nice clear write-up.&lt;/p&gt;&lt;p&gt;In your photo, it looks like you are powering the PmodCMPS with 5v, but the datasheet states maximum 3.6v. &lt;/p&gt;&lt;p&gt;Can you confirm that you are feeding it 5v ?&lt;/p&gt;&lt;p&gt;I did the same thing, but am getting no I2C response and suspect I fried my sensor.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21009&amp;AppID=148&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Measuring magnetic fields with Arduino</title><link>https://community.element14.com/products/arduino/arduino-tutorials/b/blog/posts/measuring-magnetic-fields-with-arduino</link><pubDate>Wed, 17 Feb 2016 02:47:45 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5ff2862c-5fb9-4988-b705-4321b7ef2f91</guid><dc:creator>e14 Contributor</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Very enjoyable post. This looks like something I will want to look into. Can the Arduino be used as a Geiger counter?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21009&amp;AppID=148&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Measuring magnetic fields with Arduino</title><link>https://community.element14.com/products/arduino/arduino-tutorials/b/blog/posts/measuring-magnetic-fields-with-arduino</link><pubDate>Sat, 06 Jun 2015 19:20:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5ff2862c-5fb9-4988-b705-4321b7ef2f91</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Very good post.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I wonder how sensitive the sensor is to magnetic fields?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What is the response time to get a good measurement?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can it detect transient events?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=21009&amp;AppID=148&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>