Go to advanced search

by calleblyh
Mon Sep 07, 2020 5:41 pm
Forum: Troubleshooting
Topic: voltage anomaly...
Replies: 10
Views: 379

Re: voltage anomaly...

If I understand correctly, you actually need to measure the Voltage between pins 4 and 6 on the RPi. as there is a small voltage drop on on the GND wire from the PS to the RPi also...
by calleblyh
Thu Aug 06, 2020 9:53 am
Forum: Beginners
Topic: Controlling a servo motor
Replies: 5
Views: 529

Re: Controlling a servo motor

Can I use up-down-left-right keys with pigpio .
by calleblyh
Thu Aug 06, 2020 7:27 am
Forum: Beginners
Topic: Controlling a servo motor
Replies: 5
Views: 529

Re: Controlling a servo motor

Hi, I have successfully found a solution to control two servos using keyboard up-down-left-right keys. First you need to install PiBits which installs ServoBlaster. Follow this link https://github.com/richardghirst/PiBits/issues/24. Please be aware installing ServoBlaster can be tricky, was for me a...
by calleblyh
Wed Apr 29, 2020 4:31 am
Forum: Beginners
Topic: DCF77 time signal emulator by Raspberry Pi Zero WH
Replies: 12
Views: 598

Re: DCF77 time signal emulator by Raspberry Pi Zero WH

pekka@dcftx:~$ sudo dcfake77 -1 [sudo] password for pekka: Waiting for next minute start "sudo dcfake77 -1". Question what does this -1 do ? Should I get "Waiting for next minute start", until now I haven't seen it Furthermore I would appreciate if you send a picture of ferrite-antenna/coil Thanks a...
by calleblyh
Tue Apr 28, 2020 11:51 am
Forum: Beginners
Topic: DCF77 time signal emulator by Raspberry Pi Zero WH
Replies: 12
Views: 598

Re: DCF77 time signal emulator by Raspberry Pi Zero WH

dcfake77 will wait until the next full minute until it starts sending pulses to GPIO. L Yes indeed I noticed. all three Auriol radioclocks grabs the signal around 1,5 meter away. My wristwatch Citizen Eco-Drive however needs to be quite close 30cm. My antenna coil is made of stranded wire 0,5mm onl...
by calleblyh
Sun Apr 26, 2020 11:13 am
Forum: Beginners
Topic: DCF77 time signal emulator by Raspberry Pi Zero WH
Replies: 12
Views: 598

Re: DCF77 time signal emulator by Raspberry Pi Zero WH

Ok, Installation done according to your advice. I have a 560 ohm resistor in series with the antennacoil connected to physical pin 7 GPIO4, the other end of the coil connected to gnd pin 6. Starting the process using sudo ./dcfake77 shows time ticking on my screen, but I cannot see any pulses on on ...
by calleblyh
Sat Apr 25, 2020 11:26 am
Forum: Beginners
Topic: DCF77 time signal emulator by Raspberry Pi Zero WH
Replies: 12
Views: 598

Re: DCF77 time signal emulator by Raspberry Pi Zero WH

Thanks,
I will try it once I get the antennacoil made or I will borrow one from radioclock
by calleblyh
Thu Apr 23, 2020 3:41 am
Forum: Beginners
Topic: DCF77 time signal emulator by Raspberry Pi Zero WH
Replies: 12
Views: 598

Re: DCF77 time signal emulator by Raspberry Pi Zero WH

So, how do I install dcfake77 on my PiZW.
TIA
by calleblyh
Sat Apr 18, 2020 10:15 am
Forum: Beginners
Topic: DCF77 time signal emulator by Raspberry Pi Zero WH
Replies: 12
Views: 598

Re: DCF77 time signal emulator by Raspberry Pi Zero WH

This is to extend the signal range to about ten meters. Please let me know the circuit around the amplifier LM386 and ferrite rod antenna once you have conducted successful tests. I have four radiocontrolled clocks which occasionally synchronize to the DCF77 radiosignal. I have also built the setup...
by calleblyh
Fri Dec 27, 2019 10:07 am
Forum: Troubleshooting
Topic: Installing PiBits require username and password
Replies: 1
Views: 265

Installing PiBits require username and password

Trying to install Servoblaster but fails due to asking for username etc.. pi@raspberrypi:~ $ git clone https://github.com/richardsghurst/PiBits.git Cloning into 'PiBits'... Username for 'https://github.com': Some two years ago I managed successfully to install without any username... Is this a new r...
by calleblyh
Tue Nov 05, 2019 2:13 pm
Forum: Beginners
Topic: Trying pigpio-stepper-motor
Replies: 14
Views: 1504

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: 1504

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: 1504

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: 1504

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: 1504

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: 1504

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: 1504

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: 236

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: 264

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: 1430

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: 5164

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: 1069

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: 310

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: 495

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: 715

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

Go to advanced search