Quantcast
Channel: MEL PICBASIC Forum
Browsing all 4743 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Maximum current calculations for driving an ir led - a vishay application ref

hi guys found this a good read when doing current calculations for IR leds for high power usage and design Attached Images Driving an Infrared Emitter 84155 121127.pdf‎ (485.8 KB)

View Article


STR \ Coun max len?

Hi, Is there way to make count for STR to be larger than 1 byte. As far as I can see in pbppic18.lib it uses only one byte for countdown. I can make 2 byte counter, but I can't find where is stored...

View Article


Image may be NSFW.
Clik here to view.

World's Smallest Arcade Machine (Guinness Record)

Is currently this: World's Smallest Arcade Machine is also a new record for 2013 in computing. I applied to Guinness some time ago. There are is lot of complication. There are probably smaller arcade...

View Article

Image may be NSFW.
Clik here to view.

Read SIM 1st massage and display it in a 20x4 LCD

Hello every one. I am trying to read SIM 1st massage and display it in a 20x4 LCD I am using PIC18F2550,20x4 LCD and wavecom-gsm-gprs-modem-q2303a. When I send this command .The reply is as below...

View Article

DEFINE HSER_CLROERR 1 ; how do I work? am I taxing performance heavily?

How does DEFINE HSER_CLROERR 1 work? Does it turn on interrupts and toggle CREN & SPEN when the recieve buffer interrupt is thrown? or simply toggle CREN & SPEN bits whenever anything hits the...

View Article


MIBAM blinky on 16f628

Hi there, I was experimenting with mibam on 15 pins on 16f628 @20mhz it is working but a bit slow (blinky), is there any mibam option to use 7 bit BAM to raise refresh, or it don't give any result ?...

View Article

Using (software)UART Driven vs. Open ? Whats best practice?

I'm guessing that most people just use 'Driven' mode. But I'm thinking(not usually correct) that 'Open' mode with a pull-up resistor is best practice, but limits the UART(Serin/out) to only...

View Article

Multiple PWM and port C

Hi, Still working on my aquarium lighting controller as I've discovered an issue with using the hardware PWM on the 18F4520. I've opted to use Darrels multi-SWPM files, and after a littler re-write the...

View Article


How to write port names into array ?

Hello. I have a code, where port names are assigned to specific variables, like this: Code: AC5 var PORTC.5 AC4 var PORTC.4 AC3 var PORTB.3 AC2 var PORTB.1 AC1 var PORTB.5 AR1 var PORTB.6 AR2 var...

View Article


Question: PICs with two configuration words versus one, e.g., 16F88 versus...

Please show me how to organize the configuration bits for PICs with more than one configuration word in the same format that they can be organized for PICs with a single configuration word. There are...

View Article

what happened to bruce/rentron?

hi, Ive been away from the PBP/PIC microcontrollers for a while, and just came back to work on a project, and realized that bruce has more or less vanished from here, and his site just went offline...

View Article

Help for a new boy

Hi All A bit new to all this but learning fast (I hope), and this seems a stupid question, but I don't know and if you don't know you have to ask so........ I have code which works fine on a 12f683,...

View Article

Use of INCLUDE

Hello All, sorry for misprint in the topic name - no way to correct too late :) Is there a way of definition of variables inside of the included file and use them in the main program before the...

View Article


Serial port settings for given crystal

Just need some guidance on setting up the defines for serial communications when using a particular crystal. I'm using a 20 mhz crystal. Here are my config settings Code: ASM   __CONFIG    _CONFIG1H,...

View Article

Config error.

Hi all, i have a problems when I try to use a external oscillator. in the pic 12f683 I'm using the next instruction for use a HS oscillator: @__CONFIG_ _HS_OSC; and in the 16f88 I'm using this: @...

View Article


WIZnet110SR problems

Anyone mess with the WIZnet110SR serial to Ethernet boards? Using the WIZnet software, I can use my laptop to successfully send data through it(to a 2x16MEL char display) and ping it. But if I try to...

View Article

config for 18F67K22

Hi guys , i am working through the datasheet for the configuration of a new chip for me 18F67K22 series If you have worked with this series and have some configs for reference for OSC setup and other...

View Article


PBP3 to include 18F97J94?

Can anyone in the group confirm that the 18F97J94 will be added to the device list for PBP3 in the next upgrade? I will up grade when this PIC is added. The 18F97J94 was to be added last upgrade but...

View Article

Image may be NSFW.
Clik here to view.

Mini problem with DT_INTS-14

Using PIC Pro 3.0.7.1 - the MPASM at C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe is 5.51 supplied with MPLAB 8.92 (LST file reports 5.51) - OS Win7 Ult SP1 x32. I'm trying to compile code from...

View Article

Image may be NSFW.
Clik here to view.

Help with water speed please

Hi all! I wish to measure the speed of my sub in the water. I am told that a MS4514 sensor with a part number of MS4515-DS-5-A-002-G-P should be a good choice (?) with a range of 0-2 psi. My guess is...

View Article
Browsing all 4743 articles
Browse latest View live