Tagged Questions
2
votes
1answer
83 views
Bit Banging UART
My full code is located here.
Basically, I'm transmitting to an Arduino, and I'm not receiving the correct value (you'll notice I'm trying to send d'22'). Here's the method where I actually bit bang ...
5
votes
1answer
164 views
Serial Communication over 1 Pin?
Okay guys, I'm in a bit of a pickle here. I have the following circuit:
As you can see, pin 3 is my only output. I've actually already had this board printed, so there's not much room for ...
-2
votes
1answer
59 views
How to read in C from a .csv file (how to send the file to the uC) [closed]
For my project I am using an 32 bit uC from Renesas. I have implemented a serial communication so I can communicate with the uC via hyper terminal. The task I have to do now is to read values from a ...
2
votes
2answers
132 views
Best microcontroller electrical bus for high speed synchronized sampling from slaves
I have an application which requires that I sample a dozen of sensors for each node and transmit the data to a master microcontroller in regular four second intervals. The surface area of the sensors ...
3
votes
1answer
215 views
STM32 USART loopback
Is it possible to connect the Rx and Tx pins of the same USART or on two different USARTs on an STM32 discovery board to make a loopback and test the USART?
1
vote
2answers
250 views
PIC16F877A (with LCD) not working
I have designed a PIC18F877A micro controller project to read temperature from an LM35 using ADC, display it on an LCD and transmit it to a serial port.
When the program starts, sometimes it shows a ...
1
vote
3answers
123 views
Microcontroller hanging during serial communication
I was working on a project in which microcontroller is communicating serially with computer.
Initially it works properly but after some duration (i.e 2-3 hours) microcontroller get hanged.
I think ...
-3
votes
1answer
123 views
How to interface my embedded system to a piece of .net software? [closed]
I have an embedded system powered by a microcontroller. I wanted to design a PC based interface in .net for that system. I am interfacing the Microcontroller with the PC through the RS232 serial COM ...
3
votes
2answers
221 views
Serial Port (DB9) signals
Just about every time I use a serial port for anything, I only use 3 pins of the usual 9-pin connector (DB9): Tx, Rx, and GND. And when I wire up my microcontroller projects to these ports, I just ...
1
vote
2answers
221 views
Converting an ASCII string to bit stream
I am doing a project in which I am getting data from some switches and push buttons on the pins of 8051 uC. Now I have to transmit this data on the port pins serially to the PC.
At the PC end, I am ...
0
votes
1answer
214 views
Hardware flow-control (CTS/RTS)
My MCU cannot wake up from UART data, so I wanted it to wake up from the RTS line, but Im having problems understanding the concept.
When Im sending data from my MCU to the peripheral, I see the ...
4
votes
2answers
136 views
How to produce clock signals with data on serial port
I am designing a Serial to Parallel converter with PIC16f84A micro-controller. Where I am going to use pin RA0 for data input, RA1 for clock input and RB0 to RB7 for parallel data output from MCU. Now ...
0
votes
0answers
33 views
STM32F2 with Wifi Module [duplicate]
Possible Duplicate:
STM32F2 build environment
I have an STM32F2 microcontroller and a Wi-Fi module. I need to build a binary and load it to the STM in order to make it talk to the Wi-Fi ...
2
votes
2answers
337 views
Why using resistors with the MAX232 chip?
I earlier built the serial port board from the jal tutorial book, which is basically connecting a PIC and a D-9 directly to the MAX232. Now I'm reading AN1310 on the high-speed PIC16/18 bootloader. In ...
2
votes
6answers
407 views
Microcontroller with more than one serial port
I have a microcontoller from ATMEL AT89S52, that has only one serial port. However, in my application the microcontroller is to be interfaced with a RFID reader and also with a WiFi board through ...
1
vote
2answers
133 views
Application of buffer chip in serial communication
On a microcontroller board that I am working on, there is a buffer chip between the microcontroller TI msp430 F1611 and USB interface ...
0
votes
1answer
111 views
Options for wiring TTL camera to a Linux chip?
I'm a programmer that's a little out of his element here, and not sure where to start.
I'm trying to figure out a way I can connect this TTL camera to a PCB that also has a cheap ARM or DSP CPU on ...
2
votes
2answers
484 views
Atmega8 USART transmitting wrong data
I'm trying to get USART working on my atmega8-16PU microcontroller. I've studied the documentation and took the examples of code from there. I've managed to transmit the data from microcontroller to ...
0
votes
2answers
341 views
V-USB with ATtiny2313 to communicate with Android
How would one interface a ATtiny2313 with usb to communicate with a android device? I know it involves using V-USB, but how does the circuitry work? Am I supposed to connect certain pins on the ...
2
votes
2answers
404 views
USB serial emulation: CDC or vendor-specific?
When designing a device that requires communication with a PC via a virtual serial port over USB:
When would one use usb-serial port emulation chips with vendor-specific drivers (e.g. FTDI) and
when ...
2
votes
3answers
438 views
Sending integers via PIC's USART
I need to send integers from my micro controller board (PIC16F877) to the PC. I'm using MAX232 for this. I need to use a code ...
3
votes
3answers
442 views
What shift register ICs am I looking for?
I'm designing a project that requires far more I/O than a typical microcontroller offers. No problem, right, just use shift registers and stuff. Wait nope, why am I having problems?
I'm planning on ...
10
votes
6answers
611 views
How to Efficiently Decode Non-Standard Serial Signal
I'm an undergraduate member of a research team working on a project that involves an RF-transmitting ASIC, and its wireless receiver which should ultimately send data to a PC.
The receiver outputs a ...
0
votes
2answers
322 views
USART reception problem in PIC16F877A
Receive interrupt flag (RCIF) is not getting cleared even after reading the RCREG (several times!). Because of this I could not ...
0
votes
4answers
600 views
Do you know how to use USART on STM32?
I've been doing USART on STM32 and got this at putty:
Actually I want to display :
printf("* Thank you for using the board");
Do you have idea why ?
3
votes
5answers
411 views
Multiplexing serial line
I have built this ID sensor for a Scalextric slot car track, based on a PIC12F629. The ID sensor sends the ID of a detected car as a RS232 signal on one pin (TTL level).
My question is, how can I ...
4
votes
1answer
354 views
Dual power supply confusing TTL serial?
Sorry for the vague title: I'm a bit of a noob at analogue electronics, more a logic &software guy. Basic problem is I'm sitting at the end of a cable with a USB powered Arduino trying to send ...
1
vote
2answers
239 views
pic18f flooding serial with zeros when reset
I'm connecting a pic18f4520 to the pc via serial (and then use Matlab). I used the max232 level converter and the echo test worked fined. However when I reset the pic it floods the connection with ...
0
votes
2answers
416 views
Sniffing data from C8051F007
For fun I have taken it upon myself to try to reverse engineer a consumer blood pressure device. The device uses a C8051F007 32 pin MCU. I am trying to figure out how I can eavesdrop on the ...
0
votes
2answers
168 views
Is it possible to mod a class 2 bluetooth device to work as a class 1 device?
I have two Microcontrollers which communicate over a bluetooth link (serial link, like RN-42). So far so good. Unfortunately the device is listed as a class 2 device and I noticed that the distance is ...
2
votes
0answers
237 views
Why there is no respond on rs232 port
We are working on communication between AVR and a Crous PTZ.
We can see some details about Crous communication ports on page 15 of its guide :
We found Crous protocol doc (Got it here) and now we ...
2
votes
5answers
633 views
Seeking MCU with 9 data bit UART
I need to develop a controller board for some peripherals which communicate at 9600 baud with 1 start bit, 9 data bits, no parity and one stop bit.
I am not sure that I am up to coding a serial port ...
1
vote
0answers
345 views
Communication between AVR and CORUS PTZ device
12 NULL bytes are being sent to CORUS device (to power on it) with this codevision code like
putchar('\0');
Sending is ok , but regarding to page 9 of the ...
0
votes
3answers
791 views
Sending Via PIC18F97J60 EUSART
When trying to send and receive using a PIC18F97J60 and MAX232 using a program written with the C18 compiler, I am only able to transmit data. For receiving, I have tried at least 50 methods but none ...
3
votes
6answers
602 views
Monitoring two serial lines at the same time
First this is the setup:
(please note that one of the grounds is not connected, both FTDIs working properly)
Now, I have used PuTTY to look at these two serial streams, both exchanging data at 9600 ...
7
votes
2answers
3k views
How does TTL serial work?
I've been trying to find a good description of the TTL serial "standard" without much luck. I understand that serial transmit (TX) and receive (RX) lines idle high (at VCC) and that they drop to ...
3
votes
5answers
1k views
USART transmit problems on a PIC
I'm trying to send data to an SD card from a PIC18f4580, but the PIC is not sending what it should be.
related global variables:
...

