Switch button reading function
Hello Everyone I want to learn keypad interfacing programming. I am starting with very simple example. suppose keypad is made by arranging four push button. Than I have to find out which one switch has...
View ArticlePID Corretion to PWM
Hi! I just got the concept and implementation of PID control loop. Right now, I'm having a problem how to turn PID corrections into PWM for ESC in a quadcopter. Thanks in advance for the awesome replies!
View Articlefunction to send data
Hello I need help to understand this function. This function is use to send 8 bit serial data (8051 MCU, embedded c, I2C) Code: unsigned char I2CSend(unsigned char Data) { unsigned char i, ack_bit; for...
View ArticleProgramming starting point
A very general question. When you have come to the point in a project where you need to write code, how do you begin. By that I mean do you start by using pencil and paper or do you dive straight in...
View ArticleProblem Uploading the sketch to arduino uno.
I wrote a sketch on arduino IDE and tried to upload to the board. Had following error while uploading Sketch uses 7958 bytes (24%) of program storage space. Maximum is 32256 bytes. Global variables use...
View Articlewhere can i identify the problem
Hi learners. I am working on a Panasonic 21" TV. The power was not coming I have work on that but my problem is there is this capacitor 391j 2kv it got burn and I can get the replacement. Now when I...
View ArticleHow to find out delay time for ISR
Hello If Interrupt service routine run 200 per seconds how to calculate timer higher value TH0 and timer lower value TL0 v ? Code: #include<reg51.h> /*AT89c51*/ sbit led1 = P1^0; //LED connected...
View Articleincompatible arduino components
I got an cheap arduino kit for fun and to extend my electronics knowledge from a good working state to a hack and slay state... I decided to build components rather than devices... well the kit has a...
View ArticleVerilog code for 8 bit MUX based adder
The adder is most widely used in digital system. we all are aware with full adder and parallel adder. but they give less response because of the delay. Delay pays an important role for deciding the...
View Articlelpc1768 cpu dosn't work properly
hi guys I was designed a lpc1768 board for myself but I have some bad and unusual problem with it . As I assembled the bored I programed it with a jlink segger programmer and it was programmed very...
View Articlebluetooth hc-05 doesnt work with arduino (its on, but no response)
i am using this guide: http://www.carobot.cc/how-to/hc-05-guide/ my goal is communicating with the hc-05 as it says in the guide. whats happening now is the bluetooth isnt getting/responding to the...
View ArticleMotor control application
On my own i want to do one motor control application using ST micro controller. I am searching for an evaluation board and found one. To get started what wattage of BLDC motor shall i select. Please...
View ArticleMassage Chair Hand control Problem
I have spent several years repairing all makes of massage chair. I have learnt that even with the same model, electronics can change. When replacing a hand controller I have always checked to see that...
View ArticleI need help with the Logic Analyzer in MPLAB 8.92 please
I can't work out how to change the scale of the Logic Analyzer. The Help was no help. The pulse shown on the attachment is the first of many. I would like to see the complete waveform. Any assistance...
View Articlewhat is List in program
Hello This code is source file of list. generally List means the number of items. I want to understand what is use of this program ? why do we need this source file ? Code: #include <stdlib.h>...
View ArticleSignificance of CPOL and CPHA in SPI communciation
In an SPI communication, do I have to consider these settings. Are there certain situations where the polarity or phase settings are not irrevelant? Or am I free to choose any combination?
View ArticleHC-05 and annoying pulsation
I'm using Arduino Uno + Hc05 within the guitar effects chain that is between guitar and amplifier. It happens that the blinking of the LED on HC05 is also transmitted to the output of the loudspeaker...
View ArticleBasics of IF and Else statements (Arduino)
View attachment 36558 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ void...
View ArticleSPI to UART converter.
Goal: convert SPI pins to be used as UART. Ouestion1: In my understanding, the chip select and SCLK pin is the only diff between SPI and UART. So if I don't use CS and SCLK, can I use MOSI and MISO as...
View Article