Most Popular

1500 questions
6
votes
3 answers

Using esp-wroom-32 without a development board

There are lots of examples on the internet on how to build Arduino from scratch such as IN THIS LINK. I will like to do the same but with the esp32. I have this development board: And I am able to program it with the Arduino framework/IDE thanks to…
Tono Nam
  • 938
  • 1
  • 9
  • 22
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
  • 2
  • 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
  • 1
  • 12
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
3 answers

How to deep sleep ATtiny/ATmega (to run for years with batteries) but still detect a button press?

Question (TL;DR): what is the optimal method to deep sleep (to run an ATtiny45 or ATmega on batteries for 1+ year) but still be able to detect a button press? Is it possible to deep sleep until a button is pressed? I'm using a classic "debounce"…
Basj
  • 398
  • 1
  • 7
  • 22
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
  • 11
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
0 answers

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
  • 941
  • 7
  • 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