Microsoft is building an online Raspberry Pi simulator

The infamous Raspberry Pi compute board has built a loyal following that’s proving difficult even for companies such as Intel to compete with, but it could be set to gain even more fans as Microsoft is building an online simulator.

Pi is designed to be inexpensive with even the latest, highest-end model costing just £32/$35 but it can remain out of reach for some on lower or no incomes, and the extra accessories can soon rack up the cost. Microsoft’s online simulator will enable anyone with a basic computer and internet access to get started.

Microsoft plans to extend its Pi simulator with further devices and sensors

The simulator is currently in preview and is fairly primitive at this stage. When the page is loaded, a graphic of a Pi is displayed which is connected to a combined humidity, temperature, pressure sensor. A red LED is also connected via a breadboard which is a plug board that allows circuits to be wired together rapidly.

Users can write code which controls the emulated hardware. For example, the LED could be switched on in response to data from any of the sensors. The sample code which loads with the emulator collects simulated temperature data from the sensor and displays the results in the command line.

The simulator is currently in preview and is fairly primitive at this stage.

All code, including the sample, can be run on a real Pi. Microsoft appears to want users to be able to write their own code for free and then go on to purchase a real device. This will hopefully enable people who would otherwise not experience coding for a Pi to get started rather than stop people buying the hardware.

The Raspberry Pi Foundation, in collaboration with US startup Trinker, worked on a web-based emulator for Sense HAT which is an add-on board for Pi with various sensors, a joystick, and a LED matrix. Personally, we’re hoping Voice HAT receives an online incarnation, but that could be a bit optimistic.

Microsoft plans to extend its Pi simulator with further devices and sensors but has provided no timeline as of writing. Others are free to do so, however, as the simulator's code is open-source.

Are you impressed Microsoft is building a Raspberry Pi simulator? Share your thoughts in the comments.

Related Stories

Leave a comment


This will only be used to quickly provide signup information and will not allow us to post to your account or appear on your timeline.

22 Jun 2017, 1:52 p.m.

Why Microsoft, though?


22 Jun 2017, 3:42 p.m.

Why the comma after Microsoft?


22 Jun 2017, 6:58 p.m.

Why such a dick?


23 Jun 2017, 1:31 a.m.

I think it is a great thing. There are schools and school aged children who don't have the budget for a Pi Lab in addition to what they already have or an individual Pi! This can show what the Pi can do and give some schools more data for requesting Pi's in a later budget.


17 Aug 2017, 12:34 a.m.

Waste of time? The real thing is so flexible (many choices of base OS), readily available (the Pi foundation has made a great job to insure their units can be ordered practically from anywhere) and quite affordable; it begs the question, why bother?