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

turning Motor left & right using pic Help plz

hello guys im designing something like a washer machine which i need to run the motor right for 5 seconds then left for 5 seconds for hundreds of times any idea plz to do that thx John

View Article


left shift help Plz

hello Guys I have 1 7segment display which i want the segments to lit one bye one like a running wheel this is the code i've tried: Code: segRoutine:         low PORTC.5         PORTD = $FE...

View Article


Please look over my code

I'm using a 12F675 with 4mhz ceramic osc to control my homebuilt gate opener. I'm activating it with a wireless digital remote unit that has it's own relay, when signal is rx'd the relay simply closes...

View Article

Vfd vaf1613-12lsr2

Good Morning Have bought a VFD on ebay - 16 character starburst (removed from a fruit machine) Ive not had any luck with it so far.... Has anyone had any experience with these displays and know how to...

View Article

Image may be NSFW.
Clik here to view.

Structured Array

I have been working on an idea for structured arrays with named elements eg say i have a battery charger that can charge multiple batteries each battery has these properties voltage[byte] current[word]...

View Article


nrf24l with pbp

Hi everyone; I Have new project. I wanna use nrf24l01 for audio transfer. I am an electrical and electronical engineer in to TÜRKİYE. We using pbp for our projects. But i didnt use nrf24l01 never. I...

View Article

Question about Optocoupler H11G1

I am thinking of using the above opto : Datasheet=http://uk.rs-online.com/web/p/products/8076591/ What I am not clear about is that how much current should I program the led for to get 35mA & 70mA...

View Article

Fastest baud rate w/PBP?

So I suddenly need to go faster than 38,400 with a PIC16F883 and a 20 MHz xtal. I'm sending out on 4 pins, with no MAX232 chips involved. The good book says a max of 38,400, but haven't I seen postings...

View Article


Image may be NSFW.
Clik here to view.

Long / short press button...but reading ADC

Hi ! I need again for your help ! I tried to build one simple schematic ; I used 12F675 for reading ADC. Works fine. But ... I have no clue how to "find" if the button is pressed short (let's say under...

View Article


Need a file "Average.bas"

Hello dear friends, Kindly in brief, in this post: http://www.picbasic.co.uk/forum/show...558#post126558 The author has mentioned to this File "Average.bas" in this line: Code: INCLUDE "Average.bas" ;...

View Article

Image may be NSFW.
Clik here to view.

Optocoupler question based on Fairchild H11G1

Do I need to put a diode across the terminals of this opto based on the attached configuration (I have to switch from the high side!) ? I selected this opto thinking that it comes with a diode already...

View Article

I need Help about PBP proyect, by PIC-18F45K20 and GSM module

Hello everyone, I'm new to the forum, and a newbie to programming. You see, I need help for a small project I'm trying to do, it is a warning message by sending via GSM. The system is designed so that...

View Article

PIC18F4550 to 18F4553 Comm Issue?

I'm having trouble figuring this one out. I have code that works on my circuit board with a 4550, I changed to a 4553 so I could use a 12bit A/D. I moved the code that works with the 4550 to the 4553....

View Article


Tips to make things easier

1. Comments, don't be shy, use them. 2. Label your programs with meaningful names, then display them so you can find them later. Code:   Pause StabilizeTime                ' Let PIC stabilize   LCDOUT...

View Article

Image may be NSFW.
Clik here to view.

DECEPTIVE SITE AHEAD warning for this site?

Is anyone else getting these? Attachment 8212 Attached Images  

View Article


MMC/SD card initialization

Hi all, I am trying to communicate to a SD/MMC card. I have search all over the internet to find examples to get it to work, but it doesn't. I have made my own PCB according to the schematic that micro...

View Article

Programming 16F877a PLCC with the melab programmer problem

I try to rpogram the PLCC version of the PIC16F877A with a PLCC to DIP programmer with the melab U2 programmer but it report the device dose not match the selected device,but I can program the DIP...

View Article


Generating various waveforms with resistive DAC, how to alter pitch?

Hello. I've built simple R-2R 8 bit DAC and hooked it to PIC MCU. The code looks like this: Code: DO PORTB=%00000001 NOP PORTB=%00000010 NOP PORTB=%00000100 NOP LOOP And so on, this is just a fragment...

View Article

Getting back into the PBP saddle after a long absence

I haven't used PBP in nearly 8 years. Micros have come a long way since then and back in the day I would use a 16F88. It was a great little micro, but for my one of projects, it would simply run out of...

View Article

Variable not getting value from array...?

OK, I feel a bit stupid here. if all variables are word and word arrays why temp does not get the value of valid[0]? mem_index takes values from 1 to 15 Code: temp    var word valid    var word[4]...

View Article
Browsing all 4743 articles
Browse latest View live