Go to advanced search

by papous
Sun Mar 22, 2020 3:46 pm
Forum: Automation, sensing and robotics
Topic: Rotary encoder and joan's read_RPM.py
Replies: 11
Views: 379

Re: Rotary encoder and joan's read_RPM.py

Thanks joan for clearing all up
Much obliged
by papous
Sun Mar 22, 2020 12:20 pm
Forum: Automation, sensing and robotics
Topic: Rotary encoder and joan's read_RPM.py
Replies: 11
Views: 379

Re: Rotary encoder and joan's read_RPM.py

Thank you joan So, if the count is ok (as I expected) what does RPM=83916 mean? How does that relate to 210 RPM given by the manufactures or 1440 counts per rotation of the output shaft ? What I need to know is the (near) true revs per minute at any given PWM Many thanks again for taking the time to...
by papous
Sun Mar 22, 2020 7:23 am
Forum: Automation, sensing and robotics
Topic: Rotary encoder and joan's read_RPM.py
Replies: 11
Views: 379

Re: Rotary encoder and joan's read_RPM.py

Thank you
Here is the link for the piscope data

https://drive.google.com/open?id=10Gfy2 ... Qa3VZ3Sv8_

What to do / How do I process this?
by papous
Sat Mar 21, 2020 5:00 pm
Forum: Automation, sensing and robotics
Topic: Rotary encoder and joan's read_RPM.py
Replies: 11
Views: 379

Re: Rotary encoder and joan's read_RPM.py

Please find below an image of piscope taken with the motor running with PWM=255.
However I can not interpret the image. Can you help?
piscope2.png
piscope2.png (52.69 KiB) Viewed 315 times
by papous
Sat Mar 21, 2020 10:21 am
Forum: Automation, sensing and robotics
Topic: Rotary encoder and joan's read_RPM.py
Replies: 11
Views: 379

Re: Rotary encoder and joan's read_RPM.py

Thank you joan for the very prompt reply.
I will do what you suggest and come back
by papous
Sat Mar 21, 2020 9:15 am
Forum: Automation, sensing and robotics
Topic: Rotary encoder and joan's read_RPM.py
Replies: 11
Views: 379

Rotary encoder and joan's read_RPM.py

I am trying to get a good reading for this https://www.banggood.com/6V-210RPM-Encoder-Motor-DC-Gear-Motor-with-Mounting-Bracket-and-Wheel-p-1044064.html?cur_warehouse=CN motor that claims # 6V 210RPM, # 48 counts per revolution of the motor shaft, # 30:1 gear ratio, # 1440 counts per rotation of the...
by papous
Mon Feb 17, 2020 4:51 pm
Forum: Automation, sensing and robotics
Topic: GPIO to PIGPIO translation
Replies: 3
Views: 310

Re: GPIO to PIGPIO translation

Thank you both for your replies
by papous
Fri Feb 14, 2020 4:17 pm
Forum: Automation, sensing and robotics
Topic: GPIO to PIGPIO translation
Replies: 3
Views: 310

GPIO to PIGPIO translation

Hi everyone I am trying to use an LDR to measure ambient light using the code below: import RPi.GPIO as GPIO import pigpio import time pin_to_circuit = 18 LDR_PIN=18 pi = pigpio.pi() def rc_time (pin_to_circuit): count = 0 #Output on the pin for capacitor #GPIO.setup(pin_to_circuit, GPIO.OUT) #GPIO....
by papous
Thu Mar 07, 2019 8:17 am
Forum: Automation, sensing and robotics
Topic: xbox360 wireless HELP
Replies: 0
Views: 236

xbox360 wireless HELP

I am trying to get an xbox 360 (clone) to work with my pi3b+. I follwoed the instructions for installing and running the driver (xboxdrv) and initially it seemed to work but.. 1) The suggestion to blacklist xpad on boot caused sudo nano /etc/modprobe.d/blacklist.conf blacklist xpad makes the xbox un...
by papous
Wed Feb 27, 2019 4:22 pm
Forum: Gaming
Topic: Wireless Xbox Controller
Replies: 1
Views: 841

Wireless Xbox Controller

As of today I am the proud owner of an Xbox controller (wireless). Install went fine, the pi recognises the controller and all is well.
But..
Why do I need to SUDO xboxdrv ? How can I make it work without sudo ?
And where are the install files of xboxdrv ?

Many thanks
by papous
Tue Feb 12, 2019 5:23 pm
Forum: Automation, sensing and robotics
Topic: Servo jitter and GPIO 29(??)
Replies: 10
Views: 1412

Re: Servo jitter and GPIO 29(??) SOLVED

Thank you everybody for your answers My problem was the extreme shaking caused on the camera mount caused by the engine when running. Small jitter appears to be an inherent problem with small (cheap?) servos and it appears that it is difficult to solve. I finally solved the violent shaking using a t...
by papous
Fri Feb 08, 2019 10:45 am
Forum: Automation, sensing and robotics
Topic: Servo jitter and GPIO 29(??)
Replies: 10
Views: 1412

Re: Servo jitter and GPIO 29(??)

