ESP8266 Serial remote control

PieterP:
There could be a number of different problems:

  1. Hardware: you didn't connect the right pins, or you didn't use the right voltage level.
  2. Baud rate
  3. Commands: the commands you Serial.print is incorrect.

Try controlling the receiver first, then try to add WiFi.

Pieter

  1. I have tryed controlling it with a usb to rs232 via windows Hyper Terminal With no problems.
  2. 9600 worked from windows.
  3. I an schure about the commands, (Command List: denon Serial Commands.pdf)

line-web:

  1. I have tryed controlling it with a usb to rs232 via windows Hyper Terminal With no problems.

True RS-232 or TTL?

PieterP:
True RS-232 or TTL?

the converter is a U232-P9
But how do i find out?

Ever heard of RFTM?

That device doesn't look very Arduino-friendly. The normal way of connecting Arduino to RS232 is with a TTL to RS232 converter such as the MAX232 chip.

wvmarle:
Ever heard of RFTM?

That device doesn't look very Arduino-friendly. The normal way of connecting Arduino to RS232 is with a TTL to RS232 converter such as the MAX232 chip.

That was what i have been using for my pc.

Well, it's true RS-232, the ESP8266 has a 3.3V UART. You need something like a MAX232 to convert it to RS-232 levels.

Pieter

line-web:
That was what i have been using for my pc.

First you said you're using a USB to RS232 adapter, now it's through a MAX232? What is it, really?

Remember YOU know what you have. We rely on your answers. If you give wrong or even outright contradictory answers, there is no way we can provide any sensible advice.

when i tested it on my PC I was using USB to RS232.

I am not using anything on the ESP8266

line-web:
when i tested it on my PC I was using USB to RS232.

I am not using anything on the ESP8266

No wonder we're not getting anywhere.

Now first go get yourself an RS232 to TTL (3.3V) adapter, like the MAX3232 (the MAX232 works at 5V) or a complete adapter based on it. Make sure it can put out 3.3V TTL.

wvmarle:
No wonder we're not getting anywhere.

Now first go get yourself an RS232 to TTL (3.3V) adapter, like the MAX3232 (the MAX232 works at 5V) or a complete adapter based on it. Make sure it can put out 3.3V TTL.

I allready have one on its way.

I'l be back when it is home and wired up.