Help optimizing byte compare algorithm
Code: read movfw byte ;perform framecheck xorwf framing, w movwf temp incf temp decfsz temp goto read This code is in assembly language of PIC16. It performs a compare between two registers, 'framing'...
View ArticleIs USART interrupts, error correction, & address detection necessary for my...
I have been learning how to work with the USART peripheral internal to mid-range PIC microcontrollers. Ive been working on a project. In the project there are 56 switches, 56 LEDS, two PIC16s, and two...
View ArticleArduino SIM800 Module help
Hi again everyone! I'm from Philippines, 13 years old. I just wanted to ask help in programming this module with arduino. I've been searching in the Internet but I couldn't find one. I just wanted to...
View ArticlePIC 16F676 problem
I am programming a PIC 16F676 and have come across a problem. I am using a 20MHz ceramic as the oscillator, but the problem persists even if I use the internal 4MHz one. You can see from the...
View ArticleAVRDude Device code: 0xffffffff = (unknown)
Hi friends, I am making use of AVR Evaluation board v3 and ATMega16A as IC, HEXA FILE has created, but while uploading the hex file it is showing me unknown device. I tried on command prompt and given...
View ArticleMX29GA257EHXC IC giving error while programming
I am getting following error while programming "MX29GA257EHXC" ic. Please help me fixing the errors. ============== Programing ... Flash chip address : XXXXXXXX chip data : XXXX Buffer address :...
View ArticleWhich MCU + BT/BLE for heart rate and ECG monitoring (from TI ADS1293)
I am working on a portable wireless heart monitor with Bluetooth interface. The idea is to measure ECG signals for at least 1 day straight and then transmit data to the Android device. According to my...
View ArticleMEMS Sensors "Corrupted" In Quad Copter Gimbals?
I've had a constant problem with all quad copters that have been in my hands over the last several months. With each one, the camera on the gimbal will be level most of the time, but will roll a few...
View Article8051 timer in assembly
hello.. i now studying about 8051 microcontroller in assembly language.. i know it's not very popular nowadays.. and i wanna ask how to use timer and how it work ? i still confuse.. sorry for my bad...
View ArticleInterfacing between Little and Big endian
Hi friends, I have been to interview on last week. They have asked me the question as If your laptop is Little Endian and Microntroller is Big Endian, how to interface the communication between...
View ArticleBad LCD ? Bad microcontroller ? Or what ?
So i recently bought an arduino along with lcd module and 2 extra atmega328p-pu ,yesterday it was working just fine then i disconnect everything and reconnect it and this happen ,what could possibly go...
View ArticleINOVIA Subcontractor for product development
INOVIA is one of Asia’s premier electronic Product Development companies. INOVIA operates in HongKong and China to help Western companies design and manufacture quality electronic products in the Great...
View ArticleUser friendly GUI for modifying PIC program
How do I make a GUI that when opened, will have dropboxes, textboxes, etc, apply button at the bottom, that will allow me to change certain parameters/lines of a PIC16 program file once I click apply,...
View ArticleUltrasonic sensor working underwater?
I want to use an Arduino and a waterproof ultrasonic sensor to measure distances up to 20cm. Have used ultrasonic sensors in air before but want to know if it will work underwater and if so where could...
View ArticleNeed help with some python debugging
We are trying to switch from a LED controlled solar hot water heater system to one which uses a Raspberry Pi A (we need the Pi anyway because we wish to send temps to web) an H-Bridge, pysolar - a...
View ArticleExpanding the data partition of Raspbian Jessie on a USB-HDD
I had succeeded to place the image of Raspbian Jessie on the FAT32 formated HDD with 1 TB, copied the required files to the boot partition on the microSD and have the new Raspbian Jessie start. Now I...
View ArticleMosfet driver IR2104 High out not working
Sir, I am a final year M.Tech student, doing my project on grid connected inverter. My circuit is having 2 Power MOSFETs(IRF540) on same leg. For triggering, I am using Half bridge driver IR2104. There...
View ArticleQuestion about passing a variable value to an array in C
Hello all, as the title states, I am trying to pass a variable into an array in C. Specifically I am trying to get the random value of TMR0 of the pic that I am working on into the array. The TMR0...
View Article