Thank you pootle for your reply Will you please elaborate your answer? Did you use a servo board? I am NOT using such a thing getting the pulses directly from the pi with pigpio. What do you mean "decoupling caps right by the servos as well as on the driver board" ? Did uou remove them? It has been ...
by papous
Thu Feb 07, 2019 11:41 am
Forum: Automation, sensing and robotics
Topic: Servo jitter and GPIO 29(??)
Replies: 10
Views: 1412

Re: Servo jitter and GPIO 29(??)

On the same subject: I have made a proto board as in pictures to make the wires as stable as possible New Doc 2019-02-07 12.50.06_2.jpg New Doc 2019-02-07 12.50.06_1.jpg I am the worst person in soldering but I tested everything with a multimeter and it seems to be OK Could this be causing the jitte...
by papous
Mon Feb 04, 2019 9:48 pm
Forum: Automation, sensing and robotics
Topic: Servo jitter and GPIO 29(??)
Replies: 10
Views: 1412

Re: Servo jitter and GPIO 29(??)

Thank you rpdom and rpiMike for clearing the GPIO 29 issue. Joan, thanks for getting involved. I am using pigpio throughout my project which involves an engine and 3 servos. I also use it for the distance sensor and a LDR Jittering starts immediately for the two small servos when running the script ...
by papous
Mon Feb 04, 2019 6:10 pm
Forum: Automation, sensing and robotics
Topic: Servo jitter and GPIO 29(??)
Replies: 10
Views: 1412

Servo jitter and GPIO 29(??)

I am trying to detect what causes my two servos (MG90) jitter. Having tried a few solutions (that failed ) I used pigpio's PISCOPE just in case it provided with some more info. The image below shows activity at GPIO 29(??) which coincides with the jittering. I am not using and have nothing connected...
by papous
Thu Jan 24, 2019 9:14 am
Forum: Automation, sensing and robotics
Topic: Raspberry Pi 3 Robot car, Good to go?
Replies: 5
Views: 1006

Re: Raspberry Pi 3 Robot car, Good to go?

I am using 2 packs of 2 18650 batteries each with a UBEC to reduce the voltage to 5 (or 6) volts. Have not checked how long it will work.
by papous
Wed Jan 23, 2019 10:41 am
Forum: General discussion
Topic: Weird pi happenings
Replies: 3
Views: 411

Weird pi happenings

I hope that this forum is the appropriate one.
I am using a pi 3B+
Weird thing 1:
While thepi is off, an LED connected to pin 2 or 3 is swiched ON!
Weird thing 2:
With the pi off, a connection to pin 2 or 3 switches the pi ON (it boots)!
Any idea why?
Is this normal?
by papous
Mon Jan 21, 2019 9:12 pm
Forum: Automation, sensing and robotics
Topic: 2 LED wiring
Replies: 11
Views: 1135

Re: 2 LED wiring

Thank you all very much for taking the time to help
by papous
Mon Jan 21, 2019 2:50 pm
Forum: Automation, sensing and robotics
Topic: 2 LED wiring
Replies: 11
Views: 1135

Re: 2 LED wiring

Thank you all for your replies. The pi pins are 16 and 20. So how about this?
And how would it be if I wanted both lets to switch on together?
Thank you
by papous
Mon Jan 21, 2019 12:52 pm
Forum: Automation, sensing and robotics
Topic: 2 LED wiring
Replies: 11
Views: 1135

Re: 2 LED wiring

Thank you for clarifying the situation
by papous
Mon Jan 21, 2019 12:32 pm
Forum: Automation, sensing and robotics
Topic: 2 LED wiring
Replies: 11
Views: 1135

2 LED wiring

I need to connect 2 LEDs to a pi3b
Does the image below show the correct wiring or does each led need to connect to ground through a 330 resistor?
2LED_bb.jpg
2LED_bb.jpg (138.01 KiB) Viewed 1135 times
by papous
Tue Jan 15, 2019 8:17 pm
Forum: Automation, sensing and robotics
Topic: Have I destroyed my pi / my ESC from low voltage?
Replies: 10
Views: 1288

Re: Have I destroyed my pi / my ESC from low voltage?

Thank you for the sound advice. I know now what when wrong with my soldering on a proto board. I will try not to repeat that
by papous
Tue Jan 15, 2019 7:59 pm
Forum: Automation, sensing and robotics
Topic: Have I destroyed my pi / my ESC from low voltage?
Replies: 10
Views: 1288

Re: Have I destroyed my pi / my ESC from low voltage?

Thank you for your replies.
I am for a new pi tomorrow
by papous
Tue Jan 15, 2019 5:08 pm
Forum: Automation, sensing and robotics
Topic: Have I destroyed my pi / my ESC from low voltage?
Replies: 10
Views: 1288

Re: Have I destroyed my pi / my ESC from low voltage?

I have just realised that the Broadcom chip gets very hot (too hot to touch).
Is it supposed to?
by papous
Tue Jan 15, 2019 12:44 pm
Forum: Automation, sensing and robotics
Topic: Have I destroyed my pi / my ESC from low voltage?
Replies: 10
Views: 1288

Re: Have I destroyed my pi / my ESC from low voltage?

Thank you pcmanbob for this very quick reply. I will do what you suggest but, just out of curiosity, could the card be corrupted and still run the module without problems? And why pyscope does not show pin activity? Some more info: I use pigpio throughout the module. Now, from command line I set a p...

Go to advanced search