Newest Questions
25,033 questions
0
votes
1
answer
65
views
Privacy of a program
I have created a algorithm and using arduino harware, and I don't want that users of my hardware could read or copy the Program so is there any security code or something that I could use. But I must ...
1
vote
1
answer
9k
views
How to read voltage using ADS1115
I'm very new to this. I found this tutorial.
But it don't explain how to read voltages higher than Arduino 5V. I have connected a 100K ohm resistor to positive and 10K ohm to negative of my 24V power ...
0
votes
3
answers
649
views
Connecting MPU6050 to Arduino Lilypad
To preface, I am very new to Arduino and I watched this video on YouTube.
It shows how you can build a motion controlled car with Arduino and I decided to make this for my school project.
One thing ...
1
vote
1
answer
4k
views
KY-040 rotary encoder skipping steps
Yesterday I asked a question about de-bouncing this rotary encoder and Jsotola suggested that I should use a method like This to detect the previous state and then do the counting. using that method ...
1
vote
0
answers
841
views
Interfacing optical mouse with arduino
I have a USB mouse which I am using to measure distance travelled by my bot for a project. I followed this blog to get the optical sensor from the mouse from the arduino and interface it with the ...
2
votes
1
answer
303
views
I2C communication between arduino and raspberry pi breaks under stress for unclear reasons. Why?
I am having a behavior I cannot explain while using arduino mega as a I2C slave for a raspberry pi master.
I am showing here an idealised program that shows the issue. I experience pretty much the ...
1
vote
0
answers
120
views
Monitor serial0 while code is being uploaded
I'm trying to upload the sketch on a Mega 2560 via the serial port 0 using another microcontroller.
To better undestand the process, I decided to first observe what avrdude is doing while it is ...
-1
votes
1
answer
279
views
Trying to create a delay function whilst performing other functions, using Timer.h libraries. Arduino uno
I am having a compilation error saying invalid useof template-name 'Timer without an argument list.
-1
votes
1
answer
559
views
Audio Zero not responding on MKR Zero
I have a Arduino MKR Zero set up with a sd card in it and a speaker hooked up to the ground and DAC0. I have a .wav file on it called "test.wav" and it is 8 bit mono 88200hz recording. I am using the ...
0
votes
1
answer
1k
views
Sparkfun CCS811 Air Quality Sensor is just not working
I have an Arduino Uno board and a SparkFun ccs811 sensor. I tried to reproduce the howto from the SparkFun homepage (https://learn.sparkfun.com/tutorials/ccs811-air-quality-breakout-hookup-guide?_ga=2....
1
vote
0
answers
106
views
Why did it blow up?
I recently designed a PCB to hold an Arduino Nano, IMU and other components. I'm using this platform as the fly computer of a homemade drone. This is one of my first PCB designs and I'm not an expert, ...
0
votes
1
answer
499
views
Getting an Arduino Uno and MKR zero to communicate
I'm very new to Arduino and especially the forum so please let me know if I am on the wrong topic or anything.
Anyways let me get straight to the point. I am working on a school project where I need ...
1
vote
1
answer
1k
views
Reset I2C connection with arduino as slave
I am currently using I2C serial communications with arduino as slave and raspberry pi as the master. I am sending sensor data from arduino to raspberry pi. I need to reset the I2C connection once the ...
-1
votes
1
answer
6k
views
Increase or decrease the brightness of Nextion display
I have a nextion display. I want to implement this issue of it. Start the program. If for example I don't touch the display for 15seconds, it should to turn off its brightness. If I touch the screen ...
1
vote
1
answer
683
views
Serial monitor when port is being used by another application
I am controlling some LEDs via the USB serial port using a Tkinter/Python3x script to debug what I suspect is a hardware problem.
from tkinter import *
import serial
usbport = 'COM3'
ser = serial....