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
Open Arduino
  • Challenges & Projects
  • Project14
  • Open Arduino
  • More
  • Cancel
Open Arduino
Blog Cycloboat
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Open Arduino to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Molham
  • Date Created: 29 May 2018 4:21 PM Date Created
  • Views 2425 views
  • Likes 9 likes
  • Comments 9 comments
  • arduino_classic
  • arduinos
  • Arduino Day
  • openarduinoch
  • project14
Related
Recommended

Cycloboat

Molham
Molham
29 May 2018

Cycloboat is a recycled boat robot that uses plastic bottles to float on water.

It can detect objects and avoid it using ultrasonic.

 

I will be posting more videos with some more description later.

 

1. Right Angle Gear Motor: voltage is 4.5-6V with a no load current of 190mA, output shaft is 9mm long and the gearbox ratio is 48:1 with a wheel speed of 140 RPM (unloaded)

2. Dual Ball Bearing Hub

3. Arduino Uno as a brain and control system of Cycloboat

4. L298N Motor Drive Controller Board Module Dual H Bridge.

5. Ultrasonic Module

6. Batteries 4 x 1.5v each total of 6v dc

7. Fan recycled from old fan

8. Sealed wood box.

9. Aluminum Pole and mounting channels hub.

10. Recycled plastic bottles X 3.

image

Figure (1): Right Angle Gear Motor

image

Figure (2): Dual Ball Bearing Hub

image

Figure (3): ARDUINO UNO MCU ATMEGA328p

image

Figure (4): L298N Motor Drive Controller Board Module Dual H Bridge.

image

Figure (5): Ultrasonic Module.

image

Figure (7): Fan recycled from old fan.

Full System

image

Code:

 

$regfile = "m328pdef.dat"
'$regfile = "m16def.dat"
$crystal = 8000000




Config Pind.2 = Output : Dc1 Alias Portd.2 : Reset Dc1
Config Pind.1 = Output : Dc2 Alias Portd.1 : Reset Dc2


Config Pind.3 = Input
Config Portd.4 = Output
Portd.3 = 0
Portd.4 = 0
Dim Distance As Word , W As Word , I As Byte


'-----------------------[LCD Configurations]




Distance = 0
Cls


Do
Pulseout Portd , 4 , 20                                     'Min. 10us pulse
'Waitms 100 'meant for testing error
Pulsein W , Pind , 3 , 1                                    'read distance
Incr I
If Err = 0 Then
W = W * 10                                                  'calcullate to
W = W / 58                                                  ' centimeters
'W = W / 6 ' milimeters
Distance = W
Gosub Move_backward : Waitms 200
Else
Distance = 0
Gosub Move_forward : Waitms 200
End If






Waitms 200
Loop
Return


'--->[Move Renbot with 4 motors forward]
Move_forward:


   Set Dc1 : Reset Dc2
   Waitms 100
Return
'-----------------------


'--->[Move Renbot with 4 motors backward ]
Move_backward:


   Reset Dc1 : Set Dc2 :
   Waitms 100
Return
'-----------------------

imageimageimageimageimage

 

First test:

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

  • Sign in to reply

Top Comments

  • 14rhb
    14rhb over 7 years ago +2
    Hi Molham, A great idea. I was particularly taken though with those neat pre-drilled brackets, and when I searched for 'dual ball bearing hub' I found a site that makes them....they look really useful…
  • tariq.ahmad
    tariq.ahmad over 7 years ago +2
    Very cool!
  • DAB
    DAB over 7 years ago +2
    Your approach has some interesting possibilities. DAB
Parents
  • 14rhb
    14rhb over 7 years ago

    Hi Molham,

     

    A great idea. I was particularly taken though with those neat pre-drilled brackets, and when I searched for 'dual ball bearing hub' I found a site that makes them....they look really useful and I'll have to do some more browsing regards purchasing some from the UK.

     

    Good luck with the design and please keep us updated image

     

    Rod

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Molham
    Molham over 7 years ago in reply to 14rhb

    Thank you, you can buy them from the state as wel I am not sure of you actually live in UK they are on servocity website.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • Molham
    Molham over 7 years ago in reply to 14rhb

    Thank you, you can buy them from the state as wel I am not sure of you actually live in UK they are on servocity website.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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