Search found 583 matches

by haydent
Thu Jul 23, 2015 12:35 am
Forum: Connecting elements
Topic: Multiwii Serial Communications
Replies: 11
Views: 7185

Re: Multiwii Serial Communications

have a closer look at the github code i put up, its all in there there are no delimiter, the variable size stipulates where the data is, ends and next begins, so to decode MSP_ATTITUDE you just read out 2 lots of 8bits (16 bits/2 bytes)(Int 16) 3 times. m $M< is a 'header' that indicated a command i...
by haydent
Wed Jul 22, 2015 2:15 pm
Forum: Connecting elements
Topic: Multiwii Serial Communications
Replies: 11
Views: 7185

Re: Multiwii Serial Communications

Ok, so nano will be a little hard to develeop on in your situation only having one serial port, so you wont be able to use the code i added for serial1

you can see the format the data is retrieved in by looking at the structs in the header file and the mw msp wiki
by haydent
Wed Jul 22, 2015 11:05 am
Forum: Connecting elements
Topic: Multiwii Serial Communications
Replies: 11
Views: 7185

Re: Multiwii Serial Communications

here you go try running this, what arduino model are doing this on ?
https://github.com/hayden-t/multiwiiDataLogger
by haydent
Wed Jul 22, 2015 10:36 am
Forum: Connecting elements
Topic: Multiwii Serial Communications
Replies: 11
Views: 7185

Re: Multiwii Serial Communications

just working on a stripped down version of the data logger for you as that seems like a good place to start.

also in regard to an arduino sketch you will generally need all the files. you cant just take out some of them and expect it to compile and run if thats what you tried...
by haydent
Tue Jul 21, 2015 12:20 am
Forum: Connecting elements
Topic: Multiwii Serial Communications
Replies: 11
Views: 7185

Re: Multiwii Serial Communications

Can you post any code you have tried?
by haydent
Sun Jul 19, 2015 12:46 pm
Forum: Software development
Topic: Help required from Multiwii coders
Replies: 1
Views: 1447

Re: Help required from Multiwii coders

i imagine there are arduino libraries for this sort of thing ?
by haydent
Sun Jul 19, 2015 12:39 pm
Forum: FPV, OSD, Cameras
Topic: 3G / 4G Telemetry using Andruav
Replies: 1
Views: 3243

Re: 3G / 4G Telemetry using Andruav

thanks for posting, consider adding to your topic title to make it seem more like you are offering rather than questioning.
by haydent
Sun Jul 19, 2015 12:36 pm
Forum: Software development
Topic: Initialization of PWM for Mega boards
Replies: 1
Views: 1449

Re: Initialization of PWM for Mega boards

you could be onto something, though i know little about this topic, ive been looking at it recently and found other spots where higher bits weren't set and wondered why not ... ?
by haydent
Sun Jul 19, 2015 12:30 pm
Forum: Shields, boards and sensors
Topic: Additional Pins?
Replies: 1
Views: 1533

Re: Additional Pins?

sure if you added them you could use them, for things like measuring things or output things, the gerneral arduino sort of thing
by haydent
Sun Jul 19, 2015 12:26 pm
Forum: Connecting elements
Topic: Multiwii Serial Communications
Replies: 11
Views: 7185

Re: Multiwii Serial Communications

have a look at the osd projects to see how they do it
by haydent
Fri Jun 05, 2015 10:17 am
Forum: Software development
Topic: FRSKY telemetry integration into Multiwii 2.4 has started
Replies: 71
Views: 33212

Re: FRSKY telemetry integration into Multiwii 2.4 has starte

yeah looking at the telemetry code attached above they dont seem to be using any checksums and it uses the old protocol
by haydent
Wed May 27, 2015 12:30 pm
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

an incomplete burn can mean you end up with no working bootloader that is needed for usb, what if you try burning the blink example sketch via programmer ?
by haydent
Wed May 27, 2015 11:52 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

sorry to hear that you my have done that. maybe silly question, but have you tried flashing with stock arduino bootloader ? or burning the blink sketch via programmer ?
by haydent
Wed May 27, 2015 4:30 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

have not heard of that error, maybe try googling it
by haydent
Thu May 21, 2015 8:51 am
Forum: Connecting elements
Topic: How to change a motor pin layout?
Replies: 2
Views: 3053

Re: How to change a motor pin layout?

have a look here:
viewtopic.php?f=8&t=5004#p55451

