arduino

How to split a string into C++ words (Arduino)

At the input, we must give "test=qwerty" we need to divide by = For example, split ("test=qwerty","=") the output should be ... i]; if ( text[i] == del ) { arr[count] = step_text; count++; step_text = ""; } } return arr; }

AVR ISP + Atmega16

There is an Atmega16L-8PU microcontroller that I am trying to flash with an Arduino Mega 2560 using a sketch of ArduinoISP an ... reads as 0 avrdude: safemode: hfuse reads as 0 avrdude: safemode: Fuses OK avrdude done. Thank you. P.S. Atmega16 is new.

Alternative to the map (Arduino) function in python

You need to translate one range of values to another. I write in python. Arduino scripts have a function like map, I wonder i ... value) from the current range of values (fromLow .. fromHigh) to the new range (toLow .. toHigh) specified by the parameters.

Explain the lan8720 pinout

Everywhere it is written the standard SI, SO, SCL, and so on, and here it is not clear, with what information I did not find

How to avoid burning out the USB ports on the "raspberry"?

I did a project where the raspberry controlled the arduino via usb, and the arduino, in turn, receiving data through com port ... avoid burning out of ports(from malinai or separately). How can we avoid burning them out(without using galvanic isolation)?

How to transfer variables from your phone to arduino via bluetooth without installing software

I will immediately announce the goal - it is necessary that any user can connect my Arduino to his Wi-Fi router using his pho ... w do I transfer the ssid/pass to an already flashed arduino? By Bluetooth you can also connect from any phone. And then what?

Why does Arduino send extra characters when communicating via the COM port?

I wanted to teach the arduino UNO board with a computer using python, so that I could then use the readings from the sensors ... in(9600); } void loop() { // put your main code here, to run repeatedly: Serial.println("Hello World"); delay(100); }

Sending data to the arduino and transmitting data to the mobile app via Bluethooth

There is an Arduino running line project, I'm trying to implement an Android program for it. There is a part of the main cod ... te(4, thisLength); for (byte i = 10; i < thisLength + 10; i++) { eeprom_update_byte(i, runningText[i - 10]); } }

How to make a program for stm32f103

There is an STM32F103 board with a standard 4pin SWD interface and an st-link v2 programmer. Environment-win7 x64. After re ... d small keyboard (84-90 keys) with a combined layout, so that the USB-HID will still have to read a lot. USB-adds complexity.

Operation of the Arduino Nano board without a programmer

There is an Arduino Nano board with, most likely, a burned-out programmer. Can I upload sketches without it?

Arduino long press button

There is a code in which when you press the button, the value "H" is transmitted to the COM port of the PC, and when you pres ... ite(ledPin,ledOn); if (ledOn == HIGH) { Serial.println("H"); } else { Serial.println("L"); } delay(100); }

What language is used to write code for arduino?

I decided to find out what the code for arduino is written on, Google says that in C\C++. But I don't understand which one? Or maybe both?

WebServer ESP8266

Need help with creating an html page on ESP8266. On the Internet, I did not find how to do this without connecting to a WiFi ... d, creates such a page without a WiFi connection. Please tell me how this can be done, or where to find information about it?

AT commands by UART STM32

I'm moving from arduino to stm32, there was a problem with the UART'om, or rather with understanding how to do it "beautifull ... buffer to create. Plus three more UART communication options, which one is better suited for emulating Arduino Serial.read()

How do I connect a BMP280 barometer to an Arduino UNO?

I have a BMP280 barometer (HW-611). I connected it in different ways. I used the Adafruit library for BMP280, ran the bmp280test example, but writes "check wiring". How to connect it, which library to take?

I can't understand how arrays work in arduino

I write on the Arduino program and faced with such a difficulty: String messenge; for (int i=1; i <= 10; i++){ messenge + ... rs, because on the Internet I did not google anything particularly. Can anyone advise how to implement this better? Thank you

How best to count the time between 0 and 1 in milliseconds

I screwed the light sensor to the arduino. When the light is on, the display shows 0, when there is no light, 1. How do I cal ... е значению входа 5 вольт delay(1); lcd.clear(); } lcd.print(val); delay(100); lcd.clear(); }

Arduino does not read the text sent through the port, but sees \n

That is, when using the code under Linux, the string with the arduino seems to work correctly, but the transfer somehow does ... if (getchar() == '\n') { close(serial_port); return 0; } else { goto L1; } }

How to implement a timer with a condition on the arduino?

Give good advice: I want to implement the following. A minute timer that will make the stepper motor turn three times to the ... and the arduino gives a signal. Maybe there are ready-made solutions? Or approximate options? Here are the devices available

ESP8266 SPI Write and read to energy independent memory

I'm trying to deal with (addresses) reading and writing to the memory of the ESP8266. Here is the code char copy[1000]; ... eof(copy)); Or int Num = 124; spi_flash_erase_sector(Num); spi_flash_write(Num * 4096, (uint32 *)&copy, sizeof(copy));