Author |
Message |
Topic: Digital output voltage is too low |
rnome
Replies: 8
Views: 24665
|
Forum: General CCS C Discussion Posted: Thu May 12, 2016 2:06 pm Subject: Digital output voltage is too low |
Those 2 individual LEDs will be driven by higher voltage (around 12v) thats why I separated them.
Yeah you are right, maybe I can use internal clock. 4Mhz is good enough if I can get 5ms timer int ... |
Topic: Digital output voltage is too low |
rnome
Replies: 8
Views: 24665
|
Forum: General CCS C Discussion Posted: Thu May 12, 2016 1:31 pm Subject: Digital output voltage is too low |
Hi ezflyr,
Thanks for your input. You are right this one is just for simulation so I didnt deal with current limiting resistors on LEDs and NPN base but in real circuit they exist with reasonable v ... |
Topic: Digital output voltage is too low |
rnome
Replies: 8
Views: 24665
|
Forum: General CCS C Discussion Posted: Thu May 12, 2016 12:45 pm Subject: Digital output voltage is too low |
Hi PCM programmer,
you can find my schematic as below.
http://s32.postimg.org/3roqwxi0x/Flasher_sim.jpg
Those 4 set of LEDs which connected at port A are used as mode indicator.
ps: I used ... |
Topic: Digital output voltage is too low |
rnome
Replies: 8
Views: 24665
|
Forum: General CCS C Discussion Posted: Wed May 11, 2016 2:44 pm Subject: Digital output voltage is too low |
Hi all,
I'm developing a led driving unit with 4 different modes (on,off,async,sync). I prepared both software and hardware but it seems there is something wrong in the code. I suspect the softwar ... |
Topic: about ADIS16201 Programmable Dual-Axis Inclinometer / Accele |
rnome
Replies: 7
Views: 12349
|
Forum: General CCS C Discussion Posted: Tue Nov 27, 2007 7:54 pm Subject: about ADIS16201 Programmable Dual-Axis Inclinometer / Accele |
The standard spi_write() function only sends one byte.
You're trying to send two bytes. You need to use two
spi_write() statements, one for 0x0C, and another one
to send the 0x0D.
what about t ... |
Topic: about ADIS16201 Programmable Dual-Axis Inclinometer / Accele |
rnome
Replies: 7
Views: 12349
|
Forum: General CCS C Discussion Posted: Tue Nov 27, 2007 7:21 pm Subject: about ADIS16201 Programmable Dual-Axis Inclinometer / Accele |
You have to read the ADIS16201 and write a real driver. The data sheet
shows the correct sequence of using the Chip Select, and spi write, and
spi read commands. You must follow the data sheet ... |
Topic: RF communication problem (serial) |
rnome
Replies: 1
Views: 3667
|
Forum: General CCS C Discussion Posted: Thu Sep 20, 2007 9:43 am Subject: RF communication problem (serial) |
hi everybody
i m trying to send 6 bytes via serial
but whatever i done it didnt work correct.
i wrote this codes for reciever side
#include <16F877.h>
#use delay(clock=4000000) ... |
Topic: about ADIS16201 Programmable Dual-Axis Inclinometer / Accele |
rnome
Replies: 7
Views: 12349
|
Forum: General CCS C Discussion Posted: Sat Aug 04, 2007 8:00 am Subject: about ADIS16201 Programmable Dual-Axis Inclinometer / Accele |
thanks a lot pcm_programmer
i wrote this codes
#include <16F877.h>
#use delay(clock=4000000)
#fuses XT,NOWDT,NOPROTECT,NOLVP
#include <lcd.c>
int16 value1, value2;
voi ... |
Topic: multi servo motor driving |
rnome
Replies: 1
Views: 5803
|
Forum: General CCS C Discussion Posted: Sat Aug 04, 2007 6:51 am Subject: multi servo motor driving |
hi everybody
i m trying to make robot arm with servo motors but i cant find anyway to drive more than 2 servos
#include <16F877.h>
#use delay(clock=4000000)
#fuses XT,NOWDT,NOPRO ... |
Topic: about ADIS16201 Programmable Dual-Axis Inclinometer / Accele |
rnome
Replies: 7
Views: 12349
|
Forum: General CCS C Discussion Posted: Wed Aug 01, 2007 2:17 pm Subject: about ADIS16201 Programmable Dual-Axis Inclinometer / Accele |
is there anyone worked about ADIS16201 Programmable Dual-Axis Inclinometer / Accelerometer. i have searched all aplication notes on the net but i cant find anything with CCS PIC C
thanks everybody |
Topic: RF Algorthym Design |
rnome
Replies: 0
Views: 3065
|
Forum: General CCS C Discussion Posted: Sun Mar 11, 2007 3:58 pm Subject: RF Algorthym Design |
hi everybody
in my robot project i m using a 877 and kind a RF kit. for RF kits hardware synchronization i have to send 5 bytes 85 also for software synchronization needs 2 bytes 255. After synchro ... |
Topic: LCD troubles Help please |
rnome
Replies: 3
Views: 5162
|
Forum: General CCS C Discussion Posted: Tue Feb 27, 2007 7:41 pm Subject: LCD troubles Help please |
hi mate
i m workin on lcd for a week and i done it without any problem and i add my circuits schematic. ucan use it to fix yours
http://img141.imageshack.us/img141/5576/65202653za3.jpg
#i ... |
Topic: two adc conversion problem |
rnome
Replies: 2
Views: 4898
|
Forum: General CCS C Discussion Posted: Tue Feb 27, 2007 4:25 pm Subject: two adc conversion problem |
hi mate
the conflict between my schematic and program codes is not important i noticed it and edited but your second advice solve the problem completely. god bless u=) |
Topic: two adc conversion problem |
rnome
Replies: 2
Views: 4898
|
Forum: General CCS C Discussion Posted: Tue Feb 27, 2007 2:28 pm Subject: two adc conversion problem |
hi everybody
i m using an analog joystick to control a mobile robot but i cant read joysticks potentiometer values truly.
i wrote these codes
#include <16F877.h>
#device ADC=8
#fuse ... |
Topic: an encoder application |
rnome
Replies: 1
Views: 4309
|
Forum: General CCS C Discussion Posted: Sun Feb 18, 2007 6:10 pm Subject: an encoder application |
hi guys
i m working on a mobile robot for 2 months and need to control robots speed with an encoder. i need some help about how to confirm an encoder curcuit. is there anyone worked before on encod ... |
|