Go to advanced search

by vishnuvkv
Fri Jul 01, 2016 10:17 am
Forum: Python
Topic: Reg: Python programming
Replies: 25
Views: 4492

Re: Reg: Python programming

I have edited the post .Please check the code.
by vishnuvkv
Fri Jul 01, 2016 9:07 am
Forum: Python
Topic: Reg: Python programming
Replies: 25
Views: 4492

Python Program for robotic arm with 3 servo motor.

import RPi.GPIO as GPIO GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.setup(13,GPIO.OUT) p1=GPIO.PWM(13,50)#base GPIO.setup(26,GPIO.OUT) p2=GPIO.PWM(26,50)#side GPIO.setup(19,GPIO.OUT) p3=GPIO.PWM(19,50)#top GPIO.setup(2,GPIO.IN,pull_up_down=GPIO.PUD_UP)#start/stop GPIO.setup(3,GPIO.IN,pull_u...
by vishnuvkv
Thu Jun 30, 2016 11:32 am
Forum: Python
Topic: Reg: Python programming
Replies: 25
Views: 4492

Threading

I am a beginer in RPi ,my program is slowing down while using threading. How can this be rectified?
Please help
by vishnuvkv
Fri Jun 17, 2016 1:24 pm
Forum: Python
Topic: Reg: Python programming
Replies: 25
Views: 4492

Writing to a text file

Hi...I wrote a number to a text file using the command " f.write(str(number))" and I need to read this number in other .py file and compare that value. How can I do this?? Please help...
by vishnuvkv
Sun Jun 12, 2016 2:38 pm
Forum: Python
Topic: Reg: Python programming
Replies: 25
Views: 4492

Re: PWM

Hi.. I am using Raspberry pi 2 B+. I need to run a servomotor and a 12Vdc motor at a time and I also need to control the speed of the dc motor so i am using a driver circuit. So both servo and dc motor is using PWM. Is there any problem in running two PWM signals at a time?Because, when I tried to r...
by vishnuvkv
Tue Jun 07, 2016 9:49 am
Forum: Python
Topic: Reg: Python programming
Replies: 25
Views: 4492

Re: Reg: Python programming

Thank you guys :)
by vishnuvkv
Tue Jun 07, 2016 5:05 am
Forum: Python
Topic: Reg: Python programming
Replies: 25
Views: 4492

Re: Reg: Python programming

I tried, but I am facing some time delay issues as I have to use "time.sleep()" function in the program multiple times.
by vishnuvkv
Mon Jun 06, 2016 4:19 am
Forum: Python
Topic: Reg: Python programming
Replies: 25
Views: 4492

Reg: Python programming

Hi,
I have to connect 4 servomotors, 2,12v DC motors ,LCD display and 4 sensors to raspberry. Is it possible to program everything in a single python file. Can anyone suggest a good method to get this done?

Go to advanced search