Tagged Questions
0
votes
2answers
180 views
ATmega168: UART 8 data bits, no parity, 1 stop bit
According to the datasheet I'm setting the UCSR0C register as following:
UCSR0C = 0b00000110
Description:
...
4
votes
3answers
229 views
Square wave -5 to +5 volt at 500 Hz
I need to make a square wave -5 to +5 V at approx. 500 Hz - with small current. I have 0 (ground) and +5 V and a PWM (a Waspmote with a ATmega1281 microcontroller). I think it would be possible to ...
2
votes
2answers
475 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
1answer
424 views
RX String on UART not working
I am having some problems with UART communication with the RN-42 SM Bluetooth module. Currently, I am just using polling to get communication going. I have my source files below.
The problems is that ...
4
votes
2answers
451 views
Logic Levels between 5(V) and 3.3(V) devices
I am using a 5V microcontroller to communicate with a Bluetooth module operating at 3.3V.
I have regulated the output from the 5V microcontroller rail to 3.3V rail for the Bluetooth module.
Since I ...
1
vote
1answer
288 views
UART Communication Issues
I am using a UART to communicate with RS232 on a Roving Networks RN-42 SM bluetooth module. I have the transmitter and receiver connected to a logic analyzer.
The issue that I am having is that my ...
3
votes
1answer
488 views
Transmission (TX) halts using FTDI 232RL with ATmega328-PU
FTDI seems to be a popular forum topic, but I can't seem to find an answer to a confounding issue I have. I'll try to give as many details as I can, since I can't seem to narrow down the issue.
I am ...
2
votes
4answers
319 views
What can be the cause of an exceptionally large latency for the UART receive interrupt?
I receive data on the UART, using an 8-bit atmega, usually around 5 bytes connected, then a long pause. The total time for one byte (with start+stop bits, I don't use parity) is 160 us. However, the ...
4
votes
2answers
1k views
How set the baud rate for serial communication in ATmega32u4
I have a teensy 2.0 board and am trying to use it to control this LCD through serial TTL.
I got it to work fine with my Arduino uno and some sample Arduino code, but I want to do it with the teensy ...
2
votes
1answer
464 views
issue receiving DMX512 protocol over ATmega88 USART
I am trying to send DMX512 and RDM protocol to an Atmel ATmega88PA with very little results as of late. The USART will receive the incoming data, but processing is not performed correctly.
The idea ...
2
votes
3answers
3k views
Three UART connections to an ATMega328?
I'm looking at the ATMega328p data sheet, and an Arduino Pin diagram, trying to determine if the chip can support three UART connections... I see that PD0 and PD1 are "USART" In and Out... So does ...
6
votes
1answer
687 views
Minimum ATMega328 speed with UART
I am looking at designing a low-power project that will have an ATMega328 running at a low speed for lower power consumption.
The current plan is to have the UART hooked up to a RF Link Receiver for ...