method 1 will not work
method 2 is close but look at my link
by haydent
Fri May 08, 2015 1:04 am
Forum: Software development
Topic: NEW: FrSky Smart Port (AKA S.PORT) Support for MultiWii
Replies: 20
Views: 23177

Re: NEW: FrSky Smart Port (AKA S.PORT) Support for MultiWii

I am just wondering whether time was not ripe to integrate also the S.PORT protocol into the 2 new files Telemetry.cpp/h of the multiwii main trunk http://www.multiwii.com/forum/viewtopic.php?f=8&t=6249 , which host currently the implementation of the old Frsky protocol. The S.PORT protocol can...
by haydent
Fri May 08, 2015 1:00 am
Forum: Software development
Topic: FRSKY telemetry integration into Multiwii 2.4 has started
Replies: 71
Views: 33212

Re: FRSKY telemetry integration into Multiwii 2.4 has starte

hey quadbow, who got this in to trunk for you? i want to get in smartport integration too, also we can work together to not overlap, though mine focusses on data in from smart port rather than data out in your case, one day data out will be done for smart port too
by haydent
Wed Apr 15, 2015 2:28 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

so it will work with flashing the bootloader, you just cant have it connected to port 0 during startup. so once your fc is powered up, you can connect it then
by haydent
Wed Apr 15, 2015 2:00 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

are you talking about loading the bootloader i put up that lets you use com0 ? if so yeah usbasp and ide will work. you will need to load the boot loader file into the ide as a new board profile, or replace the bootloader file of an existing profile
by haydent
Thu Mar 19, 2015 6:24 am
Forum: Ideas
Topic: Direct Frsky telemtry data from MW FC
Replies: 359
Views: 1157228

Re: Direct Frsky telemtry data from MW FC

After 2.4 release, are you ok to integrate and support frsky things in the main branch ? Hi Alex, I would be pleased to do so. The question would be how to integrate frsky telemetry into multiwii leaving some room for other telemetry protocols like hott, s.port, etc. My proposal would be to start w...
by haydent
Mon Mar 16, 2015 3:03 am
Forum: Software development
Topic: 2.4 is finally here :)
Replies: 71
Views: 101626

Re: 2.4 is finally here :)

thanks for your continued work all !
by haydent
Sun Mar 15, 2015 9:41 am
Forum: Software development
Topic: Serial Pass Through Mode, Configure OSD without disconnect
Replies: 5
Views: 5153

Re: Serial Pass Through Mode, Configure OSD without disconne

That would be the 2560 systems. yes, it could be made dependent on that being present The functionality is quite dangerous to be accessible via MSP, no more dangerous than some the other commands available, but as you notice, protected with "if armed" as others are too. #ifdef.ed away - n...
by haydent
Sun Mar 15, 2015 3:10 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

thats good to know. actually the offset will have to be set in multiwii, as it calculates the mah and puts that in the msp too. so in sport.cpp: change current *= 100;// convert 10ths amp to milliamps to current *= 100;// convert 10ths amp to milliamps current += 600;//increase current reading by of...
by haydent
Sun Mar 15, 2015 2:11 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

thanks for this, i can add an offset easy enough. "The Taranis adjustment seems to work pretty well" do you mean by this there is an offset setting in taranis or not ?
by haydent
Sun Mar 15, 2015 12:12 am
Forum: Software development
Topic: Serial Pass Through Mode, Configure OSD without disconnect
Replies: 5
Views: 5153

Serial Pass Through Mode, Configure OSD without disconnect

⋅ This is a simple mode i want integrated into multiwii msp, until then, here is the code as patch's. ⋅ Can i please request reservation of MSP_PASSTHRU_SERIAL 244 in MSP for this, or be assigned another number if one better suits. It's a real time & labour saver meaning you...
by haydent
Fri Mar 13, 2015 10:56 pm
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

thanks,i will add that. you may think mega has plenty but not really, you just osd, gps, s.bus, and s.port and all 4 are taken up meaning you have to share #0 between gui and something else, thus the fallback, to msp when you have the s.port unplugged, i actually got the idea from the gps code that ...
by haydent
Fri Mar 13, 2015 10:56 am
Forum: Software development
Topic: Goggle Code is Shutting down.
Replies: 16
Views: 8504

Re: Goggle Code is Shutting down.

hehe
by haydent
Thu Mar 12, 2015 10:36 pm
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

fair point, and thank you for your feedback, originally in 2.3 that's how i did it with sport.h and sport.cpp files see: (m) but before making this latest patch and submission i asked where was the best place for it as had been previously been advised multiwii did not want any new files, and alex su...
by haydent
Thu Mar 12, 2015 10:32 am
Forum: Software development
Topic: pre 2.4 version r1739
Replies: 47
Views: 23466

