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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Forum What gets in the way of your Raspberry Pi project?
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Raspberry Pi requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 71 replies
  • Subscribers 142 subscribers
  • Views 5573 views
  • Users 0 members are here
  • pico
  • projects
  • raspberry pi
  • zero
  • introduction
Related

What gets in the way of your Raspberry Pi project?

cstanton
cstanton 2 months ago

For those following along, it's become a bit of a daisy chain...

It's been about 10 years since the Raspberry Pi was released to the world, and I remember everyone being excited. It was a mixture of miscommunication, promises and new technology. An affordable embedded computer that was the size of a credit card. A lot of heated debate about open source and availability, and plenty of marketing. It hit off very well, and everyone clamored to get one, and somewhat still do, and support it. With open source libraries, packages and Linux, quite the contrast to similar boards released around the same time - I think it says a lot when someone has a project and decides 'no, this is how you do it' and leads with a direction and decision and doesn't leave it open for the herd of cats.

Still, a lot of people I know have a collection of Raspberry Pi, and the meme goes 'Yes I have one, it's sat in my drawer collecting dust, I don't know what to do with it' or 'I use it for my media server... and that's about it'. While using a Raspberry Pi as a media server is not a bad thing, it's rather justified (and frankly has spun off a lot of similar products since) it's not the only thing to use a Raspberry Pi for.

Now there's a lot of accessories available, a lot of example code (like other microcontroller boards) but there still must be something about it that trips you up when creating that project. Is it limitations with the hardware? (it is mostly 3v3 after all) or is it the physical size of it? (the compute module, pico and zero start addressing this) well right now it's obviously the availability (or lack) of it, but we can't address that right now, so let's focus on what we do with it when we have one.

We're looking at expanding our content and what we ask from Raspberry Pi (Foundation/Trading) to govern our campaigns and content on the Community, and I'm interested in what you need help with, so reply and let us know, regardless of knowledge level or what you've been doing.

  • Reply
  • Cancel
  • Cancel

