-4

Need help to output a text to Tx of raspberry pi using windows universal app/ cpp/ c#

Please help me to understand how to transmit data to tx (or write text to tx) of raspberry pi running windows 10 core

Idris
  • 158
  • 1
  • 14

2 Answers2

2

It is not possible to use the on-board serial device on the Raspberry Pi 2 for Universal Apps - it is reserved for lower-level debugging, like device drivers. See this and this.

However, I can confirm CP2102-based USB-serial adapters, like this one, work properly. FTDI-based adapters, by far more common in my experience, can be made to work, but they require special installation and specific changes to your program's software. Jark has some great instructions and a sample program available on this GitHub repo.

jklemmack
  • 3,518
  • 3
  • 30
  • 56
  • The instructions from Jark worked perfectly. Thanks a lot – Idris Sep 09 '15 at 01:22
  • As an update, it looks like a more recent build 10556 (in Insider Preview) mentions that there is serial support for RX / TX pins on the RPi2. I have yet to confirm, but I'm super excited! http://ms-iot.github.io/content/en-US/win10/ReleaseNotes.htm – jklemmack Oct 26 '15 at 18:32
0

I would use an ASP.NET server page running on the PI. Text could be transmitted via http using URL.

jacques
  • 1
  • 1
  • It's easy to write in python with raspberry pi running linux. The data from tx will be connected to zigbee. I don't think the server page would solve this – Idris Aug 25 '15 at 12:53