Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I used 5ms delay in initilization i.e. before sending the commands the the LCD. There is no delay between the commands.
Help me select the delay time between the E=1 and E=0 and after E=0. I have attached a snapshot from the data sheet. As far as I see, the delay should be about 350ms, isn't ?
My LCD interfacing code isn't working fine and it is showing garbage value. Here is the code
#include <stdio.h>
#include <stdlib.h>
#include <p18f26k22.h>
#include <delays.h>
#include <string.h>
#include "oscillator.h"
#define RS LATBbits.LATB0
#define RW LATBbits.LATB1
#define E...
My last code did not work in loop back test. But the below one worked well in loop back test. Both the USART are at 38400 baud rate but when connected to HC05 it returns garbage value.
while(1)
{
while(!(PIR3bits.RC2IF));
TXREG1=RCREG2;
while(!(PIR1bits.RC1IF))...
Well, I considered all that you have said. I changed both the baud rate to 38400 but still no response to AT command.
Here is my new code
#include <stdio.h>
#include <stdlib.h>
#include <p18f26k22.h>
#include "oscillator.h"
void transmitData(void);
void receiveData(void);
void main(void)
{...
The HC05 datasheet mentions that it takes 8 Data Bit and 1 Stop bit. Now do I need to assign the TXSTAx.TX9D register to 1 for the stop bit in the above code ?
Hi,
I am trying to interface the HC-05 module with a bootloaded PIC1826K22. I connected USART1 with the module and USART2 is connected to my laptop via USART to Serial converter IC. Below is my code.
The problem is, I get garbage value in return when I type the AT command in hterm with CR-LN...
I(DSS) is the saturation current, the maximum current from drain to source before reaching pinch off voltage (Vp). I(DSS) will be specefied in the datasheet. What nitishn5 said looks perfect to me.
Yes, changed all 'analog' to 'digital' but not working still. I'm using a H Bridge that has L293D in it, I mean its a L293D H-bridge.
I changed my code to this one below so that all pins remain defined, but still not working. :(
#define Motor11 5
#define Motor12 6
#define Motor21 10
#define...
Yeah, changed all inputs and outputs to digital but still its not working. Don't know whats wrong. When I connect a LED to detect weather the high signal from Sensor is working then I found that its working fine. I men, the only problem is that, the motor does not turn on. The motor and H-bridge...
This is a good lesson I learnt.
Well, You gave a complete guide to me. Thanks a lot. Now my next step is to check the local market for the products, and then choose the right option accordingly. I think I'll follow your step by step instructions.
Thanks a ton.
This is a very basic problem but am not able to find a solution.
I'm just trying to control a motor (ON/OFF) using IR Sensor. I wrote my program code in such a way that if the IR Ray gets reflected then the sensor detects a 'HIGH' signal and he motor should start rotating. But maybe due to my...
Suppose I use 1 12-0-12 transformer and a bridge Rectifier then I get output V(Peak) as 16.92V and V(DC) as 10.77 Volt(2V(Peak)/pi) . I don't know anything about Voltage Regulator but I thing would like to ask is, can I make that 10.77 Volt output to 15 volt DC using Capacitor and Load...
Hello all, I want to make a 15 V Battery Eliminator. Now I know that to make it I need the following-:
1. Transformer (greater then 12-0-12 rating)
2. Rectifier (Bridge Rectifier)
3. Filter.
Now, for the Rectifier I'm quite sure that I need to use the Bridge one because of its Ripple factor...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.