Type in the full discussion title or a part of it.
Discussion Title Created date
Light source used in Disco Lights
I wanted to control disco light from AVR for some lighting related project. I opened one of the disco lights (https://www.amazon.com/Activated-Equipment-Control-Parties-Birthday/...
Saturday, 30 October 2021 - 17:53
Copying Lower data type to higher data type
I have small issue in copying lower data type to higher data type in below code. I used nano board (atmega328P) and avr gcc compiler with codeblocks. When I execute this code, I...
Thursday, 16 September 2021 - 03:49
Comparing piece of code with and without if statement
I have small piece of code. uint8_t current_state;     //Part1     if((~PINB & (1<<PB0)) !=0)     {        ...
Monday, 13 September 2021 - 07:53
PCIFR update is not immediate in Atmega328P
I was looking at Pin change interrupt in ATMEGA328P. I was working on Arduino nano (Low cost Chinese version) Here is my code used for testing pin change interrupt flag on output...
Thursday, 3 June 2021 - 06:38
MP3 module with built in memory
I am looking for MP3 module or any audio module to interface to my atmega328P preferably through IO ports, USART or I2C with built in memory. I found couple of modules in...
Sunday, 5 January 2020 - 16:49
IO Pin state during under voltage conditions
Assume I am driving Atmega328P from battery and I have set one of the port pins to HIGH. Now battery drains and voltage goes below safe operating conditions and processor goes to...
Friday, 30 November 2018 - 14:52
Servo motor swing is only 90 degree
I have SG90 servo motor purchased from ebay.com. I wrote below code, but I am able to get swing of 90 degree instead of 180 degree. I verified that servo is of 180 degree by...
Wednesday, 31 October 2018 - 15:22
false triggering issue with PB5 in Arduino Nano
I am using arduino nano (CH340 based china make) for some hobby project. I used PB5 for keypad as shown in the schematic. But the problem is that when I press button 1 sometimes I...
Friday, 20 July 2018 - 16:19
Initializing Array of Pointers
I was looking one question in Stackoverflow here. Answers are inconclusive it looks and thought expert opinion from this forum.   OP asks if array of pointers can be...
Tuesday, 26 June 2018 - 18:04
Data integrity while interfacing HC-05 bluetooth module
I am planning to interface HC-05 module to Atmega328P. I have uC1 --> Bluetooth Module1 --> Bluetooth Module2 --> uC2. Simple commands work fine and no issues. Suppose if...
Thursday, 14 June 2018 - 09:16
Issue in timer based delay program
I was working on simple timer based delay (just to understand the concept). I am trying to pulse PD3 every 50 msec. But in the below program, pulsing happens only until...
Saturday, 5 May 2018 - 14:26
Flash memory size usage with const
I have some doubt about the program memory usage in three cases given below. In first case, const keyword is not used. In this case program memory size is not getting increased....
Sunday, 29 April 2018 - 17:28

Pages