Go to advanced search

by RGhosh99
Tue Apr 18, 2017 7:18 am
Forum: Python
Topic: Torque control in servo motor
Replies: 10
Views: 2839

Re: Torque control in servo motor

Its not continuous rotation. When a sensor is activated, from the initial position it moves to the desired position, and again it moves to the initial position and comes back again to the desired position. Its type of like back and forth movement.

I have 180 degree positional control servo.
by RGhosh99
Tue Apr 18, 2017 6:40 am
Forum: Python
Topic: Torque control in servo motor
Replies: 10
Views: 2839

Re: Torque control in servo motor

Hello eveyone. I was trying with this and found out a solution, but it makes the servo a bit unstable. p.start(12) //assuming servo is connected to pin p def slow(): for i in range(2,7,1): p.ChangeDutyCycle(i) time.sleep(0.1) while True: try: if GPIO.event_detected(PIR1): //assuming rising edge dete...
by RGhosh99
Sat Apr 08, 2017 3:08 pm
Forum: Python
Topic: Torque control in servo motor
Replies: 10
Views: 2839

Re: Torque control in servo motor

How can Linear equation help me in this ???
by RGhosh99
Sat Apr 08, 2017 8:02 am
Forum: Python
Topic: Torque control in servo motor
Replies: 10
Views: 2839

Re: Torque control in servo motor

One more thing i want to ask. In 180 degree servo if I give pulse more than 1.5ms it will directly move to 180 position. Also any pulse less than 1.5ms will take it to 0 position. So if I take dutycycle(2.5) as my neutral position and by putting dutycycle (7.5) it moves to 180 position, what duty cy...
by RGhosh99
Sat Apr 08, 2017 7:54 am
Forum: Python
Topic: Torque control in servo motor
Replies: 10
Views: 2839

Re: Torque control in servo motor

Thanks a lot. I will try that thing and will post here later.
by RGhosh99
Sat Apr 08, 2017 4:13 am
Forum: Python
Topic: Torque control in servo motor
Replies: 10
Views: 2839

Torque control in servo motor

Hello everyone. The problem I am facing is that I am able to rotate servo motor to the desired position with my code, but I am unable to control the speed of rotation. I need to slow down the rotation so that it slowly rotates from one position to another. Also there is some jitter when the servo mo...
by RGhosh99
Thu Apr 06, 2017 12:15 pm
Forum: Python
Topic: Raspberry Pi with Servo Motor, PIR sensors and GSM module
Replies: 7
Views: 1670

Re: Raspberry Pi with Servo Motor, PIR sensors and GSM modul

The two codes run separately thats not an issue. But when I use subprocess.Popen it shows the following error and the sms is not sent.


Serial.serialutil.SerialException : device reports readiness to read but returned no data (device disconnected?)
by RGhosh99
Thu Apr 06, 2017 12:10 pm
Forum: Python
Topic: Raspberry Pi with Servo Motor, PIR sensors and GSM module
Replies: 7
Views: 1670

Re: Raspberry Pi with Servo Motor, PIR sensors and GSM modul

When i try the given solution , it shows global mQueue not defined. Can you help in this ?? What i need to do ??
by RGhosh99
Thu Apr 06, 2017 11:45 am
Forum: Python
Topic: GSM module and PIR sensors with Raspberry Pi
Replies: 5
Views: 1279

Re: GSM module and PIR sensors with Raspberry Pi

I am extremely sorry for that. But I am facing this issue and it needs to be solved urgently. Any solution for the problem will be very helpful to me.

Thanks
by RGhosh99
Thu Apr 06, 2017 11:41 am
Forum: Python
Topic: GSM module and PIR sensors with Raspberry Pi
Replies: 5
Views: 1279

Re: GSM module and PIR sensors with Raspberry Pi

I did not get any proper reply. The issue was not solved. Thats why I posted again.
by RGhosh99
Thu Apr 06, 2017 10:17 am
Forum: Python
Topic: GSM module and PIR sensors with Raspberry Pi
Replies: 5
Views: 1279

GSM module and PIR sensors with Raspberry Pi

I am having a project, wherein there are 4 PIR sensors in 4 directions. Whenever one sensor gets activated, the Servo motor has to move in that direction and the GSM module should send a message to the user. The problem I am facing that, I try to embed the GSM module python script into the main code...
by RGhosh99
Tue Apr 04, 2017 9:43 am
Forum: Python
Topic: Raspberry Pi with Servo Motor, PIR sensors and GSM module
Replies: 7
Views: 1670

Re: Raspberry Pi with Servo Motor, PIR sensors and GSM modul

Anyone please help me with the full corrected code. Its very urgent.

Thanks in advance.
by RGhosh99
Tue Apr 04, 2017 4:52 am
Forum: Python
Topic: Raspberry Pi with Servo Motor, PIR sensors and GSM module
Replies: 7
Views: 1670

Re: Raspberry Pi with Servo Motor, PIR sensors and GSM modul

I really do not understand where to put the gsm.py code in it. Can you please do a little help and writw out the full working code for me ?? I am new to this thing and I am not getting such deep concepts.

