Python Forum
Arduino's AccelStepper Library with Nanpy?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Arduino's AccelStepper Library with Nanpy?
#1
Hello,

I want to use the Arduino library AccelStepper with a Python script. I am unable to find if Nanpy supports this library? Am I able to use this? if so, how do I go about this?

Thank you!
Reply
#2
Looking at the project home page:

https://github.com/nanpy/nanpy

It says this:
Quote:Supported hardware
board:
ATmega boards (ATtiny has not enough RAM)
ESP8266 (communication over serial or WiFi connection)
external hardware:
BMP180 Digital pressure sensor
AD9850 Direct Digital Synthesizer
TLC5947 LED Driver
DHT11, DHT22, DHT21, AM2301 humidity sensors
HD44780 LCD controller
PCF8574 8-Bit I/O Expander for I2C
X9C1xxx (xxx = 102,103,104,503) digital potentiometers
HC-SR04 (ultrasonic sensor)
internal hardware:
counter, frequency measurement
PWM (advanced PWM functions are hardcoded for Uno compatible boards)
ADC
I2C
read, write RAM
read, write EEPROM
read, write all registers
tone()

I would contact the author of the package.
Reply
#3
Perhaps CircuitPython. Without investigating further (I'll leave that up to you), here's a page that discusses using CircuitPython with stepper motors (yours may or may not be mentioned, but code should be similar).

https://learn.adafruit.com/adafruit-cric...gILR_D_BwE
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Star Pyserial not reading serial.readline fast enough while using AccelStepper on Arduino MartyTinker 4 4,115 Mar-13-2023, 04:02 PM
Last Post: deanhystad
  Nanpy import error Apretext 2 2,752 Apr-29-2019, 04:00 PM
Last Post: Apretext
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 4,816 May-06-2017, 11:29 AM
Last Post: harun2525

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020