Most Popular

1500 questions
4
votes
1 answer

powering Nodemcu using Vin

Forgive me for this really dumb question. I am an amateur in electronics, and im trying to wrap up my head around this question and im not able to do so. Need your help. Im trying to power up a nodemcu using a 5v 1A power supply- I connected +ve to…
bukke hari prasad
  • 159
  • 1
  • 1
  • 6
4
votes
2 answers

Is it possible to extract a hex file via UART from an Arduino?

Right now I am tinkering on my 3D printer that has an Arduino mega as a brain. I need to update the Marlin firmware but in case of an error I want to create an backup of the firmware. And because it is assembled using a shield on top have no access…
Coder_fox
  • 686
  • 7
  • 14
4
votes
4 answers

ESP8266 not connecting to WiFi

I am trying to send the temperatures from an DS18B20 to ThingSpeak, using an ESP8266. You can see the code I am using for that. When I run the code I do not get any errors. In serial monitor it just shows that it is not connected to WiFi. If I…
Ali Karim
  • 51
  • 1
  • 1
  • 2
4
votes
3 answers

Can I remove soldered atmega328P from arduino board, using hot air gun, without damaging it?

I need to remove atmega328P from arduino board and the best tool what comes up to my mind is a hot air gun. What is the maximum temperature that atmega328P can withstand?
Kirill
  • 151
  • 2
  • 2
  • 12
4
votes
2 answers

sprintf() to assemble String and float pieces locks up

I'm trying to parse many variables into a URL so that I can update a website through a simple HTTP API with sensor data. After talking to a buddy of mine, he suggested going with the code below. When I put this in, the Arduino Yun boots up. I see…
Pat
  • 217
  • 1
  • 5
  • 10
4
votes
0 answers

Send custom 802.11 data frame with ESP8266

I would like to send raw 802.11 data frames in order to transmit pictures with the ESP8266. I have the Espressif SDK 1.3 and so far I have tried to construct a packet and send it with wifi_send_pkt_freedom, but it didn't work. I cannot pick it up…
Alex M.
  • 141
  • 1
  • 3
4
votes
1 answer

Arduino Uno R3 to Wemos D1 R2 project migration - Pinout problems

So i've chosen to purchase a Wemos D1 R2 board in order that my old Arduino Uno R3 projects can get some new IoT features. However, even if my code is working in Uno perfectly, i want to test it using D1 before adding features. My problem is that,…
Galinho Salonica
  • 89
  • 1
  • 2
  • 9
4
votes
1 answer

ESP8266 PHP Web Server

I need my ESP8266 web server to load my website files with .php extensions. So far I managed to load .htm .css and .js files from my SD card, but when I upload PHP files on my SD card, they won't run. How can I do that?
Kirill
  • 151
  • 2
  • 2
  • 12
4
votes
1 answer

Can I get the current connection speed with ESP8266?

Using an ESP8266 I can get the RSSI of the Wifi network using Wifi.getNetworkInfo() or Wifi.RSSI(). But is there a way to know the actual connection speed in Mbps, after joining successfully a WiFi network?
FarO
  • 339
  • 1
  • 4
  • 15
4
votes
1 answer

Controlling an LED using SIM900A and Arduino

How can I turn the LED on and off using a received text message? The sim card is able to receive the message but I can't change the pin status. I also can't see anything in the serial monitor upon reception of the message. Below is my…
4
votes
3 answers

Very Basic Arduino Uno Serial.readString() operation

I am very new to Arduino Programming. I am trying to identify the input string from serial monitor and printing the output to the console accordingly Code is : void setup() { Serial.begin(9600); } void loop() { while…
KarmaCoding
  • 113
  • 1
  • 4
  • 14
4
votes
4 answers

Using millis() to toggle an LED every 500 milliseconds

I thought the code below would toggle an LED every 500 milliseconds. But it does not work. I'm not able to catch the mistake, which must be very silly. void setup() { pinMode(3, OUTPUT); } void loop() { unsigned long cnt=millis(); if(!(cnt %…
Rajesh
  • 171
  • 2
  • 7
4
votes
1 answer

Is there GUI to flash a sketch with new variables?

I'm dabbling in a project and would like to add a feature, but I need some help from the community. My project returns a response from the wunderground api and lights an led based on the temperature in the response. I plan to enclose the circuits…
KidaStl
  • 41
  • 2
4
votes
1 answer

Purpose of USB (FTDI) and ICSP connectors

As an Arduino newbie I am a little bit confused about possible ways of programming and communicating with this device. I have done some research and it seems that: ICSP is used for programming with a bootloader in MCU. The USB (FTDI) port is used…
azrael
4
votes
3 answers

Detecting if a push button was pressed and released

I want to detect if a push button was pressed and released again. So I thought the right approach would be to first wait while the pin yields LOW and then wait while the pin yields HIGH: void push(int pin) { // wait until button was pushed…
Patrick Bucher
  • 143
  • 1
  • 1
  • 5