Post Created date
Measure square wave signal as high/low
Just use a 6k8Ω~10kΩ resistor from your external voltage to an AVR regular input pin, another 6k8Ω~10kΩ from that pin to ground, or just a 1N4148 diode from that pin to the VCC...
Wednesday, 11 December 2019 - 22:56
copy hex code
hasanzadeh99 wrote: Dear all, Is it possible to copy hex code on the atmega micro? (also fuse bits are lock) How is Xmega? is it any way to solve this problem? (I am building a...
Wednesday, 11 December 2019 - 22:33
How to recieve 18-bit serial data
Or, use the SPI hardware to bring 2 bytes (16 bits) and do two extra clocks by software. Also, reading the datasheet of this chip, the last 3 bits (#16, 17, 18) are MagInc/MagDec/...
Wednesday, 11 December 2019 - 22:15
A Nice AvrDude GUI
Well, 9 years later, error 404 on The files I posted for download in my website are there for more than 19 years.
Wednesday, 6 November 2019 - 15:58
blink LED on 4809
You can simulate an "open collector output" with an AVR by setting the output bit low, and controlling the DIR function of the pin. When the DIR = input, the pin is at high...
Tuesday, 17 September 2019 - 21:33
DMOSFET for High Side drive
Chuck, how many pins from the AtMega1284 can you use to control this 8 Channels High Side Inverted DAC from 1 to 12V at 30mA max?   The fact that you will use no more than...
Wednesday, 21 August 2019 - 22:40
Tapping into common ground rotatory encoder pins
Interesting the fact that on the link above for the discussion about the KY040, one user commented that it works exactly as I commented, while in detent both channels are up......
Wednesday, 14 August 2019 - 22:48
Assembly Language
OutThere wrote: Thanks for all of your replies i found MIDE-51  which seems to be about the last IDE that will run in windows for the 8052 and derivatives. just about all...
Tuesday, 13 August 2019 - 19:43
Tapping into common ground rotatory encoder pins
The actual rotary encoder switches, works different from motor shaft encoders.  The switches only operates (closes the contact for a brief angle of rotation) while moving...
Tuesday, 13 August 2019 - 18:27
Attiny44 issue with muliplexing digits on a 7-segment display
A friend that is not very versed in AVR assembly made some mistakes with [sei][cli] in the code. I asked him why he thought it would be necessary. Of couse his answer was about to...
Tuesday, 13 August 2019 - 17:54
Attiny44 issue with muliplexing digits on a 7-segment display
You could, of course, include all the multiplex on your 1ms interrupt. See, a simple variable counter 8 bits, could count 1ms interrups indefinetely, you could use the bit 3 of...
Monday, 12 August 2019 - 22:53
AVRDude and USBasp
I know this may seems extreme, but sometimes the USBASP is not wired to supply +5V power fo the AVR... I see you don't have any external 5V to that protoboard on the first picture...
Tuesday, 4 June 2019 - 22:56