Tagged Questions
12
votes
2answers
6k views
Serial newbie: why can't I just hook the wires up?
I'm trying to transmit from an ATtiny85 to a PC using Arduino-esque code over a USB-Serial converter without understanding very much of anything. I was shocked and appalled that it did not work.
I ...
8
votes
1answer
540 views
Arduino serial communication protocol design
I make a drum sequencer interface for electronic music.
It uses an arduino mega as it's microprocessor, and currently it interfaces to a Processing program that I wrote for serial communication. ...
7
votes
3answers
4k views
Can the Arduino be used to “spy” on a UART connection between two devices?
I have a need to install an Arduino (actually just the IC) into existing hardware to enhance functionality.
What I would like to do is connect the Arduino so that it "spys" on the I/O lines between ...
7
votes
1answer
884 views
Why isn't iPhone minicom reading serial data from Arduino?
Alright, this is my first time posting on electronics.stackexchange.com but I have frequented stackoverflow.com for some time now. Basically I am trying to output serial data from the Arduino to an ...
6
votes
5answers
6k views
Using an Arduino to read data from serial device then send data over bluetooth
So from a general high level standpoint I need to grab data from a serial device and then send this data over bluetooth. I have a bluetooth modem picked out. I understand how to hook it up to the ...
6
votes
6answers
7k views
How can I send data to the arduino from the computer?
How can I send data to the arduino from the computer? I'm thinking sort of a prompt on the command line and some commands like "led1 on". Then, the arduino would process that and light up a certain ...
6
votes
3answers
321 views
How can I create a serial bridge using two Bluetooth dongles?
I own two of the SparkFun BlueSmirf bluetooth modules and I would like to connect them to eachother - one as the master, and one as the slave. It is easy to pair these together using a PC with Putty ...
6
votes
5answers
17k views
How can I fix an AVRdude not-in-sync error when programming Arduino via USB-to-serial cable?
I'm trying to build this Ambient lighting for PC. This worked flawlessly on my Arduino Uno. My next step was to make it using "Arduino on a breadboard". So I bought a blank ATmega328 chip and burned ...
5
votes
6answers
704 views
Serial Enabled LCD
What sort of LCD should should i be using to go with my Arduino?
I have used the HD44780-compatible LCD in the past, but heard that the Serial Enabled LCDs make life a lot easier.
5
votes
3answers
6k views
multiple arduino communication (1 master, n slaves)
I would like to develop a master/slave network that consists of:
1 Arduino master that reads sensors and generates velocity ramp profiles based on the sensor signals and then sends those ramps to ...
5
votes
4answers
2k views
How to secure jumper wire connections
Connecting 2 terminals (like Arduino's) via jumper wires does not secure the wires properly. What do you use to ensure the wires do not come loose?
Connecting Arduino to the pins at the bottom ...
5
votes
2answers
6k views
Arduino Uno, weird characters sent to COM (SoftwareSerial)
I'm trying to send ASCII characters from Arduino UNO to a computer serial port. I'm using a cable with a male COM connector, attached to the computer's serial port, and three wires (TX, RX and Ground) ...
5
votes
2answers
2k views
Arduino Uno R3 hardware serial: peripheral interfering with the USB/Serial-converter?
I like to use the hardware serial port (pin 0 RX and 1 TX) to connect a bluetooth module.
Internally these pins are also ...
5
votes
5answers
4k views
High-speed computer interface with an Arduino
I'm planning a project with an Arduino that involves handling a lot of requests from a host computer, and the standard 115200 maximum baud over serial isn't sufficient. I'd like to be able to get ...
5
votes
2answers
1k views
Arduino + Android : Communicate with a JY-MCU Module
I am trying to turn ON and OFF a LED with my Android Device through a Bluetooth module (JY-MCU V1.05), I can connect to the module with the key "1234", but when I send a command to the module through ...
5
votes
1answer
3k views
Upload to an Arduino from the command line
If I have a sketch compiled to hex, is it be possible to upload this sketch to an Arduino board using avrdude directly from command line?
Pekkaa figured out that arduino ide executes the following ...
5
votes
1answer
783 views
Issue on Serial Port Communication (in JAVA)
I've written a Java program to read my Arduino's outputs through Serial port (using RXTX Library). There's a small issue I'm facing.
Arduino continuously writes to serial. But every time, after ...
4
votes
7answers
5k views
iPhone hardware serial port access
Does anyone know how to access the iPhone's serial port, from a program on the iPod to allow that application to send signals. The idea is that the iPod could be used as the brain for some kind of ...
4
votes
3answers
435 views
Intentionally mis-use the USB port on an Arduino?
I want to take an Arduino and after programming it on the PC like normal via USB, push a button or something and change its mode so that the behaves differently. Is this possible? I'd like to ...
4
votes
4answers
2k views
Resistors in series with Tx and Rx
I'm making my own board and using an ATmega 328 with the Arduino bootloader. I have a DIP switch to select either an FTDI chip (for programming) to be connected to the ATMega's Rx and Tx, or a GPS ...
4
votes
1answer
155 views
Permission Denied on Arduino serial stream [closed]
I'm collecting data with a serial stream from an Arduino microcontroller.
I'm using Cygwin my recording sometimes randomly stops and I get a 'tee read error: Permission Denied' message.
The way I'm ...
4
votes
2answers
2k views
SoftwareSerial on Arduino Mega
I'm trying to figure out if I can send and receive serial data on ports 23 and 25 of the Arduino Mega 2560, and I'm very confused by seemingly contradictory information on the Arduino website.
From ...
4
votes
3answers
7k views
Communication between a USB/serial device and an AVR (atmega/Arduino) microcontroller
I have a device which provides a USB port. If I attach it to a Windows PC it is recognized as a "CP2103 USB to UART Bridge Controller". According to the device documentation, it should communicate in ...
4
votes
1answer
1k views
Data from BMA180 accelerometer into arduino is sporadic
I've been trying to get a BMA180 (I'm on my second one already) to send a continuous stream of accel data via a serial port (eventually bluetooth but that's a problem for a different day). I've looked ...
4
votes
5answers
2k views
Arduino software serial - full duplex
I need two serial ports for this Atmega328 Arduino project, but this processor has only one hardware UART. The processor, hardware design, and programming environment are already set, and I cannot ...
4
votes
1answer
144 views
How do I connect a signal shield to minimise noise from close proximity AC
In my proposed application, I will have approximately 30 RS-485 nodes configured in 3 chains spaced ~1m apart. There is a need to pass through 240v L-N-E, +5v, A, B, GND in each node. The physical ...
4
votes
1answer
619 views
Arduino serial communication produces noise on electret microphone
I am currently working on a circuit which uses an electret mic and am LM386 op amp to feed an audio signal into the arduino. During testing, I've used my scope as well as headphones to analyze the ...
4
votes
0answers
240 views
Arduino to Android serial communication issue
I've been trying to use this serial for android library now, but I can't make it work. I'm trying to run this little program in android:
...
3
votes
2answers
197 views
Is it OK to have data lines and AC in the same multicore cable?
I need to provide the following over sections of 1m multicore cable, totaling around 15m.
240v AC
5v DC
GND
RX
TX
Will the AC cause problems for the Serial data?
3
votes
5answers
3k views
arduino best serial communication solution
During the last two days I was googling and searching about serial communication tools for Arduino.
I found a lot of tools like :
Node.js through node-serialport
Python through pyserial
...
3
votes
1answer
66 views
Ensure serial has been written before executing next line
When executing the following code on my Arduino Micro, only the first line is printed:
...
3
votes
5answers
1k views
Computer to Arduino Interface Options
I need to send 800 bytes of data from a computer to an arduino board every 20ms (approximately). I began with the serial library which works nicely but it is too slow even at its highest rate (115200 ...
3
votes
1answer
1k views
How to keep the arduino uno up on serial connections?
Each time I open a Serial connection to my arduino it restarts.
Is there a way to unactivate this ?
Cheers.
3
votes
1answer
94 views
Can I use a serial module with a barebones Arduino?
I have recently bought a couple Bluetooth modules that connect to the Arduino via TTL/USB/UART (you use Serial(); to communicate with it).
I don't know if the ...
3
votes
3answers
827 views
Trouble in using MT3329 SKM53 GPS module
I bought a SKM53 GPS module a few months ago. I tried hard to make it work but couldn't get anything out of it. I was thinking it's a fault with the device (actually i thought i burned it by not ...
3
votes
4answers
6k views
Arduino Uno SoftwareSerial and Serial conflict
I have a very simple setup with an Arduino Uno R3 connected to my Windows 7 x64 with Arduino 1.0.1.
I have a RF receiver connected to the Arduino on the DI10 port using the SoftwareSerial library. I ...
3
votes
3answers
811 views
Can I use arduino USART tx and rx separatly?
My idea is to receive GPS sentences in the RX pin, parse the data and send the result to my computer via the TX pin. (with same baud rate. 9600 for instance)
Is it possible or may I encounter buffer ...
3
votes
2answers
538 views
Applescript to Arduino LCD only works with Serial Monitor
I spent all day trying to figure this out and finally got somewhere that atleast lets me know that I am doing something weird...
I am trying to send data to my LCD Screen on my Arduino Uno, but for ...
3
votes
5answers
7k views
Python serial between Arduino and Raspberry Pi: Data is modified upon reception
I'm using an Arduino for sensor readings and sending them to a Raspberry Pi via USB, using PySerial for data reception.
It works great, except for the fact received data is awkwardly modified (And ...
3
votes
1answer
748 views
Type of cable to use for long > 100m serial connection
I am starting a project where I have two arduino-based devices positioned about 100 meters apart. The secondary device will be controlling a solar charging array and relaying stats to the main ...
3
votes
2answers
662 views
How to read and display data from a CO2 logger connected via RS-232?
I got a Licor CO2-Logger (Li-820) for a scientific experiment. The Li-820 outputs an analog signal (voltage) and also offers a serial communication via a RS-232 port. I would like to sniff the serial ...
3
votes
1answer
3k views
Arduino Serial Buffer Overflow
Can I detect whether bytes are getting dropped by the Arduino Serial driver because of buffer overflow (i.e. if I'm not keeping up with my input stream)? If so, how?
2
votes
4answers
3k views
Can simple microcontrollers read signals from a USB to RS232 converter connected to a USB mouse?
Trying to connect as many usb mice to my arduino and just got informed of usb to rs232 converters.
Can anyone tell me if it is possible to simply connect a usb mouse to a usb to rs232 converter, ...
2
votes
3answers
137 views
Do I need to program a USB-Serial FTDI chip before using?
I'm building a PCB with an ATMega chip.
In the past, I've used Sparkfun's FTDI breakout board to program the ATMega.
However, I'd like to implement the FTDI chip and USB port on my own PCB, ...
2
votes
2answers
343 views
Trasferring Arduino chip from prototype platform to a PCB (Serial Communication)
I have been working on a little project where my Arduino Uno sends the IMU sensor's data to the PC via serial (Printing the data on serial monitor. I ma planning the transfer the programmed Arduino ...
2
votes
2answers
5k views
How to use Arduino Bluetooth module?
I am trying to get my arduino working over wireless (via bluetooth). I would like to send serial signal though it via bluetooth, but I am having some difficulty getting the bluetooth module I ...
2
votes
2answers
433 views
Sync 12 Arduinos - I2C vs Serial
I've been given 12 arduinos (Mega) and 12 breakout boards (custom built. they pump up the output of the digital pins to 12v @120mA) to control around 300 LEDs. I'm using a pseudo PWM library to fade ...
2
votes
3answers
3k views
arduino data stream format
I wounder what is the format of the serial data stream that usually is sent from computer to arduino through serial connection .
my project use serial connection with arduino to send data from ...
2
votes
3answers
267 views
Parallel LCD screen to serial? (1 dedicated microcontroller?)
I'm a newb with electronics and was wondering if there's an IC or PCB that could convert a parallel LCD connection to Serial so I can use 2 wires to communicate with the screen using an arduino and ...
2
votes
1answer
251 views
Can I use serial port and RFID reader on Arduino Pro Mini?
I have Arduino Pro Mini, HC-06 bluetooth module, and Mifare RC522 RFID reader. Bluetooth module connects to serial port, and RFID connects to SDA, SCK, MOSI, MISO, ground, reset, and 3.3V pins. I want ...