Forum Replies Created
-
AuthorPosts
-
Ligo GeorgeKeymaster
Hi,
Try this : https://electrosome.com/interfacing-eeprom-pic-microcontroller/
Ligo GeorgeKeymasterIt is very difficult to analyse the problem with above details. Kindly attach a photo of your LCD and the program you are using.
Ligo GeorgeKeymasterI think the controller doesn’t have any option to change the SCL, SDA lines to PGD, PGC. So only option remaining is to use Software I2C.
- In your code you can program PGD, PGC lines as GPIO.
- You need to make SCL, SDA lines as Inputs (High Impedance state) when you need to drive it HIGH.
- You need to make SCL, SDA lines are Output LOW, when you need to drive it LOW.
- Basically you need to write entire I2C HIGH LOW signals using GPIO registers.
December 21, 2018 at 5:08 pm in reply to: UART communication between PIC16F18855 and PIC18F45K20 #15801Ligo GeorgeKeymaster- Use same baudrate in both controllers.
- Make sure that ground is common.
- You can send data byte by byte.
- Make sure that overflow or other UART errors are properly handled.
Ligo GeorgeKeymasterMPLAB is an IDE while Hi-Tech C and XC8 are compilers. Hi-Tech is deprecated compilers provided by Microchip. Latest version is XC8.
Ligo GeorgeKeymasterCould you please provide the screenshot of it ?
Reduce use of strings or arrays in the program.
Ligo GeorgeKeymasterHere you can see a sample project done using ASK modules. Same is applicable to FSK also, just by replacing the module.
Ligo GeorgeKeymasterFSK RF modules are similar to ASK. FSK modules use Frequency Shift Keying while ASK is Amplitude Shift Keying.
So you can use the same circuit of ASK modules. You can refer this article, Wireless RF Transmitter and Receiver using ASK Modules.
I hope that you already know about ASK modules and its usage. These FSK modules are commonly used for replacing traditional ASK modules for better noise immunity and performance.
It is very easy to integrate with a microcontroller. If you check the circuit you can see that the inputs (to HT12E) and outputs (HT12D) are digital. So you can connect it to any microcontroller and do normal IO operations.
Ligo GeorgeKeymasterHi,
You can refer the following tutorials.
Ligo GeorgeKeymasterAs per standards I2C can send and receive only one byte of information at a time. But you can easily transmit 32 bytes of information serially one after another.
April 17, 2017 at 8:15 am in reply to: PIC Microcontroller Transmitter & Receiver Frequency Problem #13665Ligo GeorgeKeymasterGrounds of both circuits (RX to TX and TX to RX) should be same for UART to work. In your case you are using ZigBee transceiver, so ground of ZigBee power should be same as microcontroller power.
April 3, 2017 at 11:58 am in reply to: PIC Microcontroller Transmitter & Receiver Frequency Problem #13609Ligo GeorgeKeymasterThis is what I understand from your description.
You developed a program for PIC 16F877A with 8MHz frequency but while testing you used 20MHz crystal. It was working fine when you switching on both devices simultaneously. Then you changed the frequency to 20MHz in the program and rebuild it. Now it is not working.
Firstly, you need to use same frequency in both program and hardware. If you use different frequencies you will experience lot of problems like this. It is very difficult to track the problem without project code. Basically it will be some hardcoded delay or baud rate problem.
Ligo GeorgeKeymasterYou may use DyDNS or Kaa IoT platform.
April 2, 2017 at 10:38 pm in reply to: Direction of current flowing through the freewheeling diodes in H-bridge. #13591Ligo GeorgeKeymasterHi,
Just remember one thing, any two transistors of H-Bridge will be always ON if the circuit is powered (even in the motor off condition). Now you can easily understand the working.
April 2, 2017 at 9:14 pm in reply to: Using Keypad to Control the Speed and Direction of DC Motor #13585Ligo GeorgeKeymasterYou can follow the tutorial, Interfacing Keypad with PIC Microcontroller. I think you will be using an LCD also in this project. If so you can display a menu in the LCD. Based on the menu you can select the direction of motor rotation. You can create one menu to adjust the speed or duty cycle of the PWM. Enter the value of duty cycle (0 ~ 100%) using the keypad.
-
AuthorPosts