Most Popular

1500 questions
6
votes
1 answer

Anyone have example code for ESP32 as media controller for Android/iPhone Media Apps

There's actually another post with this very same topic but no answers on that post. Back in January of 2020, the last commenter said he had sample code and then he went dark without posting the actually code. The thread is here: Want to create…
anewsome
  • 141
  • 1
  • 4
6
votes
1 answer

How do I set up a multi-file project in the Arduino IDE?

Suppose I have a project with several modules and a main program. This works well by adding the modules to main_program. module1.cpp module1.h module2.cpp module2.h ... main_program.ino I'm having problems when I have test programs for each of the…
Mark Harrison
  • 559
  • 3
  • 14
  • 23
6
votes
2 answers

Can we burn Arduino bootloader into any microcontroller chip?

I am new to this Arduino community I noticed on youtube that while the prototype is complete people purchase new ATmega328p chips and flash bootloaders into them using in-system-programmers so that the chip could actually understand and interpret…
Ravikiran
  • 195
  • 3
  • 8
6
votes
1 answer

Recommended way to fork a library

I want to extend a library, available on github to add some features I need. Of course I will made available the new source code as well. Because it's the first time I do this, I'm not sure how to do. My idea: fork the original repository create a…
Mark
  • 393
  • 2
  • 13
6
votes
9 answers

Lock screen if I leave my seat?

Background: I change the job and in the new company you need to pay pizza for the whole team if you forget to lock your screen :-) I want it to be automated: I walk away and the screen should lock. No additional action should be required. Keyboard…
guettli
  • 177
  • 1
  • 4
6
votes
2 answers

Arduino IDE won't use selected port

I'm trying to program an ATtiny85, using an AVRISP mkII programmer (this one: https://www.amazon.de/dp/B00IYNAXUC/ref=cm_sw_r_sms_c_api_i_VXOWDb3H3N5ND) with the Arduino IDE (version 1.8.10 on Ubuntu 18.10). For the ATtiny, I've installed…
Fii
  • 161
  • 3
6
votes
1 answer

How can I make std::cout write to Serial?

I'm using an Arduino MKR WiFi 1010, a SAMD ARM Cortex M3 board. I rely on the standard library a lot, using things like std::vector<> and std::string. I also want to use std::cout. I've managed to do this on an UNO R3 using the ArduinoSTL library,…
Tim Long
  • 305
  • 3
  • 12
6
votes
2 answers

Are there any alternatives to Tinkercad Circuits that is PC application based instead of web app based?

I have been using Tinkercad's Circuits web application to create my Arduino circuits and apply my Arduino code (c++) for testing. Despite the amazing product they have and the fact it's free, I find myself very disappointed at times. Don't get me…
Arvo Bowen
  • 163
  • 1
  • 1
  • 5
6
votes
3 answers

How do I extract code from an arduino?

I updated and uploaded some code on another computer that got wiped and didn't send the new code to my current computer, the updated code is still on the board but I don't have access to it. How do I get it back?
Awesome_Ace22
  • 77
  • 1
  • 1
  • 2
6
votes
1 answer

Is it possible to build a 1080p OSD webcam shield?

What do I need to build a shield capable of receiving 1080p video from USB camera, timestamp each frame and send the frame to memory card?
6
votes
3 answers

Using MULTIPLE shields on Arduino Uno R3

I'm very new to using Arduino! I'll be using Ocean Controls KTA 259 thermocouple multiplexing shield AND a Sparkfun microSD shield on my UNO--to log temperature data for a study I'm doing. The KTA 259 has a library and the integral SD library…
Marco
  • 61
  • 2
6
votes
3 answers

Help with parts identification from arduino starter kit from aliexpress

Ordered an arduino starter kit from aliexpress Link The parts list they provide (as a jpg on the order page) is vague and not very descriptive, I've gone through most of the parts and am down to three they did not list. Capacitor? -- Looks to be a…
PGT
  • 183
  • 1
  • 2
  • 9
6
votes
1 answer

Ultrasonic Flowmeter Using TDC-GP22 and Arduino Uno

I'm working on a project of Ultrasonic Flow Meter with TDC-GP22 using Arduino UNO. I used the library of leokoppel In my code,the configurations of the registers are copied from the Application Note of GP22, from page 22 to page 25. I didn't use the…
DYN
  • 61
  • 2
6
votes
1 answer

Choosing right Sleep state

I'm planning on building an LED clock, but I want it to be lit only when I press the POWER button on my remote control. Using an IR receiver, which Arduino sleep mode should I use to reduce the current consumption but still be able to receive this…
Paolo Zanchi
  • 951
  • 8
  • 22
6
votes
1 answer

A proper way to get the roll, pitch and yaw values

TL, DR : What is the method (in terms of sensors and algorithm) to get the roll, pitch angles of an aircraft at any instant? I am planning to build a hobby aircraft. I am so confused about which kind of sensors should I use and how to use them in…
muyustan
  • 175
  • 1
  • 7