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

Driving LED's with PWM

I'm confused. The project: I'm making an outdoor sign that has 500 LED's. The problem: It draws way too much current. The current solution: Use PWM with a ULN2003 to drive the LED's. The secondary...

View Article


What do all the fuses do

I have external I have 40mhz crystal so on a 16f876 I am just learning

View Article


Having trouble using PIC as SPI driver for Hittite PLL

I'm working on a project where I'm using a PIC18F14K50 to drive a Hittite HMC704LP4E frequency synthesizer via SPI in HMC Mode. I'm trying to make sense of the Hittite documentation. Am I understanding...

View Article

Rentron's TX-IR PIC Needed / Pre-programmed PIC12F609

Anyone have this pre-programmed part that I can purchase? Seems Rentron is no longer, but if the program can be obtained that would be nice as well. We purchased them with the IR program in them, hence...

View Article

Pulsin alternative for 2khz pwm

I have a 12F683 (8mhz internal osc) measuring the pulse width of a 2khz pwm signal coming in on the GP3/MCLR pin. I'm currently using pulsin (5us period) and get a resolution of 100 units over the...

View Article


Programming 12F683 in QBASIC

Hi, I can't get a 12F683 PIC to accept inputs. Here is an example of what I've tried. '03.01.14 'Test 12F683 OSCCON = %01100000 'Internal 4MHz osc ADCON0 = 0 'A/D off CMCON0 = 0x07 'Comparators off...

View Article

Image may be NSFW.
Clik here to view.

32 LEDs with less than 20mA

Just an example of how little current is required to light 32 LEDs simultaneously: Quote: 18F44K22 using internal oscillator at 64MHz LED turned ON PAUSEUS 500 LED turned OFF PAUSEUS 500 ...repeat for...

View Article

itoa or wordtostring function?

Does Picbasic Pro have a function to convert a unsigned 16bit variable into an ascii text number? If so, what is it? Thanks.

View Article


DT-ints-18, How to ...

Good Day to all of you in the forum, I will like to have some direction on how to generate an interrupt ( used to call up a subroutine ) every 10 ms. I will like to know how to set_up the system to get...

View Article


BH1750FVI sample code available?

Hello. I want to use this module with picbasic pro to read light intensity. Datasheet lists ideas how should this IC should be treated, however, it is quite hard to understand, since I never used I2C...

View Article

Pic12f615 pwm output w/ analog a/d control input

I am a total PIC newbie, so far my experience is limited to modifying a few example .asm files. But I have a very real practical application. I need to control a pwm (4-wire) fan away from the standard...

View Article

sine wave inverter

Hi, do anyone have pure sine wave inverter circuit with hex file. Please help.

View Article

10F222 Wake on pin change

Ladies and Gents, For some reason I keep trying to use smaller PICs instead of larger. My query today is about the Wake-on-pin change feature of the 10F222 and how to implement it. I've got this...

View Article


18F26K22 slow startup

When I program the code, LCD toggle's right away. If I cycle power, LCD takes forever to toggle. Any ideas? Internal OSC. Code: #CONFIG   CONFIG FOSC = INTIO67   CONFIG PLLCFG = ON          CONFIG...

View Article

Gsm controller circuit

Dear friend I need this circuit and full project SMS/GSM remote control 16 OUT PUTS and 8 INPUTS CIRCUIT DIAGRAM PLEASE HELP ME

View Article


Image may be NSFW.
Clik here to view.

Dual power source

I've been reading a lot of threads and googling about this. I'd like to use HEXFETs as switches between sources. this is for a residential alarm system; 12V for siren, 5V for logic. Attachment 7190 The...

View Article

Serial over Ethernet module selection

Hello guys, i've read a lot posts here but most of them are old and the links that i'm looking are dead. I need a module to get my pic connected to internet via ethernet, but i would like to use the...

View Article


A few general questions about the CODE

Hi All, I have a few general questions: (1) Ser2mod.pbp, I’m not sure where I found this document but it has some good examples of using Serout2 expressions. At the end of this document there is a...

View Article

60Hz timebase clock

Hello all, I am in the planning stages for a simple clock that uses numitron tubes for the display. That part is pretty much worked out. I decided against using a realtime clock chip as they do need an...

View Article

16F88 pinout question

Hello Guys, Just a quick question, if I'm not mistaken, on a 16F88 I can connect 15 LEDs to it? 8 LEDs on the "B" port and 7 LEDs on the "A" port? And, one A pin as an input, right? Thanks! Daniel.

View Article
Browsing all 4787 articles
Browse latest View live