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

Watchdog periodic wakeup

Hi all, The solution to this is probably very straightforward but I'm trying to use the watchdog as a wakeup timer based on the roughly 4ms 'no postscaler (=1)' setting... The inc file is as follows:...

View Article


minimising 18F basic operational current!

Hi, Now that I've had help with the WDT, the other issue is the minimisation of the running current when the device is awake. I have an 18F26J53 on a bit of strip board with a couple of LEDs. When...

View Article


interrupt on range finder

Hello, I made a platform that looks similar to boe bot. I am using a 16F877A MCU for it, lots of I/O. I have two sharp range finders that are on my A0 & A1 ADC ports. Currently I have range...

View Article

Image may be NSFW.
Clik here to view.

Comic for August 16, 2012

View Article

SD card / SPI. Not going idle after writing a SINGLE_BLOCK

Hi, I've been playing around with micro SD cards for a few months now. One thing I've noticed now that I've had help getting the CPU to run at minimum speed and properly go to sleep (thanks guys!) is...

View Article


Math problem that won't work

Why won't this work? Data6 is a variable that ranges from 0 to 127 Light = (Data6/127)*100 I get 0 from 0-126 and 127 gives me 100. I had a similar issue with another math problem and I'm guessing they...

View Article

Help with WIZ811MJ

If any one have idea how to use picbasic pro with WIZ811MJ i need to made i IP/TCP relay on/off or any pic chips i can use to do this thanks

View Article

Image may be NSFW.
Clik here to view.

Comic for August 17, 2012

View Article


High power resistor

Hello, Anyone knows where i could order high power resistor, variable would be a plus. I have 840V dc, and i would like to chose anywhere between 700Ohm (1000watt) to 5KOhm (150watt). I can locate...

View Article


count down timer 12f683 4 modes

I'am very new at programming and having issues on a solution . Using 12f683 would like 4 timer modes that will hold pin 5 high for 5 secs off for 5 secs at a time for duration of mode selected . Modes...

View Article

Image may be NSFW.
Clik here to view.

Comic for August 18, 2012

View Article

Software reset - What am I doing wrong?

For some reason, I need to reset the 18F4550 every single time whenever it's powered up. I don't understand why, perhaps it's because the 18F is on a demo board, but I've never had to do it before....

View Article

Math problem

I need to understand this code and convert it to PBP code. I *think* it's for another microcontroller. v[0]=0.1*(((d[0]&#0111)-(d[0]&#1000))*256+d[1]) I don't understand what the & and #...

View Article


communication usb

dear friends, I need a simple example of communication usb between a pic18f2550 or 18f4550 and the pc using delhi 5. in advance thankful, vicce.

View Article

Image may be NSFW.
Clik here to view.

Comic for August 19, 2012

View Article


Image may be NSFW.
Clik here to view.

Comic for August 20, 2012

View Article

How to control step motor in accurate timeing

Hi All: I am new in Picbasic Pro. I have big problem ,how to write a program to control a stepping motor in accurate timeing. I use 16F628A and external crystal, two push switch botton(A and B),...

View Article


Image may be NSFW.
Clik here to view.

Comic for August 21, 2012

View Article

Image may be NSFW.
Clik here to view.

ON/OFF button for PIC16f877a (ambiguity)

Hi, I'm very new to microcontrollers and i need an ON/OFF button for my sphygmomanometer project to turn it off and on and i don't know if i did the wiring of the pic the right way or not ? Attachment...

View Article

Image may be NSFW.
Clik here to view.

Problems with PICKit 2 and Microcode Studio

Hi All, I have been using PBP for years with my trusty EPIC programmer. Finally with no more parrallel ports I deciced to buy a PICKit 2. I wrote a simple code using SEROUT2 and a flashing led. When I...

View Article
Browsing all 4745 articles
Browse latest View live