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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Yet another Pip-Boy project
  • 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
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 17 replies
  • Subscribers 663 subscribers
  • Views 3107 views
  • Users 0 members are here
Related

Yet another Pip-Boy project

lordzoabar
lordzoabar over 5 years ago

Hardware:

Raspberry Pi Zero-W

Adafruit Ultimate GPS breakout

Adafruit I2S 3W Amplifier breakout

Fallout 76 Pip-Boy 2000 MKVI kit
various tactile switches and rotary encoders
*no monitor decided on yet*

 


So I’ve been working on my own Pip-Boy project, and I’ve run into a snag.   I am using the Raspipboy Python program made by Selectnone years ago, (https://bitbucket.org/selectnone/raspipboy/wiki/Home) and have been running into a number of problems.   I want to use it, as it is the most “complete” PipOS I have found (and I know NOTHING about how to even start writing my own).  It was originally written in Python2, but I’ve been able to update my local copy of it to 3.7.  I tried keeping it in Py2, but I get the same issues as I do when running it in 3, and 3 runs faster, anyway.   I’m not at home at the moment, so I don’t have the traceback logs in front of me, but pretty much, every time it makes a call to GPSD to draw up the maps when the Data-Maps tab is opened, it crashes.   If I could just disable the maps tabs, that would be fine with me even, but I don’t know how to safely do that without completely breaking everything else.   If anyone familiar with Python would be willing to take a look at the script package, I can relay all the changes I’ve made, (mostly through trial and error).  If anyone knows of another good PipOS that’s been written, that actually works, I would greatly appreciate that as well. 

  • Sign in to reply
  • Cancel
Parents
  • lordzoabar
    lordzoabar over 5 years ago

    Is there anything anyone else can figure out or assist with?   I’ve already got all the components, and everything works individually.  I would hate to have to just give up on this project all because of a programming issue that I can’t find...  image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • lordzoabar
    lordzoabar over 5 years ago

    Is there anything anyone else can figure out or assist with?   I’ve already got all the components, and everything works individually.  I would hate to have to just give up on this project all because of a programming issue that I can’t find...  image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • onewhosighs
    onewhosighs over 4 years ago in reply to lordzoabar

    I'm working with the same script and having the same error (TypeError: 'NoneType' object is not iterable). I believe this error is present because google maps API now requires an API key.

     

    If you manually go the the URL in the script it says you need an API key. I've got nowhere on fixing it though

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton over 4 years ago in reply to onewhosighs

    API Key?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • onewhosighs
    onewhosighs over 4 years ago in reply to cstanton

    Managed to get a key but no idea how to tell the scripts to use it - it’s not a simple “go to address and return X Y”

     

    not at PC so I can’t get the script up right now

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton over 4 years ago in reply to onewhosighs

    It'll probably need to setup a 'handshake' where it passes the API key to it initially or whenever it requests information, what'll be important is how the script currently does that and how it relates to what works in google's documentation.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • lordzoabar
    lordzoabar over 4 years ago in reply to cstanton

    I’m going to have to go back and take another look at that.  I have an api key, but idk if it was ever actually using it, or if I was using the wrong key entirely.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 4 years ago in reply to lordzoabar

    Just as a general rule, when working with APIs, it is often a lot easier to confirm the API URL, syntax etc., and credentials for any authentication and authorization, and any formats for sent and received data, separately, before trying to put it into the microcontroller code or Pi. Then by the time you're ready to try coding it, you already know in advance that the key is correct and that any formats for sent or received data is correct. One way to test it all out first, is to (say) download an app called 'Postman'. There should be some online guide how to use it, but it has a mostly self-explanatory user interface. Once you've achieved it, the knowledge will be relevant to future API experimentation too, since many of Google's APIs will use a similar method perhaps.

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