# Raspberry Pi support?

**URL:** https://talk.remobjects.com/t/raspberry-pi-support/1923
**Category:** Oxygene
**Created:** [May 12, 2013, 2:59pm UTC](https://talk.remobjects.com/t/raspberry-pi-support/1923 "2013-05-12T14:59:13Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![mreith](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/m/c77e96/32.png) [@mreith](https://talk.remobjects.com/u/mreith)
#### Post date: [May 12, 2013, 2:59pm UTC](https://talk.remobjects.com/t/raspberry-pi-support/1923/1 "2013-05-12T14:59:13Z")

</div>

Will Oxygene work with Mono on the Raspberry Pi?

Thanks,

Mike

---

<div class="post-metadata">

### Author: ![jeroenvandezan](https://talk.remobjects.com/user_avatar/talk.remobjects.com/jeroenvandezan/32/8216_2.png) [@jeroenvandezan](https://talk.remobjects.com/u/jeroenvandezan)
#### Post date: [May 12, 2013, 4:36pm UTC](https://talk.remobjects.com/t/raspberry-pi-support/1923/2 "2013-05-12T16:36:09Z")

</div>

If mono runs on the RP than yes you can program in Oxygene for it…

---

<div class="post-metadata">

### Author: ![ck](https://talk.remobjects.com/user_avatar/talk.remobjects.com/ck/32/8740_2.png) [@ck](https://talk.remobjects.com/u/ck)
#### Post date: [May 12, 2013, 9:08pm UTC](https://talk.remobjects.com/t/raspberry-pi-support/1923/3 "2013-05-12T21:08:09Z")

</div>

Mono almost works on the RPI; they’re working on getting soft/hard float working (last i heard it would be done “soon”)

---

<div class="post-metadata">

### Author: ![rdeago](https://talk.remobjects.com/user_avatar/talk.remobjects.com/rdeago/32/6445_2.png) [@rdeago](https://talk.remobjects.com/u/rdeago)
#### Post date: [November 11, 2017, 12:58pm UTC](https://talk.remobjects.com/t/raspberry-pi-support/1923/4 "2017-11-11T12:58:28Z")

</div>

Almost 5 years later, things have quite changed for the better.

Mono 4.8 or newer, downloaded from its own APT repository, works like a breeze. Now there’s even a Raspbian-optimized distribution.  
[http://www.mono-project.com/download/#download-lin-raspbian](http://www.mono-project.com/download/#download-lin-raspbian)

Latest Raspbian (Stretch) with latest Mono (5.4.0.201) works best, but Mono 4.8 on Raspbian Jessie worked too, as did any version in between.

Just my two cents, not much to correct you @ck but to give some useful info to future readers of this post.

Best regards  
Ric

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [November 11, 2017, 7:49pm UTC](https://talk.remobjects.com/t/raspberry-pi-support/1923/5 "2017-11-11T19:49:10Z")

</div>

Also, we now support Linux/arm natively as well, with Island.

---

<div class="post-metadata">

### Author: ![joseasl](https://talk.remobjects.com/user_avatar/talk.remobjects.com/joseasl/32/8050_2.png) [@joseasl](https://talk.remobjects.com/u/joseasl)
#### Post date: [November 11, 2017, 11:02pm UTC](https://talk.remobjects.com/t/raspberry-pi-support/1923/6 "2017-11-11T23:02:22Z")

</div>

And for Pi 2 & 3 there is also the possibility to use Windows for IoT  
[https://developer.microsoft.com/en-us/windows/iot/getstarted](https://developer.microsoft.com/en-us/windows/iot/getstarted)

---

<div class="post-metadata">

### Author: ![jeroenvandezan](https://talk.remobjects.com/user_avatar/talk.remobjects.com/jeroenvandezan/32/8216_2.png) [@jeroenvandezan](https://talk.remobjects.com/u/jeroenvandezan)
#### Post date: [November 14, 2017, 9:29am UTC](https://talk.remobjects.com/t/raspberry-pi-support/1923/7 "2017-11-14T09:29:55Z")

</div>

We are doing a project right now using a Rpi Compute Module to drive a robotic instrument and we use Mono on Raspbian.  
All written in Oxygene, it works very well!

The native part is great, but tbh having the full .NET framework at your disposal is very nice as well.

---

<div class="post-metadata">

### Author: ![DonaldShimoda](https://talk.remobjects.com/user_avatar/talk.remobjects.com/donaldshimoda/32/6_2.png) [@DonaldShimoda](https://talk.remobjects.com/u/DonaldShimoda)
#### Post date: [November 14, 2017, 4:06pm UTC](https://talk.remobjects.com/t/raspberry-pi-support/1923/8 "2017-11-14T16:06:55Z")

</div>

I work with RPI and lazarus today. Just for curiosity, theres .NET libraries for access to GPIO? SPI?

---

<div class="post-metadata">

### Author: ![jeroenvandezan](https://talk.remobjects.com/user_avatar/talk.remobjects.com/jeroenvandezan/32/8216_2.png) [@jeroenvandezan](https://talk.remobjects.com/u/jeroenvandezan)
#### Post date: [November 15, 2017, 9:59am UTC](https://talk.remobjects.com/t/raspberry-pi-support/1923/9 "2017-11-15T09:59:58Z")

</div>

Absolutely!

> **[GitHub - raspberry-sharp/raspberry-sharp-io: A .NET/Mono IO Library for Raspberry Pi](https://github.com/raspberry-sharp/raspberry-sharp-io)**
>
> A .NET/Mono IO Library for Raspberry Pi

We also used our own Bus system that uses a FTDI rs-485 USB chip to talk to our bus…  
I created a nice OO .net wrapper for the FTDI chip a couple of years ago and I was able to use it on Linux without changes…

> **[Essy.FTDIWrapper 7.3.0](https://www.nuget.org/packages/Essy.FTDIWrapper/)**
>
> This package contains a library that allows you .net app to communicate to a FTDI USB chip. It wraps the D2XX API into a nice OO .net library. The Library can also be used on Linux and MacOS.

(Mono has a nice Interop “hack” that replaces .dll with .so when you reference an unmanaged dll)

For the GUI we used GTK#.

We created our own board for the RPI Compute Module 3

 ![IMG_20171115_105142](https://talk.remobjects.com/uploads/default/original/2X/3/3dec6acd6540f7c181d637c1017acaaf09a87ff9.jpg)

This board has a Super-Cap based emergency power supply on board, and some scripts on the RPI to initiate a shutdown when then main power goes off… That way we make sure that the SD card gets not corrupted.
