Questions tagged [c#]
C# is a hybrid of C and C++, it is a Microsoft programming language developed to compete with Sun's Java language. C# is an object-oriented programming language used with XML-based Web services on the .NET platform and designed for improving productivity in the development of Web applications.
16 questions
-1
votes
1
answer
241
views
Arduino Uno WiFi Rev2 is sending serial data to IDE, but not to C# program
I have an Arduino Uno WiFi Rev2 which I am trying to read data over the serial port from (using C#). The Arduino program periodically emits data to the serial port (for testing purposes). Whenever the ...
0
votes
2
answers
2k
views
Arduino stops sending/receiving data over Serialport after random time
I got a C# WPF application wich communcates with my arduino uno over serial port. Everything works fine for 3 to 20 seconds then i can not send or receive anything from/to the arduino.
What im trying ...
0
votes
1
answer
847
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 ...
1
vote
0
answers
2k
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
1
answer
278
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 ...
-1
votes
1
answer
202
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
vote
1
answer
182
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
1
answer
5k
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 ...
1
vote
1
answer
5k
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
6
votes
2
answers
11k
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
1
answer
5k
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....
0
votes
1
answer
2k
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,;load:...
0
votes
2
answers
135
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
1
answer
1k
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 ...
2
votes
1
answer
2k
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. ...