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 ArticleNeed 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 ArticleOscillator 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 Articlebit 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 ArticleRe: Easy Serial to Ethernet module
The EM100 is original 10BaseT serial-to-Ethernet product for onboard installation.
View ArticleUltrasonic [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 Article16F1847 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 ArticleDigital 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 ArticlePIC16X 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 ArticleEasy Servo driver
Im 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 ArticleDT 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 ArticleI2C 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 ArticleMultiple 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 ArticleWriting 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