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

PROMOTION--Low volume PCB Fab & Assembly Service, FREE Stencil!

Hey dear friend ! Low cost PCB Prototype & Assembly Service provider here, exporting CUSTOM PCB and PCBA with competitive price and high quality, specialized in low volume quantity, all fabricated...

View Article


different software times, impossible?

example: i want 234 on-off software states on a port and, at the same time, 400 on-off software states on another port. Both start and finish at the same so with different pauses but with not...

View Article


TMR0 Longer time

Hi, Can anyone help me with a TMR0 question please? I have a program with the sections below in it: I need a longer time than TMR0H = 0 TMR0L = 0 allows. So I want to add more TIME into the program, as...

View Article

4 DAC channels from a single PIC

Hi, I'm working on a project that requires 4 audio outputs from DACs but I can't find any suitable. DAC requirements:- 8-bit minimum resolution 16-bits of data per channel max. My PIC only has an...

View Article

TCXO / VC-TCXO for pic usage

Hi Guys , after some looking around i would like to use a TCXO as the clock source for a pic at 16mhz, although a lot are available at 16.367mhx -16.39mhz , has any one had experience using them...

View Article


Round the clock

Hi, I'm programming a PIC in Oshonsoft basic and having problems with > or < when it comes to, in my case a 360 degree compass bearing. I understand that this is not an Oshonsoft forum, but I am...

View Article

PWM of voltage input to PIC - will it damage the chip?

I have a PCB with a 16F1283 chip to control 5 blinking LEDs buried inside a model. The board is powered by 5V which is also used to turn on 5 steady-on LEDs (total of 10). I want to use an external PIC...

View Article

5V to 3.3V communication

IÂ’m trying to use SHIFTIN between a 16f1936 at 5V and a 3.3V MAX31855 T-type TC to digital converter. Question: What is the most common method for communication interface of a 5V device with a 3.3V...

View Article


16F1786 issue with simple program.

I try to compile this with PicBasic 3.0.7: Code: 'PIC16F1786 #CONFIG     __config _MCLRE_OFF #ENDCONFIG for PIC16F176 but I got an error: [ASM ERROR] CODE_1.ASM (33) : Argument out of range (not a...

View Article


9-Bit Send/Receive

Hello everyone, In brief, I would like to send/receive 9600,8,O,1. (RS485) by using 16F876A like this format: Address, command1, command2, command3 ,checksum. I start my work first for sending and now...

View Article

16F819 config for A/D

Hi All Not used this PIC before, trying to read a voltage on AN0 pin17 but get the same result on my serial out for any input, 5235. I suspect I`ve either miss configured a register or missed one...

View Article

SSPCON registers not being recognized on 18F2550

I'm using PBP3 (MPLAB 8.9) with a 18F2550 and trying to use the SSPCON registers to set it up for hardware SPI. I get bad data type error. Is SSPCON not supported on this chip? I've also tried it with...

View Article

Image may be NSFW.
Clik here to view.

Can't install PBP v2.46 on Windows 10

I've bought a new laptop over the holidays and cannot install PBP v2.46 (that's where I have to start using my CDs to install v2.60c). I've searched the forum and read all the threads on 64-bit...

View Article


Image may be NSFW.
Clik here to view.

MeLabs pgmer not starting automatically from Microcode Studio

PIC Basic Pro X v3.0.8.4 MicroCode Studio Plus v5.0.0.5 MPASM v5.65 Now if I can just figure out how to start up the MeLabs USB programmer automatically from Microcode Studio Plus like it used to on my...

View Article

loosing some bytes in HSERIN

Hello there, I want to do serial communicate with a digital scale. 9600,8,E,1. Scale accepts protocols like this: [Address (1byte)] + [Command (1byte)] + {Optional Data+ ... if exists} +...

View Article


Example code for rfm69hw or similar rfm69 module?

I'm about to start tinkering with the rfm69hw, and was wondering if anyone has some example code? The application is to send GPS data from up to 1/3 mile away in wide-open terrain. I'm also open to...

View Article

why trm0 preset don't work in this position?

where i have to point the tmr0 preset to properly work? mainloop: if INTCON.2=1 THEN toggle portb.2 endif INTCON.2=0 TMR0 = 128 'here don't work goto mainloop

View Article


SEROUT on a 16F1947

Hello, I hope someone can help me with a basic problem. Using a 16F1947 and trying to get SEROUT to work. This started as a product board upgrade from a 16F77 to a 16F1947 All else works, but I dont...

View Article

Masking a number

Hi, I'm programming a PIC in Oshonsoft basic, and have come across a problem. When using SINGLE as a variable. When two numbers as a variable should be equal. e,g, a=0 b=0 If a=b then turn on LED. When...

View Article

Bootloader that can load using SPI or RS-232 without using a computer

I searched the forums and found a little bit of information but nothing that fits exactly what I need. Is there a way to load a hex file into an 18F without the use of a computer using SPI or RS-232?...

View Article
Browsing all 4787 articles
Browse latest View live