element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Attack of the Drones
  • Challenges & Projects
  • Project14
  • Attack of the Drones
  • More
  • Cancel
Attack of the Drones
Blog Dromes4All : The First Prototype
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Attack of the Drones requires membership for participation - click to join
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dubbie
  • Date Created: 23 Apr 2021 8:13 PM Date Created
  • Views 276 views
  • Likes 8 likes
  • Comments 6 comments
  • nano
  • 3D Printing
  • dromes4all
  • servo_360
  • attackofthedronesch
Related
Recommended

Dromes4All : The First Prototype

dubbie
dubbie
23 Apr 2021

Having decided to have a go at making some drones, based on the fact that I have four plastic domes and Nanos I have now progressed to an initial prototype. My plan is to make four identical domed drones (I will now call them Dromes) which will be able to operate as a single entity or as four individual drones - well, why not!

 

I got off to a good start as I had two 360 micro servo motors, also called continuous servo motors, and as I want to make at least four I am 3D printing the chassis. In order to minimise the amount of assembling I designed a solid base with an indent the exact same outline as the micro servo motor so that it will just 'click' in and not need any further fixing. This all went well and I made a simple 3D test base. So, I ordered more 360 degree servo motors and hey presto - they are a different size!. The two I already had were Feetech FT90R but the new ones are Feetech FT90R which have a 1 mm longer body. I wondered what the difference between the FS90R and FT90r was, and now I know. So, a second 3D based was created and this time the servos fitted exactly with a satisfying 'click' and do not seem to need any additional fixing.

 

Normally I jump straight into the circuit as it is fun and wait until I have made my mobile robots before thinking about battery supply and encapsulation, which means I end up with a messy looking system. But this time I decided to start with the battery power supply as well as how to encapsulate it. LiPo seems the way to go being much smaller and lighter than AA or AAA batteries. Regretfully 1C LiPos only provide 3.7V and 2C LiPos will be too big - and expensive, so a DC-DC convertor is needed to boost the 3.7V to a better 5.5V needed by the Servos. This additionally means that I can use a 5V Nano rather than trying to mess about with 3.3V versions. Add a couple of 3D printed wheels with O ring tyres and a few wires and the initial prototype was created. See the circuit diagram below:

 

 

I've used 360 degree servo motors for mobile robots before so I just borrowed one of my existing programmes, simplified it a bit and made something that will move backwards and forwards for 1 second periods, just so I can make sure everything is working well. It is a simple programme using the servo.h library with an infinite while loop with three functions: mystop(), forwards() and backwards() - all fairly self-explanatory. The while loop is listed below.

 

while(1)

  {

    forward(170);

    delay(1000);

    mystop();

    delay(1000);

    backward(170);

    delay(1000);

    mystop();

    delay(1000);

  } /* while */

 

The following are the three functions used.

 

void backward(int speed)

 

{

  myservo1.write(speed); 

  myservo2.write(max_speed - speed); 

} /* backward */

 

void forward(int speed)

 

{

  myservo1.write(max_speed - speed); 

  myservo2.write(speed); 

} /* forward */

 

void mystop(void)

 

{

  myservo1.write(stop_speed); 

  myservo2.write(stop_speed); 

} /* mystop */

 

At the moment I am using a small protoboard for the Nano while the circuit is being developed so I just added an indent into the top of the battery casing. Sadly, despite measuring the protoboard twice I still made a mistake and it doesn't quite fit into the indent, but a bit of BlueTac fixed that problem. So now I have a fully working Drome!

 

You don't have permission to edit metadata of this video.
Edit media
x
Upload Preview

 

At this point I realised that the Dromes will need some form of communication channel as I will need to provide control commands. At present I do not have any solutions in mind, other than  possibly some sort of IR channel. I haven't used IR communications before so that should be interesting and fun, and hopefully cheap as well. I want to add an OLED graphic display to the top of the Drome chassis somewhere, to provide a face and some personality to each Drome. I have used an OLED graphic display before so this does not seem too difficult.

 

If all this goes well I might even add a few flashing LEDs just to make it a bit more fun.

 

Onward now to making a fully working Drome and then three more.

 

Dubbie

Anonymous

Top Comments

  • bartokon
    bartokon over 1 year ago +3

     Great work!

    But in my honest opinion duck-tape sentry guns are the best!

    You don't have permission…

  • bartokon
    bartokon over 1 year ago in reply to dubbie +2

    Yes, it works even better with sounds. For example, cat will learn that some buzzer means laser → hunt.

    I think red color is the most visible, so there should be no problem leaving it outside in full sun…

  • DAB
    DAB over 1 year ago +1

    Nice build.

     

    DAB

  • bartokon
    bartokon over 1 year ago in reply to dubbie

    Yes, it works even better with sounds. For example, cat will learn that some buzzer means laser → hunt.

    I think red color is the most visible, so there should be no problem leaving it outside in full sun. Also, you could buy a more powerful laser than 5mw.

    • Cancel
    • Up +2 Down
    • Reply
    • More
    • Cancel
  • dubbie
    dubbie over 1 year ago

    Bartosz,

     

    I wonder if it would work outside so that the cats digging in my garden would become so entranced they would forget to dig/poo?

     

    Dubbie

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • bartokon
    bartokon over 1 year ago in reply to dubbie

    Laser is permanently on. If I turned it off cat could lose track of it I have considered using PWM for brightness, but darker laser could be not visible in bright light.

    This "System" can last like 4 days non-stop on 10k battery bank, so I think power is not an issue.

    The Only thing I could change is lower motor speed based on max distance of the center position for each axis. As laser is further away it goes faster and faster...

     

    Cat loves it and I have some peace because of that

    I'm calling this design cat-auto-nanny <3

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • dubbie
    dubbie over 1 year ago in reply to bartokon

    Bartosz,

     

    This looks good. Does the laser turn off or is it permanently on? The cat seems mesmerised!

     

    Dubbie

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • DAB
    DAB over 1 year ago

    Nice build.

     

    DAB

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
>
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube