RunRyder RC
 20  Topic Subscribe
WATCH
 4 pages [ <<    <     2      3     ( 4 )    >    >> ] 17970 views POST REPLY
Scorpion Power Scorpion Power
HelicopterRadio - Futaba FASST › SBUS2 Protocol
07-30-2013 09:44 AM  4 years agoPost 61
Arseni

rrNovice

Obninsk - Russia

My Posts: All  Forum  Topic

Happy to see progress!

PM  EMAIL  Attn:RR  Quote
07-30-2013 02:11 PM  4 years agoPost 62
Four Stroker

rrElite Veteran

Atlanta

My Posts: All  Forum  Topic

Are you guys going to hack the TX s/w so that you can display the new sensors ?

PM  EMAIL  GALLERY  Attn:RR  Quote
07-30-2013 03:33 PM  4 years agoPost 63
Tomsdk

rrNovice

Vestbjerg - Denmark

My Posts: All  Forum  Topic

Hello 4S,

No way. Futaba has great products, with high quality. If you start hacking stuff, you will loose the quality and stability of the original firmware. In that case, you are better off buying a low-cost system

Instead, we emulate existing sensors to provide the needed telemetry data.

For example, my Jet-FuelGauge (using a flow sensor), simply emulates a CURR1678 sensor to provide a percentage of fuel left in the tanks

-Thomas

PM  EMAIL  Attn:RR  Quote
07-30-2013 10:03 PM  4 years agoPost 64
fatlady

rrNovice

Netherlands

My Posts: All  Forum  Topic

thanks Thomas

tri-state I also found that out last night, I ordered these
SN74AUP2G240DCUR, dual channel inverted buffer. Separate lines for switching in an SSOP package. Was not easy to buy here in the Netherlands. Timing mechanism is programmed, stuck now because I can't go a head with sending the 3 bytes of data.

These PCB's I make my self, easy to make one evenings work, I only not going smaller then 0805 for the passive components. Cant see them any more then. The soldering is not what it use to be in the past. Is 5 years a go that I made my last PCB. Al he stuff still seems to work photo resist developer and etching. only need a new etching bath it is leaking :-)

People that think that revers engineering the software in the transmitter is an option, don't really know what they are talking about.
What we do here is not change receivers transmitters or what, only provide some information in the right format, that is 100th of mills away from changing software in a receiver or transmitter.

Fatlady,

PM  EMAIL  Attn:RR  Quote
07-30-2013 11:36 PM  4 years agoPost 65
Tomsdk

rrNovice

Vestbjerg - Denmark

My Posts: All  Forum  Topic

Hi Fatlady,

Yes, that's the bus driver I'm using. You are going to be very dissappointed by the size of this thing. The pin pitch is 0.5mm.. no problem for PCB (I'm working a lot with 0402 and even with 0201!), but you may get a little trouble soldering it

But, if you're looking for an electric fuel gauge, why not check out this:
http://www.tje.dk/efuelgauge/

On the pictures you can actually see the bus driver, right next to the small PIC MCU.

Best regards
Thomas

PM  EMAIL  Attn:RR  Quote
07-31-2013 08:37 AM  4 years agoPost 66
fatlady

rrNovice

Netherlands

My Posts: All  Forum  Topic

:-)

It is not only the fuel gauge, that I want, the internal temperature is also imported, and 150 Amps is just not enough, peek current is > 300A and sustained 200A. And I like that I don't have any other cable , this thing will plug in between the ESC and the receiver and you have, voltage, RPM, current, capacity, temperature. I really like that Ide.

fatlady.

PM  EMAIL  Attn:RR  Quote
08-03-2013 10:29 PM  4 years agoPost 67
dl7uae

rrApprentice

Am a Kraut.

My Posts: All  Forum  Topic

Carsten, Serge, I see my support fell on fertile ground.

Tom

PM  EMAIL  HOMEPAGE  GALLERY  Attn:RR  Quote
08-03-2013 11:21 PM  4 years agoPost 68
Tomsdk

rrNovice

Vestbjerg - Denmark

My Posts: All  Forum  Topic

Welcome to the thread, Tom. The Sbus2-I2C was developed exclusively by me.

Regards,
Thomas.

PM  EMAIL  Attn:RR  Quote
08-07-2013 09:26 PM  4 years agoPost 69
fatlady

rrNovice

Netherlands

My Posts: All  Forum  Topic

new pcb finished, tomorrow i will get the components

with 19 manual via's :-)

fatlady

PM  EMAIL  Attn:RR  Quote
08-08-2013 01:18 AM  4 years agoPost 70
4cyclic

rrKey Veteran

Montreal, Can. and northern Vermont

My Posts: All  Forum  Topic

Looks good, keep us posted.

Life is meaningful flying helis.

PM  EMAIL  GALLERY  Attn:RR  Quote
08-10-2013 10:49 PM  4 years agoPost 71
fatlady

rrNovice

Netherlands

My Posts: All  Forum  Topic

