Post Created date
Where To Find Hall Effect Sensor in old Electronics?
Try using a light-sensitive diode or light-sensitive resistor with an LED.   Paint a small cylinder section of the motor shaft black, then glue a small piece of aluminum...
Thursday, 30 April 2020 - 11:19
Program an old ATMega128 board
Take a brand new crisp $50 bill ( or 50 Euro note, or even a 50 pound note if you're stuck in the UK). Go to your local Public Welfare/ Social Services office first thing in the...
Wednesday, 29 April 2020 - 15:50
Can't get HD44780 powered LCD to work with ATMEGA1284P
The key to understanding the "magic of Arduino" is to look at/review/study the source code files used by the Arduino device libraries.  For the common 16x2 LCD display...
Wednesday, 29 April 2020 - 13:32
"too many arguments to function"
The function  colorsLed is not defined with a parameter, but it is called with the parameter "entrada".   Try this function that uses entrada as an index into the table...
Monday, 27 April 2020 - 21:06
How do i fetch data from UDRn on Mega2560?
Let Arduino's standard libraries handle all the low-level interfacing with the peripherals.  For example: void setup() { I2C_Init(); InitializeDisplay();...
Monday, 27 April 2020 - 04:30
Beginner Q: ATtiny13A LED driver query
Arduino is designed to allow you to avoid all the low-level details of an I/O port's operation. Use the Arduino pin value for RED_PIN (which is 2), instead of the digital value of...
Monday, 27 April 2020 - 04:07
pls help me Atmega32
First make a delay loop for the shortest interval that the output will be at one unchanging logic state.  In this case it is the interval where the frequency is 5000Hz and...
Sunday, 26 April 2020 - 22:42
Where to go from here?
I have been learning C programming by exploring the source code of Arduino system that is specific to AVRs.  I'm still floating in Mac'n'Cheeze, but peering out of the side...
Friday, 24 April 2020 - 12:56
I2C read: Master stops sending clock
To get data from the HDC1080 you write the Slave Address and pointer register.  Then do a re-start and read two data bytes (MSB and LSB).   Plus you have to wait 15...
Thursday, 23 April 2020 - 21:47
Problem with Timer of Atmega8 [asm]
dec rmp2 ;decrementa registro rmp2 brne delay_1ms_rip2 ;se non è a zero saltaChange the line :  brne  delay_1ms_rip2   to:   brne...
Thursday, 23 April 2020 - 19:12
Where to go from here?
I've always snikkered that the "embedded systems programmer" was a fancy name for a pimp (or ponce if in England).   Everyone in the business has more-or-less a similar...
Wednesday, 22 April 2020 - 23:23
Switching between ADC channels
You are clearing the Timer 0 Compare_A interrupt flag (OCF0A) instead of the Timer 0 Overflow flag (TOV0).
Tuesday, 21 April 2020 - 03:20