0
votes
0answers
10 views
FastLED fade WS2812B
Learning how to program with Arduino, but the learning curve is out of my league.
I have this
#include <FastLED.h>
#define NUM_LEDS 4
#define DATA_PIN 3
CRGB ...
0
votes
0answers
13 views
How to read all avaiable data from a Serial stream and then stop
I am trying to read data from the Serial port in my Arduino, store it in a buffer and when all the data has been read stop reading and then start using the data (the talkMIDI() function). The Arduino ...
0
votes
1answer
16 views
What is the correct way to wire a piezzo buzzer with a potentiometer and a button?
I'm working on a morse transmitter (kind-a), this how it looks like now:
It's working, but is it correct? My piezo buzzer is 3-24V. I use the potentiometer as a volume control. The button is for ...
1
vote
1answer
18 views
Where is the Aref pin for Attitny88
I would like to use the external analog refence voltage in an Attiny88 project I am working on that will be powered with batteries.
However, the datasheet for this processor does not show an Aref ...
1
vote
1answer
6 views
Sending IR (NEC)-Signals with Arduino
I have an Arduino Micro where I want to control a display with IR commands. So the Arduino should send the IR commands to the display.
I have found a library "Arduino-IRremote", which I am using to ...
-2
votes
1answer
24 views
Why won't processing not communicate with Arduino uno?
I downloaded the Processing language and ran the "Hello World" program to test it. The message appears in the Serial console but not on the Processing console. It prints "null" only. I am using the ...
-1
votes
0answers
15 views
one of the arduino ethernet gets freezes when multiple ethernet tries to connect to the server
i am using 6 arduino ethernet for making a cleaning robot. Following is my sketch of code which goes in all the ethernet.
#include "Wire.h"
#include "I2Cdev.h" // libraries
#include ...
1
vote
2answers
39 views
Taking off the chip from Arduino
I just uploaded a sketch of a song to my Arduino and it works well. Could I just take the chip out and hook up speakers to it and a power source to play the song? and just get another chip and put it ...
1
vote
2answers
41 views
What is the minimum wattage of resistors for Arduino Uno?
I'd like to buy new resistors for my Arduino Uno. There are 0.25W, 0.4W, 0.6W, 1W, 2W, 3W, 5W, 10W resistors in the shop. What is the most suitable for Arduino Uno?
1
vote
2answers
66 views
Multithreading with Arduino
Well i've just started learning the concept of Multi-threading with C++ and immediately a bunch of questions came to mind about the possibility of using Multi-threading with Micro controller as a ...
0
votes
1answer
14 views
connecting RTC DS1307 to ethernet shield
What is the easiest way to mount DS1307 to ethernet shield?
I tried to do this:
https://learn.adafruit.com/ds1307-real-time-clock-breakout-board-kit/wiring-it-up
but my program just freezes when I ...
0
votes
0answers
12 views
Using a Hot Wheels Radar Gun with FreqPeriod library
I want to make a clone of those radar enforcement signs that look like this:
I bought a Hot Wheels Radar gun that can send an analog signal to determine speed. See this thread: ...
1
vote
0answers
16 views
IR sensor readings at different voltages
I am currently working on a photo-transistor like this:
...
0
votes
2answers
27 views
I would like to retrieve data from a MySQL database using PHP using HTTP requests, on my Arduino
Please help me find a way to do it.
I have looked at the following for sending data Arduino to MySql
But can't seem to find visa-versa.
1
vote
1answer
35 views
What does the 'arduino' avrdude programmer do?
The command line that my toolchain (CLion + PlatformIO) uses to program my Arduino (Uno) includes includes
avrdude ... -c arduino ...
but the documentation for this programmer simply reads
-c ...
0
votes
1answer
27 views
i'd like to make rc car and remote controller via bluetooth(HC06)
At first, I tried to make whole code for rc car and remote controller, but i realized that it's difficult for me since i have few ideas about C++. So, I changed a few things like turning on the LEDs ...
0
votes
1answer
29 views
Supply arduino through Vin pin with a battery
is it dangerous for arduino the below circuit because GND pin is common with -12V battery pole?
is it dangerous for lots of 5v circuit to be grounded on -12v battery pole?
in case i don't connect GND ...
0
votes
0answers
22 views
Arduino (or Breadboarduino) as I2C slave
I have a somewhat complex setup in which a number of sensors are queried, their results processed and then displayed. For various reasons, I don't want all of this to happen on a single 'duino. So I ...
0
votes
1answer
16 views
2 way RF with Virtual Wire / 315 / 433 MHz
I am trying to figure out how to get 2 Arduinos to talk back and forth from one another using cheap simple RF modules. I have a total of 4 RF modules (2 receiver and 2 transmitter) and 2 Arduinos. I ...
0
votes
0answers
11 views
Create a datalogger system that is able to record voice conversation from a line telephone and record the voice conversation to a pc
I would like to connect my Arduino Uno to a telephone line and a PC in order to answer a call, record a sequence of DTMF tones, generate a DTMF tone in response,record the conversation taking place ...
0
votes
2answers
22 views
Where can I get a high-quality ADC (audio digitizer) for Arduino?
Is there a high-quality (32 bit/96,000 kps) digitizer for Arduino?
Does anybody know where I can find the best options for this?
Thanks.
0
votes
0answers
49 views
How to setup a MPU 6050, L293D (H-Bridge) and 2 DC-motors to run together
Im wondering how im going to connect the L293D (H-bridge) and an MPU 6050.
Im using an Arduino UNO, 2 dc motors, MPU6050 and an L293D.
This is what i think i need to do. But im not sure if i want to ...
0
votes
2answers
18 views
Can you connect ACS712 sensor to digital input of Arduino?
I have a home automation project and am looking to use multiple current sensors (ACS712) for multiple appliances. I just need to know whether current is present or not instead of the current value. Is ...
0
votes
1answer
11 views
MG2639 & Arduino Uno not GPS-ing?
is there any way I can run an MG2639 GPS Cellular Shield (the one SparkFun makes) on an Arduino Uno for GPS tracking purposes? It seems whether I use New or AltSoftSerial, the unit just can’t read ...
1
vote
1answer
25 views
minIMU 9 and Arduino reading Gyro angle
I'm using minIMU-9 https://www.pololu.com/product/1268 and I want to read pitch, roll and yaw angles. I applied this library https://github.com/pololu/minimu-9-ahrs-arduino but there is a slope at ...
0
votes
0answers
9 views
Is hc-sr04 fast enough to make decisions on moving robot (4 jhonson motors 300 rpm)?
I am working on a project in which i have made a robot powered by 4 Johnson DC motors (300 rpm) and controlled by Arduino UNO R3. Now in my project I'd used ultrasonic sensor (hc - sr04) for detecting ...
0
votes
1answer
10 views
Script stops functioning after calling irsend() function in irlibrary!
I have the following script which checks if the user has pressed the numbers "770" or "769" continuously in the remote. The script works fine and displays all numbers. When I press the buttons "770" ...
1
vote
4answers
53 views
Low power + Logging motion detection
Scenario: I would like to monitor my closet's door as I highly suspect a family member is opening and using my items without permission. To respect privacy and also because my closet is nowhere near a ...
0
votes
1answer
15 views
glediator + PL9823 (WS2812B) + teensy = fail?
here is what I got:
teensy++ 2.0 with code below
Glediator configured for Glediator_Protocol/Single_Pixels/HL_TL/RGB/B_1000000
led matrix with the PL9823 leds (80 of them)
I first off have to set ...
0
votes
1answer
39 views
Failing to read from DHT22 when multiple components on breadboard
I've been trying to use DHT22 along with many other sensor components connected to breadboard. It seems to fail reading from the DHT22 when multiple components are connected and reads only when the ...
0
votes
1answer
16 views
Connecting and Programming LinkSprite Camera to Arduino
I recently bought the LinkSprite color jpeg camera:
https://www.sparkfun.com/products/12804
And the Arduino Wireless SD Shield:
https://www.arduino.cc/en/Main/ArduinoWirelessShield
I was wondering how ...
0
votes
1answer
26 views
arduino SD card saving to file
Can anyone assist me with read/write to a SD shield. I am using a arduino along with a SD shield (POD uSD) I am using a ultrasonic sensor to measure a distance, it has a safety factor in it. It also ...
0
votes
2answers
29 views
Best way to implement score board logic using Arduino and Shift Registers?
I am from a mobile development background and very new to Arduino. I am trying to make an electronic cricket score board. The logic is simple.
Score - 888 (3 Digits) - I have implemented this logic ...
0
votes
1answer
28 views
Looking for help with WiFi modules
Im completely new to using modules for the arduino, so im sure some people have more knowledge about this topic than me.
Here's the thing, i want to stream audio over my home wifi, so im in need for ...
0
votes
2answers
41 views
Issue with simple project
I'm new to Arduino and today I have a problem with this code:
int led_1 = 10;
int led_2 = 11;
int led_3 = 12;
int button = 3;
int time = 0;
byte val = 0;
void setup() {
// put your setup code ...
0
votes
0answers
32 views
Relay to Mains lightswitch
So I purchased a 4 channel Relay which handles AC250V 10A ; DC30V 10A.
But am I able to connect this to replace a light switch so I can automate it? My bedroom runs on 15 amps.
...
0
votes
1answer
27 views
Is Cloned Arduino with Ch340 driver will support Intel Atom Processor Laptops?
I am planning to buy a low cost and low weight laptop with Atom Processor.
And i am having all cloned arduinos, is the arduino drivers and IDE will support with the laptops which comes with Atom ...
0
votes
1answer
24 views
Erroneous sensor reading while connecting extra load
I'm making a speedometer using arduino. I've made use of the interrupt pins to achieve the same. My problem is with the power source. I'm using a 12 V battery supply to power the arduino and I'm also ...
1
vote
1answer
9 views
Time counter on a seven segment display
I have a seven segment display module which is connected to microcontroller AtMega 2560. I want to display a time counter on the ssd (upto 999 sec.). How can I achieve this ? Thanks
0
votes
2answers
43 views
Using more than 8 digits using the sevseg library
I am using sevseg and i can't get more than 8 digits to work. I really need 15. Does somebody know what I can do to get this?
Shown is the original example
This is using Gabriel Staples example in ...
0
votes
1answer
28 views
Migrating from ATMega2560 to ARM based — Teensy vs Due?
I currently have a project that is working on an AtMega2560 platform (heavily derived off the Arduino Mega). It mainly involves a GPS module and SD card.
Going forward I am looking to add a few more ...
0
votes
0answers
32 views
Serial Communication, Arduino and Rpi , C library
I am currently working on a project on serial communication between rpi and arduino, this is the code that I am using from Rpi Side it's in C :
int main()
{
//-------------------------
...
1
vote
1answer
24 views
How to interface with generic IR RGB LED controller?
I want to hook up an arduino to one of those generic RGB LED controllers, you see them everywhere, they are these little white boxes with power input and RGB strip plug and an IR LED lead. Is there a ...
0
votes
2answers
46 views
May I use both USB-serial and tx/rx pins at the same time?
I am building a CNC machine based on GRBL code on a uno. I also have found a script to read data on a N64 controller. I know there is not enough pins available to do both codes running on the same ...
1
vote
0answers
23 views
ESP8266 and Arduino bidirectional streaming from and to a website
I was looking for some easy tutorial on bidirectional communication via ESP8266 connected to Arduino UNO. I want to send and receive strings from and to JQuery based website.
However, I couldn't find ...
0
votes
0answers
12 views
Weird stepper motor behaviour on RAMPS in arduino
Following this tutorial:
http://www.instructables.com/id/Complete-newbie-step-by-step-3D-printer-with-all-p/?ALLSTEPS
I connected DVD stepper motor to RAMPS 1.4 on arduino with Marlin software with ...
0
votes
1answer
25 views
max current while using a shift register
In arduino's official page about ShiftOut https://www.arduino.cc/en/Tutorial/ShiftOut, a drawing with two 74HC595 powered by the arduino board, is displayed.
Since the resistors are 220Ω, the total ...
0
votes
4answers
50 views
Is there any way I can turn off the 5v pin?
I'm trying to find a way I can toggle the 5v pin to turn on/off. I want the voltage to pass to another wire at a certain point. It should be off and then when something happens, the 5v should turn. ...
0
votes
1answer
19 views
Trinket: Battery + USB at the same time?
Is it allowed to have battery and USB connected to the Trinket(3.3V) at the same time?
I am using the battery to also power other components, so always disconnecting power, hooking USB to re-program ...
0
votes
1answer
34 views
Array of Strings and Callbacks
I am trying to create an array of structs that contain pairs of Strings and Callbacks the problem I am having is assigning the callback function. I have the following code:
#define UI_ROUTINE_ITEMS ...