Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Help with my TX_v1.4 mod software
#1

Hi,
I am looking for help form any body who is good with arduino, I have tried to add support to the TX software, for a rotary encoder, HRPG AS16#51c, which uses channel A, channel B, GND and 5v. I have modified a TX board using a 6 pin RJ11 socket taking a 5v and D10 feed from the expansion port, I know this mod is ok because I have compiled and uploaded a sketch for encoder which works fine on its own. Sketch used is attached.
I then tried to incorporate this sketch into the TXv1.4 ISTest b001 software which after a lot of head scratching I thought I had done, It compiled and uploaded seemingly ok. But when I used serial monitor and turned the vane all I got was " N", in which ever position I turned the vane to.
The pins I am trying to use D10 and 5v from the expansion port and A3 and GND from what would have been the original wind socket. I am wondering if the problem it has something to do with the way pins are configured in the software, especially A3.

Sketch _may24a is the sketch for rotary encoder which works fine on its on.
WeatherDuino tx v1.4 is where I have tried to implement the above sketch which compiles and uploads ok but does not give compass bearings except "N",

Please have a look and let me know what you think,

Thanks

regards

tyntop

PS, also attached datasheet for encoder


Attached Files
.rar sketch_may24a.rar Size: 393 bytes  Downloads: 265
.rar datasheet.rar Size: 643,71 KB  Downloads: 250
Reply


Messages In This Thread
Help with my TX_v1.4 mod software - by tyntop - 28-07-2015, 04:10
RE: Help with my TX_v1.4 mod software - by werk_ag - 28-07-2015, 06:19
RE: Help with my TX_v1.4 mod software - by tyntop - 28-07-2015, 09:56
RE: Help with my TX_v1.4 mod software - by werk_ag - 28-07-2015, 19:00
RE: Help with my TX_v1.4 mod software - by tyntop - 29-07-2015, 01:30
RE: Help with my TX_v1.4 mod software - by werk_ag - 29-07-2015, 02:26
RE: Help with my TX_v1.4 mod software - by werk_ag - 29-07-2015, 03:19
RE: Help with my TX_v1.4 mod software - by AllyCat - 29-07-2015, 15:39
RE: Help with my TX_v1.4 mod software - by tyntop - 31-07-2015, 01:53
RE: Help with my TX_v1.4 mod software - by werk_ag - 31-07-2015, 02:46
RE: Help with my TX_v1.4 mod software - by AllyCat - 31-07-2015, 16:36



Users browsing this thread: 1 Guest(s)