#atmega8

2024-11-30

Модернизация аналогового прессостата для экспериментальных целей

Под аналоговым прессостатом в данной статье будет пониматься индуктивный датчик давления. В частности, будет рассматриваться датчик DN-S14. У него множество популярных аналогов, они применяются в стиральных машинках в качестве датчика уровня воды в баке. Модернизация заключается в реализации электронной схемы, которая переносит диапазон выходной частоты датчика в область частот звукового диапазона.

habr.com/ru/articles/862690/

#прессостат #датчик_давления #посудомоечная_машина #стиральная_машина #atmega8 #adobe_audition #цос #dsp

2024-10-31

Цифровые часы для дома на светодиодной ленте

Про конструкцию больших часов на светодиодной ленте я уже писал в одной из своих прошлых статей . Эти часы, размером 320 на 100 см, адаптированы к установке на открытом воздухе на улице. Тогда же, 7 лет назад, сразу же после изготовления этих часов я приступил к реализации другой похожей конструкции, размером меньше, для комнаты. Данная статья, можно сказать, является дополнением той вышеупомянутой статьи. Все основные подробности изложены именно там. А здесь я расскажу про особенности, касающиеся второй менее габаритной конструкции.

habr.com/ru/articles/854906/

#diyпроекты #atmega8 #ds1307 #74hc595 #светодиодная_лента #часы

Alexis KrierAlexis_Krier
2024-10-30

Building a radio for my bathroom.
Atmega8 and rda5807

Here is the real chip soldered

rda5807 soldered
2024-09-21

Как я управлял трансивером и выходил в эфир через кнопочный телефон

Сегодня, пересматривая свои старые документы, вспомнил одну интересную вещь, связанную с любительской радиосвязью, и решил на скорую руку написать об этом статью. Речь пойдёт об удалённой работе в радиоэфире, но не через Интернет, как сразу многие бы подумали, а через обычную мобильную связь.

habr.com/ru/articles/845092/

#sdr #dtmf #atmega8

2024-09-18

Разработка больших цифровых часов на светодиодной ленте

Когда-то давно в детстве, когда я ещё только начинал заниматься электроникой, у меня была мечта изготовить огромные часы на семисегментных индикаторах. Для их изготовления я рассматривал люминесцентные лампы дневного света. По прошествии многих лет в обиход вошли светодиодные ленты. Именно они и послужили стимулом воплотить свою старую задумку в реальность. Имея возможность и опыт программирования микроконтроллеров, я решил, конечно же, самостоятельно изготовить электронную плату для часов со своими функциональными возможностями. В данной статье я не буду подробно описывать принципиальную схему и прошивку МК. Напишу лишь краткий обзор и историю разработки своей конструкции.

habr.com/ru/articles/844440/

#atmega8 #atmega32 #часы #светодиодная_лента #pwm #шим #tcp/ip #rs232 #ds3231 #bmp280

2019-11-26

I broke one pin of the #atmega8 during experiments (not bending/unbending experiments, mind you🤣 ).
The ``restored'' pin works fine, I'm happy.

Checking the operation of the pin. muForth session.AtMega8 with broken B0 pin
2019-11-24

So, I need to write down the firmware. It would be nice to remember what and where to connect🤣
#diy #atmega8

2019-07-28

I want to keep the possibility of reprogramming #AtMega8 directly on the board (just in case), but in order not to install additional connectors, I can use the existing ones, but there will be serial resistors on the SPI lines. Do you think 330 ohm is too much for 115200?

#avr #diy

2019-07-26

You have a keen eye🙂 I am very leisurely doing the thing that will take signals from the PS/2 keyboard and pretend to be a matrix of 10x17 dumb switches. One ancient teletype device will poll this pseudomatrix.
Nothing fancy, only #AtMega8, 565 shift register and a pair of 847 optocouplers.

2019-06-19

When the number of keys processed has exceeded about a hundred, I can no longer allow regression. So I will make a large file to automatically check the transcoding.
This is actually easy: this is the nature of the #Fort - you can always slip test parameters onto the stack😜
#Atmega8

The beginning of the test file for the PS/2 keyboard recoder.
2019-06-05

PS / 2 keyboard + Atmega8 + #muforth. After pressing and releasing the ``a'' key, I registered 33 bits transmitted by the keyboard: 11 for press, 22 for release. I'm happy🤣
I do not cease to rejoice and marvel at how easy it is to interactively debug and fix the program right in the microcontroller using #muforth.😉

#dyi #Atmega8 #Forth

PS / 2 keyboard + Atmega8muforth screenshot
2019-06-01

For a while I set aside #esp8266 aside. There is a need for pieces that will transform a smart PS/2 keyboard into a dull switchboard. And again I return to my beloved #AtMega8. First, however, I have to take a PS/2 sockets from the boring motherboard😄

Two #AtMega8 and big motherboard
2019-04-22

Yes! Simplest multitasking on #AtMega8 works. 🤣
``This is one event where televison really fails to capture the excitement of thousands of people gathered to watch a large squirrel predict the weather''

Screenshot of the desktop (DragonFlyBSD) with three terminals, the contents of which unfortunately only make sense to me :)
2019-04-10

Trying to figure out the timer #AtMega8 again got into thinking in terms of ``data == code'': it didn’t even occur to me that changing the interrupt vector on the fly is not so easy. A lot can be said about the Harvard architecture, and it must be said because it cannot be printed.

2019-04-08

Them: Why are you using a #AtMega8 in this decade?

Me: I don't think we can be friends.

😀

2019-04-08

Added a 200 millisecond delay after executing the page write command. This helped --- the temporary page buffer stopped spoiling. I don’t like this solution at all, and if the modern chips behave in the same way, then I'll return in search of a mistake, but so far they are not at hand.
#AtMega8

2019-04-08

Partial success. In brief: in the reference example of the program for writing to flash (p. 212 of the #AtMega8 datasheet) there is a line: ``sbci ZH, high(PAGESIZEB) ; not required for PAGESIZEB<=256'' That's a bullshit🤨
This instruction is needed regardless of page size. How scary to live if you can not believe the datasheets.

A terminal window with good flash dumpPage of #AtMega8 datasheetBad line from #AtMega8 datasheet
2019-04-07

What is simpler than to write from ram to flash? And still I managed to screw up things somehow: First 9 bytes in the beginning of some pages are copy of these bytes of the very first page. Size of page is 0x40, flash is written one page per time, *not* byte per time, so how it is possible to corrupt only 9 first bytes? I'm genius.🤣
#avr #AtMega8

Terminal window with some dumps

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst