I have an antenova part no. M10382 that I am attempting to control with an Ethernet Arduino. I can get the unit to send packets over its USB channel but not over the UART channel. I have tried sending the unit CR/LF at 9600 baud with no result.
Has anyone used this module?
This GPS module is 3.3v, are you giving it 3.3v power and 3.3v on the GPS rx pin? You may have fried the module (or that pin) if you plugged it directly into the Arduino.
Once you have it wired correctly (3.3v), then try this excellent GPS library. Try the example code to debug your problem. You should only have to plug in 3.3v VCC, GND and finally the tx pin of the GPS into a digital input pin on the Arduino.
Good luck.
Related
is the one wire bus for ESP32 only available for pin 16 and 17? I am going to rework a project which was first written in Arduino IDE. There it was possible to set the pin for the one wire bus. I want to use nanoframework but my pcb is already there and port 15 and 23 are used for the one wire bus. I really like nanoframework and the sample for DS18B20 does not find any sensor. With Arduino IDE it is working. Is there a way to specifiy the pin for one wire? THX
.NET nanoFramework implements support for 1-Wire protocol using UART, therefore it requires both TX and RX UART pins to work. On the pre-build firmware images it's configured to use pins 16 and 17 as you've mentioned.
You have to connect those together and also add a 4.7k pull up resistor.
I have an mbed board with LPC 1768. I want to receive serial data from a zigbee adapter which works on 5V. The voltage beween the Rx Tx pin and ground of the adapter is around 4.99 V. Is it safe to connect it directly to the mbed board Rx, Tx.
Most of the LPC1768 pins are 5V tolerant, so you can connect them to a 5V system without damaging the CPU.
To make sure that the pins in question are indeed 5V tolerant check the data-sheet: http://www.nxp.com/documents/data_sheet/LPC1769_68_67_66_65_64_63.pdf
All pins are listed in section 7.2. You may have to take a look at the mbed schematic to find out which CPU pins are used for your UART.
You also have to make sure that the 5V system will interpret the 3.3V output level of the LPC1768 as logic high levels. Most chips will work fine and interpret anything higher than 2.5V as logic high but there are some exceptions out there that need a higher level. Those won't be damaged but you won't be able to communicate with them without the help of a level-shifter.
I'm working with an Atmel ATMEGA328P microprocessor that is writing debug information out the MOSI SPI pin. Is there a way to wire a connection to a Windows computer so I can see the debug information?
Ideally, there would be a breakout board or something that can be purchased that would allow me to run wires from the microcontroller's SPI ports to the board and then the board would have a USB connection so I can connect to my computer. I've searched and nothing is coming up, but maybe I'm not using the right terms.
If a connection is possible, any references to code or an existing program for reading this data would really help.
By the way, the USART pins are already being used by the microcontroller for communicating with another device, otherwise I would've used them with a FT232R breakout board.
You need an SPI adapter. SparkFun has a cheap one for sale. If you have an Arduino or another Atmega328 lying around you can set it up as SPI host and use it as a SPI-USB adapter.
I have an Arduino Pro Mini and a USB cable with just wires from one side. Is it possible to connect these wires directly with Arduino? I mean, +Data to Rx, -Data to Tx, +5v to one of the numbered pins and ground to GND.
No, in fact you could damage your Arduino doing this.
The RX and TX pins are for Serial (which run at higher voltages than 5volts)
Your best option would be to buy a USB to Serial convetor and then use a MAX232 chip (it is a chip that converts TTL logic (5volts) to RS232 (3 to -25 volts).
Or you could try using the v-usb library. Google v-usb online.
Hope this helps.
Yes, but not as you think, there is a raw voltage and regulated voltage but why run the risk of wiring incorrectly.
The best is use USB device between FTDI.
Here is a simple pin connection to make programming easier in photos. (quality of photos may not be best but you get the idea from them) I don't show how I add the blue to the pins but that is shrink tubing heated.
This makes easier programming of your Arduino this can be attached to a programmer quickly and effectively.
You can get this from Sparkfun for very cheap FTDI
I am working on a project which requires transfer of signals from external world to computer.
I have a source which generates analog signals, and this signal needs to be transmitted on the PC, via USB.
Here is my question:
What is the interfacing?
The analog signal which I get from the source, do I have to convert it into digital using microcontroller and then transmit via USB, or we can transmit the analog signal as it is through USB?
Also I tried cutting the USB wire and found 4 wires inside: V+, V-, Data+, Data-.
What is the significance of Data+ and Data-?
Data+ and Data- are wires of differential pair, which is used to transfer digital signal.
You cannot use them to transfer analog signal.
The simplest solution is any Arduino board, with AVR microcontroller and UART-to-USB converter (UART is much simple then USB). But actual solution depends on performance you need.