Go to advanced search

by raspdroid
Sat Sep 22, 2018 9:54 pm
Forum: Español
Topic: Raspbian stretch en Pi B+
Replies: 2
Views: 242

Re: Raspbian stretch en Pi B+

Gracias, si que funciona bien , desde otra máquina instale raspbian en la tarjeta.Mi máquina en ubuntu está teniendo problemas para formatear las tarjetas, uso dd y unetbootin y finaliza la copia pero luego no funcionan y desde otra máquina si.

Saludos
by raspdroid
Fri Sep 21, 2018 9:54 am
Forum: Español
Topic: Máquina Pick&Place
Replies: 1
Views: 237

Re: Máquina Pick&Place

Hola, Ya construí la máquina y ya funciona, aún tengo que configurar mejor el sistema de visión para que lo haga todo ella sola sin tener que darle coordenadas pero estoy en ello. Se llama MACPICK , Macaronesic Pick & Place Es una máquina PnP de bajo costo pero con muy buenas prestaciones. So quiere...
by raspdroid
Fri Sep 21, 2018 9:50 am
Forum: Español
Topic: Raspbian stretch en Pi B+
Replies: 2
Views: 242

Raspbian stretch en Pi B+

Hola, Sabrán si Raspbian stretch es compatible con Pi B+ v1.2 ? Es que cuando arranco la Pi siempre me sale la ventana azul de expandir el sistema de archivos pero nunca carga el sistema y no sé si es que no es compatible o que la imagen o la tarjeta este corrupta. No obstante estoy descargando de n...
by raspdroid
Thu Aug 16, 2018 6:05 pm
Forum: Español
Topic: Reproductor automático
Replies: 1
Views: 196

Re: Reproductor automático

Puedes usar oxmplayer

Para que arranque y reproduzca vídeos nada más poner la llave de contacto puedes usar el crontab.
by raspdroid
Thu Aug 16, 2018 3:33 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

It's possible that the driver has been damaged, I will check it. I did a quick search on google: Actually, steppers work best operating at 8-20X their rated voltage. Most of the stepper motors used in 3D printers are rated for 3-4V, so 12V supplies work, but are not ideal. It is better to operate fr...
by raspdroid
Wed Aug 15, 2018 8:21 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

What I had a TB6612 in the drawer and decided to try with the raspberry @12V Remember that the maximal voltage for the TB6621 is 13.5V Yes, thanks It was working, the engine forced to the maximum, until I was going to place it with some flanges to record a video and it stopped working. I have revie...
by raspdroid
Wed Aug 15, 2018 7:34 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

Yes, I do not understand that either, I'm going to ask the seller. Actually I plan to use @24V. The PnP machine that I am building works at 24V with a DM542. The thing about the dispenser was something that occurred to me, oblivious to the machine, I bought some parts that I thought could be used an...
by raspdroid
Wed Aug 15, 2018 1:09 am
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

It was working but now it has stopped working, it moves very slowly and without force. I'll check all the wires in case one of them is wrong, the code had not touched it when it started to fail.

video whet it was working


Nema 17 but with 59Ncm instance of 14Ncm
by raspdroid
Mon Aug 13, 2018 4:08 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

Sorry, I was referring to a connection I had between pin 39 and the gnd of the power supply, I was duplicating it, with Pin 06 it's enough.
by raspdroid
Mon Aug 13, 2018 3:33 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

Yes, I have disconnect the wire between the RPi and the TB6612, I think that the driver does it internally (or should) I'll try it later
by raspdroid
Mon Aug 13, 2018 7:20 am
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

This code works: import pigpio, time from PigpioStepperMotor import StepperMotor pi = pigpio.pi() motor = StepperMotor(pi, 17, 23, 22, 24) pwma = pigpio.pi() pwma.write(18,1) pwmb = pigpio.pi() pwmb.write(12,1) stby = pigpio.pi() stby.write(27,0) for i in range(4500): stby.write(27,1) motor.doСlockw...
by raspdroid
Sun Aug 12, 2018 10:28 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

For me to work with the pigpio code I have to connect PWMA and PWMB to 3V3 or 5V, otherwise it does not vibrate.
by raspdroid
Sun Aug 12, 2018 10:09 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

