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

ADC problems with a 16F1826 chip

Hello all I'm trying to use a new chip to me, an 16f1826. I liked the idea of the 4.086 internal voltage reference. I wrote the test code below, trying to follow the datasheet. Unlike others, I've...

View Article


Image may be NSFW.
Clik here to view.

Comic for September 2, 2012

View Article


RPM of CPU fan PIC12f683

Greetings all, This is my first post to this forum but I will try to stay within guidelines for posting. Basically, I am using the PIC12F683 to read the RPM signal from a CPU fan. Have any of you done...

View Article

Image may be NSFW.
Clik here to view.

Comic for September 3, 2012

View Article

pic16f690 and ultrasonic tranducers

hi.Quite new in this area.Please help me know which pins of pic16f690 can i connect the transmitter and receiver ultrasonic transducers.Also please tell me how to generate 40khz pulses (8 pulses)...

View Article


Offering a cheap PCB assembly service (UK)

Hello there! I recently had to start working from home but I'm doing what I would be doing at work and what I know, which is PCB assembly and wiring. I'm offering my services to anyone that would like...

View Article

Image may be NSFW.
Clik here to view.

Newhaven 4x40 LCD, issues!

For the past few days I’ve been working with a Newhaven 4x40 Character LCD. The Newhaven NHD-0440WH-ATMI-JT has duel ST7066U controllers. I have written an Initializing routine outlined in the...

View Article

Image may be NSFW.
Clik here to view.

Comic for September 7, 2012

View Article


ERROR line 90: Sintax error----> [TabIndex]

Greetings friends ... I think I lost because I can not find what is wrong I have ... I mark syntax error in the line where attachment [TabIndex] ... I would be doing wrong? regards, Martin from...

View Article


Image may be NSFW.
Clik here to view.

Comic for September 8, 2012

View Article

Image may be NSFW.
Clik here to view.

Compiling error on Elapsed timer

Hi everyone, I'm trying out Darrel's sample code from http://darreltaylor.com/DT_INTS-18/elapsed.html. Code: asm     __CONFIG    _CONFIG1L, _PLLDIV_5_1L & _CPUDIV_OSC1_PLL2_1L & _USBDIV_2_1L...

View Article

Km to MPH conversion - what am I doing wrong?

KM=29 KM1=125 MPH = ((KM*256)+(KM1))*(1006/1619)/100 MPH1=((KM*256)+(KM1))*(1006/1619)//100 LCDOUT $FE, 128, DEC MPH,".",DEC MPH1 It returns a result of 0.0. I'm assuming it does this because the ones...

View Article

Duty cycle - Another Math dilemma

Hi All! Okay so I have a time period of 9.9210 ms and as part of this time period a pulse width of 4.9474 ms. If you divide 4.9475 by 9.9210 you get a duty cycle of 50.1310 which is actually a percent....

View Article


Need info on PIC+Internet

I have never done this before so I need some help with hooking my PIC onto internet. I have bought this from eBay: http://www.ebay.com/itm/Mini-ENC28J6...ht_1428wt_1037 I have some questions regarding...

View Article

Image may be NSFW.
Clik here to view.

Comic for September 9, 2012

View Article


Display LCD custom character

I have 20x4 LCD, I'm using DT's Custom character generator to produce the following Code: 'Mobot v1   LCDOUT  $FE,$40,$1F,$15,$11,$11,$15,$15,$15,$1F  ' Cust Char #0    LCDOUT...

View Article

Image may be NSFW.
Clik here to view.

Comic for September 10, 2012

View Article


Question on SPI Data out on PortC.7(pic18f4550)

The following code is working... Code: SD_WE        Var    PORTA.4    ' SD card write protect SD_WE_TRIS    Var    TRISA.4    ' SD card write protect direction SDI        Var    PORTB.0    ' SPI data...

View Article

hm2007 working algorithm

can anyone give the algorithm of hm2007 based on which it works?

View Article

My code is ugly

I have the below code which is functional, but it bothers me that I can not think of a more elegant way to do what I want. I have a 6 digit 7 segment display that I am trying to us to manually set a...

View Article
Browsing all 4745 articles
Browse latest View live