Go to advanced search

by joan
Fri Sep 17, 2021 3:42 pm
Forum: Ubuntu
Topic: pigpiod.service missing on Ubuntu (server)?
Replies: 4
Views: 152

Re: pigpiod.service missing on Ubuntu (server)?

pigpio is tied to the Raspberry Pi hardware so it's unlikely to ever be packaged with a general Linux distribution such as Ubuntu.
by joan
Fri Sep 17, 2021 1:19 pm
Forum: Beginners
Topic: RPi pwm
Replies: 3
Views: 139

Re: RPi pwm

pigpio uses different values to set the dutycycle. By default 0 sets 0% and 255 sets 100%, e.g. to set 50% dutycycle use the value 128.
by joan
Thu Sep 16, 2021 8:02 pm
Forum: Troubleshooting
Topic: Checking logic level with multimeter
Replies: 15
Views: 515

Re: Checking logic level with multimeter

Why not just set min frequency, max dutycycle, then measure voltage?
by joan
Tue Sep 14, 2021 7:39 am
Forum: Troubleshooting
Topic: MCP4131 - Just cannot get it working reliably with WiringPi
Replies: 15
Views: 460

Re: MCP4131 - Just cannot get it working reliably with WiringPi

@comeradealexi

I notice you had problems installing lg. http://abyz.me.uk/lg/

It would be helpful if you let me know what they were. I might be able to improve or correct the instructions.
by joan
Sat Sep 11, 2021 7:34 pm
Forum: Troubleshooting
Topic: MCP4131 - Just cannot get it working reliably with WiringPi
Replies: 15
Views: 460

Re: MCP4131 - Just cannot get it working reliably with WiringPi

If you have tried multiple software and they all fail that strongly suggests the wiring is faulty.
by joan
Fri Sep 10, 2021 7:40 pm
Forum: Beginners
Topic: How to control a 360 servo
Replies: 30
Views: 827

Re: How to control a 360 servo

Try the following to identify the type of servo. See https://pinout.xyz/ for GPIO numbering. sudo pigpiod pigs s x 1700 # x is the GPIO number If it continues to rotate in one direction it is a continuous rotation servo. If it stops after a fraction of a second it is a normal servo. pigs s x 1300 # ...
by joan
Fri Sep 10, 2021 4:49 pm
Forum: Beginners
Topic: How to control a 360 servo
Replies: 30
Views: 827

Re: How to control a 360 servo

What have you tried?

Have you got a link to the servo specs?
by joan
Fri Sep 10, 2021 2:34 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RTS on other GPIO pin
Replies: 4
Views: 279

Re: RTS on other GPIO pin

RTS0 is only accessible from GPIO17.
by joan
Thu Sep 09, 2021 7:49 pm
Forum: Beginners
Topic: Connecting Servo motor MG 995 to Raspberry pi 4
Replies: 2
Views: 122

Re: Connecting Servo motor MG 995 to Raspberry pi 4

You might be able to power it from the Pi. Have you a spare amp or so?

If you use external power all you need to do is ensure that there is a common ground between the external power supply, a Pi ground pin, and the servos negative (ground) wire.
by joan
Tue Sep 07, 2021 11:36 am
Forum: C/C++
Topic: Pigpio i2c library not working properly
Replies: 2
Views: 282

Re: Pigpio i2c library not working properly

In the Python you are doing a block read. In the C you are doing two separate byte reads. Does the datasheet for the device say they have the same result?
by joan
Mon Sep 06, 2021 12:53 pm
Forum: Automation, sensing and robotics
Topic: Can't detect RF signal of remote
Replies: 6
Views: 404

Re: Can't detect RF signal of remote

I agree with @btidey http://abyz.me.uk/rpi/pigpio/piscope.html If your receiver is connected to Broadcom numbered GPIO x then try the following terminal command to filter noise (when using piscope/pigpio). pigs fg x 100 That command will reject any edges shorter than 100 µs in length. You will proba...
by joan
Mon Sep 06, 2021 7:45 am
Forum: Automation, sensing and robotics
Topic: Can't detect RF signal of remote
Replies: 6
Views: 404

