Go to advanced search

by typematrix
Wed Sep 11, 2019 10:25 pm
Forum: Beginners
Topic: Raspberry Pi and stepper motor interface using Python for automation
Replies: 7
Views: 372

Re: Raspberry Pi and stepper motor interface using Python for automation

Hi

Do you have a specific motor and motor controller in mind at this point?

FYI
I wrote a Raspberry pi motor library here. https://github.com/gavinlyonsrepo/RpiMotorLib


Regards
by typematrix
Thu Oct 11, 2018 10:55 am
Forum: Automation, sensing and robotics
Topic: Stepper Motor Help
Replies: 2
Views: 672

Re: Stepper Motor Help

Hi Can you show us the wiring diagram? From the TB67S249FTG datasheet "DMODE0, DMODE1, DMODE2 Step resolution selection pins. These pins are all pulled low by default, putting the driver into a low-power standby mode and disabling the outputs; at least one DMODE pin must be driven high to set the st...
by typematrix
Fri Sep 28, 2018 2:53 pm
Forum: Automation, sensing and robotics
Topic: L298N Dual H-Bridge Motor Controller
Replies: 3
Views: 3088

Re: L298N Dual H-Bridge Motor Controller

FYI

I have a motor library with that component it with a write up and code see link.
make sure all your grounds are connected together.

https://github.com/gavinlyonsrepo/RpiMotorLib
https://github.com/gavinlyonsrepo/RpiMo ... 298N_DC.md
by typematrix
Sun Jun 03, 2018 6:07 pm
Forum: Troubleshooting
Topic: How to control step motors with PS4 controller or joystick and Raspberry Pi
Replies: 1
Views: 490

Re: How to control step motors with PS4 controller or joystick and Raspberry Pi

Hi What motor controller board do you have connected to the Step Motors 28YBJ-48 I going to assume ULN2003., the most common. Here is a python3 library on github for that component : https://github.com/gavinlyonsrepo/RpiMotorLib https://github.com/gavinlyonsrepo/RpiMotorLib/blob/master/Documentation...
by typematrix
Sun Jun 03, 2018 2:20 pm
Forum: Troubleshooting
Topic: SG90 servo goes all the way right or not at all
Replies: 6
Views: 1679

Re: SG90 servo goes all the way right or not at all

