Skip to main content

Questions tagged [convert]

Change data from one format to another.

-1 votes
1 answer
78 views

I am a C# dev and these C++ data conversions are killing me. I have an Arduino sending binary data through LoRaWAN to AzureIOT. I am trying to decode my Temp/Humid/Bat payload that I am pulling out of ...
Terrence's user avatar
  • 103
0 votes
1 answer
85 views

I have a Chinese hybrid solar inverter that exposes an rj45 input which talks the serial protocol (Baud rate 2400, no parity, 8 bits, 1 stop bit). I need my Arduino (say, Mega or whatever, does not ...
Zazaeil's user avatar
  • 111
1 vote
1 answer
1k views

I have to handle a String coming in over UART containing a bunch of information, part of it is a MAC-address that I get by using String.substring(a, b) returning a 12-char String representing a mac-...
Harald Lesan's user avatar
3 votes
1 answer
786 views

I'm working on a project to build a plant monitor that works from the outside with Arduino that picks up light and water values from it's environment then uses a nRF24L01 with an antenna and I've come ...
Mario Ronci's user avatar
0 votes
0 answers
187 views

I'm trying to connect sesnor that use RS485 (I'm almost sure that's modbus). The sensor has RX/TX and +/- wires. Do I still need a component between the RX/TX pin from the Arduino UNO and the sensor ...
Dafik's user avatar
  • 9
1 vote
1 answer
354 views

i want to ask, how to get correct float value from uint32_t or long variable is devided by 10?? long var3 = 1139399025; int a = 3; int b = 10; void setup() { Serial.begin(9600); Serial.println((...
mukhlas's user avatar
  • 11
1 vote
2 answers
2k views

I am trying to communicate with AT30TS75A-MA8M-T with below code, the problem is converting the 16 bit output to float so I can read temp: Base on data sheet I suppose to remove first 5 bit in order ...
Shahreza's user avatar
  • 165
0 votes
1 answer
2k views

I'm currently working on a project with a 4DSystems Display. Im talking to the Display over SoftwareSerial with an ESP32. As soon as I want to use a Unicode character it requires me to convert my ...
Exp3rt's user avatar
  • 1
1 vote
1 answer
1k views

How to convert JSON String for example {"f0":100,"f1":100,"f2":100} It is what I get from my esp01 side from I2C communication Now I want it to get it back to my Arduino ...
Avon97's user avatar
  • 161
1 vote
0 answers
161 views

Hi guys I’m new to this forum and also not much experience about led lights question already asked but didn’t get any detailed answer I want to know can I provide working data signal to 2 different 5v ...
J Dis's user avatar
  • 11
0 votes
2 answers
230 views

I'm using a gyroscope, which returns angular velocity in floats. I'm trying to use this data with the arduino mouse library. The move function requires a signed character. I'm not what the best way is ...
Zhelyazko Grudov's user avatar
3 votes
1 answer
857 views

LM2596 is easy to use and cheap, but I have to adjust the output voltage using a screw driver. On the web, there was a "hack" that someone posted, but that hack does not seem as clean or ...
Damn Vegetables's user avatar
0 votes
2 answers
1k views

I am trying to convert a floating point number to an integer, but it seems like the conversion is not working properly. I am using the math library to calculate the power of 10 based on the number of ...
DuluthIsSuperior's user avatar
2 votes
1 answer
429 views

So I am trying to take GPS data with a Neo 6M gpsmodule (that is what is covered up by the square for privacy sake) and process it by adding/multiplying to get large integers representing the GPS data....
Austin John Lippincott's user avatar
0 votes
2 answers
506 views

I have two characters, that I get by Bluetooth. char a = SerialBT.read(); char b = SerialBT.read(); According to the Arduino Reference, decoded data stored in a char gets encoded to ASCII text. I ...
Python Schlange's user avatar

15 30 50 per page