Re: Can't detect RF signal of remote

I do not understand what you are doing.

Are you saying the receiver does not work with the remote? Complain to the seller.

Are you saying you don't see the signal on the Pi? Not surprising as it's an EV1527 device. How are you reading the signal from the Pi?
by joan
Wed Sep 01, 2021 7:52 pm
Forum: Pidora / Fedora
Topic: pi3b+ default i2c addresses
Replies: 7
Views: 431

Re: pi3b+ default i2c addresses

I don't know what you have done. If I had to guess I would say you have enabled a software bus and left the GPIO floating.
by joan
Wed Sep 01, 2021 3:26 pm
Forum: Automation, sensing and robotics
Topic: Small and simple stepper motors?
Replies: 32
Views: 1003

Re: Small and simple stepper motors?

Perhaps you ought to explain what you are trying to make. Knowing that might allow other solutions.
by joan
Wed Sep 01, 2021 7:34 am
Forum: Pidora / Fedora
Topic: pi3b+ default i2c addresses
Replies: 7
Views: 431

Re: pi3b+ default i2c addresses

They are the the addresses responding to a probe on I2C bus 2.
by joan
Tue Aug 31, 2021 3:22 pm
Forum: Automation, sensing and robotics
Topic: Small and simple stepper motors?
Replies: 32
Views: 1003

Re: Small and simple stepper motors?

Continuous rotation servos have no positional accuracy. Servos are a no go as far as your application is required.
by joan
Tue Aug 31, 2021 10:46 am
Forum: Automation, sensing and robotics
Topic: Small and simple stepper motors?
Replies: 32
Views: 1003

Re: Small and simple stepper motors?

It would help if you let us know the expected range of angular rotation and the angular resolution required.
by joan
Thu Aug 26, 2021 8:52 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C slave on Raspberry Pi 4 Model B?
Replies: 37
Views: 7241

Re: I2C slave on Raspberry Pi 4 Model B?

I have moved from abyz.co.uk to abyz.me.uk. If you make that change the link should work.
by joan
Mon Aug 23, 2021 7:46 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C slave on Raspberry Pi 4 Model B?
Replies: 37
Views: 7241

Re: I2C slave on Raspberry Pi 4 Model B?

That's probably a typo for 4800 bits per second. The byte arriving in the hardware buffer has to be processed through multiple software layers before the application is told. Each layer takes a non-deterministic time. The application then has to respond which goes through the layers again. All that ...
by joan
Sun Aug 22, 2021 3:39 pm
Forum: General discussion
Topic: Thanks to brexit i had to pay more import / handling fees than what the books / issues cost me
Replies: 19
Views: 1531

Re: Thanks to brexit i had to pay more import / handling fees than what the books / issues cost me

Because it is printed matter there should be no VAT nor duty on these items. I don't know what the EU are doing but .... Imports to the UK (from anywhere):- If value is below £29 there is no VAT If value is below £135 there is no duty. I think that has changed in that VAT is now always collected at...
by joan
Fri Aug 20, 2021 4:00 pm
Forum: Troubleshooting
Topic: Determine which IR receiver is installed?
Replies: 4
Views: 157

Re: Determine which IR receiver is installed?

No.

Can't you look at the current part?

These parts are pretty much the same. It's likely any Vishay IR receiver of the same frequency will be suitable.
by joan
Wed Aug 18, 2021 8:22 pm
Forum: Automation, sensing and robotics
Topic: Cheap mecanum wheel robots on aliexpress
Replies: 21
Views: 1867

Re: Cheap mecanum wheel robots on aliexpress

Video formats are a mystery to me.

Gave up and just uploaded to youtube,
by joan
Wed Aug 18, 2021 5:15 pm
Forum: Troubleshooting
Topic: New Pi 4 and new DS18B20 - Pi 3 python code doesn't work
Replies: 4
Views: 182

Re: New Pi 4 and new DS18B20 - Pi 3 python code doesn't work

The DS18B20 is not an I2C device.

Go to advanced search