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

Sound command query.

I have a question about Sound command. How sound command generate white noise, for example with note 255 ? Note 1 to 127 are 78.74Hz to 9.999.98 Hz. Note 128 to 255 ? How can i recreate note 255 with...

View Article


how to scroll text smoothly on 5x7 display? (no shift registers)

Hello. I have 16F876 and 5x7 pixel led display. Rows of display are connected to PORTB.1-7 and columns to PORTC.1-5. I wrote a simple multiplex program which displays static character on display....

View Article


basic vs c vs assembly

im just wondering what are the advantages programming microcontrollers with BASIC vs doing it with C or assembly.. Does one of them make it easier to deal with the peripherals such as usb, spi, I2c,...

View Article

microcontroller vs plc vs 'microprocessor w/ peripherals'

i worked as a technician for a japanese company that shall remain undisclosed but anyway in the machines in their assembly line i saw on a machine that it had more than one plc(programmable logic...

View Article

Flash chips running with 3.3v and have 5v input tolerance

hI GUYS , I have a pic running at 5v , have SPI BUS with level converters to 3.3v , but now looking at adding a flash chip to the spi bus and i prefer not to ad more level converters for the ce/hold/wp...

View Article


FLASH SPI command examples /setup

Hi , i have been looking at using SPI based flash chip , has anyone got an example of how to make use of the duel/ quad / general read/write command structure for FLAsh in PBP ? regards Sheldon

View Article

I want to control the volume of the output using Sound command.

I am going to use SOUND command to produce a white noise. Is there any way to control from the program the volume of the output ? I want to take a result with max volume and then the volume will...

View Article

6 digit - 7 segment display code

Hello, Anyone has a code for 6 digit - 7 segment display code. I want to output hours- minutes- seconds. Worked with LCD before but not these LED. there is a multiplexing involved. I would like to see...

View Article


PLz Help! Serin and Serout Confusion

I used to do uart using mikroC but now i need to do a simple serial communication between two pics the sender has a button on portb.0 acts as a start button and a led on the other receiver pic has a...

View Article


Servo motor does not work correct

Hello Can someone help me. I can not control a servo motor he is without direction. here's codgo I'm using. In the PC program I have a range between 700 a 2300. Thank you. RX VAR BYTE POS VAR BYTE X1...

View Article

Flash erase byte routine

Hi guys , i am trying to do a erase byte routine for flash The FLASH as i have learned is not the same as EEProm in that you cant just change bytes values as you may like to on the fly , changing byte...

View Article

Spi flash chip example - 8mb flash

Hi guys , I had a need to add a flash chip to a project I could not find any sample of code on the site or elsewhere for Flash routines and use , and i hate having to redo the wheel if i dont have to...

View Article

Image may be NSFW.
Clik here to view.

Paralel switches with a Rotary encoder

Hi I have the car radio volume turned by a rotary encoder. I want to put in parallel two switches with 12F675 for up and down volume, from Satellite control wheel. Can you help me with a code to...

View Article


I need to measure alot of different frequencies at the same time (up to 48) How?

I have been working around the PIC chips for quite some time. Built many different products. This one though I am not sure how to do or where to start. I can have up to 48 frequencies I need to...

View Article

Select Case Weirdness

PIC18F14K50 processor PBP Program to receive a DTMF tone from a dedicated tone receiver chip and to process various stuff depending on the tone received. So, I check for valid tone receipt and all...

View Article


Conditions not being met - what's going on

Hi Guys, I have a strange thing going on with my code and I'm stumped as to why this is happening. I have several word variables: B_PWM B_MAX B_MIN The values of two of these are set as follows: B_MAX=...

View Article

Just Need one confirmation please - 1st uc project

Hello all from France! I'm new here and in the uc world :) I'm going to make an usb hid joystick device for my home crazy racing simulator shifter! G-force motion and 3 vioprojectors please :) if you...

View Article


Minimize battery consumption on a 18F2550

Hi I´m trying to build a battery powered RF remotecontrol with 8 buttons and I want to use this as the hardware http://www.mikroe.com/startusb/pic/ (plus a voltage regulator and a RF transmitter module...

View Article

NRF905 curious

I see a few threads about the nRF24L01, and I was able to get simple messaging going with a pair of nRF24L01's, but has anybody played with the nRF905? It's a little slower, but has significantly...

View Article

Remote Ip remote relay switch

If Any one have don this. I need some help to get it start on my litter project. thanks

View Article
Browsing all 4743 articles
Browse latest View live