BillRen
Posts: 2
Joined: Thu Jun 18, 2020 6:27 am

Raspberry Pi 4 install win10 IOT solution?

Thu Jun 18, 2020 6:57 am

HI Everyone,

I tried install win10 IOT of Raspberry Pi 2&3+ to Raspberry Pi 4, but it is not operation.

Is there any other way to make raspberry Pi 4 support win10 IOT?

Thanks.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 28358
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry Pi 4 install win10 IOT solution?

Thu Jun 18, 2020 7:19 am

No.

Support would need to be provided by Microsoft, and they seem to have lost interest in Iot.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

fruitoftheloom
Posts: 25673
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Raspberry Pi 4 install win10 IOT solution?

Thu Jun 18, 2020 7:54 am

BillRen wrote:
Thu Jun 18, 2020 6:57 am
HI Everyone,

I tried install win10 IOT of Raspberry Pi 2&3+ to Raspberry Pi 4, but it is not operation.

Is there any other way to make raspberry Pi 4 support win10 IOT?

Thanks.

Already extensively discussed in previous posts, see the W10 IoT Section of Forum:

viewforum.php?f=105
The information is out there....you just have to let it in.

My other Linux machines are a ChromeBox & Intel CoreDuo Desktop

Heater
Posts: 17350
Joined: Tue Jul 17, 2012 3:02 pm

Re: Raspberry Pi 4 install win10 IOT solution?

Thu Jun 18, 2020 8:04 am

In short Win10 IoT is obsolete and unsupported since two years ago or so. It does not work on modern Pi.

Better to just use the Raspberry Pi OS and be sure your creations will work well into the future, even as new model Pi are created.
Memory in C++ is a leaky abstraction .

BillRen
Posts: 2
Joined: Thu Jun 18, 2020 6:27 am

Re: Raspberry Pi 4 install win10 IOT solution?

Thu Jun 18, 2020 9:42 am

Hi Everyone,

I will refer to your suggestion.

Thanks.

User avatar
FischAutoTechGarten
Posts: 3
Joined: Tue Dec 24, 2019 8:39 pm
Location: Alamos, Sonora, Mexico
Contact: Website

Re: Raspberry Pi 4 install win10 IOT solution?

Thu Sep 24, 2020 9:53 pm

You can use Raspberry Pi 4 w/ Raspberry Pi OS and install the .NET Core 3.1 SDK. That will allow you to develop .NET Core Apps w/ remote Visual Studio debugging and all. However, you won't be able to develop WinUI apps because your apps will be running on Raspberry PI OS, not Win10IOT. That means you will need an alternative for your UI..... probably HTML.

Here are directions for installing the ARM32 variant of the .NET Core 3.1 SDK for your Raspberry PI.

https://elbruno.com/2019/12/30/raspbery ... erry-pi-4/

I had been following some folks who've developed and shipped products using Raspberry Pi 3B and Win10IoT. I wondered what they would do now that their products have hit a barrier.... A dead-end OS... One such company, Atlas-Scientific, had a clever solution. They ported their .NET Core App from Win10IoT to RaspberryPI OS by redoing the User Inteface in HTML.... using Blazer (serverside) on the Apache Web Server that runs on Raspberry Pi OS.

They have an alpha version of it here:
https://atlas-scientific.com/files/How- ... OTCore.pdf
https://atlas-scientific.com/files/Atla ... e3.0.1.zip

Personally, I abandoned Win10IoT a while ago and have started developing on Node-RED for my IoT projects on my Raspberry Pi 4s... The Dashboard functionaliy of Node-RED has been sufficient for the basic user interface my projects use.
learning never stops...

mcguirev10
Posts: 20
Joined: Sat Jun 27, 2020 12:53 pm
Location: Florida, US

Re: Raspberry Pi 4 install win10 IOT solution?

Sat Oct 17, 2020 10:59 am

I agree, .NET on Pi OS is the way to go. It isn't that MS lost interest in IoT, it's that a completely separate OS was just unnecessary thanks to xplat .NET.

Months ago, I found these getting-started instructions helpful -- he goes beyond just getting .NET Core working and a bit into pushing builds to the Pi from VS on the Windows side. I work with headless Pi 4Bs, they're running .NET web servers and console programs without breaking a sweat.

