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

settings check please

I tried running two USARTs on an 18f45k22. The first one runs fine (PortC.6) but the second one (D.6) outputs junk. DEFINE HSER_TXSTA 20h ' Enable transmit, BRGH = 0 DEFINE HSER_CLROERR 1 ' Clear...

View Article


Low Power Regulators

Hi Again I have a few projects out in the field that are battery operated…. They all have a PP3 battery and a sleep function. At the moment I am just using a 78l05 to drop the 9volts to the 5volts...

View Article


Logic Level Triac

Hi... I was wondering if anyone has used any of these logic level triacs with a PIC with success and if so any tips you may be able to give are appreciated. Regards David...

View Article

DT’s Elapsed Timer Magic Trick

Hi Guys :) Do you think it's possible for a program running on pic 16F628A with no additional hardware, connected only to: 1) a power supply 2) a single wire clock signal to pin 16 CLKIN 3) an LED to...

View Article

Rn-171ek

Hi all.... first off this is still a work in progress and I intend to integrate my PIC with the RN-171 as of yet I have not done that so forgive me that this is not a general PIC post yet.... but I...

View Article


shiftin with \bits - What order do they come?

I need to shiftin 16 bits of data from an A/D. I think the command should be: shiftin datapin, clkpin, mode, [data\16] I need the data to be read MSB first. Some code examples show using MSBPRE to...

View Article

Image may be NSFW.
Clik here to view.

Replacing dtdp relay with mosfets

Hi Guys i would like to replace a DTDP relay with some descrete mosfets N and P pairs , but am having some issues with the cct i have made so far Description CCT A : works Q20 , Q18 pairs ensure...

View Article

10 bit PWM 16F1824

Hi all amazing how fast the rust grows when you put this stuff down for a little bit i thought for sure there was a PBP high level command for PWM that would do 10 bit, but it seems not, just wanted to...

View Article


Image may be NSFW.
Clik here to view.

1ms Elapsed Timer Demo with DT's Instant Interrupts

Recently on this forum there was an inquiry on how to setup an Elapsed Timer using Darrel Taylor's Instant Interrupts "DT_INT-14.bas" to work at 1ms resolution. Some time ago I had created just such a...

View Article


Ethernet project with Arduino

This is an interesting project based on Arduino. I liked the user interface much. http://www.instructables.com/id/Ethe...uino/?ALLSTEPS Ioannis

View Article

Pins, ports and variables

It's probably something really obvious, but it's been a long day and I've had so much coffee I'm bouncing off the walls and can't get my head round why this won't work. I have four pins defined thus...

View Article

Selection of Tant Ver Ceramics ESR / Temp considerations

had a need to review the DC low power supply for SMD redesign , and caps / size, over a a large temp range are major consideration of the selection and type in the design found this paper that gives a...

View Article

HC-05 Bluetooth Modules

Hi Thanks for reading I see you can get HC-05 / HC-06 Bluetooth Modules from Ebay for pennies Has anybody had a play with them yet.... Just wondering if they are any good or should stay away! Thanks...

View Article


Does variable value change being transferred to code running in interrupt loop?

Hello. Say I have some code, the "main" code and the interrupt driven looped code. The interrupt driven code flashes the led according to variable value changed in main code. Is this possible? will it...

View Article

DT USB Flags

How do these flags in DT_HID260.pbp: Code: USB_Flags          VAR BYTE BANK0 Plugged            VAR USB_Flags.0 RX_Rcvd            VAR USB_Flags.1 RX_READY          VAR USB_Flags.2 TX_READY...

View Article


decimal input on portB

Hello from french wine town ! I'm newbie : it's first post here and I work on my second program :) Thanks to Dogan's books and this forum to show what can be done with pbp. Today I would like to divide...

View Article

Math Problems

Hello Group, I have 2 floating Point problem that I can't figure out. The first is each time a switch closes I need to increment the value by .011 and have it display on a LCD with the correct value....

View Article


RCSTA1 issue?

I'm using an 18F87J50 to communicate with another processor at 115K. Most of the time the communication works fine but sometimes it gets stuck and when it gets stuck it's stuck permanently. I'm fairly...

View Article

Play & Record PWM audio?

Hi Guys, I’m wondering if anything has been done in the way of converting audio directly to PWM and playback with hardware PWM? Or am I on my own? Recording either analogue input, or digitising to 1...

View Article

Image may be NSFW.
Clik here to view.

Another N channel enhancement mode MOSFET driven directly by a PIC12F629

I have had success using the 12F629 at 5v to replace the 555 and now am looking at driving the load - 30 red LED's at 20mA for a total of 600mA - with a logic level power MOSFET - Fairchild FDD8778 in...

View Article
Browsing all 4787 articles
Browse latest View live