Newest Questions
25,033 questions
-2
votes
2
answers
117
views
Trying to program atmega328p-an via arduino leonardo isp
a friend of mine gave me broken hw-308 (chinese meter).
https://besomi.com/media/catalog/product/t/m/tmet0006-1.jpg
Atmega chip was broken so i replaced it with the new one i bought recently. Now i ...
3
votes
2
answers
169
views
Why are there extra steps on DAC output?
Testing the DAC on the Feather M4 Express (SAMD51 microcontroller). Tried to generate a square wave with the DAC.
void setup() {
analogWriteResolution(12);
}
void loop() {
analogWrite(A0, 0);
...
2
votes
0
answers
38
views
Unnecessary recompille after connection error
I sometimes multitask during a large compile (wifi, etc libraries) and don't get back in time to press the ESP32 upload button. If the connection times out, the IDE recompiles all the source again. ...
0
votes
0
answers
57
views
Arduino R4 Minima, trigger function being bypassed?
I am running a trigger function in a while loop in setup that takes in 3 analog inputs, checks if they are within a certain range, then outputs true if they are, false if none of them are.
The code I ...
0
votes
0
answers
69
views
Gross timing error between crystals
Got two boards, getting a stable counter error ratio between the two of ~0.9895 (counted ticks divided by calculated ticks). Is this not a bit too low ? With +/- 50 ppm between the two crystals I was ...
-1
votes
1
answer
111
views
Difference between using GND and digital LOW for 7-segment display pin
I am using this 4-digit 7-segment display.
So my circuit is basically 220 ohm resistors for all the segments (display pins 6 through 16 on the bottom each go through a resistor before going to a ...
1
vote
1
answer
234
views
Can one re-program a Leonardo Eth via its Ethernet port only?
Let's assume we have an Arduino Leonardo Eth running some sort of networking application, perhaps a very simple web server. Importantly the server is read only and static HTML. There is no ability to ...
-1
votes
2
answers
142
views
I need more free memory on my Arduino. What can I do if I don't want to use float? [closed]
I realize that using float results in loading all or at least parts of the floating point library, which consumes a significant amount of memory.
How can I avoid using float?
0
votes
2
answers
104
views
5V DC pump connected to relay on nodemcu esp8266 running non stop
I using a nodemcu v2 esp8266 for my automatic watering system. I used 3v - 5v DC pump for the watering system. The pump is controlled based on the soil moisture level ( or Blynk ). When the code was ...
-1
votes
2
answers
106
views
ATtiny402-SSNR minimum hardware requirement
I am using an ATtiny402-SSNR in a project. I have never used AVR MCUs before, so I need a minimum hardware requirement schematic for this chip. I could not find a schematic for this on the internet.
...
-1
votes
1
answer
148
views
RTC DS1307 gives random and incorrect time value [closed]
The RTC module can output the hours as 165, and the minutes as 165. This is some random number that is different every time. Everything works fine, but at random times I get this. Maybe once every ...
1
vote
1
answer
93
views
ParseIP in the EtherCard library does not parse an address twice
I'm trying to modify the pings example from the EtherCard library so I can ping multiple hosts. The end result should be a small device which monitors other devices on my network.
Here is the modified ...
-2
votes
1
answer
81
views
How do I change what variable I am changing based on a separate number?
I am trying to change thing2 if I input 0, and thing3 if I input 1. I don't want to just have if/else to determine if I should be changing thing2 or thing3 because I want this to be more dynamic than ...
1
vote
1
answer
96
views
Reading JSON from Arduino via Serial Missing Parts of Message
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 ...
-1
votes
1
answer
77
views
Replace bootloader in ATTiny88
There are other threads about replacing the bootloader on Arduino boards, but the ATTiny88 seems to be rather a different beast. Instead of creating a serial port and sending the compiled code to the ...