fredericplante / beta-lib

Automatically exported from code.google.com/p/beta-lib
0 stars 0 forks source link

arduino nano / pro mini trouble getting reliable reads from s.bus futaba frsky #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
when using real term and an ftdi usb i get the following

0C 00 0F E0 03 5F 2B C0 C7 0A 56 80 0F 7C 00 00 00 00 00 00 00 00 00 00 00 
0C 00 0F E0 03 5F 2B C0 C7 0A 56 80 0F 7C 00 00 00 00 00 00 00 00 00 00 00 
0C 00 0F E0 03 5F 2B C0 C7 0A 56 80 0F 7C 00 00 00 00 00 00 00 00 00 00 00 
0C 00 0F E0 03 5F 2B C0 C7 0A 56 80 0F 7C 00 00 00 00 00 00 00 00 00 00 00 
0C 00 0F E0 03 5F 2B C0 C7 0A 56 80 0F 7C 00 00 00 00 00 00 00 00 00 00 00

when i use the uart on arduino the best results are these
00 00 0F DB 2B B6 C7 00 00 00 00 
00 00 0F DB EB 80 0F 7C 00 00 
00 00 0F DB BA C7 0A 56 00 00 00

my inverter seems to work ok, since ftdi can read the signal ok...
i thought ive read nano can go up to 100,000baud no probs...
im undecided wether my problem is electrical, ive tried enough variations of my 
inverter.. also tried 98 99 100k baud etc... 

Original issue reported on code.google.com by apocalyp...@gmail.com on 30 Jul 2014 at 1:40

GoogleCodeExporter commented 8 years ago
I will not be able to test with your hardware.

I don't know what library and code you are using so I can't follow this up.

Original comment by Bill.Gre...@gmail.com on 30 Jul 2014 at 2:31

GoogleCodeExporter commented 8 years ago
I'm using the Serial code of Serial Logger fame, not one of yours?

I'm just curious if you think it _should_ work at 100,000baud on a 328atmel 
16mhz aruino mini pro/nano..

Original comment by apocalyp...@gmail.com on 31 Jul 2014 at 7:33

GoogleCodeExporter commented 8 years ago
"I'm using the Serial code of Serial Logger fame, not one of yours?"

I don't have a clue since I didn't write it.

Original comment by Bill.Gre...@gmail.com on 31 Jul 2014 at 11:16

GoogleCodeExporter commented 8 years ago
Apologies. It was a late night :)

Original comment by apocalyp...@gmail.com on 1 Aug 2014 at 12:49