Search found 33 matches
- 08 Jul 2010 22:56
- Forum: mikroBasic PRO for PIC General
- Topic: Using a 16F887 in full brifge PWM
- Replies: 1
- Views: 1114
Using a 16F887 in full brifge PWM
Now, I haven't actually written any code yet, but I wanted to ask this question before I got started into it. I want to use the 887 to control a very large 24 volt motor (50 to 200 Amp) using the PWM module and a set of MOSFET's configured in an H-bridge circuit. The idea, of coarse, is to be able t...
- 16 Jun 2010 20:28
- Forum: mikroBasic PRO for PIC General
- Topic: Weak pullups
- Replies: 2
- Views: 1268
Re: Weak pullups
Thanks, that worked
- 16 Jun 2010 17:50
- Forum: mikroBasic PRO for PIC General
- Topic: Weak pullups
- Replies: 2
- Views: 1268
Weak pullups
This is for a 16F610 but might apply to others as well. I have been trying to figure out how to address the weak pull-up bit in the option_reg register. It has a unique name: ____ RAPU If I enter "RAPU_bit" in the compiler it doesn't like it. :( I can set it by addressing the entire OPTION_REG regis...
- 11 Jun 2010 18:55
- Forum: mikroBasic PRO for PIC General
- Topic: Timer 1 Interupt Flag
- Replies: 0
- Views: 2608
Timer 1 Interupt Flag
This Question is mostly geared for the MikroElektronika team, but I'll take any ones answer. As I have been learning how to use the interrupts I noticed something. In this example code taken from the help file..... sub procedure interrupt if TestBit(INTCON, TMR0IF) = 1 then counter = counter + 1 TMR...
- 20 May 2010 19:26
- Forum: mikroBasic PRO for PIC General
- Topic: Read / Data equivalent
- Replies: 8
- Views: 2675
Re: Read / Data equivalent
Another way might be to use an external EEPROM or FLASH memory, though I'm not expert enough to show how. Perhaps someone with a little more experience? Still.... it would be nice to have that READ and DATA command. In the OLD days (1980-1985) a basic program would look like this: 10 FOR A = 12335 T...
- 06 May 2010 23:03
- Forum: mikroBasic PRO for PIC Wish List
- Topic: 16F5xx series
- Replies: 1
- Views: 1550
16F5xx series
This is a question for the MikroElectronika team. Our company is developing a small control panel based on the 16F505 controller (It's the cheapest you can get in the 16F series). I've notice that none of the 16F5xx series is supported by either mikroBasic Pro or mikroC pro. Will they be supported i...
- 21 Oct 2009 18:08
- Forum: mikroBasic General
- Topic: RS323<-->RS485
- Replies: 6
- Views: 6271
The schematic IS wrong but according to the pinout of the MAX232 chip, the /RE and DE pins should be tied to R1out. The T1out is on the RS232 side. This means that the T1out is at RS232 voltage levels (+/- 10 volts) not the TTL level (0 and 5 volts) that the LTC485 needs. The way this is wired might...
- 21 Oct 2009 17:02
- Forum: mikroBasic PRO for PIC General
- Topic: Signal generator
- Replies: 7
- Views: 3882
This looks like a very interesting project! :D Can you post your code and schematics? That would make it easier to allow others to see what your doing and make possible comments and suggestions. It might also help those who are doing similar things or who are beginners (like me)! I'm an Engineering ...
- 05 Oct 2009 23:28
- Forum: mikroBasic General
- Topic: I am try to do a PIC to PIC solution
- Replies: 10
- Views: 5928
Sorry should have included some code. :oops: Even if you have solved this I'm going to post this just in case someone else comes along whose struggling with the same thing. I don't have two chips to transmit between, but this should be adaptable. The problem is that each time you call the BUTTON com...
- 05 Oct 2009 21:38
- Forum: mikroBasic General
- Topic: I am try to do a PIC to PIC solution
- Replies: 10
- Views: 5928
- 21 Sep 2009 18:59
- Forum: mikroBasic General
- Topic: Dave's Absolute Beginners Corner. Subject: OSCCAL values
- Replies: 3
- Views: 3880
Thanks for the info, but there's a few problems with this route. :( First I don't have the money to purchase another programmer at the moment :cry: (And if I did I would probably get an EasyPIC6). My Vellman programmer will have to do for now. Second the code is in assembly. Now I could probably cop...
- 21 Sep 2009 18:34
- Forum: mikroBasic PRO for PIC General
- Topic: Where is this documented
- Replies: 3
- Views: 2232
- 18 Sep 2009 17:21
- Forum: mikroBasic PRO for PIC General
- Topic: Where is this documented
- Replies: 3
- Views: 2232
Where is this documented
I've recently began playing the analog section of a 16F876A. I downloaded this code to get an idea of where to start: dim adc_rd as word main: EBDIS_bit = 1 ' set External Bus Disable bit CMCON = CMCON or 0x07 ' turn off comparators ADCON1 = ADCON1 or 0x0C ' Set AN2 channel pin as analog TRISA2_bit ...
- 14 Sep 2009 16:08
- Forum: mikroBasic General
- Topic: Not sure about this command
- Replies: 5
- Views: 2771
- 11 Sep 2009 15:56
- Forum: mikroBasic General
- Topic: Not sure about this command
- Replies: 5
- Views: 2771
Sorry. Thought about that AFTER I got home last night. :oops: Here it is: program Multimode876A 'NOTE! Use Progpic2.exe to program this device with vellman 8048 programmer ' board. Do not use PicProg2009 program, it doesn't support this device. 'This is a more proper way to set up this program '****...