Vcmotor --> 12V 5A power supply VM --> floating Vcc --> 3V3 Pin 17 GND --> GND Pin 06 PwmA --> 3V3 Pin 01 AIN2 --> Pin 15 - BCM 22 AIN1 --> Pin 11 - BCM 17 STBY --> Pin 13 - BCM 27 BIN1 --> Pin 16 - BCM 23 BIN2 --> Pin 18 - BCM 24 PwmB --> Pin 32 - BCM MotorA --> Red (A+) and Green (A-) wires MotorB...
by raspdroid
Sun Aug 12, 2018 8:19 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

At least now I can not move the motor shaft with my hand. :)

It's very hard.
by raspdroid
Sun Aug 12, 2018 8:15 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

With pigpiod:

pip3 install pigpio

sudo pigpiod

python3 motor.py


Code: Select all

import pigpio
from PigpioStepperMotor import StepperMotor

pi = pigpio.pi()
motor = StepperMotor(pi, 17, 22, 23, 24)
for i in range(2048):
  motor.doСlockwiseStep()

When I execute this code the motor vibrates and heats up.
by raspdroid
Sun Aug 12, 2018 8:09 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

This is the power supply, 5A 12V

I'm going to try another code.
by raspdroid
Sun Aug 12, 2018 6:16 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

Now it works with rpiStepper but I can stop the engine with my hand when it is spinning. It has very little strength. Will it be stuck?

I have connected stby pin to the pin 13 of rpi. I'll try connecting stby to 3.3V
by raspdroid
Sun Aug 12, 2018 5:42 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

Yes, yellow wire is solder.

The ground of power supply is connected to pin 39 of pi.

I can turn the motor by hand when power is on and driver is active.
by raspdroid
Sun Aug 12, 2018 2:01 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

Yes, I have read the manual.

I have built a solder paste dispenser with a step motor and I wanted to try it with my raspberry pi. It's for a pick & place machine that I'm building.
20180812_145456_0012.jpg
20180812_145456_0012.jpg (249.6 KiB) Viewed 708 times
by raspdroid
Sun Aug 12, 2018 1:23 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

I have changed all to 3V3, pin 1 to PwmA and PwmB and Pin 17 to Vcc (digital side of the TB6612) but not works. Also I have probed with this code but not works --> RPistepper Only this code move 1 step (i think), It makes a noise like a blow, when the script ends too: #!/usr/bin/env python # Import ...
by raspdroid
Sun Aug 12, 2018 1:10 pm
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Re: Controlling stepper motor with Adafruit TB6612

Thank you,

Also I have pwmA y pwmB connected to 5V, should I connect it to pin 17?
by raspdroid
Sun Aug 12, 2018 11:42 am
Forum: Automation, sensing and robotics
Topic: Controlling stepper motor with Adafruit TB6612
Replies: 32
Views: 994

Controlling stepper motor with Adafruit TB6612

Hello, Raspberry Pi 2 (raspbian stretch) Adafruit TB6612 Stepper Motor 17hs4223 Raspberry Pi TB6612 Pin 2 Vcc Pin 6 GND Pin 4 PwmA Pin 11 AIN1 Pin 15 AIN2 Pin 13 STBY Pin 16 BIN1 Pin 18 BIN2 Pin 4 PwmB Vmotor to 12V DC VM floating MotorA , red and green wires MotorB, yellow and blue wires I've probe...
by raspdroid
Sat Jul 28, 2018 8:22 pm
Forum: Español
Topic: Compartir el estado de GPIOs vía serie
Replies: 5
Views: 267

Re: Compartir el estado de GPIOs vía serie

Con lo que te sea más sencillo. Con Java también puedes hacerlo.
by raspdroid
Sat Jul 28, 2018 12:08 pm
Forum: Español
Topic: Compartir el estado de GPIOs vía serie
Replies: 5
Views: 267

Re: Compartir el estado de GPIOs vía serie

Sí, lo configuras como input y te dirá si está low o high.

Aquí hay un tutorial con python
by raspdroid
Thu Jul 26, 2018 3:37 pm
Forum: Español
Topic: RFID RC522 RASPBERRY PAGINA WEB
Replies: 2
Views: 192

Re: RFID RC522 RASPBERRY PAGINA WEB

Hola,

Según el lenguaje que vayas a utilizar.., busca en google rc522 + lenguaje y verás que hay un montón de cosas.

Saludos

Go to advanced search