Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
1 vote
1 answer
104 views

We are trying to get two Nanos to communicate via CANbus, using MCP2515 shields. I have decided to use the autowp/arduino-mcp2515 CAN interface library for the code. I've based my code off their ...
B_Seibel's user avatar
1 vote
1 answer
96 views

I have a project (Digital Dashboard for a Motorhome) in Pi that reads JSON data from an Arduino board and sends it via Serial. The Pi gets the JSON data, makes some adjustments and then sends it to an ...
Honeybadger22's user avatar
0 votes
2 answers
190 views

I'm having trouble reading the I2C data from the CPS8200, that has a 32 bit Register Address. Since I'm not too familiar with I2C register addresses more than 8 bits, and right now I'm not sure if I'm ...
J. Street's user avatar
  • 109
1 vote
1 answer
57 views

This is unfinished code for driving a 4 digit 7 segment display. When I run my data function that should output the data to send to the shift register, I get a very weird output. 0 00111111 1 00111111 ...
Daniel MacDonald's user avatar
0 votes
1 answer
90 views

I have this code, work fine! uint32_t id , id2; char s[64]; // Should be enough ... id2 = id = CAN.getCanId(); sprintf (s, "%04d : ", id ); // !!! HERE !!! Serial.print(s); the ...
James's user avatar
  • 11
3 votes
1 answer
107 views

I have an Arduino vehicle and I upload projects to it that I want them to function once I use a strong light on a light sensor attached to A4 analog pin. So far, I have used the following code: void ...
Wizard's user avatar
  • 141
0 votes
0 answers
147 views

I'm using the Arduino IDE (v1.8.19) with the Earle Philhower core to program a Raspberry Pi Pico (RP2040) board. I2C bus 0 of the Pico (pins 4 (SDA) and 5 (SCL) are coupled to a first MCP23017 port ...
Malzon's user avatar
  • 1
0 votes
1 answer
265 views

I wrote a small blink program for an ATMega8U-DIP I bought recently. The source is this, #ifndef F_CPU #define F_CPU 16000000 #endif #include <avr/io.h> #include <util/delay.h> int main(...
Ayush's user avatar
  • 121
-1 votes
2 answers
508 views

Looks like I didn't make myself clear, sorry. Update to clarify things / TL;DR version: 4 Arduino UNO pins are connected to respective DE-9 pins, responsible for UP, DOWN, LEFT, RIGHT directions ...
tOad's user avatar
  • 3
-2 votes
1 answer
181 views

After researching a solution to a problem I want to solve, I'm hoping the third time posting is a charm. :) I'd like to use an Arduino to control a vintage floppy disk drive. I'm looking to use it as ...
Tuc's user avatar
  • 1
1 vote
2 answers
148 views

I'm calculating the acceleration magnitude vector from an accelerometer inside a thick PU mat. When the mat is hit, depending on the value I obtain, only one of two LEDs, later more, shall light up ...
Systembolaget's user avatar
2 votes
1 answer
115 views

I am trying to make a battery load cycler to charge and discharge a battery repeatedly for a certain amount of cycles and here is my code: bool in_charge_mode; int cycles = 0; float cutoffvoltage = 2....
risa's user avatar
  • 21
2 votes
0 answers
129 views

I have done a lot of reading and learning after previous help here and it has been great. I have uploaded and tried many iterations of my code which all worked (Assuming my code was actually good) and ...
TwitchCloud's user avatar
0 votes
1 answer
151 views

I have a 16u2 programming a 1284P for a custom board I am building. The 16u2 converts USB to USART for programming the 1284P, however the 16u2 has a maximum frequency of 16MHZ while the 1284P has a ...
lemon's user avatar
  • 113
1 vote
0 answers
98 views

Update_2: No change after Update_1, same error. I still have to comment either email, I2C, or Temperature out, that the other two can work. Update_1: I'm also using a DS18B20 with #include <...
Christian's user avatar
1 vote
3 answers
945 views

I wrote serial.println in my code but the string was printed in same line on serial moniter. #include <WiFi.h>//for connecting esp32 to a wifi #include <TinyGPS++.h>//to obtain gps data ...
Yug Ahuja's user avatar
0 votes
1 answer
96 views

If I understood the AVR instruction manual correctly, the ATtiny 25 can disable the BODlevel2 fuse by software, but when compiling with Studio 7 (version 7.0.132), I get the error "Undefined ...
Laur Hus's user avatar
1 vote
1 answer
266 views

I have two UV leds, one Vf 3.3V @ 150 mA and the second one Vf 5V @ 150 mA. I need a circuit to make them fade in and out alternatively, i.e., as one goes dimmer the other goes brighter and vice versa....
Rodrigo's user avatar
  • 113
4 votes
2 answers
351 views

I'm new to Arduino and my question is rather theoretical. I have an Arduino Nano board (Atmega168 processor), a button, a display. I have written a button handler that does not stop code execution. My ...
ONamaeWa's user avatar
0 votes
0 answers
288 views

I just got an AVR ASP mkII external programmer and I am unsuccessfully trying to program my arduino with it. All the settings in the IDE are correct. This is the error message that I am getting: ...
user1584421's user avatar
  • 1,435
2 votes
1 answer
311 views

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 vote
1 answer
308 views

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 votes
1 answer
559 views

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

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,435
0 votes
2 answers
216 views

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 ...
user avatar

1
2 3 4 5
34