Go to advanced search

by slawekw79
Tue Jan 31, 2017 4:06 pm
Forum: Troubleshooting
Topic: F11 full screen mode substitute
Replies: 2
Views: 1073

Re: F11 full screen mode substitute

xdotool key F11 should work if you can get it performed somehow. It will allow me to open web browser in full screen mode, but my problem is how to get back from full screen mode. What about : http://www.instructables.com/id/Making-a-powerful-programmable-keypad-for-less-tha/ but with only 6 keys?
by slawekw79
Tue Jan 31, 2017 3:13 pm
Forum: Troubleshooting
Topic: F11 full screen mode substitute
Replies: 2
Views: 1073

F11 full screen mode substitute

Hi all, I've made a multimedia calendar like this one: http://www.instructables.com/id/Raspberry-Pi-Wall-Mounted-Calender-and-Notificatio/ but instead of using buttons I used a touchpanel glued on top of the old laptop screen. RPi3 is running on Jessie Light with Chromium (I had problems with correc...
by slawekw79
Mon Jun 01, 2015 5:44 pm
Forum: Troubleshooting
Topic: HOW-TO repair rc.local file after messing up
Replies: 0
Views: 384

HOW-TO repair rc.local file after messing up

Hi Guys Several days ago I messed up with rc.local file, just forgot put "&" mark on the end of line. After few days playing finally I've been able to fix this file, below I write down how I've done this. This tutorial is for people who haven't a Linux machine. 1) Download LiveCD with some Linux dis...
by slawekw79
Tue Mar 24, 2015 5:06 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Re: Startracker

Hi guys
Quick question, what about accuracy in GPIO.PWM? if i made code:

Code: Select all

import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(12, GPIO.OUT)

p = GPIO.PWM(17, 34.4656)
p.start(1)
raw_input('Press return to stop:')
p.stop()
GPIO.cleanup()
it will make correct accuracy?
by slawekw79
Sun Mar 22, 2015 4:17 pm
Forum: Beginners
Topic: Easy Driver v4.4 how it work?
Replies: 0
Views: 353

Easy Driver v4.4 how it work?

Hi guys
I tried figured out how this Easy driver work, but i'm struggling with STEP pin. In datasheet is
Each rising edge of this signal will cause one step
but i'm not full understand what is that mean, maybe my poor english. Can somebody explain me this?
by slawekw79
Tue Feb 10, 2015 5:42 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Re: Startracker

Hi
I've just tested my setup, it's ran for 6 hours and it made nice 90 degrees. If in next weekend will be good weather i will go make some fotos. Next step add the HDMIPI screen and find adequate software for controlling my DLSR with Life View.
by slawekw79
Tue Jan 27, 2015 6:45 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Re: Startracker

Yes it's working!!
I connect my EasyDriver to my 42SHD0404-22 stepper motor and i use your PrecisePulse.py and working realy nice. When i finish my mechanic part i will run my setup in 24 hours test and i will you know a results. Thanks again for your indescribable help.
by slawekw79
Tue Jan 27, 2015 5:36 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Re: Startracker

Hi I've tried to compile your C code freeRunningCounter.c and i received error: [email protected] ~ $ gcc -I/usr/include/python2.7 -lpython2.7 -c freeRunningCounter.c freeRunningCounter.c:7:20: fatal error: Python.h: No such file or directory compilation terminated. [email protected] ~ $ Do you know what ...
by slawekw79
Tue Jan 27, 2015 4:24 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Re: Startracker

Sorry I forget mention i have worm gear 100:1 and i will attach timing belt pulleys 80 teeth on worm gear shaft and 20 teeth on stepper shaft, so at all this give me ratio 400. Timing of my camera is exactly like Earth speed 23:56:04 hours what is 86164 sec. After gear give me 215.41 sec per one mot...
by slawekw79
Tue Jan 27, 2015 2:14 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Re: Startracker

GND: ENABLE,DIR,and GND 3.3V: VDD,MS1,MS2,MS3 15V: VMOT RESET with SLEEP (use the reset pull up) and GPIO7 on STEP You meant GPIO17? I already have L298n and EasyDriver 4.4 drivers so i don't want buy another one :). In other day I've tried them together https://www.youtube.com/watch?v=JUOUox4iw_g ...
by slawekw79
Mon Jan 26, 2015 2:13 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Re: Startracker

hi
Big thank you for your help. I'll try this later, first of all i need finish mechanical part of my project. Thank you once again.
by slawekw79
Sat Jan 24, 2015 3:33 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Re: Startracker

HI
One more question, in my code i'm using time.delay() and i heard system timing is not accurate. What if i will add RTC to my RPi? This timing will be more accurate?
by slawekw79
Thu Jan 22, 2015 5:50 pm
Forum: Automation, sensing and robotics
Topic: Micro-Stepping with the Raspberry PI using L298 driver
Replies: 11
Views: 4970

Re: Micro-Stepping with the Raspberry PI using L298 driver

Yes my motor is 1.8 deg. I need move a motor 1 rev in 14 minutes and 21,64 sec, and time between "steps" or "micro-steps" maximum 0.5 sec. I need such a precision because i will use my project to astrophotography with my DSLR and 400mm lens. Is a quite big lens and over 0.5 sec i see star movement o...
by slawekw79
Thu Jan 22, 2015 4:08 pm
Forum: Automation, sensing and robotics
Topic: Micro-Stepping with the Raspberry PI using L298 driver
Replies: 11
Views: 4970