Re: pre 2.4 version r1739

Hi guys, not to hijack this thread, though it is the active dev one at moment, i have prepared a newly integrated patch against r1745 of the frsky s.port telemetry code that im hoping to get merged into shared. its here, and can discuss it there not to take up space here please : http://www.multiwii...
by haydent
Thu Mar 12, 2015 10:29 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

here's up to date version (no real changes to features) of the sport code as a patch against r1745, in the hope of getting it merged into the shared trunk and hopefully eventually a full release. please critique my code and suggest any improvements. i modelled the integration on the way gps has been.
by haydent
Thu Mar 12, 2015 10:26 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

thanks. can you compare the readings in your tx and that on the osd, compared with your watt meter, are osd and tx same ?
by haydent
Wed Mar 04, 2015 7:17 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

yeah i have that problem too, not sure what it is, frsky reads .7 amp when watt meter says about 1.1 ... this will throw out the mah reading too... there is this firmware here but it mentions nothing of accuracy... m with some googling i see this here: m so sure it would be easy enough to add a cons...
by haydent
Tue Mar 03, 2015 1:39 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

so i just checked mine and it is working. can you try only using SPORT_FCS in config.h then you should see the voltage measurement from the current sensor as well. as currently if SPORT_FLVSS is enabled you dont, only using current from FCS . also silly question, but you actually do have a load plug...
by haydent
Tue Mar 03, 2015 12:58 am
Forum: Software development
Topic: pre 2.4 version r1729
Replies: 100
Views: 49227

Re: pre 2.4 version r1729

ok thanks for the reply, i had the feeling it would be too late, but will be just happy to get it in there.
by haydent
Mon Mar 02, 2015 3:10 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

no, that is likely another problem. as it uses the existing msp current variable. have you checked if you get a current reading in mw gui ?
by haydent
Mon Mar 02, 2015 2:02 am
Forum: Software development
Topic: pre 2.4 version r1729
Replies: 100
Views: 49227

Re: pre 2.4 version r1729

Hi guys, if its not too late id like to get my frsky s.port code added that takes advantage of the new MSP #130 cells variable. I remember being told not to add any new files to mw, so which area would be best for it ? One of the newer neat features i added was 'host mode' so you dont even need a fr...
by haydent
Mon Mar 02, 2015 1:21 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

ok, simple fix, my patch mvc patch needs updating. mw changed cells data to 130 to in protocol.cpp make it:
#define MSP_CELLS 130 //out message Battery Cell Voltages
by haydent
Sun Mar 01, 2015 6:37 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

ok, first a quick test of your osd, if in the osd gui when its hooked up if you choose "simulate frsky cells" and "simulate on osd" do you get the cell graphs ?
by haydent
Sat Feb 28, 2015 11:18 pm
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

well it sounds and looks like you have it hooked up ok if you are getting a correct voltage. i will have to hook it up myself to see if its still working.
by haydent
Tue Feb 24, 2015 8:16 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

sounds like the ones. we might be stuck without debugging it. le me know when you are home with it.
by haydent
Mon Feb 23, 2015 11:56 pm
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

yep thats what i got too, for current did you enable that sensor ?
by haydent
Mon Feb 23, 2015 6:46 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

rssi is not put into s.port protocol which is stupid i know complain to frsky. what sensors are you using ? i currently only coded it for the ones i have, yours may be different ?
by haydent
Sun Feb 15, 2015 9:41 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

sure, thats what i use it for too, but you dont need it connected while flying, so just unhook it and connect up the s.port connection
by haydent
Sun Feb 15, 2015 3:44 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

yes, shortage of ports. what do you use bt for ? if it just for configuring, you can just disconnect it b4 each flight and plug the s.port connection in
by haydent
Sun Feb 15, 2015 3:20 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

yes you can either have the flight controller connected inline with the other sensors and the reciever's s.port connections and it eaves drops the data or as a standalone host for the sensors without the rx
by haydent
Sun Feb 15, 2015 3:13 am
Forum: Software development
Topic: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell graph)
Replies: 78
Views: 24617

Re: FrSky S.Port Data into MultiWii, MSP & OSD (inc. cell gr

sbus and s.port use different serial speeds and protocols, so are not compatible.

you can however run them on different serial ports, so sbus on 1 and s.port on 0 or 3. which ever you have spare. you will though need another serial inverter.