Jump to content

Jester_ITA

Members
  • Posts

    29
  • Joined

  • Last visited

Everything posted by Jester_ITA

  1. Hello all! I'm Maurizio from Italy and i want to share my story here because i'm almost became mad and i hope some of you will avoid it by reading! I lost nearly a month trying to make the bus working ... an arduino uno (original) and a 2560 "compatible" (that's what i had handy). No succes. No comms on the bus, no rx-tx leds working, nothing. I tried everything from removing the R7 to recalculate the bias resistors to test different twisted pairs. No joy. Today, as a last resort, i've decided to make something foolish. I said to myself "let's swap RX with TX ... what could happen worse than not working? Fry the board? Well, be it!" Surprise! Everything was working ... even without the bias resistors and with two modules with R7 still on! Just imagine my face checking the circuit again and again to find the error but the error wasn't the circuit! Finally i've found that my "compatible" arduino board has the markings (the serigraphy) of RX and TX swapped compared to an original one So, swapping them was correct! Be aware, DCS Bios fellows...madness is close! :helpsmilie:
  2. Indeed, i found them on ebay at a very cheap rate. Maybe it's for that they're not working :lol::lol: A friend of mine once said "Low expense, low performance!" I have four of them, tried to switch to find out if one was fried but the response is always the same. I think they're not completely broken, something is coming back in the serial monitor, but like when the baud is different and it receives garbage. Maybe i can try to order another pair (the cost is not so prohibitive!) and try again. I'll try also max487 but without the possibility of creating my own pcb, things are a little more complicated, especially when i'll have to enclose them into the panels... Thanks!
  3. Thanks for the reply Ian. Well, i've opened the com-handler sources to try to modify it but i'm still looking into it. Do you know, by chance, if it's enough to modify the code where it sets the baud rate or if there's other kind of modifications? I'll make some tests this afternoon. About RS-485, i'm using the Max485 ttl adapter as in this article https://arduino-info.wikispaces.com/RS485-Modules At first i was operating without resistors but no joy. Then i added resistors (hoping to have them calculated correctly) but again no joy. The Mega has the tx led working but the second mega don't work. Testing with another sketch, wich sends characters with the master serial monitor and receives them back from the slave, i have garbage coming back but never a clean response. I'll do a screenshot this afternoon and try to explain better. I know, reading this forum, that the 487 are better than the 485 that i'm using but i had those "in house" and i've tried them, probably i should switch? Thanks again!
  4. Hi all, that's my first post here so i think i might introduce myself. I'm Maurizio from Italy, i'm a long time flight sim enthusiast and recently i decided, after looking at DCS-Bios, to build something that resembles an A-10C cockpit. I would thank a thousand times Ian and everyone involved for the work on this software! While i cannot (still) make RS485 bus to work, i've tried com-handler to simplify the managing of all the com ports involved but it's not working. I mean, i can see the counter "from DCS" to increase but the "from COM" counter is stuck on "0" and nothing works in the cockpit. With the "connect-serial-port.cmd" script everything works. Am i doing something wrong? Thanks for the help! Maurizio
×
×
  • Create New...