Skip to main content

Unanswered Questions

462 questions with no upvoted or accepted answers
4 votes
0 answers
76 views

Can I use regular pins (Example: D2, A3, etc...) as serial (RX, TX)?

Python/Arduino Beginner here... I have a DFplayer I am trying to hook to my Arduino and I want to hook it up through the regular pins instead of the RX and TX pins, but I've not been able to find ...
4 votes
2 answers
732 views

Bluetooth communication not working with DC power but works with USB power?

I am running an HM-10 Bluetooth Low Energy (BLE) module to transmit serial data (using SoftwareSerial) from an analog sensor onboard my Arduino Uno to a serial terminal app on my Android phone. When I ...
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
206 views

How to filter out "jumpy" readings sent using Bluetooth

I'm using App Inventor to continuously send orientation values (as strings) to my Arduino, which are read using Serial.parseInt(). Using simple IF statements (if value > threshold), I'm trying to turn ...
3 votes
0 answers
74 views

Why RTU bridge timeout even though answer is received?

I'm testing the following code as a bridge between https://sourceforge.net/projects/qmodmaster/ and https://pypi.org/project/pyModSlave/. As hardware, I'm using a NodeMCU 1.0 and a USB/TTL converter. ...
3 votes
0 answers
78 views

nano 33 BLE problems with reading RC signal

I'm using an Arduino Nano 33 BLE and a L293D motor driver to control a three-wheeled RC robot. The sketch I'm using worked fine with my Uno Rev3, but I've moved to the Nano for size/weight reasons, ...
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
0 answers
959 views

Can't activate Seeeduino port

I want to use Seeeduino, but I can't activate port connection for it. To use Seeduino I installed Seeeduino from Board Manager in Arduino Studio. And then installed USB Serial Driver from this ...
3 votes
0 answers
1k views

Cant open serial monitor on linux

I have a pro micro and I'm running the IDE on linux. The IDE easily recognises that my board is on /dev/ttyACM0 so i can flash programs on to it. I am testing the following code void setup() { ...
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
5k views

Run Servo when detect object on OpenCV Python

I want to connect OpenCV (Python) with arduino Uno when it detects a tennis ball. OpenCV code: import numpy as np import cv2 import serial face_cascade = cv2.CascadeClassifier('tennisballdetect.xml')...
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 >> ...

15 30 50 per page
1
2 3 4 5
31