<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.squirrelslair.ca/index.php?action=history&amp;feed=atom&amp;title=Raspberry_Pi_Pico_vs_Pico2</id>
	<title>Raspberry Pi Pico vs Pico2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.squirrelslair.ca/index.php?action=history&amp;feed=atom&amp;title=Raspberry_Pi_Pico_vs_Pico2"/>
	<link rel="alternate" type="text/html" href="https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_Pico_vs_Pico2&amp;action=history"/>
	<updated>2026-04-29T21:56:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_Pico_vs_Pico2&amp;diff=4734&amp;oldid=prev</id>
		<title>Hal at 03:44, 2024 October 7</title>
		<link rel="alternate" type="text/html" href="https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_Pico_vs_Pico2&amp;diff=4734&amp;oldid=prev"/>
		<updated>2024-10-07T03:44:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:44, 2024 October 6&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Part 4 toggled a pin 1 million times with a simple MicroPython loop, no optimizations.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Part 4 toggled a pin 1 million times with a simple MicroPython loop, no optimizations.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;RESULTS:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{| class=&amp;quot;wikitable&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|+ RESULTS (lower is better)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|+ RESULTS (lower is better)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hal</name></author>
	</entry>
	<entry>
		<id>https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_Pico_vs_Pico2&amp;diff=4733&amp;oldid=prev</id>
		<title>Hal: Page Creation</title>
		<link rel="alternate" type="text/html" href="https://wiki.squirrelslair.ca/index.php?title=Raspberry_Pi_Pico_vs_Pico2&amp;diff=4733&amp;oldid=prev"/>
		<updated>2024-10-07T03:43:54Z</updated>

		<summary type="html">&lt;p&gt;Page Creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Single-core performance of the Pico 2 is considerably higher than the original Pico.&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;d put the code in here but I can&amp;#039;t get it to format properly, argh. Anyway...&lt;br /&gt;
&lt;br /&gt;
Part 1 filled the display one pixel at a time.&lt;br /&gt;
&lt;br /&gt;
Part 2 plotted a circle with radius 31 at x=64, y=32 on the display.&lt;br /&gt;
&lt;br /&gt;
Part 3 did the following calculation 1 million times with a (0.31713178593), b (1.578817591983), and c (-5.1383859192):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
for t in range(0, 1000000, 1):&lt;br /&gt;
    d = sqrt(abs(t/((a*b*c)/(a+b+c))))&lt;br /&gt;
    e = d**2&lt;br /&gt;
    f = ((e*d + 1.1)**5)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Part 4 toggled a pin 1 million times with a simple MicroPython loop, no optimizations.&lt;br /&gt;
&lt;br /&gt;
RESULTS:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ RESULTS (lower is better)&lt;br /&gt;
|-&lt;br /&gt;
! Test || Pico (RP2040) !! Pico 2 (RP2350)&lt;br /&gt;
|-&lt;br /&gt;
| Part 1 || 54.825s || 49.259s&lt;br /&gt;
|-&lt;br /&gt;
| Part 2 || 4.333s || 3.818s&lt;br /&gt;
|-&lt;br /&gt;
| Part 3 || 177.167s || 68.751s&lt;br /&gt;
|-&lt;br /&gt;
| Part 4 || 10.384s || 5.887s&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
There&amp;#039;s not a big difference in speed when it comes to operations that are bound by peripheral or bus speeds, (like writing to the display), but floating point math and pin toggle times are much faster.&lt;br /&gt;
&lt;br /&gt;
Note that this is with MicroPython v1.23 on the Pico and v1.24.0-preview.321.g0ff782975 on the Pico 2. The code was not optimized and did not use the Native of Viper code emitter for this test.&lt;/div&gt;</summary>
		<author><name>Hal</name></author>
	</entry>
</feed>