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

Hserout3, hserout4, ...

What might be the reason or the reasons for PBP developers not to write Hser commands for 3,4,5 ? Hserout3,Hserout4,Hserout5 ? or Hserinx ?

View Article


Nextion Touchscreen LCD User Interface

Recently I tried the Nextion 7" and 3.2" touch screen LCDs. They have a simple, not well documented, IDE that is hard to learn because you rely on YouTube tutorial videos of other users. The LCDs have...

View Article


18F4680 Internal Oscillator

I am working with the 18F4680 and for some reason can't get the internal oscillator to work. The external works fine. I may need to also configure config1H, but it seems everything I did to try that...

View Article

PIC in ARCNET

Has anyone used one of these devices in an ARCNET network? Yes, arcnet is old but I hear it is making a comeback and you get a free 8 track of Bee Gees when you order the hardware. Anyway, GE Medical...

View Article

Morse Code Bot

Hi Guys :) Here’s a video which shows the crux of a project to use a custom pic controlled TENS unit to contract my muscles through the use of electrodes, to make my hand key some predefined, valid...

View Article


18F45K40 Can't set PORTD.1

For 18F45K40, I can not set PORTD.1 LATD.1 = 1 does not work. PORTD.1 = 1 does not work. HIGH PORTD.1 does not work. HIGH LATD.1 does not work. ASM does not work. But if I use another compiler it...

View Article

MQ 135 sensor

i have a MQ135 air quality sensor connected to a 18F2450 and I am able to get analog readings from it. I am interested in the CO2 readings, but looking at the datasheet it appears that to go from an...

View Article

Image may be NSFW.
Clik here to view.

Glitches when changing portD seen on other ports

Hello I am using portD as a data port, 4 bits of portA as an address bus, and porte as the chip select, data strobe and direction bits. When the data switch from 3F to 40, 7F to 80, and BF to C0 there...

View Article


Nokia and hserin question

Hi to all reading about the nokia lcd projects i´m trying to learn a little bit more about this devices, my goal is try to get hserin commands and display on this lcd however i need to capture serial...

View Article


4x MAX7219 dot matrix modules, daisy chained, usable with PBP

Hello, there are a lot of modules, containing 4x MAX7219, which are daisy chained, and each of them drives 8x8 led matrix, like this:...

View Article

Interrupt issue with PIC16F18877 and DT-Ints...

Hello everyone, I have a board that uses a PIC16F18877 to check the states of 16 inputs using IOC interrupts. Once one of the interrupts are triggered, I set a corresponding flag that is checked in the...

View Article

Help with Using the Catalex MP3 Player

Hi Thank you for reading I am using a Catlex MP3 Player (It was Cheap) from ebay to play specific sound bytes driven from a GPO dial telephone.... Dial 3 it plays track three, dial 7 it plays track 7...

View Article

Image may be NSFW.
Clik here to view.

usbin

Hello all i buid usb HID keyboard with pic18f2450 it work perfect, except to usbin command. i want to read the status of caps lock,num lock,scroll lock when i use usbin, the program stuck in a usbin...

View Article


Newbie Manchester Coding question

So, I have a temperature sensor that reports in Manchester code. I need to decode it. Looking through the various examples on here leaves me confused about how to tackle this. Most of the code examples...

View Article

Watchdog timer not working as expected

Hello I've got a problem on a PIC18F65J11 using PICBasic PRO 3.1 with the watchdog timer. I am testing some software but after a few hours of running it hangs up. The watchdog timer is enabled and I...

View Article


Complex math on 16F series?

Code: d = 1 / ((x1 - x2) * (x1 - x3) * (x2 - x3)); a = d * (x1 * (y3 - y2) + x2 * (y1 - y3) + x3 * (y2 - y1)); b = d * (x1 * x1 * (y2 - y3) + x2 * x2 * (y3 - y1) + x3 * x3 * (y1 - y2)); c = d * (x1 *...

View Article

Doing something at predefined amount of steps?

Hello and sorry for bogus title, I just can't explain it simpler in short terms :) The idea is as follows, there is a variable, incremented from 1 to say 1000. There is something to be done in each 5,...

View Article


Interfacing a BME280 on a PIC18F2431

Hello Everyone, I'm currently interfacing a BME280 digital humidity, pressure and temperature sensor (I²C) with a 18F2431: https://www.bosch-sensortec.com/bst/...roducts/bme280 I have it up and...

View Article

Annoying MicroCode Studio quirk/issue

I'm using Microcode Studio ver 5.0.0.5 and I'm a bit miffed at a very minor, yet annoying issue. I have a bunch of program tabs open at the top; 2 of which let's call "Program A" and "Program B"....

View Article

the simplest way to remotely control a pic?

i would control the pwm port from a distance of about 4-6 meters, i don't have experience with aerial (wifi, am modulation etc) so i would try to avoid them for a more simple thing (wired?)

View Article
Browsing all 4743 articles
Browse latest View live