Most Popular

1500 questions
5
votes
2 answers

How to display a number using SevSeg library on 4 digit 7 segment LED display

I am getting error with this. It is displaying those segments which are not to be displayed, i.e., 3.141 is dark and other segments are red. #include "SevSeg.h" SevSeg sevseg; //Initiate a seven segment controller object void setup() { byte…
JSO
  • 51
  • 1
  • 1
  • 2
5
votes
4 answers

Read OUTPUT pin value in Arduino Due

I am trying to read the value of an output pin. online forums say that digitalRead(pinNum); should work, but that is not the case here. digitalRead always returns 0 (LOW). This is the code: int pin = 22; // or 13, or 3 ... void setup() { …
Makan
  • 239
  • 4
  • 14
5
votes
1 answer

How to connect new OV7670 FIFO to Arduino?

I bought a new OV7670 FIFO camera to connect to my Arduino UNO a few days ago. The picture of the cam board: I found this forum, it is nice try but it looks chaotic and confusing with about 50 pages, where you can't find where the questions and…
zokit
  • 53
  • 1
  • 1
  • 5
5
votes
2 answers

Using PROGMEM to store array of structs

I am hitting the limits of my arduino's SRAM and found that SRAM usage can be reduced by storing static stuff in flash memory instead of SRAM. My project can (optionally) be built with an included SimulatorClass. I use this to 'playback' data at…
Alex
  • 181
  • 2
  • 3
  • 9
5
votes
2 answers

Understanding the relationship of Pulse and Stepper RPM

This may be a better question for the Physics StackExchange so tell me if I should move the question. I have a pretty simple script that I'm using to control the RPM of my stepper motor: void loop(){ digitalWrite(PIN, HIGH); …
5
votes
1 answer

Disconnect Ethernet Shield

I'm trying to use the Ethernet Shield and the EasyVR (voice recognition) together. The Ethernet shield uses the same pins that the EasyVR, but the easyVR works fine if I don't call Ethernet.begin(). Is there a way to disconnect the ethernet shield…
5
votes
1 answer

Remove Bootloader on Arduinos

I am trying to move from arduinos to AVR C. Would somebody know how to remove the arduino bootloader from the microcontroller? Is there a different process for the different atmega microcontrollers like the 32u4, 328, or 2560? Thanks.
Naan
  • 73
  • 6
5
votes
2 answers

What is the difference between Accelerometer, Gyro, and Magnetometer Sensor?

I'm starting in the arduino world and I'm building an autonomous smart vehicle. So, after some weeks building and adjusting the vehicle, I got to a point in this project that I want to log it's movements. Talking with a friend, he showed me an…
Gabriel Brito
  • 165
  • 1
  • 2
  • 10
5
votes
2 answers

Connecting an Arduino to a telephone line?

I would like to connect my Arduino Uno to a telephone line in order to answer a call, record a sequence of DTMF tones, generate a DTMF tone in response, and hang up. The telephone line uses a standard RJ11 connector. When a touch-tone phone is…
Nathan Osman
  • 153
  • 1
  • 1
  • 6
5
votes
2 answers

Detect my position

I'm new to Arduino, but I have this idea for a game I would like to build. I need the Arduino to be able to determine my relative position on a straight line - 20 feet (6 meters) long. What would be the best way to achieve that? Priorities: Durable…
Nir Benita
  • 163
  • 7
5
votes
2 answers

Store floats in and reading them from flash

How do I store floats in flash and how do I read them from there? (I need a look-up table for pairs of float values.) The storing part doesn't seem to be so difficult as this compiles: PROGMEM float value1 = 1.23456; But how do I read them? Do I…
fuenfundachtzig
  • 1,515
  • 1
  • 14
  • 26
5
votes
4 answers

Running multiple tasks at once

For a school project we're working on a wearable device to track people's movement and heart rate. We use an Arduino Pro Mini with a heartbeat sensor and an accelerometer. The wearable device uses Bluetooth to send data, but only once or twice a day…
OlivierV
  • 53
  • 1
  • 3
5
votes
3 answers

Storing and parsing data with Arduino

I use Ethernet Shield and Arduino to GET data from the server in JSON format. Request looks like this: client.println("GET http://ramp.local/api/actions?"); The response I get…
FunKction
  • 83
  • 6
5
votes
3 answers

How do I use two I2C LCDs with 4 pins?

I have two I2C LCD screens: one with 2 lines one with 4 lines. Both have 4 pins each: GND, VCC, SDA, SDL. I connect SDA and SDL to A4 and A5 respectively, and I display text on each one of them with: #include #include…
Konstantinos
  • 153
  • 1
  • 5
5
votes
0 answers

Is it possible to use the DASH7 protocol in an arduino?

I've been reading about the protocol DASH7 but can't find much documentation about it. There seems to be a protocol stack called OpenTag writen in C and I want to know if there is something familiar written in arduino code and why can't I find a lot…
Rui Lima
  • 151
  • 1