https://edi.wang/post/2019/9/29/setup-n ... berry-pi-4

mcguirev10
Posts: 20
Joined: Sat Jun 27, 2020 12:53 pm
Location: Florida, US

Re: Raspberry Pi 4 install win10 IOT solution?

Thu Oct 29, 2020 11:04 am

This work-in-progress is Microsoft's plan for IoT:

https://github.com/dotnet/iot

@mahjonng or @jamesh (does that work here?), maybe this warrants an update to the "please read" sticky?

User avatar
DougieLawson
Posts: 40781
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Raspberry Pi 4 install win10 IOT solution?

Thu Oct 29, 2020 1:24 pm

mcguirev10 wrote:
Thu Oct 29, 2020 11:04 am
This work-in-progress is Microsoft's plan for IoT:

https://github.com/dotnet/iot

@mahjonng or @jamesh (does that work here?), maybe this warrants an update to the "please read" sticky?
That's off-topic for this subforum (which is all about the dead and buried Win10 IoT operating system for the RPi 2/RPi3 - which died in Feb 2018).
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

mcguirev10
Posts: 20
Joined: Sat Jun 27, 2020 12:53 pm
Location: Florida, US

Re: Raspberry Pi 4 install win10 IOT solution?

Thu Oct 29, 2020 2:07 pm

DougieLawson wrote:
Thu Oct 29, 2020 1:24 pm
That's off-topic for this subforum (which is all about the dead and buried Win10 IoT operating system for the RPi 2/RPi3 - which died in Feb 2018).
True enough, though many recent discussions (once the poster discovers W10 IoT is dead) lead to .NET Core, and I figured there's no harm done short-circuiting the discovery process and helping anyone interested in the MS way of doing things to "fall into the pit of success," as the saying goes. I've even noticed comments like "Microsoft lost interest in IoT" which is obviously not the case. The library they're building even has Pi-specific examples:

https://github.com/dotnet/iot/tree/mast ... /led-blink

Oh well. Just trying to help.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 28358
Joined: Sat Jul 30, 2011 7:41 pm

Re: Raspberry Pi 4 install win10 IOT solution?

Thu Oct 29, 2020 4:17 pm

mcguirev10 wrote:
Thu Oct 29, 2020 11:04 am
This work-in-progress is Microsoft's plan for IoT:

https://github.com/dotnet/iot

@mahjonng or @jamesh (does that work here?), maybe this warrants an update to the "please read" sticky?
Taken a look at that stuff, and a little unsure of what MS's plan is from the supplied information. Also watched a few videos and still none the wiser. Would be interested to get a decent overview.

For example, the videos I watched made a LED blink using C# and a bunch of IoT libraries, from the command line in Linux, so unsure of the IoT connection.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

mcguirev10
Posts: 20
Joined: Sat Jun 27, 2020 12:53 pm
Location: Florida, US

Re: Raspberry Pi 4 install win10 IOT solution?

Tue Nov 03, 2020 5:03 pm

jamesh wrote:
Thu Oct 29, 2020 4:17 pm
Taken a look at that stuff, and a little unsure of what MS's plan is from the supplied information. Also watched a few videos and still none the wiser. Would be interested to get a decent overview.

For example, the videos I watched made a LED blink using C# and a bunch of IoT libraries, from the command line in Linux, so unsure of the IoT connection.
If you mean, what is the connection to the Win10 IoT product, specifically -- there is none, as far as that library goes, which is mostly the point Dougie raised. The argument that it's off topic isn't technically wrong, by any means.

My interpretation is that the general direction at MS is OS-agnostic IoT support via additional .NET libraries based on .NET Core's cross-platform capabilities. I simply thought anyone with an MS focus would likely move on to .NET Core and this new work-in-progress, and perhaps you folks might like to point them in the right direction at the outset.

markii477
Posts: 1
Joined: Fri Dec 04, 2020 3:14 pm

Re: can anyone help me?

Fri Dec 04, 2020 4:16 pm

For school project requirement, we have already a web app running on xammp locally we need to communicate to raspberry web app to control the solenoid lock. Would you please Suggest what could be the best way that we can use in Our project.?