Re: Micro-Stepping with the Raspberry PI using L298 driver

Hi
one technical question, in your code mtest.py

Code: Select all

#ok move half turn
m1.move(500)
this (500) it's mean 500 microsteps?
if I change this part to:

Code: Select all

m1.delay=1
m1.move(1000)
my stepper motor will make one full turn with 1 sec delay between each microstep?
by slawekw79
Wed Jan 21, 2015 7:30 pm
Forum: Automation, sensing and robotics
Topic: Micro-Stepping with the Raspberry PI using L298 driver
Replies: 11
Views: 4970

Re: Micro-Stepping with the Raspberry PI using L298 driver

Yes thank you it's working.
Now I see I have another issue with stepper motor or L298n, because is moving but not smooth i had this issue with other codes and i suspect one of coils in motor is not perfect or H-bridge is defective.
Thanks again for your great work.
by slawekw79
Wed Jan 21, 2015 4:39 pm
Forum: Automation, sensing and robotics
Topic: Micro-Stepping with the Raspberry PI using L298 driver
Replies: 11
Views: 4970

Re: Micro-Stepping with the Raspberry PI using L298 driver

HI I try run your Python3 code but i have a problem: [email protected] ~ $ sudo pigpiod [email protected] ~ $ python3 mtest.py Traceback (most recent call last): File "mtest.py", line 7, in <module> pigpio.start() AttributeError: 'module' object has no attribute 'start' [email protected] ~ $ I have installed...
by slawekw79
Wed Jan 21, 2015 4:33 pm
Forum: Python
Topic: New pigpio Python module
Replies: 204
Views: 63374

Re: New pigpio Python module

hi I installed pigpio for python3, but now I have issue like this: [email protected] ~ $ sudo pigpiod [email protected] ~ $ python3 mtest.py Traceback (most recent call last): File "mtest.py", line 7, in <module> pigpio.start() AttributeError: 'module' object has no attribute 'start' [email protected] ~ $ An...
by slawekw79
Sun Jan 18, 2015 9:13 pm
Forum: Python
Topic: New pigpio Python module
Replies: 204
Views: 63374

Re: New pigpio Python module

still not running [email protected] ~/PIGPIO $ sudo ./x_pigpio Version. pigpio version 25. Hardware revision 16. Mode/PUD/read/write tests. TEST 1.1 PASS (set mode, get mode: 0) TEST 1.2 PASS (set pull up down, read: 1) TEST 1.3 PASS (set pull up down, read: 0) TEST 1.4 PASS (write, get mode: 1) TEST 1...
by slawekw79
Sun Jan 18, 2015 7:50 pm
Forum: Python
Topic: New pigpio Python module
Replies: 204
Views: 63374

Re: New pigpio Python module

Hi I have a issue after install pigpio library, i can't run my script because : Traceback (most recent call last): File "/home/pi/mtest.py", line 3, in <module> import pigpio ImportError: No module named pigpio I've checked : [email protected] ~/PIGPIO $ sudo ./x_pigpio 2015-01-18 19:39:50 gpioInitiali...
by slawekw79
Fri Jan 16, 2015 7:46 pm
Forum: Graphics, sound and multimedia
Topic: TFT from old satnav
Replies: 1
Views: 616

TFT from old satnav

Hi
I've found old satnav with working screen but touch is gone. I thinking about use this TFT for my RPi B+. TFT model is LTE430WQ-F0C-0BU and i've found datasheet :
http://boundarydevices.com/wp-content/u ... WQ-F0C.pdf
It's possible to make working together TFT and my RPi?
by slawekw79
Wed Jan 14, 2015 11:28 am
Forum: Python
Topic: time in stepper controlling script
Replies: 1
Views: 327

time in stepper controlling script

Hi I made my first script and is running fine, but i'm confused with running time. In my code import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BOARD) ControlPin = (7,11,13,15) for pin in ControlPin: GPIO.setup(pin,GPIO.OUT) GPIO.output(pin,0) seq = [ [1,0,0,0], [1,1,0,0], [0,1,0,0], [0,1,1,0], ...
by slawekw79
Fri Jan 09, 2015 7:51 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Re: Startracker

Hi
I check today one more time accuracy, with coupling and set 50 seq what is exactly 1 revolution with time 0.1s. And i observed it done exactly 1 rev. So i set 200 seq and to my surprise done nice clear 4 rev. Now i try to calculate time and seq for my final stage. thanks again for your help.
by slawekw79
Thu Jan 08, 2015 9:25 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Re: Startracker

HI
Thank all of you for advice. I check again my setup i recon i wrong connect motor to driver :lol: , now is running with my code but i'm still not happy. Is not accurate as i expect, each step made different angle. I just wondering it's problem with motor or driver?
by slawekw79
Wed Jan 07, 2015 8:58 pm
Forum: Automation, sensing and robotics
Topic: Startracker
Replies: 25
Views: 5800

Startracker

Hi I try to run my first project which is star tracking device. First of all i try connect Raspberry Pi + L298n + 42shd0404-22 and run simple script but i have problems with stepper motor which shaking, lack of torque and have no power to spin. Motor is supplying by 12v max 5A supply. import RPi.GPI...

Go to advanced search