element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
  • Settings
Attack of the Drones
  • Challenges & Projects
  • Project14
  • Attack of the Drones
  • More
  • Cancel
Attack of the Drones
Blog Dromes4All : Fully Functional Working Drome! Hooray!
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Attack of the Drones to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dubbie
  • Date Created: 21 May 2021 5:29 PM Date Created
  • Views 1718 views
  • Likes 8 likes
  • Comments 3 comments
  • nano
  • ir transceiver
  • oled display
  • dromes4all
  • continuous servo
Related
Recommended

Dromes4All : Fully Functional Working Drome! Hooray!

dubbie
dubbie
21 May 2021

I have beaten the deadline and produced a fully working Drome4All a week before the deadline (two deadlines in  one sentence - terrible grammar but I'm tired and cannot be bothered to do any more thinking). It's been raining and blowing and I haven't been able to get into the garden much recently so I worked on my Dromes4All for the last couple of days and amazingly managed to create a fully working system. Sadly,  I have only managed to create one Drome so I think it might be better to call it DromeOne. Additionally, it doesn't have any dome either so a better title is now DroneOne. Still a good title.

I had to create a whole new circuit to create the IR commands to control DroneOne. This was just a Nano, with five push button inputs (forwards, stop, backwards, left and right) and the IR transceiver, see the circuit below:

 

image

 

I soldered all this together using stripboard and ended up with the following, which for me is pretty tidy; and it works.

 

image

 

The programme for this controller is listed below. It is fairly straight forward,  when a button is pressed it transmitted the first ASCII character of the command, so G for G, S for stop and so on. The main loop fragment is listed below. I have included the full listing at the end.

 

while (1)

  {

    if (anybuttonpress())

      {

        digitalWrite(LED_BUILTIN, HIGH);

        button = getbuttonpress();

        sendbuttonpress(button);

        delay(250);

      }

    else

      {

        digitalWrite(LED_BUILTIN, LOW);

        delay(50); 

      }

  } /* while */

 

The Drome itself has been improved with a 126x64 OLED display that I was planning to display a robot face graphic on. Sadly I didn't get around to that but it does show some text just to show it is working. The Robot Faces are only a few hours programming away.

 

I also added an IR transceiver module to the serial connections (Tx and Rx) with the final circuit for the Drome illustrated below:

 

image

 

I have included the fragment of the Drome programme below. It is a simple while loop that just waits for a command over the IR communication link and then executes it. It is nothing fancy, maybe I might do something more interesting at a later date. Maybe.

 

while (1)

  {

    Dromecommand = getIRcommand();

    Serial.print(Dromecommand);

    Serial.print(' ');

    IRvalue = getIRcommand();

    Serial.print(IRvalue);

    Serial.print(' ');

    IRvalue = getIRcommand();

    Serial.print(IRvalue);

    Serial.println(' ');

    executecommand(Dromecommand);

  } /* while */  

 

Below is a video of the fully working (?) Drome. The Drome does seem to have some problems. It will go forwards and backwards but when commanded to turn left or right it only completes the command sporadically. It should turn for one second but sometimes it just does a short turn. My suspicion is that the motors are causing a dip in voltage which is creating a brown-out reset. It doesn't seem to happen when going forwards or backwards, so maybe there is a bigger demand on the motors due to inertia or momentum when turning. Who knows. I used a LiPo battery with a buck boost converter to try and overcome this motor inrush current problem but I do not think it has fully worked. Maybe I'll just stick a couple of Supercapacitors into the circuit (The Completely Useless Robot - But with Superca... | element14 | Cheer Us Up) and see if that works.

 

Having thought about it a bit I realised that when the Drome was lifted off it's wheels for testing purposes it worked correctly for left and right, as well as forwards and backwards so it may be that using metal hex spacers might have made the chassis heavier and hence requiring more motor current to get going. I'll have to try replacing the metal hex spacers with plastics one to see if this fixes the problem. So I just replaced 10 metal hex spacers with nylon ones and - now it doesn't work at all. There is some problem that I am not yet perceiving, most likely to be power supply related, it usually is when motors are involved. Never mind!

 

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

 

This has been a pretty fun project (apart from the frustrations with getting the IR transceiver to work). It is the best packaged project I think I have ever put together,, altohugh I still have some improvement to make in my ability in this area. I made a mobile robot which was almost what I set out to achieve, I learnt a great deal about the NEC IR trnsceiver module and finished before the deadline - well almost anyway.

 

Now it's time for tea!

 

Dubbie

 

PS The Element14 Blog wouldn't let me attach the two Arduino .INO files, not sure why as they are only text. If anyone wants the full listings I will add them to this Blog later.

  • Sign in to reply

Top Comments

  • DAB
    DAB over 4 years ago +3
    Nice project. DAB
  • maxpowerr
    maxpowerr over 4 years ago +2
    Cool project well done!
  • kmikemoo
    kmikemoo over 4 years ago +2
    Loved the video. Great project.
  • kmikemoo
    kmikemoo over 4 years ago

    Loved the video.  Great project.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 4 years ago

    Nice project.

     

    DAB

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • maxpowerr
    maxpowerr over 4 years ago

    Cool project well done!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

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 © 2025 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

  • X
  • Facebook
  • linkedin
  • YouTube