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

Multi CPU , design and interrupt control

Hi guys , i am starting on the design of 2 or more cpu's and how the design the interface between the cpus / flow control , and control word , data interface software it is likely that each cpu will...

View Article


usart-bluetooth problem

hi, 1. i want to send a packet of data from pc to pic via bluetooth hc 06 module. the dimension of the package is 512 byte string. i use windows 8 so i dont have hyperterminal, i use putty instead. i...

View Article


Boost converter (sepic)

Hello, Anyone has an algorithm for a sepic boost converter in picbasic ? I have written a function that increments by one the duty cycle, but after further testing it is not a fats way to reach the...

View Article

Future PBP

So, what's the deal with PBP now that DT has passed? Is it abandon-ware or what? No updates in what...3+ years or so? I don't know about the rest of the die-hard PBP users in the world, but after over...

View Article

Need help getting started.

Please help an Old Fart Out here. I have programmed some sofisticated programs using picaxe chips. I'm now trying to program pic16F690 chips, to start with. I have a PICkit2, which I can program HEX...

View Article


16f883 sleeping mode

Hi! How can I minimize the currentdraw in sleep mode with a 16f883? I 've disabled most of the peripherals. I use 4 MHz internal oscillator and disabled the watchdog . But in sleep currentdraw still...

View Article

Not strictly GPS but Magnetometer HMC5883L (Electonic compass and 16f818)

Hi .. Thank you for reading. I have problems with this code... I have stolen it from elswhere to just read degrees on LCD. As is it is, displaying Radians and Degrees. By question is more of query... I...

View Article

PIC16F886 not running.

Hello everybody. I need help. I just cant get a simple blink-program to work with picbasic pro. I have tried the same (almost) program in GCB, and the chip works. No problem when I compile. Is there...

View Article


Usb port power supply issues/ experiences

Hi guys , was looking to use the power supplied from a USB PORT connector. although usb spec says that its should never get to more than above 5.2v , i would like to ensure it never does , has someone...

View Article


Microstepping code picbasic pro

Hi there i have been reading threads about microstepping, but i dont get it clearly and i reply to some threads about it, but no body answer (i think that is because they are old threads). I have a...

View Article

Word Lookup Table in Code

How would I create a 550 location word lookup table not in RAM but in my code? I am using a PIC18F87J50. Thanx, Mark

View Article

Image may be NSFW.
Clik here to view.

pic16f72 spi slave - ss pin function

I'm trying to figure out a method of using the spi module in slave mode , but I don't quite get what function the ss pin has . the data sheet indicates that it resets the spi module (why ? what good...

View Article

Simple way to adjust interrupt speed in DT_INTS-14 ?

Hello. I'm using this sample code on 16F628A: Code: ;----[16F628A Hardware Configuration]------------------------------------------- #IF __PROCESSOR__ = "16F628A"   #DEFINE MCU_FOUND 1 #CONFIG cfg =...

View Article


how to "shift" a data into led matrix display ?

Hello. I have 5x7 led matrix display connected to 16F876. I want to display some text on, scrolling from right to left. I have prepared a set of data, which has 1 where dot should be lit, and 0 - where...

View Article

500 Year Calendar for DT Elapsed Timer

Hi Guys, Here’s my 500 year calendar that can be used with Darrel Taylor’s Elapsed Timer routines (when used as a clock). There’s a video demonstration coming up shortly :) This can save you a...

View Article


Watt's the wattage when used on a PIC?

Hi Guys, As the titles alludes to, I am trying to figure out what size resistor I need when using a voltage divider on a PIC as an input trigger. My circuit is being powered by a voltage regulator and...

View Article

7 segment display

Hello, I have a 4x 7 segment display, with each segments displaying what I need. BUT.... yes.. but. When I have a 1 second pause between the display of each unit , I have full brightness of the led...

View Article


Image may be NSFW.
Clik here to view.

It's been a long time!!!

It's been a while since I programmed in PicBasic. I would like to get back into it. But I am struggling with the simplest of task.....blinking an LED. Spent 3 hours trying to figure out what I am...

View Article

Darrels interrupts and multiple SOUND statements, will it work?

As it's known, you can have several interrupts with Darrels interrupts. What if I use say 4 interrupts, and use SOUND statement in each to output sound on separate pin, then connect the pins via...

View Article

Image may be NSFW.
Clik here to view.

How to calculate Burden Resistor ??

Hi thank you for reading. I have the enclosed circuit using a 100Amp / 5Amp CT ... Bridge Rectified and smoothed. After searching internet on how to calculate the Burden Resistor I would appreciate...

View Article
Browsing all 4790 articles
Browse latest View live