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

Urgent assistance rqd - RTC stripdown

Guys I've somehow managed to exceed the memory available in the PIC, which given the number of include files that are used It's quite possible. Anyway, I'm trying to strip out a lot of the bloat in the...

View Article


18F family, 40 pin PIC with 64K flash memory - 5v - suggestions please

I'm running out of memory (32K) on the 18F4580 (I have several large include files for PID routines, AM2302 sensors, etc) and need a chip similar to the 18F4580 but with 64K - any suggestions ?

View Article


18F4520 Overwriting Previous Address?

I was given a few picbasic files and have been trying to get them to ICD compile for the 18F4520, but I keep getting this error: [ASM ERROR] Overwriting previous address contents (3200) (0) :...

View Article

ICD Connection Hardware?

I would like to write code to a PIC18F4520 but I don't have any of the MELabs programming hardware. I do have MC Studio Plus 5.0.0.5. How can I connect to the chip so that I can program it and use the...

View Article

Lookup with variable contents??

Hello, I searched some threads releated wiht this but I couldn't see an efficient answer unfortunately, so I had to open a new thread. What I wonder is it possible to use a variable in lookup? I need...

View Article


Version 3.0.8 released.

Hi, I just noticed that version 3.0.8 was released a couple of days ago. Support for a bunch of new devices and some fixes. From the version history page: Quote: Added support for devices: 16(L)F1454,...

View Article

WRITECODE - How it works

Thanks for posting Henrik. Reading this part "Fixed WRITECODE block size for 16(L)F1946, 1947" I wonder if PBP compiler does a block write as needed by the specific chip. I mean does read the specific...

View Article

Image may be NSFW.
Clik here to view.

240 Neopixels w/PIC 16F1825 and PBP

Well I was trying to find a smaller PIC processor to use for an upcomming Neopixel project. Well after some trials and tribulations, I was able to get the bulk of the Neopixel code I wrote this last...

View Article


First GetADC using DT_Analog.pbp incorrect measurement afterwards is good. Why?

I am using Darrel Taylor's DT_Analog.pbp for taking analog measurements. Measurements are taken in a loop using GetADC. The first ADC measurement is always an incorrect value. After the first...

View Article


Image may be NSFW.
Clik here to view.

16F870A, ULN2803, Stepper motor = very low torque, any problems with code?

Hello. I'm using this schematic for connection: And code from here: http://cornerstonerobotics.org/code/..._hi_torque.pbp It works, by reversing the code direction, I can reverse motor rotation, but,...

View Article

Wierd result when inverting an input

Bell var portB.0 Report var byte (PortB.0 is pulled up) Report = !Bell + 48 or Report = (!Bell) + 48 The value of variable Report = "0" (ascii 48) when portB.0 = True The value of variable Report = "/"...

View Article

Image may be NSFW.
Clik here to view.

A tft addin for pbp3

The first of my tft modules arrived today a 1.8 inch st7735 with spi interface so far I have a scalable chr32 to 90 font and a rectangle fill utility . no one responded to my previous offer to make...

View Article

Need help converting a 4 bit binary number to 4 separate values

Hey group, I am trying to build a Decimal / Hex / Binary number demonstrator to teach electronics and microcontrollers to a bunch of Scouts (the Electronics merit badge is what I am teaching) I am...

View Article


sbc831 pic18f87j11 dev board

while looking on ebay for some cheap 18f's I came across these. they are a nice platform for my tft testing http://www.ebay.com.au/itm/271652758...%3AMEBIDX%3AIT Quote: The Microcontroller has...

View Article

16f690 doesn't work with second Page

Hi community, I have a problem with my PIC 16F690. My program is now 2000 lines tall, and now I must use the second page. Normally it shout be no problem, but in my case it is. The problem is that if I...

View Article


OT - (slightly) - Bluetooth issues

Guys need some advice. I've been playing with various technologies (GLCD, Wi-Fi, Bluetooth) to try and enhance an old project. I've obtained an HC-06 bluetooth module from e-bay and it's connected and...

View Article

Sending text to GLCD using BV4612 interface

I seem to be going through these serial / i2c GLCD adapters like hot cakes.. anyway I took delivery of the up to date version and I've hit a problem regarding some syntax and using it with pbp. The...

View Article


SPI Using PIC18F4550 Question

Hi all, I'm trying to use the SHIFTOUT and SHIFTIN commands on a 18F4550 to control and NFC module. The port labels on the 18F4550 refer as SCK, SDI, and SDO. However, the SPI ports on the NFC module...

View Article

Image may be NSFW.
Clik here to view.

Circuit question

I have A circuit that looks like this and all works as expected. But I´m not sure if the BS250 can handle the two capacitors i the long time, I assume that the BS250 will be shorted for a short time...

View Article

Serial over Blue Tooth

I'm updating a project that currently uses standard serial port to communicate to an application on the PC. I actually use a USB to serial FTDI breakout board to make connectivity more straight forward...

View Article
Browsing all 4745 articles
Browse latest View live