Questions tagged [programming]

The process of designing and writing source code as part of a program (or sketch) for Arduino. For questions about uploading code to an Arduino board, use the [uploading] tag instead.

Filter by
Sorted by
Tagged with
-2 votes
0 answers
26 views

Custom i2c with Arduino UNO [closed]

For educational purposes, I would like to write my own i2c protocol. Is it possible to write a custom i2c library to communicate using regular ports, or should I use the SCL and SDA ports? Can I mimic ...
Anton Tsvayer's user avatar
-2 votes
0 answers
19 views

Sending message from main controller (Arduino UNO) to mutliple mico-controllers (Attiny) [closed]

I have an Arduino as a main microcontroller and there are several Attiny nodes. Each Attiny402 is connected to another with single line (for transferring bits) and GND and VDD. Arduino sends msg of ...
user avatar
2 votes
1 answer
59 views

Read values from a txt file on an SD card

I'm trying to read a text file (has numeric values) from SD card. The values in the file like this 87 512 255 I need to read 87 in ch1 and 512 in ch2 and 255 in ch3. Why did I get on 'SKIP_NONE' '...
stella's user avatar
  • 31
-1 votes
1 answer
83 views

convert string representing a binary number to binary

I have a serial input "1111111" and I would like to convert this to a binary B1111111 that I can send to a led matrix. I tried to search, but, all the results were misleading, led to full ...
vilmarci's user avatar
  • 109
1 vote
1 answer
43 views

ArduinoJson reading `null` from Serial

I have a setup that reads from serial when I sense that there is something to be read (and always assume that what is sent to the arduino is valid json): void setup(){ Serial.begin(9600); ...
Snappawapa's user avatar
1 vote
1 answer
41 views

How to add one JsonDocument to another in ArduinoJson

I'm utilizing this json library: https://arduinojson.org/ I am attempting to write a function that creates a response object, and wraps an already built json document: void sendResponse( ...
Snappawapa's user avatar
0 votes
1 answer
45 views

SPI with DMA in a Arduino Due

I have a project where I need to store data (~16Mo) on a memory and be able to fetch the data fast (<36000bits/s) with DMA because I have other signals to take care of. Currently I use a SD card ...
Vlad's user avatar
  • 51
0 votes
0 answers
34 views

Salvaging Arduino board from Google ADK 2012

I found an old Google ADK 2012 in my closet and remembered it came with a Arduino board (?), an ARM 32-bit Cortex M3 micro-processor available at the time (possibly the DUE). The ADK 2012 design files ...
micjamking's user avatar
1 vote
0 answers
61 views

How to use multiple PN532 over i2c bus(es) and SPI?

I am working on a project that involves 3 PN532_modules to an ESP32, which sends the Tag_ID over BLE. Plan A was to use One module on i2c_1, second on I2C_2 and third over SPI. The SPI one works as ...
user91535's user avatar
1 vote
1 answer
50 views

Programming barebones ATMega328 with external programmer and no bootloader

I have created a circuit with a barebones ATMega328. I also have an external programmer (Sparkfun's Pocket AVR Programmer)... Now I want to program a particular sketch... When uploading a sketch, do i ...
user1584421's user avatar
  • 1,375
2 votes
1 answer
52 views

Functions delaying gesture sensor recognition

I am working on a simple little robot to cure my boredom and all it has is a 64 x 32 OLED for the eyes, and a PAJ7620 Gesture recognition sensor with a Seeeduino Xiao as the main board. Basically, ...
Renier Jr.'s user avatar
0 votes
2 answers
87 views

How much readable text can fit inside an ATTINY85? Feasibility of scrolling a booklet on a 0.91-inch OLED display

I'm a total beginner, so I've been talking with Chatgpt regarding the capabilities of the Attiny85 microcontroller. But the AI would hallucinate a lot and give only partially right answers (because it ...
Moises's user avatar
  • 9
2 votes
0 answers
64 views

Arduino NANO RF reciever and Digispark Attiny 85 transmitter issues

I am trying to send RF signal from Digispark Attiny 85 (this one) and receive the signal with Arduino NANO V3.0 ATmega328 (this one). Transmitter and receiver are STX882 and SRX882 (these). Library ...
Le_Peck's user avatar
  • 21
3 votes
1 answer
55 views

How do I set the DHCP pool for an ESP-WIFI-MESH? [closed]

I'm building a mesh with ESP32 dev kits (ESP32-DevKitC V4) using the ESP-IDF VS Code extension and the ip_internal_network example project. The code for the example, common project components, and the ...
diomed's user avatar
  • 51
3 votes
1 answer
290 views

Problem when coding 4x4 keypad's key detection (without library)

Part of my current assignment involves reading the input from a 4x4 keypad connected to an Arduino UNO. While this may be done easily using <Keypad.h>, the project is being done with Tinkercad's ...
Maf95's user avatar
  • 33

15 30 50 per page
1
2 3 4 5
110