Most Popular
1500 questions
4
votes
2 answers
Data logging speed with arduino
I am trying to make some data logging conserining physiological data coming from a bitalino.
My problem is that I would like to collect samples at something like 1 kHz, that is the rate that the bitalino can read the sensors, but I think that the…
arduinoFan
- 87
- 1
- 6
4
votes
1 answer
Does ATMega 328/2560 chips support JTAG-type programmer and hardware debugger?
As stated in www.Arduino.cc FAQ, "Can I use an Arduino board without the Arduino software? Sure. It's just an AVR development board, you can use straight AVR C or C++ (with avr-gcc and avrdude or AVR Studio) to program it."
For UNO/Pro…
EEd
- 904
- 1
- 13
- 21
4
votes
4 answers
Is it possible to save different values on address 0 and 1 in EEPROM?
I want to save different values on address 0 and 1 on eeprom I tried to change it but when I put data on address 0 and also put data on address 1 the address 0 change its value stored into random number and vice versa .. Is it possible to change the…
kaisar Great
- 111
- 1
- 5
- 11
4
votes
1 answer
NRF24L01 only receiving zeros
I'm attempting to transmit very simple data across some NRF24l01 modules for testing purposes, and I've been following a YouTube guide.
Here is my code:
Trasmitter:
#include "RF24.h"
#include
RF24 Radio (7, 8);
byte address[][6] =…
Wilson
- 41
- 3
4
votes
2 answers
incompatible types in assignment of 'int*' to 'int [0]'
I was coding a class for "a kind of gun". I have this code for the classes:
Gun.h:
#ifndef Gun_h
#define Gun_h
#include "Arduino.h"
class Gun
{
public:
Gun(String identifier, String name, int teamIRCodes[]);
String getIdentifier();
…
Arnyminer Z
- 197
- 1
- 2
- 8
4
votes
1 answer
Generate 1.7 Mhz with PWM in Uno?
I have this code:
void setup() {
pinMode(11, OUTPUT);
TCCR2B = 0;
TCNT2 = 0;
TCCR2A = _BV(WGM21);
TCCR2A |= _BV(COM2A0);
OCR2A = 249;
}
void loop() {
soundBuzzer();
}
void soundBuzzer() {
TCCR2B |= _BV(CS21);
}
void…
Hackeitos
- 41
- 1
- 3
4
votes
3 answers
Transistor amplifier to drive speaker using Arduino PWM
I have been working on a project lately which uses Arduino to play a wav file from SD card. I am using TMRPCM library which made the job very easy. But the problem is that the output sound in the speaker is very low. I am using the below single…
Frank Donald
- 191
- 1
- 2
- 9
4
votes
4 answers
Can I change VCC pin to 3.3V on a 5V Arduino Pro Micro?
I'm using a 5V Arduino Pro Micro (schematic).
For my project, I'm using the VCC pin to output power to an external device. I need VCC to output 3.3V to the external device. Can I open jumper SJ1 to reduce the voltage of the VCC pin without…
Mark Harrison
- 559
- 3
- 14
- 23
4
votes
1 answer
Need to set an output pin without it going LOW during initalization
For a control system I am using a relay module that controls a larger relay for high-current electrical stuff, as part of a battery protection circuit for my solar plant. This module switches 120 VAC for the larger one. The larger one is set up to…
SDsolar
- 1,175
- 3
- 11
- 35
4
votes
3 answers
Moving wiring.c functions from timer0 to timer1
I am using an Arduino Leonardo (ATmega32U4) and need to use timer0 for PWM. Since by default in the wiring.c file the functions micros() and millis() use timer0, I decided that, since timer1 isn't being used, I could set up timer1 exactly how timer0…
aflyingcougar
- 41
- 1
4
votes
1 answer
Advanced Arduino Project Help
So, I am an Engineer working on a very time tight project.
I want to create a system capable of collecting data from a Photodiode and compiling it in a way that will separate data into four columns which correspond to colours (red, green, blue,…
ANT1
- 43
- 3
4
votes
1 answer
Working with multiplexers for constant voltage output
I'm working on creating a circuit where I'm trying to have the ability to switch multiple strands of LED rope on and off at a time using an Arduino and a multiplexer.
With my current configuration, I have the a circuit and a sketch that will cycle…
narner
- 267
- 1
- 3
- 17
4
votes
1 answer
Can Arduino Leonardo use USB port and RX TX serial pins at the same time?
Can I use the TX/RX on pins 0, 1 (to a serial slave device) while also having the USB port dedicated PC communication?
101
- 215
- 3
- 11
4
votes
2 answers
How Arduino IDE works?
You know , a simple arduino sketch has no main function , no include preprocess cmds,so I just want to know how arduino IDE convert a sketch to normal C/C++ source code,and what is the source code looks like.
If possible,I also want to use cmd…
user7028945
- 43
- 3
4
votes
2 answers
What happens if we connect GND and +5v?
What will happen if I by mistakenly connect GND and +5v of an Arduino Nano? Is there any protection for it? Or will it get short and fry out something?
Sagnik Pradhan
- 520
- 2
- 7
- 17