Search found 22 matches

by donnywong79
08 Feb 2014 06:43
Forum: Visual TFT General
Topic: Problem with Mikromedia Plus for PIC32MX7
Replies: 2
Views: 1519

Re: Problem with Mikromedia Plus for PIC32MX7

Dear aCkO

Thanks for your advise.

Regards
Donny
by donnywong79
08 Feb 2014 06:13
Forum: Visual TFT General
Topic: Problem with Mikromedia Plus for PIC32MX7
Replies: 2
Views: 1519

Problem with Mikromedia Plus for PIC32MX7

Hi, I just bought Mikromedia plus for PIC32MX7, I want to try with one simple 1 Button to display only, when I use VTFT to generate code, then I open Mikrobasic pro 32 to compile the file, it come out with Identifier "STMPE610_SetSize" was not declared and anything associated with "STMPE610" will ha...
by donnywong79
07 Sep 2013 15:25
Forum: mikroBasic PRO for PIC General
Topic: Frequency generator using PWM need help
Replies: 1
Views: 1150

Frequency generator using PWM need help

Dear All Hi, I need some help here, I am trying to use PWM to generate 50% duty and variable frequency, but it seem that "PWM1_Init " parameter require constant, do you have and advise? my code as below: I am using PIC16F886, EasypicV7, program Frequency_Generator ' Declarations section dim current_...
by donnywong79
13 Jul 2011 15:22
Forum: mikroBasic PRO for PIC General
Topic: reading adc
Replies: 19
Views: 5879

Re: reading adc

Hi, i have tried with PIC16F88 with the followings code, it works ok, but if i want the last two bit( bit 8 and bit 9) to show on port a.6 and porta.7, how to do it?? any one can help? dim temp_res as word main: CMCON = CMCON or 0x07 ADCON1 = ADCON1 or 0x0c TRISA2_bit = 1 TRISB = 0x00 while (TRUE) t...
by donnywong79
08 Mar 2011 15:08
Forum: mikroBasic PRO for PIC General
Topic: PICPLC16V6 sent/receive sms + DS1307 get hang
Replies: 4
Views: 1928

Re: PICPLC16V6 sent/receive sms + DS1307 get hang

Dear Salviza,

Hi, i have found the problem, actually i did not put "I2C1_Init(100000)" at the start of I2C1, that is why sometimes
the program run and some time not. Thanks anyway.

regards
donny
by donnywong79
24 Feb 2011 16:33
Forum: mikroBasic PRO for PIC General
Topic: PICPLC16V6 sent/receive sms + DS1307 get hang
Replies: 4
Views: 1928

Re: PICPLC16V6 sent/receive sms + DS1307 get hang

dear Salvisa Here is my code. Hope you can help me. thanks regards donny program sms_gate_v4 ' * ' * Project name: SMS gate ' * Copyright: Donny Wong ' * Revision History: testing beta version 4.0 ' * Description: ' The example receives the SMS message in specific format and toggles the relay specif...
by donnywong79
24 Feb 2011 16:09
Forum: mikroBasic PRO for PIC General
Topic: PICPLC16V6 sent/receive sms + DS1307 get hang
Replies: 4
Views: 1928

Re: PICPLC16V6 sent/receive sms + DS1307 get hang

Dear Salvisa Thanks for your reply, i have found 1 trick to make the program run, 1st program it without I2c1 to read the clock, and let it run, then after that, program it with I2c1 and delate the define trisc = 0, then the program will run as i wanted, but if i turn off the power supply and then t...
by donnywong79
15 Feb 2011 15:26
Forum: mikroBasic PRO for PIC General
Topic: PICPLC16V6 sent/receive sms + DS1307 get hang
Replies: 4
Views: 1928

PICPLC16V6 sent/receive sms + DS1307 get hang

Hi, i have manage to get my PICPLC16V6 board to sent and receive sms. the board will reveice sms from handphone, if the command is correct, it will turn on Relay and then delete the sms and then sent sms to inform relay has turn on/off, but if the sms is wrong command it will just delete the sms, i ...
by donnywong79
09 Jan 2011 11:33
Forum: mikroBasic PRO for PIC General
Topic: receive sms command
Replies: 0
Views: 811

receive sms command

Dear all expert, i have just bought PICPLC16V6 and experiment with the example code for receive sms command and activate Relay. However i found it if the sms command is correct, i will perform nicely, but if i sent a wrong sms then follow by correct sms command, it wont works already. i have modify ...
by donnywong79
13 Sep 2010 04:38
Forum: mikroBasic PRO for PIC General
Topic: Triac Control
Replies: 8
Views: 6003

Re: Triac Control

Dear roys29, thanks for your info, i will experiment with it, currently i able to use PWM to chop sine wave, but not able to synchro with it, Danny, thanks for your advice, i have down load your sample code, but not able to open it, i have try using pascal, but still unable to open it. any advice? R...
by donnywong79
28 Aug 2010 15:57
Forum: mikroBasic PRO for PIC General
Topic: Triac Control
Replies: 8
Views: 6003

Re: Triac Control

i am using PIC16F88
by donnywong79
28 Aug 2010 15:56
Forum: mikroBasic PRO for PIC General
Topic: Triac Control
Replies: 8
Views: 6003

Re: Triac Control

program test_as_control ' this program is to give PWM signal to triac controler where ' input source is 50Hz, PWM will turn on when signal is high, and turn of ' when signal is low. ' Declarations section Dim current_duty as byte sub procedure incdec() if Button(porta,0,250,1) then 'portb.2 = 1 'De...
by donnywong79
28 Aug 2010 13:57
Forum: mikroBasic PRO for PIC General
Topic: Triac Control
Replies: 8
Views: 6003

Triac Control

Hi,

i am trying to use PWM to control 230VAC by using triac, is there any one of you
have an example for me to refer?

regards
donny
by donnywong79
15 Feb 2009 14:44
Forum: mikroBasic General
Topic: DB9 tp DB15 serial cable
Replies: 2
Views: 8651

thanks cymb, however the connection you gave is not really working with my wavecom modem. i have found the connection diagram from the following links.

http://coderstalk.blogspot.com/2008/12/ ... m-gsm.html

thanks any way.

regards
donny
by donnywong79
14 Feb 2009 17:51
Forum: mikroBasic General
Topic: DB9 tp DB15 serial cable
Replies: 2
Views: 8651

DB9 tp DB15 serial cable

dear All,

i just bought a wavecome fastrack supreme 20 gsm modem, however i have a problem to connect it to my computer, the modem it self use a 15 pin connector, but our computer is a 9 pin conector. any of you have the schematic diagram for this kind of serial cable?

regards
donny

Go to advanced search