All Questions
0
votes
1answer
13 views
Confusion about PNP transistors
I was reading through SparkFun's article on transistors when I came across something that confused me. The article showed this circuit:
With this description:
Similar to the NPN circuit, the base ...
0
votes
1answer
8 views
Get hardware usage of Arduino Uno or Intel Galileo
Is there any way to get hardware info of Arduino or Intel Galileo board like
1) CPU speed
2) Flash Memory available
3) Sram available
4) Current CPU usage etc
Thanks
0
votes
0answers
5 views
SPI MCP23S08 to arduino strange stop/start behaviour
I have built an Arduino minimal breadboard circuit to test some parts i recently bought and successful managed to get the I2C MCP23008 working perfectly with leds and an LCD display.
However I have ...
0
votes
1answer
9 views
do i need to also connect GND and 3.3v
I am trying to run this code:
https://github.com/miguelbalboa/rfid/blob/master/examples/ReadNUID/ReadNUID.ino
Using an ESP8266 based D1 board and an RFID-RC522.
I am not able to get it to detect the ...
-1
votes
0answers
5 views
Arduino Duemilanove keeps resetting
I've had this issue since a short-circuit. Then, I found it wasn't the short-circuit, but that Sony Ericsson Companion Suite was interfering with the communication. I would shut that program every ...
0
votes
1answer
6 views
How to connect a thermostat to an arduino via USB
I want to allow the user to plug in a device into the arduino (e.g. thermostat). The problem is that I don't want them to struggle to put 3 pins into a breadboard, as that is not very user-friendly.
...
0
votes
0answers
4 views
How can I convert PID correction values to an PWM burshless command?
Please I'm working on a quadcopter, and I have to made my own flight controller based on arduino uno.
First of all please how can I get a filtred angular velocity and linear acceleration from the ...
0
votes
1answer
3 views
Arduin YUN send data through Ethernet
I'm still new in Arduino YUN and i can't find any tutorials or examples on making the YUN send data through Ethernet which will then be showed to a webserver. I've seen other tutorials but they use ...
0
votes
2answers
20 views
How to handle low temperatures using Arduino Uno?
I want to create a simple electronic temperature sensor using the Arduino Uno.
The environments I want it to handle is inside a fridge and near a heater.
Although I am sure the Arduino can easily ...
0
votes
0answers
9 views
LED Strobe based on switch press through Arduino
I have a problem I can't see to solve. I'm trying to program my Arduino, which I just got. I have read a lot of programming scenarios, but can't seem to find one that fits my problem.
I can get the ...
0
votes
0answers
12 views
Simple interrupt
This is my code. What I am trying to do is when I press the button, all of the LED will be "pause" immediately.
I have 3 LED. All of LED will blink consecutive.
When I press the button (BA), only ...
0
votes
0answers
3 views
esp8266 (esp-01) - GPIO while deepSleep
I am currently trying to build a small notifier for my mailbox with an esp8266. The basic idea is to switch on a LED, check if mail is in the mailbox (using a photo sensor), then fire up WiFi, post a ...
0
votes
0answers
12 views
Stepper motor PID control Loop
So I am writing a code that takes a tilt and Pan value from an external source and the moves two stepper motors. I have written this simple code:
#include <AccelStepper.h>
AccelStepper ...
2
votes
1answer
78 views
Using interrupts for two MCP23017
I am creating a simple shield with two i2c MCP23017 chips. Each MCP23017 has two interrupt pins, but the Arduino Uno only has two interrupt pins (pin 2 and pin 3).
The way I understand it, interrupts ...
0
votes
1answer
18 views
Why does my servo execute an action in the beginning when the odds are almost 0?
I made a servo motor turn if the result of random(0, 10000) is less than or equal to 1. If that is the case, the motor turns to 130 degrees, to 50 degrees, and then to default position(90 degrees). It ...
0
votes
0answers
13 views
How to communicate between two Ultrasonic Module's
I have two Ultrasonic rangefinders, each hooked up to their own Arduino. I want one to emit and the other to receive the sound. I can't seem to get it to work.
Here is the code for the first ...
1
vote
4answers
27 views
Arduino Driver can I use only PNP?
is it possible to use a normal PNP transistor to drive a motor?
I'm kinda new to this stuff so I want to be on the safe side, so I don't damage my Arduino Uno because of the motor.
I have made a ...
0
votes
1answer
8 views
Errors with Arduino Custom Library: Possibly Not Updating?
I have a custom library that I have added to the available libraries in Arduino via the "add .ZIP library" option in the menu. It worked fine, but then I modified the library and added a few functions....
0
votes
0answers
16 views
Distance Sensor doesn't reset after else statement
I've been having a lot of difficulty with my sharp ir distance sensor. It doesn't seem to detect anything further then 10 cm even though the range is supposed to reach 80. Nevertheless I am also ...
0
votes
1answer
12 views
do i need an I/O shield for quadcopter motors
I would like to know if I need an I/O shield for the 4 ESC's on a Quadcopter I am building using Arduino Mega2560. The current to the ESC's should come from the battery itself and the data from the ...
0
votes
1answer
6 views
WebSocket client for ArduinoHttpClient conditional if with readString() incoming data buffer
I'm having issues implementing a web socket on the Arduino/Genuino to procress a string received and do something respectively.
I'm using SimpleWebSocket example, edited for my purpose, from the ...
0
votes
0answers
16 views
Windows does't recognise the Arduino Micro
I'm writing a controller for a Arduino board. Using C++ and WDK 10 on Windows 7 machine.
On Mac:
This(more or less) is what I did: https://developer.apple.com/library/mac/samplecode/SerialPortSample/...
0
votes
0answers
11 views
I have a mpu 6050 gyro
Arduino: 1.6.10 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Users\AJ\AppData\Local\Temp\ccF4qWbY.ltrans0.ltrans.o: In function `meansensors()':
ccF4qWbY.ltrans0.o:(.text+0x624): undefined ...
0
votes
0answers
9 views
Expanding the scene of mBlock
Is it possible to change a mBlock project's scene size?
I want to use it for creating animations easily, but the current size is not enough for me.
-1
votes
0answers
9 views
Sending data using Bluetooth SPP-C Module without a Breakout-Board
tl;dr
I can't send data using the raw SPP-C Bluetooth module without a breakout board.
The communication via UART works fine as I am able to issue AT commands and get proper responses.
But when ...
1
vote
3answers
25 views
straight or 90 deg headers (pins)
I just got an RFID module which I want to play with.
it came with two sets of headers (pins), both straight and 90 deg.
The pins are not soldered to the shield and I need to decide which and how to ...
0
votes
0answers
7 views
Cannot access “tools>Serial port” on Kali Linux
I just got my Arduino UNO delivered and I wanted to see if it's working properly or not.
I tried following this page to create a simple program and the program compiled successfully.
But when I ...
0
votes
0answers
20 views
328p homemade pcb avrdude: stk500_getsync(): not in sync: resp=0x00
I made myself a pcb with an ATmega328p on it.
I can program it with isp and burned the arduino bootloader for now.
If I try programming it via ftdi I get the error "avrdude: stk500_getsync(): not in ...
0
votes
1answer
14 views
can teensy 3.0 or above run fingerprint scanner fps gt-511c1r?
I have an fps gt-511c1r fingerprint sensor module. I want to know whether i can run it using teensy 3.0 or above?
I have tried it successfully using arduino uno.
0
votes
1answer
21 views
Connect USB cable to GPIO pins on an Arduino Uno
Electronics Newbie!!
I want to connect a USB cable to my Uno's GPIO pins (and then connect it to a USB port on my computer). I have chopped off a USB cable from a keyboard, I read this and I'm hoping ...
0
votes
0answers
18 views
Arduino Serial Communication Fast Protocol
I am sending data to Arduino from Raspberry PI using USB Serial communication at 115200 baudrate to run two stepper motors in real time.Protocol defined is of format < motor1Angle,motor2Angle >....
0
votes
1answer
16 views
Cannot open file with underscores using the SD library
So I'm trying to create a new file that has underscores in its name. However, when I try this, no file is created.
This works
String fileName = "NMEA.txt";
mySensorData = SD.open(fileName.c_str(), ...
1
vote
1answer
13 views
Basic WiFly server returning unexpected output within web client
Currently trying to implement a lightweight webserver using the WiFly shield and an Arduino UNO, this is the code I have so far:
#include <SPI.h>
#include <WiFly.h>
WiFlyServer server(80)...
0
votes
1answer
12 views
Control/switching of headphone audio
I need to do some simple line control of audio out from a phone, 3.5mm TRS. I would have preferred to use transistors, but the voltage drop on an already fairly weak signal makes it unusable. Also not ...
0
votes
0answers
7 views
How to set up Visual Studio WIFI “port” for communication with external devices like arduino with WIFI connector
I am trying to use Visual Studio 2015 c# Windows Form Application as the software control in PC to send and receive data from Arduino board by WIFI, so my question is how to set the "communication ...
0
votes
1answer
15 views
Answer power IN from two sources
Items:
Arduino Uno
Laptop
7.4V 2s LiPo Battery
Neewer 30A ESC
Scenario:
The LiPo powers the ESC while the Laptop USB powers the Arduino. If I unplug the USB from Arduino is loses power (obviously)...
-1
votes
0answers
15 views
How to make ruler with transmitter-receiver infrared without using proximity sensor?
I would like to ask if its possible to detect the distance of IR transmitter to its receiver. I tried using proximity sensor but its has very minimal range unlike transmitter-receiver IR.
1
vote
2answers
31 views
How do I convert a float into char*?
Asked this question on Electrical Engineering Stack Exchange and was directed here:
Pretty self explanatory; how would I go about converting a float into a char*? I have code in which the float '...
0
votes
2answers
26 views
Arduino- how do I convert a float into char*?
Pretty self explanatory; how would I go about converting a float into a char*?
I have code in which the float 'resistance' is constantly being updated. I would like to be able to update the variable '...
-3
votes
0answers
25 views
Store and retrieve data in arduino uNO
CO gas sensor project which shows CO level in air and value changes after few seconds/minutes.Now if I want to see last two or more values.How can I do it?
1
vote
1answer
20 views
Is possible to process analogue inputs with variation frequencies in MHz?
Is it possible for Arduino boards to accurately process analog inputs that vary at MHz frequencies?
If possible, which Arduino board would be most appropriate for such application?
What ...
1
vote
0answers
24 views
Interrupt for traffic light
I have mini project which is Emergency Traffic Light for Ambulance, police etc.
What I am try to do is when emergency traffic light go through first sensor 1 (in this code I just using button, “SA”), ...
0
votes
1answer
16 views
Problem Atmel Studio 7 with uploading
I have a problem with the interworking between Atmel Studio 7 and Arduino IDE 1.6.10.
I recently upgraded from IDE1.0 to 1.6.10 can no longer upload my code to the arduino. Everything works ...
0
votes
2answers
13 views
I want to log GPS coordinates using my Arduino and other sensors
I want to log GPS coordinates using my Arduino and other sensors. The difficulty is that I will be in forested conditions. Would it be better to hardwire a gps device to the Arduino or to bluetooth ...
1
vote
1answer
35 views
Can anyone help me figure out why this buffer is overflowing?
This should be fairly straightforward, but there must be something I'm not understanding about buffers.
I have serial data coming in to my Mega via Zigbee. I'm sending a string just like this: ~-0....
-1
votes
1answer
22 views
Extract data from Weather API to display in LED's
How can I get weather information from a web api, if you go this link:
https://www.wunderground.com/weather/api/d/docs?d=data/forecast&MR=1
You can scroll down to the example of an API response.
...
0
votes
1answer
27 views
How can I make a servo turn an ultrasonic sensor without using delays?
I am making a RC robot that will have multiple sensors and will display the data on an lcd screen. It will also have a mode where it will avoid obstacles, using an HC-SR04. When the sensor is within ...
0
votes
1answer
18 views
Generating an 8V PWM signal
I have a control module that accepts 8V PWM signals. My goal is to send a 500Hz PWM signal from an Arduino to an 8V PWM input on the control module. Looks like everything generated from the Arduino ...
1
vote
1answer
18 views
Connecting multiple TFT panels to Arduino Uno via SPI?
Is it possible to connect more than one TFT screen (like this one or similar: https://www.adafruit.com/products/1651) to an Arduino Uno?
I'm wanting to connect and control two color screens at once; ...
1
vote
1answer
7 views
Can multiple xbees send data to one xbee
I am new to xbees. I want to have multiple xbees (up to 400 xbees) send data constantly to one xbee (receiver).This is just simple data like lets say 0 or 1 . Is this possible? Are there any ...