Hi sloshjegs I have modified and tested your code so it now works It will move first to center then full left then full right. import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BOARD) center = 7.5 left = 12 right = 1 delay = 2 initdelay = 0.05 servo_pin = 12 freq = 50 GPIO.setup(servo_pin, GPIO....
by typematrix
Wed May 30, 2018 9:05 pm
Forum: Automation, sensing and robotics
Topic: RpiMotorLib : Raspberry Pi Motor Library : A python 3 library for motors and servos to connect to a raspberry
Replies: 3
Views: 6434

Re: RpiMotorLib : Raspberry Pi Motor Library : A python 3 library for motors and servos to connect to a raspberry

TWIC

Version 2.1 released

New components tested and added to library.

Bipolar Nema 11 Stepper motor controlled by DRV8825 Stepper Motor Driver Carrier
Bipolar Nema 11 Stepper motor controlled by A3967 Stepper Motor Driver "easy driver version 4.4"

https://github.com/gavinlyonsrepo/RpiMotorLib
by typematrix
Wed May 30, 2018 7:35 pm
Forum: Troubleshooting
Topic: Motor Controllers With Raspberry instead of Arduino - lack of software support
Replies: 10
Views: 1115

Re: Motor Controllers With Raspberry instead of Arduino - lack of software support

Hi Do you have specific parts numbers, examples ,links of want you want? I am currently writing a library for motors in python for raspberry for multiple components. I would be interested in coding. Although I cannot justify buying expensive parts LOL. See here: https://github.com/gavinlyonsrepo/Rpi...
by typematrix
Thu Apr 26, 2018 12:42 am
Forum: Troubleshooting
Topic: Stepper motor not working properly
Replies: 3
Views: 494

Re: Stepper motor not working properly

There are two coils in each motor To identity coils of motor check datasheet it will tell you which colour is which and which of the fours wires are on each coil However sometimes they can be coloured differently depending on where you got motor. These Short youotube video shows how to do verify mot...
by typematrix
Tue Apr 24, 2018 11:32 pm
Forum: Troubleshooting
Topic: Stepper motor not working properly
Replies: 3
Views: 494

Re: Stepper motor not working properly

let's check the wiring first, Note I have never used this hat too expensive LOL. Vibrating stepper motor is a sign that it is incorrectly wired or defective. The key to successful stepper motor control is identifying the wires - that is which one is which. You will need to determine the A, B, C and ...
by typematrix
Sun Apr 22, 2018 11:49 pm
Forum: Other projects
Topic: raspberry pi CPU GPU temperature monitor
Replies: 3
Views: 8032

Re: raspberry pi CPU temperature monitor

TWIC Updated to Version 2.0-1 and 2.1-2 https://github.com/gavinlyonsrepo/raspberrypi_tempmon/releases (1) Unix time added as an alternative to time-date stamp. (2) Graph modes increased from to 12 (3) Stress test added with csv file and graph output. (4) csv option added -s which converts log file ...
by typematrix
Fri Apr 13, 2018 7:09 pm
Forum: Python
Topic: NEMA 24 stepper motor & DRV-8825 stepper motor drive
Replies: 2
Views: 2258

Re: NEMA 24 stepper motor & DRV-8825 stepper motor drive

Hi I have a written a python 3 library for motors on the Rpi, see here: https://github.com/gavinlyonsrepo/RpiMotorLib see section: Bipolar Nema 11 Stepper motor controlled by A4988 Stepper Motor Driver Carrier The Drv-8825 is very similar to A4988 see here https://www.pololu.com/product/1182 I have ...
by typematrix
Tue Apr 10, 2018 6:41 pm
Forum: Automation, sensing and robotics
Topic: RpiMotorLib : Raspberry Pi Motor Library : A python 3 library for motors and servos to connect to a raspberry
Replies: 3
Views: 6434

Re: RpiMotorLib : Raspberry Pi Motor Library : A python 3 library for motors and servos to connect to a raspberry

TWIC

Version 2.0-1 released

New components added

Bipolar Nema 11 Stepper motor controlled by L298N H-Bridge Motor controller module.
Bipolar Nema 11 Stepper motor controlled by A4988 Stepper Motor Driver Carrier

DC motor controlled by L298N Motor controller module.
by typematrix
Wed Apr 04, 2018 6:14 pm
Forum: Raspberry Pi OS
Topic: Adding a used recent document list to raspbian?
Replies: 0
Views: 239

Adding a used recent document list to raspbian?

Hi

How do you add a recent used document list to raspbian
I am using

Raspbian 8.0 jessie,
LXDE lxpanel 0.7.2,
PCManFM 1.2.3

either in the panels or file manager.

Regards
by typematrix
Sun Mar 25, 2018 6:27 pm
Forum: Other projects
Topic: raspberry pi CPU GPU temperature monitor
Replies: 3
Views: 8032

Re: raspberry pi CPU GPU temperature monitor

Updated

https://github.com/gavinlyonsrepo/raspberrypi_tempmon

Version 1.5-6

I upgraded to Matplotlib 2.2.2 and this cause some issues with graphs, now resolved
Also Added a notify mode and data mode
by typematrix
Sun Mar 25, 2018 6:20 pm
Forum: Python
Topic: Issue with reading directory on raspberry
Replies: 9
Views: 1296

Re: Issue with reading directory on raspberry

Ya i ran it on a pie 3



whats output of command
ls -la ../images

run from
from face-recognition folder
by typematrix
Sun Mar 25, 2018 5:58 pm
Forum: Python
Topic: Issue with reading directory on raspberry
Replies: 9
Views: 1296

Re: Issue with reading directory on raspberry

Hi

I just tested code on a pi 3 , it runs fine.

Double check spelling of your directory tree I suggest does images have a capital I

Can you post entire error message?

ps
You should run a python linting tool on your code to help improve it.

regards
by typematrix
Thu Mar 22, 2018 11:27 am
Forum: Automation, sensing and robotics
Topic: RpiMotorLib : Raspberry Pi Motor Library : A python 3 library for motors and servos to connect to a raspberry
Replies: 3
Views: 6434

RpiMotorLib : Raspberry Pi Motor Library : A python 3 library for motors and servos to connect to a raspberry

RpiMotorLib : Raspberry Pi Motor Library : A python 3 library for various motors and servos to connect to a RPi version 1.0-1 just two components currently, i intend to add more, suggestion for new components and features very welcome. Name: RpiMotorLib Title: raspberry pi motor library. Descriptio...
by typematrix
Sat Aug 12, 2017 9:43 pm
Forum: Other projects
Topic: raspberry pi CPU GPU temperature monitor
Replies: 3
Views: 8032

Re: raspberry pi CPU GPU temperature monitor

Updated

https://github.com/gavinlyonsrepo/raspb ... /README.md
Version 1.4-5 released.
rewritten complete in python
Alarm mode, various graph modes and LED_GPIO Mode added.
by typematrix
Sun Jul 02, 2017 4:08 pm
Forum: Other projects
Topic: raspberry pi CPU GPU temperature monitor
Replies: 3
Views: 8032

raspberry pi CPU GPU temperature monitor

raspberry pi CPU GPU temperature monitor Name: rpi_tempmon Title : Display the ARM CPU and GPU temperature of Raspberry Pi 2/3 Description: This bash script will display the ARM CPU and GPU temperature of Raspberry Pi 2/3 includes logging and mailing options. https://github.com/gavinlyonsrepo/raspb...

Go to advanced search