Skip to main content

All Questions

Tagged with or
1 vote
1 answer
182 views

AC/DC converter burns L7805 regulator, on lab supply it works fine

Controller Myself and a friend are building a custom LED-strip Controller based on AtMega for a small customer. We have designed the boards and have had them produced by JLCPCB. Under laboratory ...
SirMordrag's user avatar
1 vote
0 answers
73 views

MCU data logger design without any power supply/batteries

Assume we are to create a simple MCU data logger that will record the amount of times the apartment door has been opened. Door has a small SPDT limit switch fitted, which pulls the pin of the MCU low ...
Noideas's user avatar
  • 144
2 votes
1 answer
69 views

AVRISP mkII does not frees SPI after programming

I'm using a ATMega2560, and a FT812 Graphical LCD. Before my upgrade, I'm used USBASP and worked well. For some reason, I bought a AVRISP mkII. But I got a problem, the programmer does not frees the ...
JOrE's user avatar
  • 131
3 votes
2 answers
303 views

Will a ATmega328 work with a CMOS oscillator?

I got the following hardware: ATmega328 and a Shenzhen SCTF Elec SX3M3.6864M20F30TNN as a crystal. This should give me a 3.6864 MHz as I am thinking of using UART. Normally I would wire this with ...
Kai Tønder's user avatar
1 vote
1 answer
133 views

Rotary Encoder Code Double Counting

I have successfully make my C code on Atmega328 to read my 2 rotary encoders. (More details here) I am having an issue with the encoder always incrementing by 2 sometimes 4. I'm not sure where the ...
Antone Bajor's user avatar
0 votes
0 answers
152 views

Rotary Encoders that share pins with LCD data lines

I am trying to modify some source code for this old digital power supply design based off the original schematic. The current schematic with the rotary encoders is this one: https://drive.google.com/...
Antone Bajor's user avatar
4 votes
2 answers
105 views

Is it possible for an AVR8X microcontroller (for example the ATmega3208) to measure its own supply voltage without using an IO pin?

In earlier models, for example, the ATmega328, it was relatively simple to measure our own supply voltage: set the voltage reference of the ADC to external VCC, set the multiplexer channel to the ...
vsz's user avatar
  • 2,644
0 votes
1 answer
130 views

Leveraging the ability of AVR microcontrollers to self-program [closed]

I am planning writing an elaborate swarm-like (8-16 chips with no common bus to speak of) solution. Given that I plan on storing 3k of data (considering implementing compression) and need some clarity....
markoj's user avatar
  • 13
0 votes
0 answers
57 views

Decoding of 1-wire communication with the boiler controller

I need support in decoding the communication of the boiler controller. I set as a goal to extend a simple controller with my own design. Unfortunately, I have fallen on a rather simple issue and have ...
GrzechuGW's user avatar
0 votes
1 answer
68 views

SSCOM Displaying Garbled Output when Transmitting data from an ATMega328P via USB-TTL

I have been tinkering with an ATMega328P trying to figure out how to use the different functionalities because i need to use it for a school project. i'm currently trying to figure out the usart part. ...
Uduak's user avatar
  • 3
1 vote
4 answers
230 views

Atmega328p stops mid instruction when in interrupt

I want to make a basic temperature/humidity/CO2 controller with a SDC41 sensor and i want to use an INT0 interrupt to switch from normal controller mode to menu mode to change set values. When i press ...
Stefan Manolescu's user avatar
1 vote
3 answers
244 views

AVR Atmega328p - Split data into two port registers

I'm trying to split data into two port registers on an Atmega328p. because i need to avoid using PD0 and PD1 (using tx and rx on an arduino) and also PB6 and PB7 (connected to oscillator). so i wanna ...
gowb0w's user avatar
  • 39
0 votes
1 answer
97 views

RGB LED audio meter

I'm planning to build an audio meter using ATmega328 chip and 2 RGB LEDs for both stereo channels. The color of an LED will be dependent on the level of the signal flowing to chips ADC. I'm also ...
cubix's user avatar
  • 315
2 votes
2 answers
149 views

Information needed about Atmega8 development board

This is the image of the dev board consisting of an Atmega8-16PI chip and an L293D motor driver chips .It was was given to me by a friend and I am really curious on how to use it but I didn't find any ...
gaurav's user avatar
  • 21
0 votes
2 answers
143 views

Replace the Atmega16U2 on the ArduinoMega2560 with Arduino ISP programmer?

I'm working on a custom ArduinoMega2560 and I was wondering if I could replace the 16U2 with the Arduino ISP https://docs.arduino.cc/retired/boards/arduino-isp/ (it's cheaper and simpler). Does this ...
Tristan's user avatar

15 30 50 per page
1
2 3 4 5
88