Questions tagged [c#]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
2answers
4k views

How does Arduino IDE 'Get Board Info'?

I want my C# application to automatically select the correct COM port by way of a string equality check against a 'GetInfo'-type request to the Arduino board. I know the Arduino IDE can get info ...
1
vote
1answer
3k views

Connect arduino with C# Desktop application wireless using esp8266

I am using wifi module esp8266 , what is easiest way to communicate arduino with desktop application and make a wireless communication between them. Please refer any useful resources
1
vote
1answer
3k views

Getting RFID tag data using C#

I am trying to get an RFID tag number using a WinForms application. But whenever I click the Button the application stops responding. Please help regarding this. Arduino code void setup() { Serial....
1
vote
1answer
657 views

Serial Communication to WPF (Windows Presentation Foundation) giving me odd results. How do I clear up the Strings I am receiving?

I'm trying to make a voltage/temp logger that will post to SQL. I'm using a WPF to make kind of a UI for people to measure the voltage of a cell, and take the temp of the battery acid in the battery. ...
1
vote
1answer
350 views

System Is not Functioning Error. Windows XP, Arduino Uno R3, C# Listen SerialPort

Can anyone help me with this issue. We created an arduino project. We listen microswitch. If switch click, Arduino send basic serial data. And C# application read serial port. This solution is ...
1
vote
0answers
47 views

Problem communicating with ENC28J60

I want to send/receive strings to/from an ENC28J60 via a C# application. I used my own "protocol" to do this. For example I send "" to Arduino and it replies with a string containing temperature ...
0
votes
1answer
38 views

Missing bytes sended through serial from C# app

I am trying to store values sended by C# app in EEPROM via Arduino UNO. Here is a C# code that reads bytes from file (I'm 100% sure that there are, and always will be 256 bytes) and sends the buffer ...
0
votes
1answer
686 views

Serial Getting Garbage Data with real data

I have made an app in VS2015 C#.Net which sends data to Serial port. The data i am sending is: stat>temp:39,38,;load:17,4,42,;fans>50,50,; Where as I am receiving: ððððstat>temp:39,38,;...
0
votes
1answer
130 views

C# Arduino: How to detect if the needed software is present on the computer

I have a digispark that uses trinket keyboard library to send media keys back to the computer using a rotary encoder. I currently have it configured to send normal media keys but about 2 weeks ago i ...
0
votes
1answer
2k views

Send and receive text between Arduino Mega 2560 and C# via ENC28J60

I'm working on an Arduino project that sends and receives text to/from a C# application via ENC28J60 in a LAN network. Whenever C# sends a request to Arduino (In text), Arduino responds to it by ...
0
votes
2answers
56 views

How can I read delay of a note that I am playing

I am playing note tone with CapacitiveSensor and an output of tone like this void loop() { time_before = millis(); long total1 = cs_2_3.capacitiveSensor(30); long total2 = cs_2_4....
0
votes
0answers
318 views

TCP Communication between PC and multiple arduinos

i am writing a C# program as a server to communicate with two arduinos with ethernet shield acting as clients , intended to humidity and temperature reading . it is working but not as intended it ...
0
votes
1answer
356 views

How to send big data (long string) from PC to Arduino using Bluetooth

One of the requirements of my projects is to send data from my application to the Arduino robot. I have windows 10, and my robot is Arduino Uno. The Bluetooth I'm using on my robot is HC-06. The app ...
0
votes
1answer
828 views

How can i receive data from Mega2560 on PC with Visual C#

How can i receive the data from my Arduino Mega 2560 with Visual C# on my PC. I send a short databyte (2 bytes) and a timestamp (4 bytes) over USB to PC //initialization const int RX = 0; const int ...
-1
votes
0answers
45 views

Serial Communication with c#

I am trying to have a c# program communicate with an arduino uno, however, when I try to open the serial port in c#, it gives an 'System.UnauthorizedAccessException' saying Access to the port 'COM3' ...
-1
votes
1answer
126 views

Running multiple programs with one Arduino [closed]

Is it a problem to use multiple softwares to read the data that came from the same USB port simultaneously? I have a board connected to a PC by USB, which is read by an application developed in C#. I ...
-1
votes
1answer
734 views

Unable to read the Serial Port through Arduino the way Serial Port Monitor softwares read it

I have a device feeding Rx Tx data every minute. I connected it to the computer. I downloaded a Serial Port Monitor Software, and here is the data I captured using that software. Now when I try to ...