element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Raspberry Pi 3
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: colonel_dirty
  • Date Created: 10 Mar 2018 9:26 PM Date Created
  • Views 1639 views
  • Likes 0 likes
  • Comments 6 comments
Related
Recommended
  • remote controlled car
  • robotics
  • help!!
  • xbox controller
  • raspberry pi3
  • raspberry pi3 code
  • robotics controller

Raspberry Pi 3

colonel_dirty
colonel_dirty
10 Mar 2018

Salutations I am a student at Northern Arizona University,


      I am currently a participating in a robotics competition. I have a degree in Mechanical engineering and I am currently pursuing a second degree in computer science. The robot we are making for the competition is a soccer playing robot this is my first time doing programing like this. I have an understanding in Python and Java. We are using a Raspberry Pi 3 for the brains of the robot. I have installed Raspian and Retropie on-top to facilitate in creating a way to communicate wireless through Bluetooth. I am confused on how to create a program to create methods to layer onto the button events.

 

     Can someone help with documentation I have been searching the web and I have not been successful in acquiring information on the subject at hand. I need an angel, who is out there that can help.

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 7 years ago in reply to colonel_dirty +4
    This looks like the right documentation for you: https://core-electronics.com.au/tutorials/using-usb-and-bluetooth-controllers-with-python.html There is also this: https://github.com/jalopezsuarez/piback…
  • shabaz
    shabaz over 7 years ago +3
    Hi Norman, There isn't a single source of documentation, but if you let me know what programming language you're using, and more detail about precisely what you're looking for, then I can help. Right now…
  • colonel_dirty
    colonel_dirty over 7 years ago in reply to shabaz +1
    I am currently using python3 I have the code documentation on the Motor-shield v.1 for the raspberry pi3 which is provided by www.maker-sphere.co.uk which is actually posted on https://github.com/sbcshop…
  • colporteur
    colporteur over 5 years ago in reply to colonel_dirty

    Welcome to the E14 community. Many members are like fire hoses when it comes to providing responses. The more you invest in providing details, the greater the chance you will get hits from first responders. 

     

    I have done some extensive work with connecting Bluetooth audio devices. Raspbian Buster (full only) has finally started addressing the issues with the Bluetooth service.  Drop me a line and I can send you an article I wrote for a computer magazine. I can't share the resource on a public forum but am willing to share privately with a promise you won't post it.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 7 years ago in reply to colonel_dirty

    Best of luck : ) It will be cool to see all the pics : )

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colonel_dirty
    colonel_dirty over 7 years ago in reply to shabaz

    WOW.................... I have been searching for stuff online for a while now....... I wish I would have subscribed to this site long ago. I am happy that there exists a community that has such interests. I am going to follow these steps and try to get this bot rolling thank you for your help. Cheers I'll post photos of the final build.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 7 years ago in reply to colonel_dirty

    This looks like the right documentation for you:

    https://core-electronics.com.au/tutorials/using-usb-and-bluetooth-controllers-with-python.html

    There is also this:

    https://github.com/jalopezsuarez/piback/wiki/Controllers-Bluetooth

     

    The Retropie software isn't needed, the operating system (Linux) is capable of providing you key events through drivers, and these can be collected in Python. From there you can control your motors using the examples in the PDF document that you referred to.

     

    If you were to try to pull hooks from the Retropie software, you'd need to delve into the RetroPie code, make changes and recompile. It would be very unconventional/strange to do it this way, and would be more effort.

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • colonel_dirty
    colonel_dirty over 7 years ago in reply to shabaz

    I am currently using python3 I have the code documentation on the Motor-shield v.1 for the raspberry pi3 which is provided by www.maker-sphere.co.uk which is actually posted on https://github.com/sbcshop/motor-shield/blob/master/Maker-SphereMotorShieldv1.pdf. So I am using Raspbian for the operating system for the raspberry pi and I am using retropie as an emulator. The emulator runs on boot up and I am able to connect wireless through Bluetooth to the pie by means of the emulator. What I want to do, which is where I am stuck at the moment, is I have no clue how this code should be implemented to the pie in such a way to where my already connected controller may be able to run functions from the code to operate motor ports from the raspberry pie. So in summary I have event clicks happening already I want to code those event clicks somehow to my functions so my program can operate the raspberry pi which will command the motors to operate based off an existing controller.

    • Cancel
    • Vote Up +1 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