Search Engine

Uart Command

Add Question

1000 Threads found on Uart Command
I have a problem communicating with the M95 via uart. When you send the uart command M95 mi returns the same command that I send. M95 turned on by the pwr key and status pin indicates to me that the M95 is turned on. via FTDI send from PC command "AT" and M95 returns "AT". The uart is used (...)
This is what I did, I use AT89S51 MCU with itead BT_Module, connect the BT_Module's RX to MCU's TXD and BT_Module's TX to MCU's RXD, also VCC(+5V) and GND of course. 105894105895105896105897 The baud rate of HC-05 in this itead BT_Module for both communi
Hi, I have problem sending command through using uart. I could not seems like able to communicate with my gps. my code is below. #define SYSCLK 99532800 // Output of PLL derived from (INTCLK*2) #define BAUDRATE_0 115200 // Baud rate of uart0 in bps #define BAUDRATE_1 9600//115200 // Baud rate of (...)
Hi, I am interfacing PC + DS89C450 + GPRS where I will send AT command from PC terminal (serial port 0) and DS89C450 will send the command to gprs modem (via serial port 1). Then the reply will go from gprs modem -> DS89C450-> PC terminal Now serial port0 works fine with the following configuration. /**********Serial port initializatio
you can use an uart interrupt. Use a getchar() function if you receive to your serial port the character e.g "A" and the second character is e.g. "T" then move each received character into an array as element.
Hey HI u DID this ;-) Now m also trying to do the same right now m writing for the uart let me know Regards,
hi, I am working on GSM and controlling using i need TO KNOW how to program xilinx fpga and how to send AT command to gsm modem..i know the AT commands but by using VHDL how to write the code ????? for that I did uart vhdl coding for sending AT commands via RS 232 to GSM modem. thanks in advance
Hello there, After writing some data to the PIC micro EEPROM, i'd like to reset the device. I can communicate with the device through its uart. Here is what I tried (under CC5X): .... codes else if (tmpByte == '0') { // Get next char tmpByte = getc(); if (tmpByte == 'R') { putc('S'); PCLAT
You can refer to example to program uart module in the microcontroller. Send the text for your AT command. From: Siong Boon MODERATOR - SIGNATURE LINKS ARE NOT ALLOWED
Hi ahmed Thanks for you interest. I have already succeed to make LCD work via uart, The main problem was that the sequence of initialization of the serial differs from the parallel . In serial , before starting the code of the initialization sequence found in the app note, you should first init the status register of t
hi i have problem with uart,i wanna use PIC16F84A in serial communication,the problem is when i write the program to send data ( i make initiazation &use this command ( soft_uart_write(i) )) the program works and i can see that on LED i connect to transmit pin,the problem occur when i wanna use the read command ( i= (...)
I am using cc2500 with atmega32. I want to use cc2500 in uart mode because i think in spi mode it is too big to handle. for that purpose i did following things: 1. i reset cc2500 using sres command strobe.(0x30) 2. then i configured the data rate to 9600 by writing appropriate values of DRATE_E and DRATE_M in respective registers. 3. then i
I have this project using this PIC24F04KA201. I have two inputs coming from two sensors, temp and load cell. I want to acquire the two data via serial port(RS232) to be plotted using MATLAB. This project is all about getting the moisture content of the soil using an oven that is controlled by the MCU, only on and off of the oven. The host computer
Hi, First thing - are baudrate of you uart the same as baudrate of module? And second one - do you have an oscilloscope to check if sth is getting out of the buffer?
Hi Basically to send AT command via uart is to send ASCII chars First learn how to convert chars to ASCII (adding 0x30....) , fill your uart buffer with the ASCII and hit the sand button All the best Bobi The microcontroller specialist
You have to do something like this, choose baudrate with is your default BT baudrate: char data = 'AT command'; void main(){ Soft_uart_Init(PORTB, 1, 2, 9600, 0); Soft_uart_Write(data); delay_ms(1000); Soft_uart_Write(data); while(1); }
hello to everyone I kown how to control servo motor and DC motor using h-bridge but I don't know how to combaine these two code together and can I control them usnig only one port such as B because I use uart and I can't control more than one port when I send the data through uart using PIC16f877A and MikroC Pro please help me thank you
Hi, Read library functions; Usart_Data_Ready Usart_Read in mikroC help. They are used to read return values via uart of a PIC. You should store return values in memory; then at the end print them on LCD. You can use LCD-library there also. similar discussions are on following threads; www.edab
Well warnings are pretty useful when it comes to efficient programming, it tells you about unused variables and other things which not necessary. but still with warnings your project can run you may ignore those when you are developing but by the end when you are finishing you should remove these warnings... now for your problem please tell which c
How to Send ATD and ATA commands from controller to GSM Modem through uart. Can anybody Plz send me the source code in C language
have you tried looking at the signals with an oscilloscope, e.g. write out to the uart "AT\n\r" in a loop 1. You should see the 3.3V from the uart then 5V into the modem 2. if that works you should the modem reply at 5V then 3.3 V into the uart this should show where it is failing (could the baudrate be incorrect?) a MAX3232 sounds a (...)
I want to use uart to send a code from pic16f690 to pic16f887. If the code is correct a led will be turned on. My problem is that none of my codes isn't work. Please help me. These are the codes: the emitter int i; void main(){ i=11111111; uart1_Init(9600); while(1) { Soft_uart_Write(i); }
hey all. i have a problem with a uart code i have made in MikroC. i have tryed many things, but cant make it work :I i want to send a text command via the uart and then the Chip lights up some certain leds, but i cant light 2 leds up at once and turn them off as i want to because the loop just keep following its path and i dont know (...)
How can I send the number of steps of stepper motor using uart ? or is there any way to parse the string from uart to int in mikroC
I am doing my semester project on wireless communication which is related to uart and Transmitter,Receiver .I am sending data to Transmitter (KST TX01) using uc(ATMEGA16) via Tx pin and receiving data in another uc(ATMEGA32) through RX pin from receiver(KST RX 806).The problem that is that my circuit woks sometimes and sometimes shows garbage value
Reminds me of old uart days in the 70's +ICF=[ Valid numeric values 0 auto detect 1 8 Data; 2 Stop 2 8 Data; 1 Parity; 1 Stop 3 8 Data; 1 Stop 4 7 Data; 2 Stop 5 7 Data; 1 Parity; 1 Stop 6 7 Data; 1 Stop Defined numeric values 0 Odd 1 Even 2 Mark 3 Space from the V.250 standard w
AT command signal (let say GSM Modem) in form serial (RS232 @ uart). The command list can have in the AT command manual.
I'm doing a project in which using PIC24FJ128GA010 mounted on explorer 16 board, using uart n I2C i need to check the battery specifications. I do'v have smart battery command codes. The problem is i wann a program which cofig's uart n I2C so that i can send d codes to batt so that i receive the code description of that (...)
hi, are you using a microcontroller to send the AT commands to the sim900 using uart? you can't transmit 'AT+SVR=svr_val' to the sim900. try transmitting the AT command one character at a time or treat the AT command as a string and simply replace the '?' in 'AT+SVR=?' with the character of your choice. thinking of the AT (...)
Hi, I have the same type of problem but slight different. I have connected ATmega32a to AT90USB1287 using uart and AT90USB1287 to PC using USB. Intially, AT90USB1287 is talking to the PC via USB. ATmega32A is talking to the PC via USART(RS232). Now i have connected ATmega32A board to AT90USB1287 using uart communication(RS232 cable by disablin
Hello I am new using the LAntronix Xport. Can someone help me and sending data from the lantronix Xport to another location. I am using a mcu ( NXP CorteX M0+) and want to send data from the uart to LAN. Thanks...
HI friends, I am facing one problem communication port of sim908 is connected to xmc controller but sometimes the garbage data is received from uart of controller which is in connection with sim908 i also checked commands , string termination but still i am facing that problem some time . Please if anybody have the idea about how to solve thi
Send AT commands using C Code (uart send string).
hi recently i`m trying to send some data over another avr uart by fsk transmitter . when i connect two avr`s by wire it works great , but when i connect them to transmitter and receiver it has so many error`s and works too bad , have to send data 10 or 15 times to send data correctly. i think maybe it`s because of the uart that is high when its
hye..I am such problem which i dont know how to insert or apply command GSM module into verilog code.Because we know that uart transmitter and receiver will enable signal be communicated between fpga board and PC. But the problem from me,which I want the signal or message send automatically when vibration sensor be triggered and send to my phone. W
Your code will not work as uart is not properly configured. Also you need to test the response from modem before sending next AT command. See this link for uart code. #include #include #include #define XTAL_FREQ 4e6 __CONF
i have to configure uart1 on my pic32mx575f256h . so please help me to my problem ? how to configure interrupt based transmit and receive char . and also how to receive full string and transmit full string via uart . suppose i have to send command through PC to PIC like {START} and how to get response like this method . if any c
If you want to make a confirmation of OK, you need a uart for receiving char and store in a variable. After that u compare with another variable that has the expected data. Or you can search for characters to receive, eg 'O' or 'K', or 'O' and 'K', so you do not need to use the memory space to store variables to compare. This code I showed you, s
hello friends i have a configure uart on pic18f4431 using c18 compiler in MPlab ide. and below is the my code void main() { initial_all(); initial_intrrupt(); initial_start(); initial_variables(); /********************************************************************************************/ uart2_txArray(PowerOn,strle
Hi I am trying to write a long variable in Mikro C pro, say 991245 its splitting in to four char (from LSB to HSB) as 0D 20 0F 00 in Hex. problem is instead of writing 0D its printing new line. Because of carriage return setup on uart_Write(13) . How to stop this or change the carriage return value 13 to something else.
Take a look this uart, funcionally compatible with NS16450. I used it with good results. (Be carefull winrar 3.0)
Hi, I have a problem with a GCR-8521B (Sony CXD3045R controller) cdrom firmw. v1.02, controlled by a custom (8051 derivate) controller. It seems that the cdrom don't recognize the ATA Packet BBh command (set cd speed). The other ATAPI commands works correctly (play audio msf, read toc, mode sense etc.) and also the routine that generate
I try tp program a 16C552 uart from NS but the uart stuck in 5 bit mode all signal are OK I have writen 0x3 to LCR registr and read it back but no change teak place Any one have good idea what to do ? Thanks bobi
Mini uart verilog code also check
if anyone have asm for avr(8515) with uart implementation that works at 4 MHz, my id doing ok in simulator but downloaded in chip is making a mess. thanks :idea:
PIC driver program of hi-tech company for IIC,uart,LCD,DELAY...
Hello, I'm using IAR C Compiler and Imagecraft C Compiler (sometimes). Can anybody explain me how I can use a Software uart with this compilers? Is this possible? Another thing, where I can download libraries for this compilers? Does anybody has a library (for LCD or I2C) and wants to share it? Thanks Eze H
I am using BASCOM-AVR compiler ver and when a DTMFOut command is executed the program starts from the beggining. I thought that there was something with software-hardware-frame stack but changing the values to maximum possible returned no result Even the MCSElec example doesn't work!!!!! When i used ver everything worked nor
Hi, My recomendation never use hyperterminal for anything. My recomendation is WinTelix 1.1 or Telix 3.11 (DOS). Telix for DOS is better because you can use num keypad to send binary codes in Windows programs this doesn't work. For connection with uC uart you can direct connestion. Make sure that speed, number of stop bits and parity are mat
hello, how i set the command line in PCW C to use it with EPICWin (loading .hex)?? tks, Daniel