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 16 matches
CCS Forum Index
Author Message
  Topic: HS1527 decode problem
AnthonyRFC

Replies: 5
Views: 17033

PostForum: General CCS C Discussion   Posted: Sat Sep 01, 2018 9:38 am   Subject: HS1527 decode problem
Antenna: 17cm long wire

Power: I'm using a simple decoupling (10uF+100nF) but I can try using a more elaborate decoupling method like a pi filter.

PCB: The board only contains the ask receiver, ...
  Topic: HS1527 decode problem
AnthonyRFC

Replies: 5
Views: 17033

PostForum: General CCS C Discussion   Posted: Fri Aug 31, 2018 5:38 pm   Subject: HS1527 decode problem
I was curious, so I downloaded the datasheet for the HS1527. One big issue is that the actual dutycycle spec for the device varies widely depending on the VCC it's running at. With an Rosc of 300K, DC ...
  Topic: HS1527 decode problem
AnthonyRFC

Replies: 5
Views: 17033

PostForum: General CCS C Discussion   Posted: Fri Aug 31, 2018 4:28 pm   Subject: HS1527 decode problem
Hi, I'm trying to control a system using a commercial 4-buttons RF control that uses the HS1527 chip.

Like all 8-pin RF chip, it sends the data using a preamble, later a 20 bit unique number and, ...
  Topic: MODBUS simple question
AnthonyRFC

Replies: 7
Views: 17112

PostForum: General CCS C Discussion   Posted: Wed Mar 23, 2016 9:00 pm   Subject: MODBUS simple question
A few issues that need to be addressed:

Your code, as posted, mixes up discrete inputs with coils - they are very different things - and only deals with a set number of coils, not as individuals an ...
  Topic: MODBUS simple question
AnthonyRFC

Replies: 7
Views: 17112

PostForum: General CCS C Discussion   Posted: Thu Mar 17, 2016 6:57 am   Subject: MODBUS simple question
Hi.. I tried to modify the software and I'm getting the **TIME OUT error** using ModScan32.

First: I change the limit of the lenght to accept more than 8 addresses

if((modbus_rx. ...
  Topic: MODBUS simple question
AnthonyRFC

Replies: 7
Views: 17112

PostForum: General CCS C Discussion   Posted: Mon Mar 14, 2016 5:04 am   Subject: MODBUS simple question
Let me explain what I got and correct me if I'm wrong:

1.- Use the length of the request (modbus_rx.data[3]) in a for cycle to evaluate the actual data of inputs (coming from the ports of the PIC). ...
  Topic: MODBUS simple question
AnthonyRFC

Replies: 7
Views: 17112

PostForum: General CCS C Discussion   Posted: Sun Mar 13, 2016 3:18 pm   Subject: MODBUS simple question
So I must group inputs into a byte? Later into an array?


Something like this?


int8 inputs[]={}
//...

...//
inputs[1]=(port_b);
inputs[2]=( ...
  Topic: MODBUS simple question
AnthonyRFC

Replies: 7
Views: 17112

PostForum: General CCS C Discussion   Posted: Sun Mar 13, 2016 7:41 am   Subject: MODBUS simple question
Hi all:

I have a simple question regarding the modbus library and its use.

**How I can read more than 8 inputs or coils status? Just making the int8 input to a bigger variable?

**How i do it ...
  Topic: DS1307 doesn't keep day of the month
AnthonyRFC

Replies: 16
Views: 34128

PostForum: General CCS C Discussion   Posted: Sun Mar 13, 2016 7:31 am   Subject: DS1307 doesn't keep day of the month
Hi all:

I could finally fix the problem using:


#define USE_INTERRUPTS 1



That line tells to the library to disable all interrupts during the reading process of the DS1307.


I hope t ...
  Topic: DS1307 doesn't keep day of the month
AnthonyRFC

Replies: 16
Views: 34128

PostForum: General CCS C Discussion   Posted: Sat Jun 27, 2015 12:11 pm   Subject: DS1307 doesn't keep day of the month
PS: The battery and buttons are located in a different PCB.


I think, there is possibility of a bug in compiler? I have Version 4.104
  Topic: DS1307 doesn't keep day of the month
AnthonyRFC

Replies: 16
Views: 34128

PostForum: General CCS C Discussion   Posted: Sat Jun 27, 2015 12:02 pm   Subject: DS1307 doesn't keep day of the month
Hi,

My suspicion is that the "hardware problem" is that there is no hardware, and this is a Proteus project. On everything else I agree whole-heartedly Very Happy

John

Hi, in the begi ...
  Topic: DS1307 doesn't keep day of the month
AnthonyRFC

Replies: 16
Views: 34128

PostForum: General CCS C Discussion   Posted: Sat Jun 27, 2015 7:41 am   Subject: DS1307 doesn't keep day of the month
Hi:

First of all, thanks for your time and help!

I couldn't understand the structure of the "enums". In the other hand, for a quick test, I erased the part of the program to set the ti ...
  Topic: DS1307 doesn't keep day of the month
AnthonyRFC

Replies: 16
Views: 34128

PostForum: General CCS C Discussion   Posted: Wed Jun 24, 2015 6:21 am   Subject: DS1307 doesn't keep day of the month
I used the "day" variable inside of the bin_bcd() and mostrar() sub functions.

So, do you think that the random value in the dow variable is the origin of the problem?

Ttelmah make me ...
  Topic: DS1307 doesn't keep day of the month
AnthonyRFC

Replies: 16
Views: 34128

PostForum: General CCS C Discussion   Posted: Wed Jun 24, 2015 5:27 am   Subject: DS1307 doesn't keep day of the month
Ohhhh No, no,no! It's a real problem, real chip, real hardware, i was asking to upload the schematic of the circuit due to you requested more information.

So, what do you think about my proposal ? ...
  Topic: DS1307 doesn't keep day of the month
AnthonyRFC

Replies: 16
Views: 34128

PostForum: General CCS C Discussion   Posted: Tue Jun 23, 2015 8:49 pm   Subject: DS1307 doesn't keep day of the month
Hi

First, thanks for the quick response. One of my reasons for get in this forum is to learn to make more orderly and efficient codes.

About your request, I put a synthesis of software:

- esc ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group