Forum Replies Created
-
AuthorPosts
-
Ligo GeorgeKeymaster
Are you talking about this Soil Moisture Sensor Module ?
It can be interfaced with microcontrollers using ADC or digital GPIO pins. Using analog method you can find the exact moisture content of soil. But if you are using digital output, you can detect when the moisture level crosses a particular level.
Ligo GeorgeKeymasterJust disable the ECHO feature of your GSM module. If it is enabled, the module will send back characters received during command mode.
AND you should send a Carriage Return (eg : “AT\r”) after the command to indicate the end of command.
Ligo GeorgeKeymasterJust try like this :
for(i=0;i<=5;) { if(RCIF) { RD0=1;// RD0 LED ON if(OERR) { RD1=1;// RD1 LED ON CREN = 0; CREN = 1; } x[i]=RCREG; i++; } } x[i] = '\0'; Lcd4_Set_Cursor(1,1); lcd4_puts(x); Lcd4_Clear(); delay(500);
Ligo GeorgeKeymasterIf you want fast incrementing, use like this.
if(button pressed) { __delay_ms(250); while(still button pressed) { //Increment variable here } }
Ligo GeorgeKeymasterHello, use like this
if(button pressed) { __delay_ms(250); if(still button pressed) { //Increment variable here } }
This will work for single press and long press.
Ligo GeorgeKeymasterHello,
The interrupt will generate when the Timer Overflows… you can change its time period by adjusting the prescaler value.
Ligo GeorgeKeymasterYes you can use a USB to UART converter for the communication between PIC Microcontroller and PC. By using serial port you can easily read the data from PIC in the computer program.
January 13, 2015 at 6:43 pm in reply to: Why do we generally try to avoid 90 degree turns while designing PCB? #10482Ligo GeorgeKeymasterSorry we haven’t it yet.
Ligo GeorgeKeymasterPlease read this article : Arduino
There are different types of Arduino Boards which having different features.January 9, 2015 at 9:24 am in reply to: Interfacing HC-SR04 Ultrasonic Sensor with PIC 16F676 using Hi-Tech C #10439Ligo GeorgeKeymaster- Reduce code length
- Remove unnecessary statemetns
- Optimize the Lcd_Port() by using single statement, eg : PORTC = a by making necessary changes in the circuit diagram.
January 8, 2015 at 8:21 pm in reply to: Interfacing HC-SR04 Ultrasonic Sensor with PIC 16F676 using Hi-Tech C #10437Ligo GeorgeKeymasterYou should use a PIC with higher memory or reduce the code size.
Ligo GeorgeKeymaster- Try using the latest compiler
- Make sure that you properly set the pic type in configuration
- Try recreating the project after deleting all files
Ligo GeorgeKeymasterBut there is no relation with Operating System Size and SD Card. SD card is chosen because of its advantages. Up to 512GB SD cards are available in the market.
Ligo GeorgeKeymasterYour questions are going outside the scope of this topic. You can open a new topic for asking such questions.
Size depends on the Operating System you are using. You can check sizes of different operating systems. You may customize it to reduce size by removing unwanted features. If you want to customize Linux, please go to a Linux forum.
Ligo GeorgeKeymasterSD Card can treated as a Solid State Drive (SSD).
Usually we call SSD for drives we are using in computers instead of Hard Disk. Memory Cards are usually smaller than SSD.
Although Memory Cards and SSDs are using same technology, their application, functionality and size are distinctive.
-
AuthorPosts