User avatar
DougieLawson
Posts: 40781
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: can anyone help me?

Sat Dec 05, 2020 2:10 pm

markii477 wrote:
Fri Dec 04, 2020 4:16 pm
For school project requirement, we have already a web app running on xammp locally we need to communicate to raspberry web app to control the solenoid lock. Would you please Suggest what could be the best way that we can use in Our project.?
Don't even consider using Windows 10 IoT. It is a dead project (and has been since March 2018).
You can't run everything on RaspiOS with a LAMP (Linux Apache2 Mariadb PHP 7.0) stack.

For the control of GPIOs look at pigpio and pigpiod.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

blippy
Posts: 123
Joined: Fri Nov 03, 2017 3:07 pm

Re: can anyone help me?

Sat Dec 05, 2020 9:55 pm

DougieLawson wrote:
Sat Dec 05, 2020 2:10 pm
Windows 10 IoT ... It is a dead project
Why am I not surprised?

When I heard about it, I figured it would never fly as an idea. I think there must have been plenty of astroturfing at the time, saying what a good idea it was.

Recently I thought that Win 10 IoT might not have been such a bad idea; kinda like MicroPython gained popularity on microcontrollers.

I think it was a good bet from the outset that MS were never going to commit to it fully. The requirement that you needed Win 10 installed as a development platform was part, but not all, of the reason it was doomed.

I'm not sure why MS even bothered to instigate the project.

bls
Posts: 1158
Joined: Mon Oct 22, 2018 11:25 pm
Location: Seattle, WA
Contact: Twitter

Re: can anyone help me?

Sun Dec 06, 2020 12:26 am

blippy wrote:
Sat Dec 05, 2020 9:55 pm
I'm not sure why MS even bothered to instigate the project.
It's a little like pasta. They threw it against the wall to see if it stuck :roll:
Pi tools:
Quickly and easily build customized-just-for-you SD Cards: https://github.com/gitbls/sdm
Easily run your network's DHCP/DNS on a Pi: https://github.com/gitbls/ndm
Easy strongSwan VPN installer/manager: https://github.com/gitbls/pistrong
Lightweight Virtual VNC Config: https://github.com/gitbls/RPiVNCHowTo

Heater
Posts: 17350
Joined: Tue Jul 17, 2012 3:02 pm

Re: can anyone help me?

Sun Dec 06, 2020 9:35 am

markii477 wrote:
Fri Dec 04, 2020 4:16 pm
For school project requirement, we have already a web app running on xammp locally we need to communicate to raspberry web app to control the solenoid lock. Would you please Suggest what could be the best way that we can use in Our project.?
So basically you need a webserver running on a Pi that can not only serve up web pages but also control GPIO pins.

There are many ways to do this. All pretty easy. Off the top of my head:

1) The traditional, use the Apache web server and write some code in PHP to do what you want as DougieLawson suggestse.

2) Write your code in Python, which gets you easy access to GPIO pins and add the capability to serve web pages to that code. the Flask Python library is popular for this kind of thing: https://flask.palletsprojects.com/en/1.1.x/. You will only need to write a handful of lines of code to get a minimal web server/GPIO tweaker up and running.

3) Write you code in Javascript running under node.js. As above but using Javascript instead of Python.
https://www.w3schools.com/nodejs/nodejs ... _intro.asp
https://www.w3schools.com/nodejs/nodejs_http.asp
https://expressjs.com/

4) As above but use the Rust programming language: https://www.rust-lang.org/. Using a Rust web server library like "Rocket" makes this kind of thing very easy: https://rocket.rs/

5) It is likely possible to create simple solutions as described in 2), 3), 4) in pretty much any other programming language from C to Haskell. Take your pick.

Personally I have found Javascript and node.js very easy to use and reliable for this kind of job. Much simpler than Python/Flask and many other languages because of the inherent event driven programming model of JS. No messing around with threads and such.

Now a days I would do in in Rust. Because I like the performance and Rust's emphasis on program correctness.

I would not use Apache/PHP. It far to complex and really not designed for this kind of job.
Memory in C++ is a leaky abstraction .

Return to “Windows 10 for IoT”