Author |
Message |
Topic: Power factor calculation using microcontroller |
heavenlyrider
Replies: 10
Views: 24998
|
Forum: General CCS C Discussion Posted: Mon Apr 24, 2017 6:36 am Subject: Power factor calculation using microcontroller |
Hi Mike,
The key advantage of my method of calculating is that you do not need a zero crossing detector at all.
If you do use one it can be used to synchronise your sampling to the incoming si ... |
Topic: Power factor calculation using microcontroller |
heavenlyrider
Replies: 10
Views: 24998
|
Forum: General CCS C Discussion Posted: Fri Apr 07, 2017 6:56 am Subject: Power factor calculation using microcontroller |
hi,
I am using voltage divider network to measure voltage, and ACS712 (hall effect sensor) to measure current. I am using MCP3204 for ADC conversion.
Here is my code.
#include <18f46k22. ... |
Topic: Long Distance communication with RS485 |
heavenlyrider
Replies: 25
Views: 38999
|
Forum: General CCS C Discussion Posted: Fri Mar 18, 2016 5:53 am Subject: Long Distance communication with RS485 |
Hi,
Your 'res_hl' doesn't have any RAM allocated to it. Your for() loop will
overwrite RAM in an undesired address range. Your program will run
erratically or crash. You need to specify the n ... |
Topic: Long Distance communication with RS485 |
heavenlyrider
Replies: 25
Views: 38999
|
Forum: General CCS C Discussion Posted: Thu Mar 17, 2016 7:05 am Subject: Long Distance communication with RS485 |
Hi,
I have started the project by using the modbus master/slave example program in CCS. For now, I am just using 1 master and 1 slave.
MASTER CODE:
#include <16F877A.h>
#FUSES XT PROTEC ... |
Topic: Long Distance communication with RS485 |
heavenlyrider
Replies: 25
Views: 38999
|
Forum: General CCS C Discussion Posted: Sat Mar 05, 2016 5:42 am Subject: Long Distance communication with RS485 |
Hi,
Thank you for your prompt response. I will try your suggestion. |
Topic: Long Distance communication with RS485 |
heavenlyrider
Replies: 25
Views: 38999
|
Forum: General CCS C Discussion Posted: Sat Mar 05, 2016 4:24 am Subject: Long Distance communication with RS485 |
Hi,
Thanks for your reply. Is it possible to transmit and receive data through SC16IS752 alone?. If it so, i do not have to use MAX487 and PIC controller which saves more space in my PCB. |
Topic: Long Distance communication with RS485 |
heavenlyrider
Replies: 25
Views: 38999
|
Forum: General CCS C Discussion Posted: Fri Mar 04, 2016 7:02 am Subject: Long Distance communication with RS485 |
Hi,
I have 4 mlx90614 temperature sensor which works on i2c protocol. I need to get temperature data from each of the sensors over a long distance of about 20 meters. For which i have decided to us ... |
|