Type in the full discussion title or a part of it.
Discussion Title Created date
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...
Fri. Jul 20, 2018 - 04:19 PM
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...
Tue. Jun 26, 2018 - 06:04 PM
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...
Thu. Jun 14, 2018 - 09:16 AM
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...
Sat. May 5, 2018 - 02:26 PM
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....
Sun. Apr 29, 2018 - 05:28 PM
Configuring EICR after sei() changes the behavior
I was working on external interrupt. The code below works fine and LED toggles at the rate of 3000 msec ON time and 500 msec OFF time. But if  EICRA|=((1<<ISC00)|(...
Sat. Apr 14, 2018 - 02:10 PM
Detecting I2C LCD address automatically
Based on part number of PCF8574 , there are two default addresses possible for PCF8574 based serial module such as 0x7E or 0x4E. So I thought of detecting the address...
Sat. Mar 3, 2018 - 04:04 PM
Sharing IO ports for Keypad and LCD Display
I have IO pin scarcity. Thinking of sharing IO ports PC0 to PC3 between JHD162A based LCD display data lines and Keypad in Atmega328P-AU. Attached is the schematic (Only outline...
Mon. Feb 26, 2018 - 08:45 AM
Generic read switch function based on Active High/Low configuration
Sorry, this could be a silly question in this forum. But not able to find easy method. I would like to configure my switch input type as either active high or active low. I need a...
Sun. Feb 18, 2018 - 11:36 AM
code size of single liner set/reset bits operation is more than the separate set/reset operations
In the two operations below, I observed that the code size of single line operation on setting and clearing bits on DDRB is more than the operation made in two lines. I could not...
Thu. Feb 15, 2018 - 06:21 AM
Structure parameter getting corrupted
I have around 21KB code running on Atmega328P (Ebay CH340 based Nano board) compiled using Atmel's avr8-gnu-toolchain. Today I noticed some strange problem. I have the below...
Tue. Jan 9, 2018 - 07:03 AM
What is the behavior if ISR is not written
Assume that the condition is satisfied for an interrupt to occur and interrupt is enabled along with I bit. What will happen if ISR is not written? Is the behavior is undefined or...
Thu. Dec 28, 2017 - 04:38 PM

Pages