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

Do Loop

I have a project with a few relays and a 12 volt dc motor. The motor opens and closes a door based on a light and dark (LDR) The door has hall sensors to limit travel. For the most part everything...

View Article


Image may be NSFW.
Clik here to view.

Comic for December 16, 2012

View Article


Image may be NSFW.
Clik here to view.

Need guide to start working on weather meters

Hello everyone! I have a weather meters(http://www.sparkfun.com/datasheets/S...0Assembly..pdf) from sparkfun electronics, I read its manual but not all are really clear for me. But here is what I...

View Article

Oscillator selection

I have to buy an oscillator for an 18F4550. The demo board uses a 20MHz osc and I use the prescaler at /5. That means I'm really running at 48MHz? If so, are there any benefits to using a 48MHz? In...

View Article

bit position variable

i have some code like this: '*********** WriteByte var byte 'WriteByte holds the on off states for 8 LEDs LED32 var byte 'LED32 holds the bit position for LED32 on the pcb in the WriteByte byte LED32 =...

View Article


Image may be NSFW.
Clik here to view.

Comic for December 17, 2012

View Article

Re: Easy Serial to Ethernet module

The EM100 is original 10BaseT serial-to-Ethernet product for onboard installation.

View Article

Ultrasonic [HC-SR04] + PIC16F877A

help me Please it code don't work it's wrong ----------------------------------------------------------- INCLUDE "modedefs.bas" define osc 4 w var word r var word a var word tr var PORTA.0 'Trig pin ec...

View Article


16F1847 Usart and I2C

Wonder if some one has used the 16F1847. I am trying to get the USART and I2C working at the same time. The code comes from 16F877a that I adapted which worked. But I can not get it to work on the...

View Article


Digital pot, voltage regulator or can software do the trick?

I need to keep a voltage level at .58VDC. I was trying to get away with doing it cheaply by using PWM but the problem is I need to use a capacitor to smooth out the voltage. It works but when I remove...

View Article

PIC16X with a 1.3GHz clock

For those of you who use 16F PICs and need more speed. http://edn-mail.com/portal/wts/cemci...7LEbsiuioi7-jd

View Article

Image may be NSFW.
Clik here to view.

Comic for December 18, 2012

View Article

Easy Servo driver

I’m trying to learn a little more about RC systems and ways to control them using PBP. This weekend I had some time to play with and experiment different techniques to generate a signal that controls a...

View Article


Image may be NSFW.
Clik here to view.

Comic for December 19, 2012

View Article

DT Multiple Software PWM and 18F2321 issue

Hello, I'm trying to let SPWM_INT.bas work with a pic18F2321. Before ask here I tested it on a 18F1320 and it work perfectly. OSC HS 20MHz take this as example: Code: for i=0 to 250   LED=i 'dimm led...

View Article


Image may be NSFW.
Clik here to view.

Comic for December 20, 2012

View Article

I2C question w/ MCP23017 Port Expanders

i am working on a project w/ 5 ea MCP23017 16 bit I2C port expanders the expander chips are spread across 4 different pcbs and are reading switches and driving status leds i have things working pretty...

View Article


Multiple Game Target Ideas

I need help with multiple game target (contact) ideas. Every year for our Thanksgiving office party we have a turkey shoot (rubber bands). The targets are made from presentation board foil back and...

View Article

Image may be NSFW.
Clik here to view.

Comic for December 21, 2012

View Article

Writing code for a feedback loop

I'm having some difficulty writing a routine for a feedback loop. What I need to do is read a value taken from the network. Then I adjust the PWM based upon the value. In laymans terms, it would look...

View Article
Browsing all 4787 articles
Browse latest View live