Shop OBEX P1 Docs P2 Docs Learn Events
UAV Science fair project using the BS2p24 or 40 — Parallax Forums

UAV Science fair project using the BS2p24 or 40

noobmunchernoobmuncher Posts: 124
edited 2008-09-06 00:50 in Robotics
Hello,

One of my friends and i are working on a science Unmanned Aerial Vehicle controlled with a BS2p hopefully the 40 pin model, but possibly the 24. Now i realize i would be better off with a propeller chip or something along those lines, but we are fairly sure we can get this to work. My question though is does anyone know where i can buy a BS2p24/40 Demo Board for under $100 and then have it shipped into Canada fairly cheaply? The one place i was able to find it in stock would cost me $65 to ship it, and there are very few places that ship it anymore. Also can anyone recommend and other development boards that are cheaper and will work with the BS2p40 other then the professional development board?

Thanks, I will be continue to post our progress as we move along with our project (I still have to get around to posting my finished "Jeeves" project bot).

Comments

  • FranklinFranklin Posts: 4,747
    edited 2008-08-30 21:54
    These guys are IN Canada. www.hvwtech.com/products_list.asp?CatID=90&SubCatID=93&SubSubCatID=139

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • Tom CTom C Posts: 461
    edited 2008-08-30 22:46
    noobmuncher,

    A UAV can be put together with just a BS2p24 and a GPS.

    Checkout the attached·code files.

    Start with uav.bsp and work your way through the rest of the code files.

    Each code segment is designed to fit in the BS2p's 2k eprom banks.

    I did not write the code, but got it from a UAV website. I have modified the code to work with a UTV.

    Regards,
    TCIII

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!

    Post Edited (Tom C) : 8/30/2008 10:54:28 PM GMT
  • simonlsimonl Posts: 866
    edited 2008-08-31 18:37
    Is that the same code as on the DIYDrones site @ diydrones.ning.com/profiles/blog/show?id=705844%3ABlogPost%3A625 (BTW: If so, you've missed 'rcmode.bsp wink.gif)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheers,
    Simon

    www.norfolkhelicopterclub.com

    You'll always have as many take-offs as landings, the trick is to be sure you can take-off again wink.gif
    BTW: I type as I'm thinking, so please don't take any offence at my writing style smile.gif
  • noobmunchernoobmuncher Posts: 124
    edited 2008-08-31 20:05
    Thanks everyone for the help, especially those codes. Unfortunately i am not following the same route as the people who designed the code did. My craft would be closer to a helicopter then anything, but not really because it has multiple rotors. Anyhow i will be able to modify this and put it to good use thanks. Also with HVW tech. I order through them alot, but unfortunately they don't provided the demo board, they just sell this premade one www.hvwtech.com/products_view.asp?ProductID=565 Would this work do you think? How would i power it?
  • FranklinFranklin Posts: 4,747
    edited 2008-09-01 00:38
    It has a power jack.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • noobmunchernoobmuncher Posts: 124
    edited 2008-09-01 10:10
    Sorry let me clarify that, how would i power it so that it is not connected to a wall socket. This a UAV, is that power jack for purely wall mounts or it just has that type of jack and as long as i feed the right amount of power into it through batteries i should be fine. I am planning on using 3 or more of these batteries (depending on the configuration)www.sparkfun.com/commerce/product_info.php?products_id=8483. Okay my next question is assuming i am going with a similar design as the dragon flyer x6 www.draganfly.com/uav-helicopter/draganflyer-x6/ (except with only one set of rotors each, but with one of those self balancing ones on top) would i be fine with 1 3-axis accelerometer or am i best to go with 3, one in each "leg"? i am using these accelerometers unless anyone has any cheap good suggestions. www.sparkfun.com/commerce/product_info.php?products_id=8637.

    Thanks for all the help everyone, any further help or suggestions/ comments is really appreciated too.
  • SRLMSRLM Posts: 5,045
    edited 2008-09-05 19:34
    It shouldn't matter which power supply you use: wall or battery. Just be sure that the input is in the desired voltage range with enough amps to get the job done.

    As for the accelerometer, you only need one (in the main body most likely since the bot will know what position the servos are in that control the arm. And might I ask: what is the acceleromter supposed to do? If you want it to sense when the bot is tilting over it won't work. It will confuse a change in speed with tilt, and correct with catostrophic effects. To sense tilt, you need a gyroscope.
  • Tom CTom C Posts: 461
    edited 2008-09-06 00:05
    simonl,

    The BS2p code files that I attached to my reply were the original "UAVParallax" code files while the code files that include rcmode.bsp came later and are called the "BasicStampUAV" code files.

    Regards,

    TCIII

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    If you are going to send·a Robot·to save the world, you·better make sure it likes it the way it is!
  • allanlane5allanlane5 Posts: 3,815
    edited 2008-09-06 00:50
    Sure, you want a portable power supply, that you can plug and unplug at will.

    4 AAA batteries, rechargeable, would be a good pack. Or, you could get
    a 7.2 volt rechargeable pack, that would work well too.

    For a small platform, you want a battery source that you will completely
    drain in 15 to 30 minutes. Any more would simply be weight you carry
    around to no purpose.
Sign In or Register to comment.