Author |
Message |
Topic: WS2811 and PIC16F1824 trouble!!! |
maxikys
Replies: 28
Views: 63572
|
Forum: General CCS C Discussion Posted: Fri May 30, 2014 12:32 am Subject: WS2811 and PIC16F1824 trouble!!! |
Thanks for the tips guys, I pulled the string # USE SPI (MASTER, SPI1, MODE = 0, BITS = 8, MSB_FIRST), but nothing has changed - the first LED working.
Dear bkamen, could you share a piece o ... |
Topic: WS2811 and PIC16F1824 trouble!!! |
maxikys
Replies: 28
Views: 63572
|
Forum: General CCS C Discussion Posted: Wed May 28, 2014 6:29 am Subject: WS2811 and PIC16F1824 trouble!!! |
Using the example of the link http://www.insomnialighting.com/code/ws2811.c
I have the color change with the first test of WS2811. Other modules do not respond, the data on the DO pin persist.
#in ... |
Topic: WS2811 and PIC16F1824 trouble!!! |
maxikys
Replies: 28
Views: 63572
|
Forum: General CCS C Discussion Posted: Wed May 28, 2014 3:26 am Subject: WS2811 and PIC16F1824 trouble!!! |
I never used the WS2811 chips before so I did a quick study:
The chips like the WS2811 do clock in the data when the data line goes from high to low, this means there is no separate clock line needed ... |
Topic: WS2811 and PIC16F1824 trouble!!! |
maxikys
Replies: 28
Views: 63572
|
Forum: General CCS C Discussion Posted: Wed May 28, 2014 1:33 am Subject: WS2811 and PIC16F1824 trouble!!! |
Hi everyone. I'm trying to develop a device which converts the protocol of DMX-512 control protocol 20 pixels based on chip WS2811.
I was faced with the difficulty of correctly display colors. Code ... |
Topic: RTC with DS3232 |
maxikys
Replies: 9
Views: 17473
|
Forum: General CCS C Discussion Posted: Sun Feb 09, 2014 11:30 am Subject: RTC with DS3232 |
Hint: what is the difference between 00000100, and 0b0000010?......
UPSSS, thank you!!! I will understand more!Now you fixed that one, did you fix the others too?
#define DS3232receive 11010000 ... |
Topic: RTC with DS3232 |
maxikys
Replies: 9
Views: 17473
|
Forum: General CCS C Discussion Posted: Sun Feb 09, 2014 7:30 am Subject: RTC with DS3232 |
First, I would strongly urge you to create an 'LCDclock' program. Add an LCD module to your PIC and cut code to display the RTC time onto it.This would be a simple 'read the RTC regicters and display ... |
Topic: RTC with DS3232 |
maxikys
Replies: 9
Views: 17473
|
Forum: General CCS C Discussion Posted: Sun Feb 09, 2014 1:58 am Subject: RTC with DS3232 |
Please help to deal with the alarm clock, I had never worked with I2с? |
Topic: RTC with DS3232 |
maxikys
Replies: 9
Views: 17473
|
Forum: General CCS C Discussion Posted: Fri Feb 07, 2014 3:08 am Subject: DS3232 |
Generate an interrupt task every day at the same time.
Wrote a function to set the alarm time
void DS3232setAlarm1(BYTE h, BYTE min, BYTE s){
i2c_start();
i2c_write ... |
Topic: RTC with DS3232 |
maxikys
Replies: 9
Views: 17473
|
Forum: General CCS C Discussion Posted: Thu Feb 06, 2014 4:57 am Subject: RTC with DS3232 |
Hint: what is the difference between 00000100, and 0b0000010?......
UPSSS, thank you!!! I will understand more! |
Topic: RTC with DS3232 |
maxikys
Replies: 9
Views: 17473
|
Forum: General CCS C Discussion Posted: Thu Feb 06, 2014 2:19 am Subject: RTC with DS3232 |
Dear developers, in continuation of my topics of RTC, I decided to switch to chip DS3232 real time. Using driver http://www.ccsinfo.com/forum/viewtopic.php?t=43474&highlight=ds3232
I began to de ... |
Topic: INTERNAL_TEMPERATURE_INDICATOR PIC16FLF1824 |
maxikys
Replies: 3
Views: 6665
|
Forum: General CCS C Discussion Posted: Tue Jan 21, 2014 3:34 am Subject: INTERNAL_TEMPERATURE_INDICATOR PIC16FLF1824 |
I develop DEVICE "real time clock", the clock will be used for (-30 ... +40). To adjust the frequency of quartz want to use a software adjustment. In 1824 has an internal temperature sensor. ... |
Topic: HELP, RTC on Timer1 32768. |
maxikys
Replies: 5
Views: 13492
|
Forum: General CCS C Discussion Posted: Mon Jan 20, 2014 2:54 am Subject: HELP, RTC on Timer1 32768. |
Thank you very much everyone for your answers, especially the "C Turner" According to your advice, I changed the capacitance, and received not bad enough precision.
Because device to be us ... |
Topic: HELP, RTC on Timer1 32768. |
maxikys
Replies: 5
Views: 13492
|
Forum: General CCS C Discussion Posted: Thu Jan 16, 2014 1:45 am Subject: HELP, RTC on Timer1 32768. |
I am developing a device PIC16LF1824 with real time clock. My DEVICE observed a day care for about 3 seconds ahead. Load capacitance of 12.5 pF crystal. Frequency of 32768 Hz. In the circuit mounted c ... |
Topic: HELP!!RTC + sleep pic16LF1824 consumes more 6mkА [Solved] |
maxikys
Replies: 8
Views: 13860
|
Forum: General CCS C Discussion Posted: Tue Oct 08, 2013 12:04 am Subject: HELP!!RTC + sleep pic16LF1824 consumes more 6mkА [Solved] |
Thank you very much, especially PCM programmer. PIC consumption decreased to 1 uA, lacks precision instrument trying. Topic can be closed. |
Topic: HELP!!RTC + sleep pic16LF1824 consumes more 6mkА [Solved] |
maxikys
Replies: 8
Views: 13860
|
Forum: General CCS C Discussion Posted: Mon Oct 07, 2013 11:37 am Subject: HELP!!RTC + sleep pic16LF1824 consumes more 6mkА [Solved] |
Commonest thing, is if you are using a voltage regulator, _this_ may be drawing the extra power.
All pins on the PIC must be driven. If you have inputs, then the external circuitry needs to ensure ... |
|