It will be of immense help if you please write out the full code that I can directly use.
by RGhosh99
Mon Apr 03, 2017 9:19 pm
Forum: Python
Topic: Raspberry Pi with Servo Motor, PIR sensors and GSM module
Replies: 7
Views: 1670

Raspberry Pi with Servo Motor, PIR sensors and GSM module

I am having a project, wherein there are 4 PIR sensors in 4 directions. Whenever one sensor gets activated, the Servo motor has to move in that direction and the GSM module should send a message to the user. The problem I am facing that, I try to embed the GSM module python script into the main code...
by RGhosh99
Wed Mar 29, 2017 1:10 pm
Forum: Python
Topic: SIM 808 GSM module with Raspberry Pi
Replies: 4
Views: 10602

SIM 808 GSM module with Raspberry Pi

Can SIM 808 GSM module be used with Raspberry Pi for sending sms and making calls from Pi ?

If yes, can anyone help me with the Python code for that ?

Thanks
by RGhosh99
Sat Mar 25, 2017 9:11 am
Forum: General discussion
Topic: Accessing raspberry pi live video over internet anywhere
Replies: 6
Views: 2341

Re: Accessing raspberry pi live video over internet anywhere

I tried. But not getting any solution.
by RGhosh99
Sat Mar 25, 2017 9:05 am
Forum: General discussion
Topic: Accessing raspberry pi live video over internet anywhere
Replies: 6
Views: 2341

Re: Accessing raspberry pi live video over internet anywhere

Actually I do not need to access the raspberry desktop. I need to view live video only. In my raspberry pi, the live video streams on http://localhost/live.php. But this is accessible only in the pi network. I want to make this website externally accessible all over internet. Please help me in this....
by RGhosh99
Sat Mar 25, 2017 7:56 am
Forum: General discussion
Topic: Accessing raspberry pi live video over internet anywhere
Replies: 6
Views: 2341

Accessing raspberry pi live video over internet anywhere

I need to live stream live video from raspberry pi to the internet anywhere in the world. I do not have a router for port forwarding and also I tried installing ngrok, but its not getting installed.

Any other way to do this ?? Without using a router or ngrok. Please help.
by RGhosh99
Sat Mar 25, 2017 4:12 am
Forum: Python
Topic: Servo motor control with 4 PIR sensors using Raspberry Pi
Replies: 31
Views: 5576

Re: Servo motor control with 4 PIR sensors using Raspberry P

Thanks mate ! The code worked fine. Only one problem is that till now I was using a 180 degree servo motor. I want to use a 360 servo motor for ease of operation.

Can you tell me the duty cycle values if the servo needs to more in 4 directions according to the sensors, if I use a 360 degree servo ???
by RGhosh99
Fri Mar 24, 2017 6:10 pm
Forum: Python
Topic: Servo motor control with 4 PIR sensors using Raspberry Pi
Replies: 31
Views: 5576

Servo motor control with 4 PIR sensors using Raspberry Pi

I need to control a servo motor with 4 PIR sensors. The servo motor should move to a particular direction (change duty cycle) when each sensor gets activated. the code is as follows : import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) PIR_PIN1 = 12 PIR_PIN2 = 16 PIR_PIN3 = 20 PIR_PIN4 = 21 G...
by RGhosh99
Wed Mar 22, 2017 6:39 am
Forum: Python
Topic: Servo motor control with IR sensors using Raspberry Pi
Replies: 9
Views: 3946

Re: Servo motor control with IR sensors using Raspberry Pi

Thanks. I will try to use this logic and check. Will post later if there is any issue.
by RGhosh99
Wed Mar 22, 2017 5:18 am
Forum: Python
Topic: Servo motor control with IR sensors using Raspberry Pi
Replies: 9
Views: 3946

Re: Servo motor control with IR sensors using Raspberry Pi

I am explaining the setup : 1. Suppose there are 4 IR sensor modules (with 3 pins Vcc Gnd and Output) in four directions East West North South 2. A servo motor SG90 (turns 180 degree, but i may use a 360 degree servo also) is there. 3. The output of sensors are provided as input to the servo through...
by RGhosh99
Wed Mar 22, 2017 4:24 am
Forum: Python
Topic: Servo motor control with IR sensors using Raspberry Pi
Replies: 9
Views: 3946

Re: Servo motor control with IR sensors using Raspberry Pi

I am getting a problem like the motor is running automatically without sensor input and the loop of code runs automatically. Anyone with the proper python code for my requirement ? It will be of great help. Thanks
by RGhosh99
Tue Mar 21, 2017 4:42 pm
Forum: Python
Topic: Servo motor control with IR sensors using Raspberry Pi
Replies: 9
Views: 3946

Re: Servo motor control with IR sensors using Raspberry Pi

Actually i need a python code such that the servo motor moves according to the IR sensor input. There will be 4 IR sensors in four directions and the motor needs to move in those directions depending on which IR is activated. I need python code for this. Please help.
by RGhosh99
Tue Mar 21, 2017 7:00 am
Forum: Python
Topic: Servo motor control with IR sensors using Raspberry Pi
Replies: 9
Views: 3946

Servo motor control with IR sensors using Raspberry Pi

Can anyone tell me the Python code required for running a servo motor using IR sensors with Raspberry Pi ?

Go to advanced search