Unanswered Questions
305 questions with no upvoted or accepted answers
4
votes
0
answers
718
views
ArduinoDue - Matlab: SerialUSB.write() sends ASCII?
I'm trying to get some binary data from an Arduino Due to Matlab.
Basically this is the setup:
Due:
byte usbMsg[33]= {0};
// filled with dummy as example
usbMsg[1] = '00000001';// in[3];
usbMsg[2] =...
4
votes
0
answers
175
views
Can d2xx connect to an arduino mega 250?
I am trying to replace a device which used a FTDI chip (http://www.ftdichip.com/Drivers/D2XX.htm) to get USB to serial. I need some more code on the chip, so I want to use an arduino mega 2560 instead....
3
votes
1
answer
151
views
Arduino R3 Uno Clone - When barrel plug connected there is 5V on USB. Why?
I have been using Arudino Megas for some projects and never had this problem.
Simply enough - I am powering arduino with 12V in via barrel and take power out via VIN to 12V low very low current small ...
3
votes
0
answers
191
views
Grove LCD display not working with arduino rev 2 wifi (Unknown error at address 0x3E)
I am trying to connect Grove 16x2 LCD (White on Blue) to my Arduino uno rev 2 wifi.
So far, I've tried hd44780 library's ioClass examples, but nothing worked. I've then decided to scan ports and when ...
3
votes
0
answers
204
views
Black screen when using higher SPI-speed for RA8857 LCD-controller
I'm using an Arduino Due that talks via SPI to an LCD (800x480) with the RA8875 controller chip.
The most recent datasheet I could find is: RA8875 datasheet.
Everything works as expected when using ...
3
votes
0
answers
713
views
Getting atsam3x8e (Arduino Due) to work
I decided to make a pcb based on the atsam3x8e (microcontroller used in Arduino Due). For the design I copied most of the layout that I found on this site and looked at the official Arduino Due ...
3
votes
1
answer
2k
views
Creating a sine wave with a DAC and feeding it back
I want to produce a digital sine wave, send it to DAC0, and then receive it back as input on A0 and plot the graph. I am using an Arduino Due. I wrote the following code:
#define maxSamplesNum 120
#...
3
votes
0
answers
400
views
Software flashing attiny167 from RPi with avrdude
I am trying to flash a program onto an attiny167
(already bootloaded with the micronucleus bootloader)
with a Raspberry Pi via avrdude and USB.
Background
I have 50 Raspberry Pi 3B's connected to an ...
3
votes
0
answers
328
views
Arduino IDE programs Leonardo but cannot open serial terminal
I'm using Arduino: 1.6.7 (Mac OS X 10.11.3), Board: "Arduino Leonardo".
When I try to program my code, it works without problems.
When I want to open the built-in Serial Monitor or Serial Plotter, ...
3
votes
0
answers
378
views
Connecting Arduino Due's DAC output to pc sound card with protection
I would like to connect the DAC outputs of my arduino board to my pc sound card input so that I can use my sounds card as an osciloscope.
I have two questions:
1- if I don't use an amplifier, how ...
3
votes
0
answers
129
views
Reading Reveive Hold Register from USART in SPI Mode on Arduino Due
Sending with this function here works fine:
uint16_t usart0spiTransfer16(uint16_t spiMessage16) {
uint16_t sdo = 0;
byte firstByte = spiMessage16;
byte secondByte = (spiMessage16 >> ...
3
votes
0
answers
323
views
Arduino Due upload firmware issue
I have Arduino Due on SAM3x8e. I'm on Ubuntu 14.04. Before today I uploaded firmware via terminal using those commands:
$ stty -F /dev/ttyACM0 speed 1200 cs8 -cstopb -parenb
$ /home/q/apps/devel/...
3
votes
0
answers
883
views
Arduino Due native programming port
Arduino does not recommend to program the Due board via Native port as it is not reliable:
If the MCU crashed for some reason it is likely that the soft erase procedure won't work as this procedure ...
3
votes
0
answers
700
views
Serial does not work when LiquidCrystal library is used
I have been struggling with a LCD for 6 hours straight - I've had many problems including random characters showing up, and this time (not quite sure what changed, I tried so many things) as soon as I ...
3
votes
0
answers
2k
views
Using USB on a Leonardo to receive data from PC
I am new to the Leonardo, having only used a duemilanove before, and I am interested in using it's USB capabilities for a project.
Basically I need it to be an input and output device, communicating ...