Go to advanced search

by calleblyh
Tue Nov 05, 2019 2:13 pm
Forum: Beginners
Topic: Trying pigpio-stepper-motor
Replies: 14
Views: 1046

Re: Trying pigpio-stepper-motor

Okay, problem finally Solved.

I had to rewrite all lines "containing motor.doClockwise...." also in PigpioStepperMotor.py

Great thanks to all who contributed.

Calleblyh
by calleblyh
Tue Nov 05, 2019 8:59 am
Forum: Beginners
Topic: Trying pigpio-stepper-motor
Replies: 14
Views: 1046

Re: Trying pigpio-stepper-motor

Still struggling to run the code [code import pigpio from PigpioStepperMotor import StepperMotor pi = pigpio.pi() motor = StepperMotor(pi, 6, 13, 19, 26) for i in range(2048): motor.doСlockwiseStep() [/code] Syntax error on line 7: pi@raspberrypi:~ $ python step_cw180.py File "step_cw180.py", line 7...
by calleblyh
Mon Nov 04, 2019 1:25 pm
Forum: Beginners
Topic: Trying pigpio-stepper-motor
Replies: 14
Views: 1046

Re: Trying pigpio-stepper-motor

I tried pyhton3 shell script as well: pi@CHB:~ $ python3 Python 3.7.3 (default, Apr 3 2019, 05:39:12) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pigpio >>> from PigpioStepperMotor import StepperMotor Traceback (most recent call last): File ...
by calleblyh
Mon Nov 04, 2019 1:09 pm
Forum: Beginners
Topic: Trying pigpio-stepper-motor
Replies: 14
Views: 1046

Re: Trying pigpio-stepper-motor

Actually I am not sure how to load the library. pigpiod -v shows "71". Most pigs commands I have used work, so some kind of relevant library is present.

My installation right now is RPi4 1GB running Buster OS full 09-26 updated and upgraded
by calleblyh
Mon Nov 04, 2019 12:37 pm
Forum: Beginners
Topic: Trying pigpio-stepper-motor
Replies: 14
Views: 1046

Re: Trying pigpio-stepper-motor

pi@CHB:~ $ ls /home/pi/Documents
STEPLEFTRITE STEPLEFTRITE.py
pi@CHB:~ $
by calleblyh
Mon Nov 04, 2019 11:57 am
Forum: Beginners
Topic: Trying pigpio-stepper-motor
Replies: 14
Views: 1046

Re: Trying pigpio-stepper-motor

Yes all that done but still get error on line 3 Python 3.7.3 (/usr/bin/python3) >>> %cd /home/pi/Documents >>> %Run STEPLEFTRITE.py Traceback (most recent call last): File "/home/pi/Documents/STEPLEFTRITE.py", line 3, in <module> from PigpioStepperMotor import StepperMotor ModuleNotFoundError: No mo...
by calleblyh
Mon Nov 04, 2019 9:37 am
Forum: Beginners
Topic: Trying pigpio-stepper-motor
Replies: 14
Views: 1046

Trying pigpio-stepper-motor

Control stepper motor using keyboard left and right keys import pigpio import curses from PigpioStepperMotor import StepperMotor pi = pigpio.pi() stdscr = curses.initscr() stdscr.keypad(True) curses.cbreak() curses.noecho() try: motor = StepperMotor(pi, 6, 13, 19, 26) while True: key = stdscr.getkey...
by calleblyh
Sun Oct 27, 2019 3:13 pm
Forum: Beginners
Topic: How to use pigs HP g f dc to create a frequency
Replies: 1
Views: 110

How to use pigs HP g f dc to create a frequency

I am using pigs hp 18 18000 500000 to get a frequency of 18kHz with 50% dutycycle. Once started how do I stop it ? How do I get pigpio to run as daemon during boot.

I am quite new using pigs and pigpio

Carl Blyh
Helsinki
by calleblyh
Wed Oct 23, 2019 2:39 pm
Forum: Beginners
Topic: RPi4 with 2 monitors connected, tvservice -xx
Replies: 1
Views: 122

RPi4 with 2 monitors connected, tvservice -xx

Monitor HDMI0 resolution 1680*1050, this is a 22" Samsung TV Monitor HDMI1 resolution 1360*768, this is a 14" LG TV Terminal command tvservice -xx pi@raspberrypi:~ $ tvservice -l 2 attached device(s), display ID's are : Display Number 2, type HDMI 0 Display Number 7, type HDMI 1 Terminal command tvs...
by calleblyh
Wed Oct 09, 2019 4:31 pm
Forum: Beginners
Topic: How can i access my raspberry pi at home from anywhere in the most secure way?
Replies: 8
Views: 571

Re: How can i access my raspberry pi at home from anywhere in the most secure way?

I use ngrok, very easy to run and free for most use cases. https://www.dexterindustries.com/howto/access-your-raspberry-pi-from-outside-your-home-or-local-network/ I tried to install using sudo wget https://dl.ngrok.com/ngrok_2.0.19_linux_arm.zip , but unfortunately i get an erros message pi@raspbe...
by calleblyh
Tue Sep 24, 2019 10:57 am
Forum: Python
Topic: Pulse Frequency Counter
Replies: 7
Views: 3970

Re: Pulse Frequency Counter

Hi all, I would like to make something simillar, but for higher frequency. Is there some aditional HW modul that would do counting and enable to read "number of impulses" + reset counter. This would allow to get the number of impulses every 0.1 secodns. How many pulses per second? A Pi3 will manage...
by calleblyh
Thu Sep 12, 2019 9:10 am
Forum: Beginners
Topic: How to wire pi, battery and servo
Replies: 19
Views: 555

Re: How to wire pi, battery and servo

Unfortunately I cannot see how you power the RPi. Anyhow battery black wire needs also to be connected to RPi ground. Otherwise orange wire is kind of "floating".
calleblyh / southwest finland
by calleblyh
Wed Sep 11, 2019 5:54 am
Forum: Troubleshooting
Topic: screen command not working completely
Replies: 1
Views: 143

Re: screen command not working completely

I recently installed screen for Raspbian Buster using bash and it doesn't seem to work completely.
I would like to know howto install screen. I have not found any information.

Thanks in advance for your help

Calleblyh / Helsinki
by calleblyh
Thu Sep 05, 2019 10:48 am
Forum: Troubleshooting
Topic: screen command not working completely
Replies: 6
Views: 260

screen command not working completely

I just got my first Pi4B, it is up and running Buster ofc. I have no idea how to benefit from two HDMI displays and which one is active. Is there a good tutorial how to use dual displays ? How do I install "screen for Buster" ?

Just outof curiosity
Carl / Helsinki
by calleblyh
Mon Sep 02, 2019 9:00 am
Forum: Beginners
Topic: Where could I get a case for an older Raspberry Pi please?
Replies: 18
Views: 442

Re: Where could I get a case for an older Raspberry Pi please?

Your model is Raspberrypi model B, from 2012
Check http://socialcompare.com/en/comparison/ ... comparison

Carl / Helsinki
by calleblyh
Mon Jul 15, 2019 4:50 pm
Forum: Troubleshooting
Topic: Raspberrypi 4 1GB versus 3B+ gpio readall gpio allreadall
Replies: 2
Views: 488

Re: Raspberrypi 4 1GB versus 3B+ gpio readall gpio allreadall

Thank you very much

I updated and it works
by calleblyh
Mon Jul 15, 2019 4:33 pm
Forum: Troubleshooting
Topic: Raspberrypi 4 1GB versus 3B+ gpio readall gpio allreadall
Replies: 2
Views: 488

Raspberrypi 4 1GB versus 3B+ gpio readall gpio allreadall

I just got my RPi 4 1 GB board. I am running Rasbpian full Buster which I activeted on a Raspberry 3B+ board. Running gpio readall and gpio allreadall I get results as expected. Moving the same SD-card to my new RPi4 problems are : gpio readall ... doesnt recognize board gpio allreadall ... all pins...
by calleblyh
Thu Mar 22, 2018 6:32 pm
Forum: Beginners
Topic: pi3b+ gpio readall; unable to determine board type ... model: 13
Replies: 3
Views: 3592

Re: pi3b+ gpio readall; unable to determine board type ... model: 13

You need to upgrade to WiringPi 2.46 from 2.44.
My wiringpi is already the newest version (2.44+1), So where do I find v 2.46 ?
by calleblyh
Thu Mar 22, 2018 5:14 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: New "gpio" config.txt command announcement
Replies: 38
Views: 11764

Re: New "gpio" config.txt command announcement

gpio readall doesnot behave as it used to when running PI3B+ under 2018-3-13. Is there a problem ? I have posted this question earlier in Beginners before I found this announcement.
by calleblyh
Thu Mar 22, 2018 10:58 am
Forum: Beginners
Topic: pi3b+ gpio readall; unable to determine board type ... model: 13
Replies: 3
Views: 3592

pi3b+ gpio readall; unable to determine board type ... model: 13

I just received my PI3B+ . Running FullStretch 2018-3-13. I tried gpio readall and get "Oops - unable to determine board type ... model: 13". What's missing ? uname -a Linux ChB_NEW 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux. I tried apt-get update && apt-get upgrade but no im...
by calleblyh
Mon Feb 19, 2018 4:16 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Servoblaster compatibility with latest May Jessie
Replies: 32
Views: 6015

Re: Servoblaster compatibility with latest May Jessie

Post a photo or a link to a photo of your Pi <-> servo connections. The most likely problem is you are using the wrong GPIO (there are several numbering schemes) or you have not connected the Pi and servo grounds. Thanks Joan for replying. It was certainly NOT a wiring problem. Rather the servoblas...
by calleblyh
Sun Feb 18, 2018 3:12 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Servoblaster compatibility with latest May Jessie
Replies: 32
Views: 6015

Re: Servoblaster compatibility with latest May Jessie

Asking for help to install ServoBlaster on latest 2017-11-29 Stretch. My intention is to control 2 servos for pan & tilt using arrow keys for up/down left/right. There are lots of postings on many forums on this subject. However all my attempts to install ServoBlaster have failed in respect of getti...
by calleblyh
Tue Nov 14, 2017 8:31 am
Forum: General discussion
Topic: Cursor position after boot to CLI in Raspbian Stretch
Replies: 3
Views: 775

Re: Cursor position after boot to CLI in Raspbian Stretch

It is indeed the same problem.
by calleblyh
Tue Nov 14, 2017 7:42 am
Forum: General discussion
Topic: Cursor position after boot to CLI in Raspbian Stretch
Replies: 3
Views: 775

Cursor position after boot to CLI in Raspbian Stretch

Ever since taking Raspbian Stretch ( full or Lite ) in use I notice cursor takes position to the left of hostname on boot into CLI mode. Hitting enter once locates cursor where it used to be. Is there a bug ?
by calleblyh
Tue Oct 10, 2017 5:30 pm
Forum: Beginners
Topic: How much current can I expect to load on 5V pins 2 and 4 without burning traces inside the motherboard
Replies: 2
Views: 503

How much current can I expect to load on 5V pins 2 and 4 without burning traces inside the motherboard

Hi, How much current can I expect to load on 5V pins 2 and 4 without burning traces inside the motherboard. Ok polyfuse will protect somehow but can the traces inside the board cope with lets say 2 Amp continuous load ? Are pins 2 and 4 sharing same trace or ...? I am asking because I use the offici...

Go to advanced search