<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>g &amp;mdash; Paul Sutton</title>
    <link>https://paper.wf/paulsutton/tag:g</link>
    <description>Paul Sutton - personal blog </description>
    <pubDate>Thu, 07 May 2026 01:25:29 +0000</pubDate>
    <item>
      <title>Pi pico Larson Scanner part 2</title>
      <link>https://paper.wf/paulsutton/pi-pico-larson-scanner-part-2</link>
      <description>&lt;![CDATA[Pi pico Larson Scanner part 2&#xA;&#xA;Further to the previous post. I spent some time on this, trying to fix the problem.  This is mostly re-written.  &#xA;&#xA;I have also made the lights run faster as per video below&#xA;&#xA;iframe title=&#34;Working Larson Scanner&#34; src=&#34;https://diode.zone/videos/embed/7833e07d-7d61-4770-bf3b-c4821138e51f&#34; allowfullscreen=&#34;&#34; sandbox=&#34;allow-same-origin allow-scripts allow-popups&#34; width=&#34;560&#34; height=&#34;315&#34; frameborder=&#34;0&#34;/iframe&#xA;&#xA;Code is below.&#xA;&#xA;delay = 0.05 #set delay&#xA;&#xA;I would recommand a delay of 1 second for testing purposes, so it is easier to try and follow the code as it is running. &#xA;&#xA;larsonscan.py&#xA;&#xA;flash on board pico led&#xA;updated 1/7/2023 - working code&#xA;import machine &#xA;import utime&#xA;&#xA;delay = input(&#34;Time Delay: &#34;)&#xA;&#xA;bind LEDs / GPIO pins to variables&#xA;&#xA;ledg = machine.Pin(11, machine.Pin.OUT) #green&#xA;ledb = machine.Pin(12, machine.Pin.OUT) # blue led&#xA;ledw = machine.Pin(13, machine.Pin.OUT) # white led&#xA;ledy = machine.Pin(14, machine.Pin.OUT) # yellow led&#xA;ledr = machine.Pin(15, machine.Pin.OUT) # red led &#xA;&#xA;turn all LEDs off &#xA;&#xA;ledg.value(0) #off&#xA;ledb.value(0) #off&#xA;ledw.value(0) #off&#xA;ledy.value(0) #off&#xA;ledr.value(0) #off&#xA;&#xA;utime.sleep(3)&#xA;&#xA;#utime.sleep(2) # TWO second delay&#xA;led_onboard = machine.Pin(25, machine.Pin.OUT)&#xA;&#xA;delay = 0.05 #set delay&#xA;&#xA;ledg.value(0) ledg.value(1)&#xA;ledb&#xA;ledw&#xA;ledy&#xA;ledr&#xA;&#xA;g b w y r y w b -&lt; repeat so therefore next led is back to g&#xA;&#xA;while True:&#xA;    ledg.value(1)#on&#xA;    utime.sleep(delay)&#xA;    ledb.value(1) #on&#xA;    utime.sleep(delay)  &#xA;    ledg.value(0)#on&#xA;    utime.sleep(delay)&#xA;    ledw.value(1)&#xA;    utime.sleep(delay)&#xA;    ledb.value(0)&#xA;    utime.sleep(delay)&#xA;    ledy.value(1)&#xA;    utime.sleep(delay)&#xA;    ledw.value(0)&#xA;    utime.sleep(delay)&#xA;    ledr.value(1)&#xA;    utime.sleep(delay)&#xA;    ledy.value(0)&#xA;    utime.sleep(delay)&#xA;    ledr.value(1)&#xA;    utime.sleep(delay)&#xA;    ledy.value(1)&#xA;    utime.sleep(delay)&#xA;    ledr.value(0)&#xA;    utime.sleep(delay)&#xA;    ledw.value(1)&#xA;    utime.sleep(delay)&#xA;    ledy.value(0)&#xA;    utime.sleep(delay)&#xA;    ledb.value(1)&#xA;    utime.sleep(delay)&#xA;    ledw.value(0)&#xA;    utime.sleep(delay)  &#xA;Tags&#xA;&#xA;#uPython,#RaspberryPiPico,#LarsonScanner,#PhysicalComputing ]]&gt;</description>
      <content:encoded><![CDATA[<p>Pi pico Larson Scanner part 2</p>

<p>Further to the <a href="https://personaljournal.ca/paulsutton/pi-pico-larson-scanner" rel="nofollow">previous post</a>. I spent some time on this, trying to fix the problem.  This is mostly re-written.</p>

<p>I have also made the lights run faster as per video below</p>

<iframe title="Working Larson Scanner" src="https://diode.zone/videos/embed/7833e07d-7d61-4770-bf3b-c4821138e51f" allowfullscreen="" width="560" height="315" frameborder="0"></iframe>

<p>Code is below.</p>

<pre><code>delay = 0.05 #set delay
</code></pre>

<p>I would recommand a delay of 1 second for testing purposes, so it is easier to try and follow the code as it is running.</p>
<ul><li>larsonscan.py</li></ul>

<pre><code>#flash on board pico led
# updated 1/7/2023 - working code
import machine 
import utime

#delay = input(&#34;Time Delay: &#34;)

#bind LEDs / GPIO pins to variables

ledg = machine.Pin(11, machine.Pin.OUT) #green
ledb = machine.Pin(12, machine.Pin.OUT) # blue led
ledw = machine.Pin(13, machine.Pin.OUT) # white led
ledy = machine.Pin(14, machine.Pin.OUT) # yellow led
ledr = machine.Pin(15, machine.Pin.OUT) # red led 

#turn all LEDs off 

ledg.value(0) #off
ledb.value(0) #off
ledw.value(0) #off
ledy.value(0) #off
ledr.value(0) #off

utime.sleep(3)

#utime.sleep(2) # TWO second delay
#led_onboard = machine.Pin(25, machine.Pin.OUT)

delay = 0.05 #set delay

#ledg.value(0) ledg.value(1)
#ledb
#ledw
#ledy
#ledr

#g b w y r y w b -&lt; repeat so therefore next led is back to g

while True:
    ledg.value(1)#on
    utime.sleep(delay)
    ledb.value(1) #on
    utime.sleep(delay)  
    ledg.value(0)#on
    utime.sleep(delay)
    ledw.value(1)
    utime.sleep(delay)
    ledb.value(0)
    utime.sleep(delay)
    ledy.value(1)
    utime.sleep(delay)
    ledw.value(0)
    utime.sleep(delay)
    ledr.value(1)
    utime.sleep(delay)
    ledy.value(0)
    utime.sleep(delay)
    ledr.value(1)
    utime.sleep(delay)
    ledy.value(1)
    utime.sleep(delay)
    ledr.value(0)
    utime.sleep(delay)
    ledw.value(1)
    utime.sleep(delay)
    ledy.value(0)
    utime.sleep(delay)
    ledb.value(1)
    utime.sleep(delay)
    ledw.value(0)
    utime.sleep(delay)  
</code></pre>

<p><strong>Tags</strong></p>

<p><a href="/paulsutton/tag:uPython" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">uPython</span></a>,<a href="/paulsutton/tag:RaspberryPiPico" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">RaspberryPiPico</span></a>,<a href="/paulsutton/tag:LarsonScanner" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">LarsonScanner</span></a>,<a href="/paulsutton/tag:PhysicalComputing" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">PhysicalComputing</span></a></p>
]]></content:encoded>
      <guid>https://paper.wf/paulsutton/pi-pico-larson-scanner-part-2</guid>
      <pubDate>Sun, 02 Jul 2023 06:00:00 +0000</pubDate>
    </item>
    <item>
      <title>Muon g-2 experiment finds strong evidence for new physics</title>
      <link>https://paper.wf/paulsutton/muon-g-2-experiment-finds-strong-evidence-for-new-physics</link>
      <description>&lt;![CDATA[Muon g-2 experiment finds strong evidence for new physics&#xA;&#xA;Just sharing this video posted by Fermilab to dioide.zone on Peertube.  This is a really nice, beginner friendly explanation.&#xA;&#xA;The first results from the Muon g-2 experiment hosted at Fermilab show fundamental particles called muons behaving in a way not predicted by the Standard Model of particle physics. Announced on April 7, 2021, these results confirm and strengthen the findings of an earlier experiment of the same name performed at Brookhaven National Laboratory. Combined, the two results show strong evidence that our best theoretical model of the subatomic world is incomplete. One potential explanation would be the existence of undiscovered particles or forces. This video explains what a muon is, how the Muon g-2 experiment works, and the significance of this result.&#xA;&#xA;iframe width=&#34;560&#34; height=&#34;315&#34; sandbox=&#34;allow-same-origin allow-scripts allow-popups&#34; src=&#34;https://diode.zone/videos/embed/7b024722-2f63-424f-b1a2-511d6b7e8d60&#34; frameborder=&#34;0&#34; allowfullscreen/iframe&#xA;&#xA;REFERENCES&#xA;&#xA;Discourse Discussion&#xA;Fermilab channel&#xA;Diode zone&#xA;@opensciencevids@tilvids.com&#xA;Muon g-2 first results press release:&#xA;Fermilab home page:&#xA;Muon g-2:&#xA;&#xA;Link to video page on diode.zone&#xA;&#xA;Also discuss further on IRC ##physics on freenode &#xA;&#xA;TAGS&#xA;&#xA;#Physics,#muon,#New,#Discovery,#Science,#StandardModel,#g-2,#Experiment&#xA;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xA;&#xA;a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-sa/4.0/&#34;img alt=&#34;Creative Commons Licence&#34; style=&#34;border-width:0&#34; src=&#34;https://i.creativecommons.org/l/by-sa/4.0/88x31.png&#34; //abr /This work is licensed under a a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-sa/4.0/&#34;Creative Commons Attribution-ShareAlike 4.0 International License/a]]&gt;</description>
      <content:encoded><![CDATA[<p>Muon g-2 experiment finds strong evidence for new physics</p>

<p>Just sharing this video posted by Fermilab to dioide.zone on Peertube.  This is a really nice, beginner friendly explanation.</p>

<pre><code>The first results from the Muon g-2 experiment hosted at Fermilab show fundamental particles called muons behaving in a way not predicted by the Standard Model of particle physics. Announced on April 7, 2021, these results confirm and strengthen the findings of an earlier experiment of the same name performed at Brookhaven National Laboratory. Combined, the two results show strong evidence that our best theoretical model of the subatomic world is incomplete. One potential explanation would be the existence of undiscovered particles or forces. This video explains what a muon is, how the Muon g-2 experiment works, and the significance of this result.
</code></pre>

<iframe width="560" height="315" src="https://diode.zone/videos/embed/7b024722-2f63-424f-b1a2-511d6b7e8d60" frameborder="0" allowfullscreen=""></iframe>

<p><strong>REFERENCES</strong></p>
<ul><li><a href="https://discourse.qoto.org/t/muon-g-2-experiment-finds-strong-evidence-for-new-physics/606" rel="nofollow">Discourse Discussion</a></li>
<li><a href="https://diode.zone/video-channels/fermilab@tilvids.com/videos" rel="nofollow">Fermilab channel</a></li>
<li><a href="https://diode.zone" rel="nofollow">Diode zone</a></li>
<li><a href="https://diode.zone/accounts/opensciencevids@tilvids.com/video-channels" rel="nofollow"><a href="https://paper.wf/@/opensciencevids@tilvids.com" class="u-url mention" rel="nofollow">@<span>opensciencevids@tilvids.com</span></a></a></li>
<li><a href="https://news.fnal.gov/2021/04/first-results-from-fermilabs-muon-g-2-experiment-strengthen-evidence-of-new-physics" rel="nofollow">Muon g-2 first results press release:</a></li>
<li><a href="https://fnal.gov" rel="nofollow">Fermilab home page:</a></li>

<li><p><a href="https://muon-g-2.fnal.gov/" rel="nofollow">Muon g-2:</a></p></li>

<li><p><a href="https://diode.zone/videos/watch/7b024722-2f63-424f-b1a2-511d6b7e8d60" rel="nofollow">Link to video page on diode.zone</a></p></li></ul>

<p>Also discuss further on IRC #<a href="/paulsutton/tag:physics" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">physics</span></a> on <a href="https://freenode.net/" rel="nofollow">freenode</a></p>

<p><strong>TAGS</strong></p>

<p><a href="/paulsutton/tag:Physics" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Physics</span></a>,<a href="/paulsutton/tag:muon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">muon</span></a>,<a href="/paulsutton/tag:New" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">New</span></a>,<a href="/paulsutton/tag:Discovery" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Discovery</span></a>,<a href="/paulsutton/tag:Science" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Science</span></a>,<a href="/paulsutton/tag:StandardModel" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">StandardModel</span></a>,<a href="/paulsutton/tag:g" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">g</span></a>-2,<a href="/paulsutton/tag:Experiment" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Experiment</span></a></p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>

<p><a href="http://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"/></a><br/>This work is licensed under a <a href="http://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow">Creative Commons Attribution-ShareAlike 4.0 International License</a></p>
]]></content:encoded>
      <guid>https://paper.wf/paulsutton/muon-g-2-experiment-finds-strong-evidence-for-new-physics</guid>
      <pubDate>Tue, 09 Nov 2021 07:00:00 +0000</pubDate>
    </item>
    <item>
      <title>Muon g-2 experiment finds strong evidence for new physics</title>
      <link>https://paper.wf/paulsutton/muon-g-2-experiment-finds-strong-evidence-for-new-physics-9sxc</link>
      <description>&lt;![CDATA[Muon g-2 experiment finds strong evidence for new physics&#xA;&#xA;Just sharing this video posted by Fermilab to dioide.zone on Peertube.  This is a really nice, beginner friendly explanation.&#xA;&#xA;The first results from the Muon g-2 experiment hosted at Fermilab show fundamental particles called muons behaving in a way not predicted by the Standard Model of particle physics. Announced on April 7, 2021, these results confirm and strengthen the findings of an earlier experiment of the same name performed at Brookhaven National Laboratory. Combined, the two results show strong evidence that our best theoretical model of the subatomic world is incomplete. One potential explanation would be the existence of undiscovered particles or forces. This video explains what a muon is, how the Muon g-2 experiment works, and the significance of this result.&#xA;&#xA;iframe width=&#34;560&#34; height=&#34;315&#34; sandbox=&#34;allow-same-origin allow-scripts allow-popups&#34; src=&#34;https://diode.zone/videos/embed/7b024722-2f63-424f-b1a2-511d6b7e8d60&#34; frameborder=&#34;0&#34; allowfullscreen/iframe&#xA;&#xA;REFERENCES&#xA;&#xA;Discourse Discussion&#xA;Fermilab channel&#xA;Diode zone&#xA;@opensciencevids@tilvids.com&#xA;Muon g-2 first results press release:&#xA;Fermilab home page:&#xA;Muon g-2:&#xA;&#xA;Link to video page on diode.zone&#xA;&#xA;Also discuss further on IRC ##physics on freenode&#xA;&#xA;TAGS&#xA;&#xA;#Physics,#muon,#New,#Discovery,#Science,#StandardModel,#g-2,#Experiment&#xA;&#xA;a href=&#34;https://liberapay.com/PaulSutton/donate&#34;img alt=&#34;Donate using Liberapay&#34; src=&#34;https://liberapay.com/assets/widgets/donate.svg&#34;/a&#xA;&#xA;img src=&#34;https://socialhub.activitypub.rocks/uploads/default/original/1X/6aac842b7ff5c58385a02f3a131c259281be88c8.png&#34; target=&#34;_blank&#34; &#xA;&#xA;a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-sa/4.0/&#34;img alt=&#34;Creative Commons Licence&#34; style=&#34;border-width:0&#34; src=&#34;https://i.creativecommons.org/l/by-sa/4.0/88x31.png&#34; //abr /This work is licensed under a a rel=&#34;license&#34; href=&#34;http://creativecommons.org/licenses/by-sa/4.0/&#34;Creative Commons Attribution-ShareAlike 4.0 International License/a]]&gt;</description>
      <content:encoded><![CDATA[<p>Muon g-2 experiment finds strong evidence for new physics</p>

<p>Just sharing this video posted by Fermilab to dioide.zone on Peertube.  This is a really nice, beginner friendly explanation.</p>

<pre><code>The first results from the Muon g-2 experiment hosted at Fermilab show fundamental particles called muons behaving in a way not predicted by the Standard Model of particle physics. Announced on April 7, 2021, these results confirm and strengthen the findings of an earlier experiment of the same name performed at Brookhaven National Laboratory. Combined, the two results show strong evidence that our best theoretical model of the subatomic world is incomplete. One potential explanation would be the existence of undiscovered particles or forces. This video explains what a muon is, how the Muon g-2 experiment works, and the significance of this result.
</code></pre>

<iframe width="560" height="315" src="https://diode.zone/videos/embed/7b024722-2f63-424f-b1a2-511d6b7e8d60" frameborder="0" allowfullscreen=""></iframe>

<p><strong>REFERENCES</strong></p>
<ul><li><a href="https://discourse.qoto.org/t/muon-g-2-experiment-finds-strong-evidence-for-new-physics/606" rel="nofollow">Discourse Discussion</a></li>
<li><a href="https://diode.zone/video-channels/fermilab@tilvids.com/videos" rel="nofollow">Fermilab channel</a></li>
<li><a href="https://diode.zone" rel="nofollow">Diode zone</a></li>
<li><a href="https://diode.zone/accounts/opensciencevids@tilvids.com/video-channels" rel="nofollow"><a href="https://paper.wf/@/opensciencevids@tilvids.com" class="u-url mention" rel="nofollow">@<span>opensciencevids@tilvids.com</span></a></a></li>
<li><a href="https://news.fnal.gov/2021/04/first-results-from-fermilabs-muon-g-2-experiment-strengthen-evidence-of-new-physics" rel="nofollow">Muon g-2 first results press release:</a></li>
<li><a href="https://fnal.gov" rel="nofollow">Fermilab home page:</a></li>

<li><p><a href="https://muon-g-2.fnal.gov/" rel="nofollow">Muon g-2:</a></p></li>

<li><p><a href="https://diode.zone/videos/watch/7b024722-2f63-424f-b1a2-511d6b7e8d60" rel="nofollow">Link to video page on diode.zone</a></p></li></ul>

<p>Also discuss further on IRC #<a href="/paulsutton/tag:physics" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">physics</span></a> on <a href="https://freenode.net/" rel="nofollow">freenode</a></p>

<p><strong>TAGS</strong></p>

<p><a href="/paulsutton/tag:Physics" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Physics</span></a>,<a href="/paulsutton/tag:muon" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">muon</span></a>,<a href="/paulsutton/tag:New" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">New</span></a>,<a href="/paulsutton/tag:Discovery" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Discovery</span></a>,<a href="/paulsutton/tag:Science" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Science</span></a>,<a href="/paulsutton/tag:StandardModel" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">StandardModel</span></a>,<a href="/paulsutton/tag:g" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">g</span></a>-2,<a href="/paulsutton/tag:Experiment" class="hashtag" rel="nofollow"><span>#</span><span class="p-category">Experiment</span></a></p>

<p><a href="https://liberapay.com/PaulSutton/donate" rel="nofollow"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></p>

<p><a href="https://torresjrjr.com/archive/2020-07-19-guide-to-the-fediverse" rel="nofollow"><img src="https://socialhub.activitypub.rocks/uploads/default/original/1X/6aac842b7ff5c58385a02f3a131c259281be88c8.png"></a></p>

<p><a href="http://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png"/></a><br/>This work is licensed under a <a href="http://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow">Creative Commons Attribution-ShareAlike 4.0 International License</a></p>
]]></content:encoded>
      <guid>https://paper.wf/paulsutton/muon-g-2-experiment-finds-strong-evidence-for-new-physics-9sxc</guid>
      <pubDate>Fri, 09 Apr 2021 14:27:54 +0000</pubDate>
    </item>
  </channel>
</rss>