Author |
Message |
Topic: Ultrasonic Distance measuring code HC-SR04 & DYP ME007 |
Bhanu Watawana
Replies: 9
Views: 102015
|
Forum: Code Library Posted: Sat Jun 23, 2012 3:13 am Subject: Re: Measuring in cm or inches |
All you have to do is when you build up the formula(calibrating), make all the measurements in any scale you need. Then build the formula accordingly. |
Topic: Ultrasonic Distance measuring code HC-SR04 & DYP ME007 |
Bhanu Watawana
Replies: 9
Views: 102015
|
Forum: Code Library Posted: Wed Mar 21, 2012 7:43 am Subject: Re: Formula |
I've calibrated a formula for my ultrasonic range finder as there are many conditions that effect the result.
For example, the time taken depends upon humidity.
Once you calibrate an equation f ... |
Topic: Servo Test Driver - SG 90 and MG 90 S micro servo |
Bhanu Watawana
Replies: 4
Views: 50339
|
Forum: Code Library Posted: Sat Jul 02, 2011 6:23 am Subject: Re: Pacman |
Sorry for the delay,
Its so easy if you use the CCS PIC Wizard http://i56.tinypic.com/mrs6mf.jpg
http://www.ccsinfo.com/forum/viewtopic.php?t=22467
Read this and it will help you to get an id ... |
Topic: writing and reading internal registers |
Bhanu Watawana
Replies: 6
Views: 13856
|
Forum: General CCS C Discussion Posted: Tue Jun 14, 2011 9:35 am Subject: Why can't you use bit test operation? |
Macho,
Why can't you use bit_test('variable','bit number')
This doesn't need the registry address + you can run this in a simple loop for sending the data.
That's far more easy, isn't it?
CCS ... |
Topic: Bhanu - Stop doing this -- Forum Moderator |
Bhanu Watawana
Replies: 0
Views: 3165
|
Forum: General CCS C Discussion Posted: Mon Jun 13, 2011 11:17 pm Subject: Bhanu - Stop doing this -- Forum Moderator |
http://www.ccsinfo.com/forum/viewtopic.php?t=45655
Take a look at this.
++++++++++++++++++++++
Stop posting your link in every servo post.
Stop it right now.
-- Forum Moderator
+++++++ ... |
Topic: Ultrasonic Distance measuring code HC-SR04 & DYP ME007 |
Bhanu Watawana
Replies: 9
Views: 102015
|
Forum: Code Library Posted: Mon Jun 13, 2011 11:07 pm Subject: Ultrasonic Distance measuring code HC-SR04 & DYP ME007 |
This is a simple code for taking the distance using an ultrasonic module.
This is compatible with any sonar(Ultrasonic ranging module) available in the market.
Note that you need the trigger pin f ... |
Topic: Servo Test Driver - SG 90 and MG 90 S micro servo |
Bhanu Watawana
Replies: 4
Views: 50339
|
Forum: Code Library Posted: Mon Jun 13, 2011 9:34 pm Subject: Servo Test Driver - SG 90 and MG 90 S micro servo |
ah ela ela
Thanks bro ;-) |
Topic: Servo Test Driver - SG 90 and MG 90 S micro servo |
Bhanu Watawana
Replies: 4
Views: 50339
|
Forum: Code Library Posted: Wed Jun 01, 2011 7:34 pm Subject: Servo Test Driver - SG 90 and MG 90 S micro servo |
As you have already experienced, there is no data-sheet available for above servo motors. Below posted is a simple code that you can use for getting an idea about the pulse width of the servo.
... |
|