Newest Questions
25,033 questions
1
vote
2
answers
2k
views
Powering Peltier using solar panels
I am a beginner to electronics and trying to make a portable air conditioner using a Peltier cooling pad (12V). I am planning on using a solar panel to power the Peltier and looking forward to your ...
2
votes
1
answer
4k
views
Does AWG size affect signal from sensors?
Would using a thicker cable like 16 AWG affect the signal being received from an RFID or Ultrasonic sensor?
I understand AWG can make a significant impact on voltage when a thick cable is used over ...
0
votes
1
answer
149
views
Why is this code not working?
So I am trying to use Port Manipulation to turn on LEDS but I need to use PORT Manipulations for specific reasons.
//22-29PORTA (0x01-0x80)
//30-37PORTC (0x80-0x01)
//38-45PORTD (0x80-0x01)
void ...
1
vote
0
answers
256
views
GPS Speedometer value didnt come out
I'm building a GPS speedometer. I use Neo-6M module for GPS, Arduino uno and 128x64 OLED screen for monitoring the value. I've checked the GPS module. It gives me data about latitude and longitude. ...
0
votes
2
answers
196
views
What are the sizes of each primitive datatype on a Metro M4 Express SAMD51?
What are the data sizes of all the primitive datatypes on a Metro M4 Express SAMD51 C++ implementation? In some C++ implementations, int has 16 bits and in other implementations it has 32 bits. Is
2
votes
1
answer
216
views
Ramping up and down arduino motor due to ultrasonic sensor input
Im working on an arduino robot that needs to follower a leader robot infront of it. The leader robot can accelerate, decelerate , and stop and my robot needs to be able to follow the leader without ...
0
votes
1
answer
3k
views
MCP4725 I2C address
I want to use four of MCP4725 DAC module at the same time but it only has two I2C addresses which can be set via jumpers:
In page 10 of the datasheet it says:
Device Address Selection pin. This pin ...
0
votes
1
answer
1k
views
Sending more than BUFFER_LENGTH(32) bytes in slave answer I2C
I need to send 259 bytes as answer to I2C master read request. AFAIK there is a buffer limit of 32 bytes in Wire.h and in HW (Arduino Nano). Is there a way sending 259 byte answer, or I have to choose ...
1
vote
3
answers
8k
views
External vs internal pullup
There are two ways of pulling the pins in Arduino – using internal and external resistor. I wonder when I should use external resistor instead of INPUT_PULLUP.
1
vote
0
answers
86
views
Arduino code does not function when relays are powered
I have a mega arduino, which is supposed to to power 4 relays using 4 touch sensors TTP 223, the relays are 5V coil and 220V. the arduino is powered by a 5 V adapter "mobile phone charger" and it ...
1
vote
1
answer
100
views
Creating an array, assigning a value to each indices, and assessing the array
I am trying to create an unassigned array of size 512 and then assigning a reading to each indices. I want to get the start time before and after the loop and only run it once. Then I want to know how ...
1
vote
0
answers
172
views
MKR 1000 not found in ports when MKR IMU Shield is connected
I am trying to connect my MKR IMU Shield to my MKR1000 by placing the IMU shield in the MKR1000. When I do this, however, the Arduino IDE and Simulink are unable to find the port that my Arduino is ...
13
votes
6
answers
7k
views
Addressable RGB strip works fine individually but cannot set all LEDs to full white
I have a 5 meter strip of 12V digital RGB LEDs. The chip is WS2811 (see photo of IC). There are 50 addresses on the strip.
Using the FastLED library, I am able to run the "FirstLight" example that ...
0
votes
2
answers
82
views
I am making a rubber band gun but i cant seem to get the button to work with my code to turn the servo?
#include <Servo.h>
const int buttonPin = 3;
int buttonState = 0;
Servo myservo;
void setup() {
myservo.attach(2);
pinMode(buttonPin, INPUT);
}
void loop() {
buttonState = ...
2
votes
0
answers
1k
views
NodeMCU ESP8266 Returns IP address, but cant open the web with IP address
I have used the below code with proper Wifi Address and password. The Nodemcu connects to WIfi, and displays IP address, But the IP address cannot be used to open a web page. It says "This site cant ...