Author |
Message |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Fri Oct 28, 2011 9:48 am Subject: Need programming help of pic16f506 |
searching here,
i found this code on a thread from PCM Programmer
#define set_options(value) {#ASM \
MOVLW value \
... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Thu Oct 27, 2011 5:12 pm Subject: Need programming help of pic16f506 |
i ordered a breadboard from ebay, since it seems a very easy way to start experimenting on a new project without all the soldering part..
i reloaded, two or three different programs,
i also enter ... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Thu Oct 27, 2011 4:33 pm Subject: Need programming help of pic16f506 |
i ordered a breadboard from ebay, since it seems a very easy way to start experimenting on a new project without all the soldering part..
i reloaded, two or three different programs,
i also enter ... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Thu Oct 27, 2011 10:02 am Subject: Need programming help of pic16f506 |
segment f is powered from pic16f506 pin c5/t0ckl |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Thu Oct 27, 2011 9:38 am Subject: Need programming help of pic16f506 |
got at last a programer,
wrote the program on the pic, all segments come on when they are supposed to apart from segment f...
with the old pic with the preinstalled program segment f comes on as w ... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Sun Oct 23, 2011 9:03 am Subject: Need programming help of pic16f506 |
can someone explain to me what is the use of mclr,
and if it is necessary or good idea to connect it to the circuit..? |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Wed Oct 19, 2011 8:38 pm Subject: Need programming help of pic16f506 |
Thank you very much for your advice. It is really useful.
I was told to notice the cooling part of 7805 from another party as well. I guess it is quite important.
I've installed express pcb but not ... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Mon Oct 17, 2011 6:11 pm Subject: Need programming help of pic16f506 |
If anyone is aware of hardware stuff.
Can the LM324 be omitted? Along with the two resistors?
and lead the signal directly to the pic?? |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Thu Oct 13, 2011 8:05 pm Subject: Need programming help of pic16f506 |
just an update with my "amateur" soldered circuit..
http://i111.photobucket.com/albums/n133/nikolasR/beverly/IMAG0169.jpg
http://i111.photobucket.com/albums/n133/nikolasR/beverly/IMAG017 ... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Thu Oct 13, 2011 1:45 pm Subject: Need programming help of pic16f506 |
you are right the code so far is
#include <16F506.h>
#fuses INTRC_IO, IOSC4, NOWDT
#use delay(clock = 4M)
#use rs232(baud=9600, xmit=PIN_C3)
//================= ... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Thu Oct 13, 2011 1:28 pm Subject: Need programming help of pic16f506 |
Thought also of another version, which may optimize a little bit the code.
while(1)
{
result = read_adc();
// printf("%u \n\r", resul ... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Thu Oct 13, 2011 6:52 am Subject: Need programming help of pic16f506 |
i tried another simulator called
"real pic simulator"
i enter a sevent segment lcd, and an analog value to roll...
weird thing is that the analog allowed me to play from 0 to 1023...
... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Thu Oct 13, 2011 6:17 am Subject: Need programming help of pic16f506 |
also, i don't know if this actually the reason, but i notice from the scratch of running the program that c3 pin is on, and only if the condition is for a number that doesn't involve c3, it goes out.. ... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Wed Oct 12, 2011 7:42 pm Subject: Need programming help of pic16f506 |
and sth more..
i choose microcontroller view, and i can see pins getting on..
but when i change pin13 value nothing changes..
i used, this part of code, just for check, but made no difference..
... |
Topic: Need programming help of pic16f506 |
nikolas
Replies: 43
Views: 49667
|
Forum: General CCS C Discussion Posted: Wed Oct 12, 2011 6:08 pm Subject: Need programming help of pic16f506 |
a compilation of the code kindly supplied from PCM Programmer and Ttelmah
#include <16F506.h>
#fuses INTRC_IO, IOSC4, NOWDT
#use delay(clock = 4M)
#use rs232(baud=9600, x ... |
|