Page 1 of 1

Wiring OTGW to Arduino

Posted: Tue Aug 18, 2015 10:38 am
by jappiedepappie
Hi all,

I'm new to the OTGW, but learning ;-)

I've already asked this question, but in the wrong forum (my apologies for that :oops: ).
I would like to hook up my OTGW to an Arduino, but struggling a bit how to exactly do that.

Schelte already suggested to remove the IC2 "and hook up the two serial interfaces at TTL level".
So before I connect things together, does it mean I should be able to still use the pins of the RS232 for making the serial connection to my Arduino?

thanks in advance for taking the time to answer!

/Jappie

Re: Wiring OTGW to Arduino

Posted: Wed Aug 19, 2015 7:30 am
by geert-jan
Hi,

I use a similar solution; the OTGW wired to an Arduino (a Jeenode to more specific).
The hardware serial of the Arduino is wired to the OTGW. (OTGW TX to Arduino RX and vice-versa). In order to program the Arduino I need to de-connect the OTGW. To make that easy I soldered a header on the OTGW instead of the IC.
For debugging/logging I use software-serial on 2 free DIO ports.

Please check if you need level shifters; the OTGW runs at 5V, some Arduino's (like the Jeenode) run at 3V3.

Regards,
Geert-Jan

Re: Wiring OTGW to Arduino

Posted: Wed Aug 19, 2015 5:43 pm
by jappiedepappie
Hi Geert-Jan,

First of all, thanks for taking the time to reply!

Does it mean you have the otgw soldered as if the otgw is the usb version?
Than use rx tx pin on the rs232 for connecting to two digital pins on the jeenode/arduino?

/Jasper