Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Sherbrook; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    7,951

    Re: Weirdness with 16F1705's eeprom and DAC

    Yes it is something obvious


    ' FVRCON = $11000101 ' Enabled, Vref 1.024V, DAC1out1 (RA0).
    should be
    FVRCON = %11000101

    Phil
  2. Replies
    22
    Views
    10,675

    Re: EasyPic 6 Mikroelectronika

    Hi stargazer

    I think you have the defines for the LCD wrong. Have a look at the schematic in the user manual for the LCD. You will see that portb.0 to portb.3 is connected to the HIGH four data...
  3. Replies
    5
    Views
    5,694

    Re: BCD to 7-segment issues

    Let us suppose bits 5 and 6 of portb are set and 4 is displayed on the 7 seg display and we want to display 5
    portb will be %01100100
    (portb & $F0) will clear the lower 4 bits of portb leaving bits...
  4. Replies
    14
    Views
    5,510

    Re: PIC12F683 pin GP3 as output

    Try setting GP3 to input as setting to output turns off weak pull-ups
  5. Re: Experimenting with PicBasic Pro Compiler by Les Johnson

    The CD contains many datasheets and other info but I expect you only want the source files to save some typing.
    It's a good book, I found it very useful.

    Phil
  6. Replies
    2
    Views
    1,926

    Re: left shift help Plz

    Try
    PORTD = (PORTD << 1) + 1
    Phil
  7. Replies
    21
    Views
    16,825

    Re: Cannot drive I2C Oled :(

    Here is some code. It fills the screen with 8 lines of vertical bars then clears it.
    If the screen does not start up correctly dissconnect and wait or discharge with a resistor and try again....
  8. Replies
    21
    Views
    16,825

    Re: Cannot drive I2C Oled :(

    Is it the CRIUS display you have? If it is then I have some code that works. I did it a long time ago so it may take a while to find it.

    Phil
  9. Replies
    14
    Views
    8,716

    Re: Sending text to GLCD using BV4511 interface

    Hi Scampy
    You say when testing with PIC, SDA and CLK lines are taken low when BV4611 is connected. According to the data sheet this will cause the BV4611 to start up in SERIAL mode. Have you set the...
  10. Replies
    3
    Views
    9,263

    Re: Usb Programer 24Cxx 25f80

    Search ebay for item 301317024606
    There is a download link for what looks like the software you want

    Phil
  11. Replies
    6
    Views
    9,505

    Re: How to communicate with MLX90614 IR sensor

    Have you got 4k7 pullup resistors on the SDA and SCK lines?
    What PIC are you using?
    Show us your code and schematic and we may be able to help more.
    Phil
  12. Replies
    6
    Views
    9,505

    Re: How to communicate with MLX90614 IR sensor

    8.4.6 of the datasheet shows how to read the temp. So going by this:-

    Default slave address is $5A. This is bits 1 to 7 of the first byte. Bit 0 is the read or write bit and as we are writing to...
  13. Replies
    6
    Views
    3,615

    Re: Connecting PIC to servos

    My fellow R/C modelling friend has several large models on which the leads to the aileron servos must be at least 3ft long. It all works perfectly.
    Phil
  14. Re: Where To Get Started With ADC (Pic 18f2550 / 4550)

    These are the registers used with the A/D converter

    PIC 18F2550

    Select the A/D inputs with the ADCON1 register. So to select AN0 and AN1 as analogue inputs with voltage references of PIC supply...
  15. Re: New user: port configuration problem/unexpected interaction/16F887

    Had a quick look at your code
    TRISD = 000011 should be TRISD = %000011
    TRISB = 110000 should be TRISB = %11110000
    You have missed off the "%" denoting a binary number in several places
    Phil
  16. Re: Modifications in the charger circuit for 4,6 & 8 volts

    With P1 centered the circuit should give output of 14v or about 2.3v per cell. For a 6v battery you will need an output of 7v, 8v - 9.3v, 4v - 4.7v. The output voltage is set by potential divider R3...
  17. Replies
    5
    Views
    3,040

    Re: Help to setup ADC for 16F1826

    Hi SOTATOSA
    10 bit A/D converters do work in 8 bit mode. Just set LEFT justified and the 8 MSBs are held in the ADRESH register and the 2 LSBs are held in the ADRESL register bits 6 and 7 which you...
  18. Replies
    4
    Views
    1,972

    Re: Help with Hellebuyck reverse flashing led

    Looks like it's written for the PICAXE to me
  19. Replies
    38
    Views
    23,747

    Re: 16F877A and LCD HD44780

    Hi epilot
    Another way to do it would be to use an op-amp
    Google "op-amp precision rectifier full wave"
    There are quite a few simple circuits that would do the job. Ordinary diodes can be used,...
  20. Re: TM1640 (16 digit display) with PicBAsic Pro, possible is? How?

    Hi jefrem
    New improved code. Pauses not required. Address set command now works. If you don't write to all 16 displays some segments of displays not written to turn on when they shouldn't, therefore...
  21. Re: TM1640 (16 digit display) with PicBAsic Pro, possible is? How?

    Hi jefrem

    My display took a long time to come, only got it 2 days ago.
    Here is some code to get it going, done mainly by trial & error with a bit of luck.
    The TM1640 is still a bit of a...
  22. Re: TM1640 (16 digit display) with PicBAsic Pro, possible is? How?

    Display is ordered from www.fasttech.com. I have not ordered from them before so do not know what the service is like yet.
    I have a PIC18F2550 with USB bootloader to try it on.

    Phil
  23. Re: TM1640 (16 digit display) with PicBAsic Pro, possible is? How?

    Hi Joćo
    Have ordered a JY-MCU 16X display. I should get it in about 2 weeks. Will let you know how I get on.
    Phil
  24. Re: TM1640 (16 digit display) with PicBAsic Pro, possible is? How?

    I see you are using USB loader and are stuck with 48mHz. Perhaps this is too fast for TM1640. Have you got a slower PIC to try with.
    My code does work at 4mHz.
    Have you got the datasheet for...
  25. Re: TM1640 (16 digit display) with PicBAsic Pro, possible is? How?

    Hi jefrem

    I wrote the following code for the JY-MCU JY-LKM1638 using the Microcode loader and

    PicBasic assembler.

    It displays the numbers 0 to 7 on the 7seg displays, the buttons pressed as...
Results 1 to 25 of 49
Page 1 of 2 1 2