CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 13 matches
CCS Forum Index
Author Message
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Wed Nov 09, 2011 7:08 am   Subject: Ultrasonic distance measuring
I am counting on the one at school and got permission to use it, hopefully I will have some time before the exams 2 weeks later. Btw is it possible that breadboard is not suitable for these kinda circ ...
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Wed Nov 09, 2011 5:49 am   Subject: Ultrasonic distance measuring
Most of the time we were too busy with calculations though maybe we did see those notations and I forgot it. It wouldn't be the first time Smile. Originally this project I'm working on include 3 people. ...
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Wed Nov 09, 2011 4:40 am   Subject: Ultrasonic distance measuring
I am studying physics so I know way around basic electronics, in my defense I never saw one in any example ciruit we've been shown I didn't know so I learned whats the big deal? Don't get me wrong.
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Wed Nov 09, 2011 3:37 am   Subject: Ultrasonic distance measuring
oh.. I never saw a notation like this. It good to learn that. Thanks
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Tue Nov 08, 2011 11:03 am   Subject: Ultrasonic distance measuring
I forgot to put HS to config earlier so when tested again (#use delay(clock=20M) with 4mhz on circuit led flashed about 4 second from start to start it seems a bit off still
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Tue Nov 08, 2011 10:23 am   Subject: Ultrasonic distance measuring
I will take another look at my setup to confirm my oscillator issue I will post the results. Btw

http://img842.imageshack.us/img842/1117/090ultrasonicrangersche.png




I tried this circuit o ...
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Tue Nov 08, 2011 8:56 am   Subject: Ultrasonic distance measuring
I tried PCM_Programmer's code for led. It was on for half second and off for half second. considering delay_ms(500) it should be right?. I also tried my
555 circuit again pin3 is always 0v with my c ...
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Tue Nov 08, 2011 7:45 am   Subject: Ultrasonic distance measuring
My first curcuit was this ;
http://img256.imageshack.us/img256/599/39848396.png



In my code I triggered the 4th in on 555 with
[/code]
output_high(pin_b7);
delay_us(250);
output_low(pin_b7 ...
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Tue Nov 08, 2011 6:20 am   Subject: Ultrasonic distance measuring
Sorry I forgot the tranducer specs
here they are :

1.Model:TCT40-16R/T (Diameter 16mm)

2.Nominal frequency:40KHz

3.Emission sound pressure (at 10V):≥117dB

4.Reception sensitivity (at ...
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Tue Nov 08, 2011 4:03 am   Subject: Ultrasonic distance measuring
Since you don't have an oscilloscope, you should test low speed blinking
of an LED. Example:

#include <16F877.H>
#fuses HS, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock = ...
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Mon Nov 07, 2011 7:09 pm   Subject: Ultrasonic distance measuring
I tried this code and got 2.2v output on multimeter. My first code persistent on not working though. any help would be great, thanks


output_high(pin_b2);
delay_us(12)
output_low ...
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Mon Nov 07, 2011 3:14 pm   Subject: Ultrasonic distance measuring
I'm using a simple JDM programmer I got from a friend so all my programming is done outside the board (btw I'm currently using a breadboard if thats somehow relevant)

When I first encountered outp ...
  Topic: Ultrasonic distance measuring
RAzorex

Replies: 23
Views: 28431

PostForum: General CCS C Discussion   Posted: Mon Nov 07, 2011 2:39 pm   Subject: Ultrasonic distance measuring
Hi everyone
Let me start by saying that I'm a starter at pic programming yet I've made a mistake by choosing to build a robot for my school project (its a long story:))
I am using a 16f877 and 4mhz ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group