already made a new PCB again, , after I received the components I saw that the buffer/inverter had a different size :-(.
So mad to day a new PCB and soldered everything on.

Maybe tomorrow testing it.

It is now running on 8Mhz, if this is not enough, ( I doubt that ) I can goto 16Mhz ( is out of the spec, but a lot of people already use 16 Mhz

Fatlady

PM  EMAIL  Attn:RR  Quote
08-18-2013 11:09 PM  4 years agoPost 72
fatlady

rrNovice

Netherlands

My Posts: All  Forum  Topic

so low level interface to SBUS2 is ready. This is the low level interface in action showing now the current sensor data.
void loop()
{
static uint8_t data[3]={0x03, 0x40, 0x00 };
static uint8_t counter = 0;
delay(200);

// SBUS2_transmit_telemetry_data( 15 , data);
data[1] = 0x40;
SBUS2_transmit_telemetry_data( 4 , data);
data[1] = 0x00;
SBUS2_transmit_telemetry_data( 5 , data);
SBUS2_transmit_telemetry_data( 6 , data);
if ( (counter % 2) == 0 )
{
//data[0]++;
data[2]++;
}
counter++;
}
first number is the slot number.

you also see how I find device id's. just have the same value as the id. and when it pops up at you screen you can read the id. :-)

I will write all of it down. Found already some strange behavior. The position of the data in a frame slot. is not important it is the ID that tells the slot number. the id is the 3 highest bits in the first byte but then lowest bit of the id number is the highest bit of the byte.

Fatlady,

PM  EMAIL  Attn:RR  Quote
08-19-2013 07:21 AM  4 years agoPost 73
Tomsdk

rrNovice

Vestbjerg - Denmark

My Posts: All  Forum  Topic

Hi Fatlady,

Looking good!

It is correct that timing is less important for correctly sending SBUS2 data BUT I you should ofcourse keep the timing accurate (and also follow frame 0,1,2,3) for co-existance with other SBUS2 units. This is to avoid collision of data.

Cheers, Thomas.

PM  EMAIL  Attn:RR  Quote
09-08-2013 07:18 PM  4 years agoPost 74
Tomsdk

rrNovice

Vestbjerg - Denmark

My Posts: All  Forum  Topic

Oh, and just one other very important detail when making SBUS2 units:

Always place at least 220R (probably max 560R) in SERIES with output drive. This is a safety feature, so that if your the telemetry unit locks up, the receiver can still broadcast the SBUS servo packet. (even if your unit is not in tri-state conditions due to failure)

Best regards
Thomas

PM  EMAIL  Attn:RR  Quote
09-09-2013 09:34 PM  4 years agoPost 75
fatlady

rrNovice

Netherlands

My Posts: All  Forum  Topic

Hi Tom

I had that in my design. But I put it in the receive channel.
Found a second bug in my design, I have the FTDI interface ( to program the ATmega ), this caused everything to work on my test stand with the FTDI connect, and when I removed it, it stopped working. Adding a pull up of 10k for the RX channel solved that problem.

I only need to do two things :
- program Failsave
- And reprogram the capacity calculation, don't have a time running constantly any more. So I don't have a direct time to calculate the mAh.

But I already have a good Idea, I am going to make an SBUS frame counter. I have a current change every 180 ms.
15ms frame length, times 12 ( number of CC esc frames ) with this I know there is a update of the current every 180 ms, so sync to this and I can calculate the mAh. There is even a correction possible when I lose a SBUS frame by using the frame number 0 to 3. :-)

PM  EMAIL  Attn:RR  Quote
01-25-2014 03:19 PM  3 years agoPost 76
Tomsdk

rrNovice

Vestbjerg - Denmark

My Posts: All  Forum  Topic

Hi Guys,

I finally got around to finishing the I2C-SBUS coprocessor. Now available to anyone wanting to make SBUS2 telemetry sensors without fiddling with the SBUS2 interface. Just write telemetry information any time via I2C, and the unit takes care of the rest.. Standard version supports 15 active slots. (that should be enough for most applications)

Pinout and layout:

User manual

Cheers,
Thomas

PM  EMAIL  Attn:RR  Quote
02-07-2016 03:39 PM  20 months agoPost 77
I3DM

rrProfessor

Israel

My Posts: All  Forum  Topic

tomsdk, where can i get these boards?

i have already finished jetcat serial data parsing and display to GSU (LCD), and now thinking about writing code for telemetry display via SBUS2.

Watch at YouTube

www.liorzahavi.com

PM  EMAIL  HOMEPAGE  GALLERY  Attn:RR  Quote
WATCH
 4 pages [ <<    <     2      3     ( 4 )    >    >> ] 17970 views POST REPLY
Scorpion Power Scorpion Power
HelicopterRadio - Futaba FASST › SBUS2 Protocol
 Print TOPIC  Make Suggestion 

 20  Topic Subscribe

Tuesday, October 17 - 4:17 pm - Copyright © 2000-2017 RunRyder   EMAILEnable Cookies

Login Here
 New Subscriptions 
 Buddies Online