Questions tagged [hex]

5 questions
1
vote
1 answer

How to convert a String to Hex array

I am trying use a HMI display. If I want to send a data, for example I want to write "TOPWAY" to 0x00000080 address it should like that: Serial.write(0xaa); // packet head Serial.write(0x42); // VP_N16 string write command …
mehmet
  • 225
  • 1
  • 8
1
vote
1 answer

Can I get the hex file from an Arduino without the .ino code

I have a CNC router table that came into my local makerspace. The board looks like it has some standard parts, but also has some parts I don't recognize. At the heart of it is an Arduino Uno. I would like to get the code from the UNO, as a back up.…
j0h
  • 872
  • 3
  • 10
  • 24
0
votes
1 answer

How to upload code to Arduino without a laptop

I would like to know is there a way of burning programs to microcontrollers like that on Arduino without using a computer? Like a pendrive or something? Suppose you want to update firmware on a utility end, must you carry the editable source code…
0
votes
1 answer

When using the IRremote library- why does it say 64 bits when after converting the hex to binary it comes out to be less?

I get this code output on my Serial when the IR receiver gets a signal: Protocol : GREE Code : 0x01C02350000000E0 (64 Bits) Mesg Desc.: Model: 1 (YAW1F), Power: Off, Mode: 1 (Cool), Temp: 16C, Fan: 0 (Auto), Turbo: Off, Econo: Off, IFeel: Off,…
Jeebus
  • 3
  • 1
-1
votes
2 answers

Send HEX number over serial

I have a RS232 device that I am able to communicate with using RealTerm on a windows PC. The device is expecting a hex string like AA BB 03 01 03 EE How would I send the equivalent string from an arduino? (I feel confident the arduino is wired…
spuder
  • 111
  • 6