LibrePilot Forum
Development => Hardware => Topic started by: m_thread on July 28, 2015, 11:01:54 am
-
Just ordered a Sparky2 from here: http://www.hobbiesfly.com/taulabs-sparky2-0.html (http://www.hobbiesfly.com/taulabs-sparky2-0.html)
Very excited to see how it performs :) Hopefully we can add support for it in LibrePilot soon.
The first thing I will do is to design a case for it similar to the ones I did for the Revolution board.
/Fredrik
-
Looks interesting. Unfortunately, it looks as though you have to solder the pins - not so good for people like me. I have tried to do this previously with other products and ruined them. Maybe I need a new soldering system?
I also don't know a lot about the specs, etc on this board in regards to performance, etc. Is there any info on how it compares to other boards on the market with similar specs?
-
Hi Anthony
Soldering the headers is quite easy. It just takes some careful planning. Start with placing the header in a correct position. Solder one of the outer pins and check the alignment. As long as only one pin is soldered it is easy to adjust. The solder one pin on the opposite side. If all is aligned and looks ok, just do the rest :) I guess you could easily find someone to do it for you if you feel you aren't up to it.
Regarding the performance of the board I would say it is an evolution of the OP Revolution board. Same MCU but better sensors and more I/O.
/Fredrik
-
Thanks Fredrik,
I did try that same technique, but I think my current soldering equipment needs some upgrading. Yeah I know, I sound like a poor tradesman blaming his tools......
I think I will eventually invest in a SMD rework station.
Thanks also for your info on the performance of the board.
-
Happy to solder for you ant :)
-
Happy to solder for you ant :)
Thanks mate. I might just take you up on that offer. I'm seriously thinking of having a closer look at this board.
-
Me too!
-
Ok, so I sat down with my favorite 3d designing tool and made a case for this board.
I think it turned out quite good. I still could make some more simplifications to make it faster to fabricate. But I will wait with that I think.
/Fredrik
-
And what software is your favorite?
-
Is this a trick question?
I'm using MS Paint of course ;)
-
Then we use same :) but i prefere (how do i spell prefere? ) a more solid software for design
-
It's spelled 'prefer' :) Well, it has happened once or twice that I have used a more Solid software on my Works-tation also...
/F
-
The case looks very nice man. But, then again, all your cases are very nice.
Keen to hear your thoughts on Sparky2 once you have tried it out.
BTW, if people can't get hold of a GPS like the V9, then what other alternatives are there, if any??
-
BTW, if people can't get hold of a GPS like the V9, then what other alternatives are there, if any??
I personally have build two 500mm quads with Revos and used the Revos' on board mags with a cheap ($15 shipped) eBay GPS. It works very well. You must carefully twist all your main power wire pairs (and motor wire triplets) to reduce magnetic fields. There are some Power Distribution Boards that are not designed to work with mags. Stay away from the PDB's that have C shaped traces.
Using the on board mags is not a good idea for mini quads or very high powered quads (multicopters). The mag fields from the power wires are too close / strong to get good mag readings.
The cheap eBay GPS's even have mags built in and we are working on getting these mags working with LP code. My logic analyzer just arrived and I am waiting on some cables. The one bad thing is that means the GPS/mag needs two ports, one for GPS and one for mag. That kind of leaves Nano out if you want to do anything else like telemetry or OSD. It even leaves Revo out if you want OSD. The preferred solution seems to be the TauLabs Sparky 2.0 ($85 plus shipping, if it costs less, it is probably a 1.0). We hope to get the Sparky 2.0 working with LP code soon too. :) This is basically a Revo with more ports and more recent sensors (same sensors as Nano). That is everything I need in an FC at least. Nothing wrong with Revo sensors mind you... There is another thread here that talks about getting inexpensive clone Revos and OpLinks from thanksbuyer.com if you want something inexpensive that works right now.
I use these PDB's.
http://www.ebay.com/itm/5cm-Multi-Copter-8-ESC-Power-Battery-Connection-Board-for-RC-KK-Quadcopter-Blue-/271950035621
I currently use this GPS ($15 shipped) on my favorite 500mm Revo quad. You have to egg out the holes 1.5mm each to stack it with a Revo. The one I got (YMMV) just needed the supplied cable pins put into a standard OP JST-SH connector in the right order to get the GPS (not mags) working.
http://www.ebay.com/itm/Ublox-NEO-6M-GPS-HMC5883L-Compass-Module-APM-2-6-ARDUPILOT-MEGA-2-6-GPS-6M-/281573515693
I have bought this M8N (OP V10) GPS ($22 shipped) (and another) and am working on getting the mags working with it. Supplied cable must be cut and spliced to an OP (JST-SH 1.0mm) cable.
http://www.ebay.com/itm/251997592219
JST-SH 1.0mm half-cable (plus connector that goes on the board) 20 for $6 shipped
http://www.ebay.com/itm/251979895512
-
^^ Thank you, thank you, thank you. Cliff, you are a wealth of knowledge. I'm going to go over those suggested links a little later this afternoon and look into this a little further.
By the sounds of it, my only limitation is my limited knowledge and experience with changing plugs, and wires around with things. I generally don't mess with that sort of thing, but I may have to give it a go.
This place (LibrePilot) just keeps getting better and better.
-
Ok, so I sat down with my favorite 3d designing tool and made a case for this board.
I think it turned out quite good. I still could make some more simplifications to make it faster to fabricate. But I will wait with that I think.
/Fredrik
Hi Friedrik,
How much it will cost to get Sparky2 case from you ? Are you selling them ? If so, can you PM me ?
Thanks,
-
Thanks for sharing your knowledge, experience and links Cliff, much appreciated!
-
BTW, if people can't get hold of a GPS like the V9, then what other alternatives are there, if any??
I have bought this M8N (OP V10) GPS ($22 shipped) (and another) and am working on getting the mags working with it. Supplied cable must be cut and spliced to an OP (JST-SH 1.0mm) cable.
http://www.ebay.com/itm/251997592219
That would make a lot of people happy. :)
-
Yes thanks Cliff that is pretty cool! The GPS option is a big bonus if you can get it up and running.
-
Hi guys,
Regarding the Sparky2 case. If you send me a PM I'm sure we can deal with that :)
/F
-
We are currently taking our first steps with the support in LibrePilot for the Sparky2 board. So far we are doing well and I hope I will be able to present more information here as we progress. Big thanks to TheOtherCliff for the initial work to get this new and exciting hardware up and running.
Attached a teaser image...
/F
-
Going to have to get one of these. Always nice to have some options when it comes to hardware. Looks like the firmware development is moving right along nicely. Awesome work Devs and Thank You :)
-
We are currently taking our first steps with the support in LibrePilot for the Sparky2 board. So far we are doing well and I hope I will be able to present more information here as we progress. Big thanks to TheOtherCliff for the initial work
/F
OMFG!!
This is really exciting news.
-
I currently use this GPS ($15 shipped) on my favorite 500mm Revo quad. You have to egg out the holes 1.5mm each to stack it with a Revo. The one I got (YMMV) just needed the supplied cable pins put into a standard OP JST-SH connector in the right order to get the GPS (not mags) working.
http://www.ebay.com/itm/Ublox-NEO-6M-GPS-HMC5883L-Compass-Module-APM-2-6-ARDUPILOT-MEGA-2-6-GPS-6M-/281573515693
I followed your advice and bought the same one. :)
Any chance you still remember how to wire up the cables to the JST connector. I didn't find a schematic from this one yet.
Edit: found it, made a quick connection diagram.
(http://i.imgur.com/T94yRAe.png)
-
I think you would usually get this one if you were going to stack it on a Revo. As a Neo6 it is the cheapest. Also, you can use the GPS without soldering or making cables (mag requires a little more work though). Just take 4 of the 6 pins out of the GPS cable and put in an OP connector (JST-SH 4 pin 1.0mm)
Be aware that the GPS needs to be powered by 5V standard receiver power (can take more volts, it is regulated on GPS board), but the mag must have 3.3v. If you want to use the mag you need to either steal power from the GPS voltage regulator with a soldered wire on the GPS board, or somehow supply 3.3v to the other GPS connector (using an external voltage regulator).
I have successfully connected the GPS regulated voltage (3.3v) to the mag power, with a wire on the GPS board, and leave the external mag power wire disconnected. I also left off the mag ground wire and rely on the GPS ground wire.
I seem to have better luck calibrating this mag than I do a V9 mag in that it seems to stay green more. Could be other reasons involved though.
IIRC the mag needs a fairly high current pulse at a low duty cycle.
This and other options (especially this Neo8 with mag for $22 http://www.ebay.com/itm/251997592219 ) are discussed in some FTT only threads.
-
Sparky2 and open/librepilot im in ,, looking forward to test , i have a board/setup ready to crash and burn
-
Sparky2 and open/librepilot im in ,, looking forward to test , i have a board/setup ready to crash and burn
First hovering test with Cliff's branch Sparky 2 and Librepilot went fine. Just a short flight outdoors to see that it works.
Notes
- Sparky 2 shipped with TL on it, and after SBL flashing LP firmware didn't want to boot. Thanks to Cliff's help, we managed to unbrick it by flashing TL back, erasing settings on external flash and then flashing LP firmware. This time it didn't trigger watchdog and board boots properly. So erase settings before flashing different firmware
- Now only Sbus works as input to receiver port
- Vehicle wizard and transmitter wizard worked fine
- Sensor calibration (accel, gyro, mag, level, temp) worked fine, although it shows Revo pictures. Just check where Sparky 2 has it's "nose" and follow text during calibration then you're fine.
Otherwise, works perfect :) Next step I guess will be enabling EKF with M8N GPS (which is already implemented) and voltage¤t sensor (don't know if ADC works yet).
-
good news !!!
are you planning an alpha release ?
-
Theese are exciting news! Crashed my "black snapper " today in case of FC failure, time to move to sparky board... Hope theres an easier way to get an external mag working soon!
-
good news !!!
are you planning an alpha release ?
Just heard about all this, please release this ASAP, I don't use my Sparky now as previous software experience was very bad.
Is Nano supported here?
Edit; Sorry, I looked and I have a Sparky not the Sparky2, did not know that hardware existed. Seems like a Revolution clone TBH
-
CC3D, Revo, and Nano are supported in the first release (15.09).
There are too many things that are incomplete in Sparky2 code to call it Alpha, but if you want to get source code and build it, you can do that. PPM doesn't work (Sbus does, on RcvrPort). I2CPort not yet implemented. Setup wizard and calibrations work as expected.
Upcoming release will hopefully have Sparky2 support.
Sparky2 is like a Revo with more ports (important when you want to do a lot of things at the same time, like SBUS, GPS, I2C Aux Mag, OSD, and Telemetry), and with the same sensors as Nano.
To try the Sparky2 code, first you will need to use SBL to write the bootloader.bin
https://forum.librepilot.org/index.php?topic=208.0
If you have a BitBucket account you can build like this (Linux example):
git clone ssh://[email protected]/TheOtherCliff/librepilot.git sparky2tmp
cd sparky2tmp
git checkout theothercliff/LP-72_Sparky2_support
( do whatever you do for tools, I just "ln -s path-to-tools path-to-downloads ." you should "make build_sdk_install" if this is your first time )
make uavobjects ; make -j2 gcs ; make -j2 sparky2
type this to run your new GCS (GCS and firmware versions must match to avoid problems)
./build/librepilot-gcs_release/bin/librepilot-gcs
Start with Sparky board unplugged and no power.
Go into Firmware page and press Rescue before plugging in Sparky2.
Wait for Flash button (a few seconds to become active).
Press Flash.
After flash, press Erase Settings.
-
Is Nano supported here?
Yes, Librepilot 15.09 is fine for Nano.
-
Is Nano supported here?
Yes, Librepilot 15.09 is fine for Nano.
Thank you. Seems a better option as I will not buy anything Tau labs again. There are clones of the Nano out soon also
here: http://www.farwestrotors.com/
-
Thank you. Seems a better option as I will not buy anything Tau labs again. There are clones of the Nano out soon also
here: http://www.farwestrotors.com/
At 36x36mm that's not very nano. Would be cool if the hardware is comparable though, and available.
-
Thank you. Seems a better option as I will not buy anything Tau labs again. There are clones of the Nano out soon also
here: http://www.farwestrotors.com/
At 36x36mm that's not very nano. Would be cool if the hardware is comparable though, and available.
Yeah, same size as CC3D and Naze so easy to mount, available is the key thing!
-
Betaflight port is also inprogress , this will be a very cool FC
http://www.rcgroups.com/forums/showthread.php?t=2533601
-
Any news about the date of the next official release supporting Sparky 2?
-
There is a development branch that several developers are flying on Sparky2, but it needs a little work for release. PPM doesn't work but SBus does.
The plan is that it will be available in the next release which is currently scheduled for January. Be aware though that we ironing out some build issues (tools with "issues") on some really neat new features.
-
There is a development branch that several developers are flying on Sparky2, but it needs a little work for release. PPM doesn't work but SBus does.
The plan is that it will be available in the next release which is currently scheduled for January. Be aware though that we ironing out some build issues (tools with "issues") on some really neat new features.
I've just compiled the GIT Version next, but unfortunately my Sparky 2 isn't supported! :(
Is it possibile to compile a branch (what?) to start using sparky2?
Thank's a lot
-
Did the same a few days ago, didn't find support for sparky 2 either. But there's a fork within librepilot "TheOtherCliff" which has a branch with sparky 2 support. Works well but since ppm doesn't work I'm not able to test it. Soon I guess.
P.s. I'm still trying to understand the connections between all the branches and forks and things in bitbucked, so me writing about that stuff may sound weird.. Sorry.. :D ;-)
-
The short explanation is there are multiple repositories (or forks, essentially copies) of the source. The main one is the librepilot one. Each of the developers has their own repository that they work in. When they have something developed, debugged, and ready for release that code is merged into the main repository. This keeps the main repository much neater and cleaner than if they all worked in the main repository.
Branches are a kind of subdivision of a repository. For instance, TheOtherCliff will have a Sparky2 branch that contains all his work on the Sparky2. He'll have other branches where he works on other unrelated things. When code is merged back into the main repository what is actually merged is a branch. When it's ready for release they'll merge the Sparky2 branch of TheOtherCliff's repository into the main librepilot repository.
-
Here is where you should go to get a link to clone my repo, to build the current Sparky2 support. It is fairly old as compared to next, but I fly it all the time.
Of course realize that it is not released software and that it does have some things that don't work and that you assume responsibility yada yada...
https://bitbucket.org/TheOtherCliff/librepilot/branch/shared/LP-72_Sparky2_support
-
Here is where you should go to get a link to clone my repo, to build the current Sparky2 support. It is fairly old as compared to next, but I fly it all the time.
Of course realize that it is not released software and that it does have some things that don't work and that you assume responsibility yada yada...
https://bitbucket.org/TheOtherCliff/librepilot/branch/shared/LP-72_Sparky2_support
Is it the ppm in general thats not working or is it just the ppm pins? For example, would ppm work if I configure the built in oplink to receive ppm?
-
The built in OpLink doesn't have ports.
PPM just doesn't work at all on Sparky2 right now and Sparky2 doesn't even have a connector for PWM inputs.
-
Any news or date about a possible merge of Sparky2 support in the official repo of LP?
-
Alessio needs to take a look at timers, the output bank stuff, and why PPM doesn't work. He has been busy with other stuff. The hope still is that Sparky2 support will be part of the next release which (at this point in time) is being thought of as 16.03.