Most Popular

1500 questions
6
votes
2 answers

7 Segment display dimming

I've got project that needed to have some (4) digits display, and had plenty of 7 seg. displays lying around. I didn't have any multiplexers left but have instead wired it up as per this diagram: I've the wired my duemilanove with the a-dp pins on…
Shane Gadsby
  • 163
  • 1
  • 5
6
votes
1 answer

ATMega32u4 (Leonardo) Serial Baud Rate

Does anyone know what the actual baud rate that the CDC Based virtual serial port on the Leonardo runs at is? Serial::being() for the CDC version is just empty, so it's not setting a baud rate anywhere. Basically, I'm debating between using the 32u4…
Adam Haile
  • 599
  • 2
  • 7
  • 14
6
votes
1 answer

delete the memory or re-upload a program

At the moment I am following the instructions of this project https://github.com/JoernL/LimiTTer. Besides the peripheral parts like a Bluetooth module and an NFC module, the central unit is an Arduino Pro Mini. I am a bloody novice with Arduino and…
verticoe
  • 63
  • 4
6
votes
2 answers

Using SPI without driving MISO

I am developing an application where an Arduino Pro Mini communicates with a 12-bit ADC over SPI. The communication is one-way, meaning that the ADC will only send data back to the Arduino, not receive any. The MOSI pin is therefore not required in…
Fulcrum
  • 61
  • 1
  • 4
6
votes
2 answers

Using SoftwareSerial for the serial monitor

Most programs follow this route: They have a Serial.begin() for the serial connection between PC and Arduino (the serial monitor) and they use SoftwareSerial for a device. Can you go the other way around? Can you use SoftwareSerial for the…
user1584421
  • 1,425
  • 3
  • 26
  • 36
6
votes
3 answers

Binary serial transmission order of data

I'm implementing a filter for my IMU Sensor and thus I want close to real time data visualized on the computer. I use binary serial communication to facilitate the sending part for the arduino (as far as I know the serial.print is pretty slow). So I…
mike
  • 347
  • 6
  • 20
6
votes
3 answers

How to multiply strings?

I want to have a line like this Serial.println(count*"B"); So if count=6, it would print BBBBBB, etc. Is there anything like this for arduino?
Mirror318
  • 163
  • 1
  • 5
6
votes
1 answer

Is there a portable timer interrupt library?

I have a need for timer interrupt (for the sake of this exercise - say I need to execute something every second) I found code in many places on the internets that does this using ISR for 328/Uno. (or specifically for other chips) But of course that…
Tim
  • 131
  • 1
  • 1
  • 9
6
votes
1 answer

Referencing local libraries from higher dir levels

How can I include libraries not contained in any direct subdirectories of a sketch, using the Arduino IDE? I want my project structure to look like this: Project └> MCUa └> MCUa.ino └> MCUb └> MCUb.ino └> Libraries └> TimerLib └>…
Clausen
  • 161
  • 2
6
votes
2 answers

Sending uint16_t over I2C

How do you transmit and read a uint16_t over I2C? I'm trying to read two uint16_t values from a slave device, and I'm seeing nonsensical readings. This is the code on my slave Arduino Uno: #include void send_wire_int(uint16_t num){ //…
Cerin
  • 1,688
  • 2
  • 28
  • 44
6
votes
3 answers

Serial sensors and the Yun

I am involved in a project that is going to measure PH and chlorine in a swimming pool. The plan is to use a Arduino Yun. The sensors we are going to use are connected using serial. Since we may be using multiple sensors, is there any difference…
Faux_Clef
  • 199
  • 14
6
votes
2 answers

Do I need to supply the 12V connection to an HDD

I'm working on trying to control a hard drive with an Arduino Uno, but I'm having trouble with the power supply. From what I know, both the Molex Mate-n-Lok and the new SATA connectors both have 2 grounds, a 5V and a 12V power in. I'm wondering what…
6
votes
2 answers

Is it possible to program an ESP8266 12F using an Arduino Nano?

I just got my ESP8266, but I am unable to program it. Since it can't be connected to via USB, I was wondering if I can program it using an Arduino or perhaps use it as a shield for an Arduino Nano. I haven't been able to find a good guide online.…
6
votes
1 answer

Problems with transmission between ATtiny85 and Arduino Uno with 433MHz RF modules and Manchester

I am trying to transmit from an ATtiny85 running at 16MHz internal clock to an Arduino Uno with the Manchester Library. The problem is that the Arduino is not receiving any data. I have hooked an oscilloscope to the ATAD/DATA pin of the transmitter,…
sunny-lan
  • 161
  • 2
6
votes
2 answers

A question about resistance measurement with arduino

Lately I was asking myself about the possibility of measuring a potentiometer resistance with Arduino. My questions are: Is it possible? If it's possible, what kind of restriction does the Arduino have with the resistance value measured?