Top Replies

  • fmilburn
    fmilburn 2 months ago +6

    I don't work with Linux often enough to get good at it and retain the knowledge.  So when I do, it seems like I'm constantly having to search for something on the internet that I know can be done, …

  • ralphjy
    ralphjy 2 months ago +6

    I agree with the comments from others that the RPi ecosystem has evolved to the point that it's generally very easy to get up and running with a project and for most projects requiring an SBC the RPi is…

  • shabaz
    shabaz 2 months ago in reply to scottiebabe +5

    Start here on element14 : )

    Here's an approach. Firstly, there's only about 4 types of interface available on the PI, so you'd design your circuit as normal, and attach to the interfaces (3.3V logic levels…

  • shabaz
    shabaz 2 months ago

    Hi Christopher,

    Interesting topic, I feel the Pi is very usable now (after so many iterations). From my perspective, the Pi 3B+ is a great all-round platform. The Pi 4 introduces a few small issues, for instance, the power requirements are a bit harder to fulfill, and the registers changed and so not all code is compatible. However, these are small things. My list is small (although I can come up with a very long list of improvements, I don't think they are significant, so these are just three that I think are worth highlighting.


    1. A decent GPIO library for C, or an article on how we should do it with C at good speed.. There is WiringPi, but it's not seen much attention in recent years. I still use my own I2C library, but I can do that, others might not be able to.

    2. A power supply with a cable longer than 1.5 metres, or with a figure-8 mains connector so that we can extend it ourselves with a replacement mains cable. I can't be buying a trailing mains extension cable for each Pi. None of the options on the Farnell website solve this problem for me.

    3. Better, refreshed pinout diagrams. Some of the current ones are not very good. Also, worth showing how to wire a USB UART connector to the Pi, so people can troubleshoot their network issues if the Pi isn't connected to a keyboard/monitor. I don't or extremely rarely have any Pi's connected to a keyboard/monitor so I have no comments in that area.

    • Cancel
    • Up +3 Down
    • Reply
    • Cancel
  • Jan Cumps
    Jan Cumps 2 months ago in reply to shabaz

    Similar experience for me. The easiest SBC to get running.

    The biggest "not in the way", I think, is how easy it is to  Get started with a new board or SD Card.

    The process of

    • flashing the OS to an SD,
    • configuring access and wireless before the board is running
    • then have the raspi-config utility to complete the setup and have a stable start point

    has turned into an action that's easy to perform, without need of external components like a temporary keyboard, screen, mouse, wired cable, serial cable, ...

    I also find it easier to search information for Pi questions.
    I don't know if it is search engine optimisation or continuous updates of the documentation, but I often get results that reply to now, instead of having to assess if instructions are still applicable.

    • Cancel
    • Up +3 Down
    • Reply
    • Cancel
  • cstanton
    cstanton 2 months ago in reply to shabaz
    shabaz said:
    A decent GPIO library for C, or an article on how we should do it with C at good speed.. There is WiringPi, but it's not seen much attention in recent years. I still use my own I2C library, but I can do that, others might not be able to.

    I don't often hear of people using C on the Pi, majority use Python, perhaps that's why GPIO libraries in C are not getting much attention?

    shabaz said:
    Better, refreshed pinout diagrams. Some of the current ones are not very good

    What's missing from them?

    • Cancel
    • Up +2 Down
    • Reply
    • Cancel
  • BigG
    BigG 2 months ago

    Obviously stock is one issue that is more frequently getting in the way. I spotted this on Twitter... www.raspberrypi.com/.../

    • Cancel
    • Up +2 Down
    • Reply
    • Cancel
  • cstanton
    cstanton 2 months ago in reply to BigG
    cstanton said:
    well right now it's obviously the availability (or lack) of it, but we can't address that right now, so let's focus on what we do with it when we have one.
    BigG said:
    I spotted this on Twitter.

    Thanks for the update though Slight smile

    • Cancel
    • Up +2 Down
    • Reply
    • Cancel
  • Jan Cumps
    Jan Cumps 2 months ago in reply to cstanton
    cstanton said:
    I don't often hear of people using C on the Pi

    Wave there are. It's not often a subject for posts here, but I'm trying to make a difference: Sound and Vibration Measurement: MCC172 DAQ Hat for Raspberry Pi - C development: /technologies/test-and-measurement/b/blog/posts/sound-and-vibration-measurement-mcc172-daq-hat-for-raspberry-pi---c-development

    • Cancel
    • Up +4 Down
    • Reply
    • Cancel
  • shabaz
    shabaz 2 months ago in reply to cstanton

    WiringPi isn't receiving attention because there were many commercial users who wanted the WiringPi author's time and harrassed him and didn't stick to the license rules, according to the WiringPi page. I believe there's definitely demand but requires more resources than an individual to create and maintain such a library - in some ways similar to BeagleBone, I wrote a C GPIO library but I don't have the resources to maintain it.

    Regarding pinout diagrams, some don't show which pin is which, because they don't show the Pi. I know that pin 2 is at the corner of the Pi, but it's not clear (the Pi has a square pad, but impossible to see when it is in a case). (Really this is a fault of the silkscreen, but since we can't change that, the pinout diagrams should accommodate). Also, most of the pinout diagrams are upside-down (with the Ethernet and USB connectors facing you (but when you're wiring up a project, the last thing you want is those cables coming toward you - the Pi would be either in landscape, or with the Ethernet+USB connectors facing away). It sounds minor but it's really irritating because trying to count out the pins upside-down and not getting left-to-right pins mixed up either, is just a risk (I created my own right-way oriented pinout diagram as a result, and don't use the ones on the Internet). Mine doesn't meet all needs either, it's a bit simple, but meets 90% of my needs:

    Also has anyone noticed, the text on the Pi Pico is upside down too, when you orientate that correctly : ) 

    • Cancel
    • Up +2 Down
    • Reply
    • Cancel
  • cstanton
    cstanton 2 months ago in reply to shabaz
    shabaz said:
    Regarding pinout diagrams, some don't show which pin is which,

    Okay, I ask because I maintain:
    /products/raspberry-pi/w/documents/4317/raspberry-pi-4-model-b-default-gpio-pinout-with-poe-header 
    And I'm always open to adjustments/improvements :) 

    I hadn't considered making one for the Pico, not having one on hand hampered that one Smiley

    • Cancel
    • Up +2 Down
    • Reply
    • Cancel
  • gpolder
    gpolder 2 months ago in reply to shabaz
    shabaz said:
    2. A power supply with a cable longer than 1.5 metres, or with a figure-8 mains connector so that we can extend it ourselves with a replacement mains cable. I can't be buying a trailing mains extension cable for each Pi. None of the options on the Farnell website solve this problem for me.

    Powering the Pi 4 is still an issue. I need to power it with a 5A or so Mean Well power supply which also powers the other electronics from my project.

    A Pi 4 can draw 3A, which is too much for the pin headers and I also did not find a suitable USB-C power cable with 18 AWG wires. The only option is to buy the official power supply, cut off the wire and throw away the electronics.

    See also this thread: community.element14.com/.../exploring-alternate-methods-for-providing-dc-power-to-raspberry-pi

    • Cancel
    • Up +2 Down
    • Reply
    • Cancel
  • robogary
    robogary 2 months ago

    Tuning the WABAC machine ( refer to https://rockyandbullwinkle.fandom.com/wiki/WABAC_machine)  to Raspberry Pi 2, mine sat idle for quite awhile after power up, and eventually was turned into a retrogame system. The retrogame system is still serving that purpose for Raspberry Pi Jams and cold rainy days.  I didnt know what else to do with it. I wasnt familar with Raspbian, Linux, python, scratch, etc. 

    A big thing that helped me moving forward with Raspberry Pi projects were Road Tests and Project 14 .   I certainly would have never attempted or been motivated enough to invest in high risk RPi projects ( like facial recognition) had I not had a deadline, my community reputation at stake, and some portion of hardware provided to help ease the investments of getting started.  There is a huge learning curve moving from controllers like Arduino to RPi. Seeing proven examples in the E14 community with code & HW help alot. 

    Along that same thought process, the Arduino IDE has the Example Libraries included with the tool. Those examples are so convenient and critical for a successful kickoff when trying a new piece of application hardware. I'll save a copy of those examples and then modify them to get familiar with a device before integrating into my application. It becomes a piece of test code if the project stops working.

    For Raspberry Pi, I need to surf the web for similar applications and advice. It's taken awhile, but I'm getting better at a basic feel for python. When starting a build, I then have to do a research project to try and find python libraries for the what I think I want to do.  I particularly find i2C difficult to deal, and need a library created specifically for each device.  

    The free download Beginners Guides are fantastic for learning. You gotta surf and know what to look for to find them tho. https://www.dbooks.org/raspberry-pi-beginners-guide-191204773x/

    To summarize, to do a RPi project takes alot of front end research, gathering of links, githubs, libraries, etc whereas with an Arduino, the IDE becomes my example guide, and it also has a fantastic coding reference guide, just one click away.   

    ================================================================================================================

    What help is needed:  One particular RPi project that I want to get started with is a switchable RC/autonomous car to use for inspiring others to build & code. 

    This RC car was already hacked using an Arduino to interface the RC controls to the chassis steering and motor  , /challenges-projects/project14/radiocontrol/b/blog/posts/rc-toy-hack---rc-car-rescue-restore-recycle-retrofit.  I replaced the Arduino with a Raspberry Pi Pico. 

    The next step for this RC car ( which I've been talking about for almost a year ) is replace the Arduino/Raspberry Pi Pico with a Raspberry Pi for selectable manual RC or autonomous control.  

    I'm software-impaired. Each functional device in this build is a self contained research project to me. I'm both impatient to find published example solutions in lingo that I can understand and build from, but also get hung up if I don't understand the details. The project will involve camera(s), object detection, numerous i2C sensors, I2C motor driver, i2C servo driver, discrete sensors, discrete IO, multiple servos, { maybe even LIDAR from Summer of Sensors :-)  ??   }    

    A super-fine helpful tool would be like an Arduino IDE example selection, where I could call up each device type with example code and application notes, applicable python libraries, etc.. all in one place. 

    • Cancel
    • Up +3 Down
    • Reply
    • 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