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

Blog

  • 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!

Blog

  • Tags
  • Subscribe by email
  • More
  • Cancel
  • Raspberry PIO stepper library documentation - 5: simple ramp up and down

    Jan Cumps
    Jan Cumps
    Raspberry PIO stepper library (pio_stepper_lib) is a C++ library that runs stepper motors in PIO state machines. It's intended to be easy to integrate and use in Pico projects. In this post: create ramps when motor starts, stops or changes direc...
    • 11 May 2025
  • Raspberry Pico stepper driver IC library, with example: Allegro A4988

    Jan Cumps
    Jan Cumps
    Pico C++ library for Allegro A4988 stepper driver IC. I created a generic stepper driver library, and made a first example:  Raspberry Pico stepper driver IC library, with example: Texas Instruments DRV8711. In this post, I create a pl...
    • 30 Apr 2025
  • Raspberry Pico stepper driver IC library, with example: Texas Instruments DRV8711

    Jan Cumps
    Jan Cumps
    While designing a library for stepper motors, it bothered me that I had to put stepper driver IC logic across my user code.To solve that, I made a little driver lib. First I looked what logic shabaz and I put in our stepper projects, and s...
    • 26 Apr 2025
  • Raspberry Pico: talk to ICs with active high Chip Select (CS)

    Jan Cumps
    Jan Cumps
    SPI ICs usually have an active low chip select pin (~CS, nCS, ...). I have a Texas Instruments IC (stepper motor driver DRV8711) that has an active high CS. Initially, I bit-banged the CS pin: set it high with the GPIO API before communication, ...
    • 25 Apr 2025
  • Raspberry PIO Stepper Library: Trying it out with a Pi Pico and two Stepper Motors!

    shabaz
    shabaz
    Stepper motors are super-useful for precision movements. I made a little stepper motor board a while back, but never got around to testing it at the time. Jan Jan Cumps has created a stepper motor control library (click here to learn a...
    • 23 Apr 2025
  • Raspberry PIO stepper library documentation - 4: understand the step frequency

    Jan Cumps
    Jan Cumps
    Raspberry PIO stepper library (pio_stepper_lib) is a C++ library that runs stepper motors in PIO state machines. It's intended to be easy to integrate and use in Pico projects. In this post: the frequency of the pulse train it generates, and how...
    • 21 Apr 2025
  • Raspberry PIO stepper library documentation - 3: control multiple motors with 1 or more PIOs

    Jan Cumps
    Jan Cumps
    Raspberry PIO stepper library (pio_stepper_lib) is a C++ library that runs stepper motors in PIO state machines. It's intended to be easy to integrate and use in Pico projects. Check  Raspberry PIO stepper library documentation - 1: in...
    • 21 Apr 2025
  • Raspberry PIO stepper library documentation - 2: advanced example with notification

    Jan Cumps
    Jan Cumps
    Raspberry PIO stepper library (pio_stepper_lib) is a C++ library that runs stepper motors in PIO state machines. It's intended to be easy to integrate and use in Pico projects. Check  Raspberry PIO stepper library documentation - 1: in...
    • 18 Apr 2025
  • Raspberry PIO stepper library documentation - 1: intro, set up project and simple example

    Jan Cumps
    Jan Cumps
    Raspberry PIO stepper library (pio_stepper_lib) is a C++ library that runs stepper motors in PIO state machines. It's intended to be easy to integrate and use in Pico projects. 4 motors can be controlled per PIO can be used with any stepper mot...
    • 18 Apr 2025
  • Handle Raspberry Pico PIO "relative interrupts" in C++

    Jan Cumps
    Jan Cumps
    In a previous post, I figured out how PIO -> ARM interrupts work, and how to handle them in C. What I learned was that a traditional interrupt is easy. Relative interrupts are more involved. The interrupt part adds significant ...
    • 15 Apr 2025
  • Handle Raspberry Pico PIO "relative interrupts" in C

    Jan Cumps
    Jan Cumps
    There are decent examples available on how to handle PIO interrupts in C. But not so much on dealing with relative IRQs. With a normal IRQ, PIO fires an interrupt with a fixed number. The number that you give it. A relative IRQ - ...
    • 13 Apr 2025
  • Stepper Motor Control with Raspberry Pico PIO and DRV8711 driver- Part 7: autonomous PIO with interrupt when done

    Jan Cumps
    Jan Cumps
    The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals.In this series, I'm trying t...
    • 12 Apr 2025
  • emulate Raspberry PICO PIO programs

    Jan Cumps
    Jan Cumps
    The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals.I'm trying a PIO emulator&nb...
    • 11 Apr 2025
  • Stepper Motor Control with Raspberry Pico PIO and DRV8711 driver- Part 6: autonomous PIO with speed control

    Jan Cumps
    Jan Cumps
    The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals.In this series, I'm trying t...
    • 8 Apr 2025
  • Stepper Motor Control with Raspberry Pico PIO and DRV8711 driver- Part 5: a more autonomous PIO

    Jan Cumps
    Jan Cumps
    The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals.In this series, I'm trying t...
    • 6 Apr 2025
  • Stepper Motor Control with Raspberry Pico PIO and DRV8711 driver- Part 4: PIO

    Jan Cumps
    Jan Cumps
    The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals.In this series, I'm trying t...
    • 4 Apr 2025
  • Stepper Motor Control with Raspberry Pico PIO and DRV8711 driver- Part 3: GPIO

    Jan Cumps
    Jan Cumps
    The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals.In this series, I'm trying t...
    • 3 Apr 2025
  • Google’s new Gemini Code Assist extension for VS Code creates a 6 DoF accelerometer + magnetometer driver for my Raspberry Pico 2 W board.

    Google’s new Gemini Code Assist extension for VS Code creates a 6 DoF accelerometer + magnetometer driver for my Raspberry Pico 2 W board.

    BigG
    BigG
    Table of Contents Introduction Validating that the sensor works Challenges switching to MCU of choice AI assisted coding workflow Step 1: Installation and Sign-in Step 2: Create Pico template code Step 3: Ask Gemini for driver template code Ste...
    • 30 Mar 2025
  • Stepper Motor Control with Raspberry Pico PIO and DRV8711 driver- Part 2: SPI

    Jan Cumps
    Jan Cumps
    The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals.In this series, I'm trying t...
    • 30 Mar 2025
  • Stepper Motor Control with Raspberry Pico PIO and DRV8711 driver- Part 1: Hardware Provisioning

    Jan Cumps
    Jan Cumps
    The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals.In this series, I'm trying t...
    • 29 Mar 2025
  • Pico PIO state machine implements a peripheral: Rotary Decoder substeps example

    Jan Cumps
    Jan Cumps
    The Pico has a set of PIO co-processors. They are real-time controllers that can execute logic with deterministic timing. Ideal to run strict-timed sequences and state machines. And to implement extra peripherals (like a quadrature decoder h...
    • 25 Mar 2025
  • Pico: Using VS Code and the new Raspberry Pi Pico extension to develop an I2C driver application in C with the help of an AI LLM

    Pico: Using VS Code and the new Raspberry Pi Pico extension to develop an I2C driver application in C with the help of an AI LLM

    BigG
    BigG
    Table of Contents Introduction Setup Create a C application using an example Developing a simple driver for the MCP23017 I2C chip using AI Initial Arduino firmware Switching to VS Code and the Pico SDK Introduction After many years of blood,...
    • 25 Mar 2025
  • Announcing the Raspberry Pi 5 with 16GB RAM

    e14phil
    e14phil
    This morning we are excited to announce the Raspberry Pi 5 with 16GB of RAM We first announced Raspberry Pi 5 back in the autumn of 2023, with just two choices of memory density: 4GB and 8GB. Last summer, we released the 2GB variant, aimed at cost-se...
    • 9 Jan 2025
  • Future of Raspberry Pi - Compute Module 5 and beyond

    Catwell
    Catwell
    The Compute Module 5 features a Broadcom BCM2712 SoC with up to 16GB LPPDR4 ECC memory and up to 64GB eMMC flash. (Image credit: Raspberry Pi) The Raspberry Pi Foundation has officially launched its new Compute Module 5 (CM5), which shares the same ...
    • 10 Dec 2024
  • Introducing the Raspberry Pi Compute Module 5

    e14phil
    e14phil
    Raspberry Pi Compute Module 5 is a system on module that delivers the power of Raspberry Pi 5 in a form factor ideal for embedded applications. Priced from $45 and featuring a quad-core Arm Cortex-A76 processor, dual 4Kp60 HDMI output, Gigabit Ether...
    • 27 Nov 2024
>
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