AT89S51 compiling and programming advice for a novice
Hi all, I am a member of these forums for quite a while and generally don't have too many hardware issues. However micro-controllers are all very new to me. I have just about managed to master the...
View ArticleArduino UNO with a digital hall effect switch to control relay question
I have an Arduino UNO set up with a potentiometer to adjust the amount of time(up to 10 seconds at present) a relay closes a pair of contacts when a magnet slides by a hall effect switch. The problem...
View ArticleUart bit banging code
1. I have a application in which uart is done by software since it has only one uart & it is used for another purpose. MCU is 16Mhz with 62.5ns instruction time. Goal is to continuously receive...
View ArticlePIR sensor to Arduino
Hello AAC Forum, Working on a circuit to control an LED display which uses a PIR sensor to an Arduino microcontroller. Code copied below. For some reason I don't understand LED2, which indicates an out...
View ArticlePIC16F628A Global Variables and Flags. XC8
Hello, still getting the hang of using interrupts properly and I'm having a hard time modifying a global variable in my ISR. It seems like no matter what I do state is never modified. Here are the...
View ArticleDrone Programming Strategy
I wasn't sure where to post this. I have a question about programming strategy of multicopter drones. 1. What is the communication procedure? I mean is it like "can you hear me now?---yes I can" all...
View ArticleControlling Servo with 1 button and Arduino - Need help.
Hey guys, I have been at this for some time and I just can not seem to get it. Programming never was my strong suit. I am simply trying to push a button and make a servo move from point A to B and...
View ArticlePower questions for project to add a Shutdown button / LED to Raspberry Pi
Hi I'm planning a simple project to add a shutdown button to a Raspberry Pi. Basically, when a button is pressed and held for a couple of seconds the Pi will issue a shutdown command. For feedback I'm...
View ArticleZBM - Z80 Based Machine
Hi all, So with all this free time on my hands (Well, I have some free time now ), I have decided to revisit the million Z80 projects that I have attempted. Now in the past I never get past the...
View Article8Need help for AT89c2051 programming
I am doing project in which i will be having two dc sources. One is Consistent 12v and onther one is fluctuating... I will be using analoge comparator of AT89C2051, I am having two problems 1)during...
View ArticlePIC16F628A - Help with clarification on datasheet
I'm still having trouble with the interrupts in my project so I've taken the time to dig a little deeper into the datasheet. In the interrupt section there is the following. I need help understanding...
View ArticleFOSC - settings, can some carify please.
I'm using a PIC18f18k50, and the FOSC has 3 bits, so the Mux Block diagram says HF-16 mhz 111 HF-8 mhz 110 HF-4 mhz 101 HF-2 mhz 100 HF-1 mhz 011 HF-500 khz 010 HF-250 kHz 001 Fine so fine, in MPLAB...
View ArticleHow to correctly configuring a CTMU module to respond to positive edge triggers
Hi, I am currently having issues configure the CTMU module in a PIC18F46K80 to respond to edges. I am trying to measure the delay between two pulses produced by two "single photon counting module"...
View ArticleMinimum circuit required to run PIC16877A
1. Attached is the circuit using PIC16F877A. I need external oscillator in my project of 20Mhz. 2. Is this ckt ok to have bare minimum? I have seen people use different values at MCLR, are values...
View ArticleDigital Filtering Advice
Spring has not totally interrupted my sessions with WWVB (See: http://forum.allaboutcircuits.com/threads/selecting-best-antenna-type-for-wwvb.121386/#post-986466 ). My codes work fine for reading the...
View ArticleBluetooth LE Service & Characteristic Design
Im building an Android app to interface Arduino with a BLE module from HMSoft10. I found a tutorial online for an android app and it takes care of the connectivity and it uses 3 seekbars to send...
View ArticleCurrent leakage in PIC18F46K80 CTMU module
Hi guys, I am currently trying to build a time measurement unit using the CTMU module of a PIC. I noticed that there seems to be some leakage current from the CTMU module whilst enabled but while the...
View ArticleProper way to clear RCIF | PIC16F628A XC8
Well, I've learned a lot with this last project. For those that have helped me before I'm very close to getting this done thanks to you all! I'm curious about the RCIF bit what is the proper way to...
View Articleinterfacing to microcontroller
i want to interface bar code to 89s52 atmel micro controller please help me regarding this program. Mods Edit: Email account was deleted. Please don't post Email on forum, it will bring the spam...
View ArticleARDUINO GT-511C3 FINGER HEX VALUE READ
Hi all, I am using GT-511C3 to read the finger print value using arduino, is any way to read the value as hex,....? Regards, Ajin nadh v a
View Article