3 New Notifications

New Badge Earned
Get 1K upvotes on your post
Life choices of my cat
Earned 210

Drag Images here or Browse from your computer.

Trending Posts
Sorted by Newest First

two-channel dimmer

Good day to all. There will be many letters.

Decided to publish this record, BJ. To introduce in the machine while hands did not reach.

I have long wanted to collect a new setting with more advanced features and stability, but it is necessary to get into microcontrollers. In principle, it was not difficult, but understood immediately.

For a basis took the work of the famous Stepan Pavlovich CAMOKAT-BETEPAHASmooth ignition. The regulator is assembled on the microcontroller Attiny 13A .Had to change the form factor of the 1206 parts and Board layout. While minimalism we don't need, the main thing that it was convenient to solder :)

Podcherpnul a lot of information from the blog Alexander Anatolyevich GTRacing.
Was purchased by the programmer, assembled a special train and the "adapter" firmware for the Attiny13a. Adapter need that each time not to solder/unsolder to a controller. The scheme is borrowed from Basil himiks

two-channel dimmerAn AVR programmer USB ISP

two-channel dimmerAdapter

two-channel dimmeradapter

two-channel dimmerStructure Assembly

two-channel dimmerAttiny13 on the clothespin

Briefly the process:
1. Plug-in programmer install the driver.
2. Plug-in "design"
3. Run prog SinaProg. Section "Device" click "SEARCH". If you receive "OK", then everything is assembled correctly and the programmer sees the microcontroller.
4. Open the firmware and loaded it in the controller
5. Then sew the fuses. The main thing is not to confuse the sequence.

As he wrote to Stepan Pavlovich, downloading new fuses, you disable the pin RESET controller, so after flash the fuses, the programmer will stop seeing microcontroller. To restore it, but for this you need high voltage programmer or "Reanimator". Will write about it next time :)

Zapevaet stitched microcontroller in our charge.

two-channel dimmer

two-channel dimmer

Connect and enjoy working chip. :)

Description borrowed from Stepan Pavlovich:

Two separate independent channels.
For each channel three-band custom setting: delay time before the start of ignition of every channel, the speed of ignition of each channel and adjust the level of brightness day and night.

Adjust the brightness by one button, exactly the same as in previous versions: pressed held, changes the brightness, the next press — change brightness changes the direction.

You can configure virtually any desired algorithm for smooth ignition: first the arrow then the scale or Vice versa, the ignition fast slow ignition delay of each channel from nothing to twenty seconds, its memory day and night mode — analog circuits nervously Smoking in aside.

Video on tidy Chord yet, but soon add.

A huge thank you to Stepan Pavlovich CAMOKAT-BETEPAHA for providing the info and the firmware, Alexander Anatolievich, GTRacing and Basil himiks.

All good :)

214 Comments
Sort by:
M
MotorDan 31.07.19

goshka997

Nicico do not understand, but the 'like' poke! )

Gosh, it's dual channel smooth ignition in tidy. It to replace the one am using now. The new functionality more :)

s
suhoi34 31.07.19

That's for sure))

g
goshka997 31.07.19

Nicico do not understand, but the 'like' poke! )

M
MotorDan 31.07.19

Andrew, thank you. I just repeated the stamp, but made their changes. I think that with the new functionality will be better and at least more interesting :)
The plant will not open, but there are other projects :) the winter is going to be picked :)

T
T-Trick 31.07.19

YES, YOU BRAIN DANIEL! IT's all progress of all progress, going direct very interesting, really soon it will be necessary for you to open your own factory=)))

M
MotorDan 31.07.19

I'm glad your first experience with mikrokontrolleri was successful :) the work of Stepan Pavlovich inspired many! :)

c
cool-hacker 31.07.19

Great!
Also take the basis of this ignition. Connect all glow to it, can't get enough!

P
PWO 31.07.19

MotorDan

Try sorry, free time is absolutely none :(

Need a hobby to do in free time to earn money! )))

i
iskandar82 31.07.19

Time our everything;-)

M
MotorDan 31.07.19

Try sorry, free time is absolutely none :(

i
iskandar82 31.07.19

As always! at the height;-)

C
CAMOKAT-BETEPAHA 31.07.19

Everybody says so, and then they themselves become writers))

M
MotorDan 31.07.19

I agree, Andrew, but under the condition that the firmware is not necessary to write :)))

v
vampo 31.07.19

Nest! And those I just said, microcontrollers are not very difficult.

I
Invietus 31.07.19

Do not argue, he started ;)

M
MotorDan 31.07.19

Invietus

Well-lit, the first time I decided to repeat the same minimalist, not anymore. Stretched a few mm, better now:-) MK rule B-)

When harvested for the first time, minimalism is not needed, whatever works, but bring to mind always have time :)

h
himiks 31.07.19

congratulations on the beginning )
the main thing to start, then just will )

M
MotorDan 31.07.19

Basil, right, because the layout needs work. Lit, and after soldering I realized that you can more compact to make. The main thing that worked! :) first experience with microcontrollers :)

h
himiks 31.07.19

Yes...
this can be slightly reduced, with the same components (resistors 1206)

And the original Board Stepan, too, like, four 0805 resistors, well, under your components, because not always there are small trimming resistors and other detalyushki

I
Invietus 31.07.19

An even smaller version from Stepan? o_0
I repeated on the original size of the author, for me, it was tedious without a dryer, therefore, slightly increased the size by a few mm in each direction, it is smaller than Daniel's, but more original))

h
himiks 31.07.19

cost even less to make )

I
Invietus 31.07.19

Well-lit, the first time I decided to repeat the same minimalist, not anymore. Stretched a few mm, better now:-) MK rule B-)

M
MotorDan 31.07.19

Thank You, Basil. I did not order a "bundle" with awkow, and took the ones that were available.

h
himiks 31.07.19

Done )

the buttons are only seen with white plastmasski (China order), and red is not met...

M
MotorDan 31.07.19

Trying to evolve and improve :)

Z
ZIE 31.07.19

No words! The aerobatics!
I know this guy!;))

F
Franchezzo 31.07.19

;))

M
MotorDan 31.07.19

correct :)

F
Franchezzo 31.07.19

Good idea.
Allow yourself a little grammar, that was beautiful you:
learned the letter D is not needed;
accordingly, the loop, and not the chlef;
well, "to", not what would.

D
Denis-Lida 31.07.19

For what? Doper, on a course I have no clue. This is for the instrument panel

v
vampo 31.07.19

With the field researcher as the author of the scheme a current of 1 ampere well maybe half. You need to measure how much your svetice eats, and for them to pick up other field workers.

M
MegggaWhat 31.07.19

Excellent, take note) And here's another question, what current device is? I have such colosing www.drive2.ru/l/7386381/, I want to fasten to it a smooth ignition. I've mastered only LOOT and soldered analog circuits with fieldwork and the capacitor, but I didn't like how they work... Want to begin learning MK)) that was an incentive)

v
vampo 31.07.19

This version is on minus

M
MegggaWhat 31.07.19

Great! Tell me and smooth ignition is working at the gap is + or — or care?

V
Vadikkk 31.07.19

Oh, a normal variant, if it is clear will explain how to put it, I will not refuse!)

M
MotorDan 31.07.19

Vadikkk

I feel not far off that day when my mascara for the second time to visit you go )) on outsizing )) and then have too many of these became my ))

Vadim, you bear the burden and the legislator Vadikkk style :)

Easier to send a new module, and to tidy himself will establish. It remains only on your test and write the manual :)

V
Vadikkk 31.07.19

You know, this is the place. Crazy. Dana definitely need a helper )

D
David-222 31.07.19

Yes )) I Think this time tune what is in our priborchik will become obsolete quite. will have to upgrade to do ))

V
Vadikkk 31.07.19

Seriously? 😅😆😃

D
David-222 31.07.19

in turn Vadim )) I am already on January 2017го recorded ))

V
Vadikkk 31.07.19

I feel not far off that day when my mascara for the second time to visit you go )) on outsizing )) and then have too many of these became my ))

k
kkonti 31.07.19

In bookmarks)))

M
MotorDan 31.07.19

no doubt! :)

i
izvarinigor 31.07.19

Motorhead Foreva!

M
MotorDan 31.07.19

This is a two-channel dimmer for the dashboard

A
Azamato89 31.07.19

I did not understand what it is?)))

M
MotorDan 31.07.19

From Stepan Pavlovich is a detailed connection diagram. You need to find the right contacts and solder.
Control minus!

M
MaximAndreevich 31.07.19

Cool, do this to make friends with the machine. I have all lighting on the likeness of printed circuit boards and all this in a huge plait of wires through the plume goes.

D
David-222 31.07.19

And I today since morning have scratched the whole torpedo and panel... contact ska lost to the speakers. already knew where. conductive to treat will. I've got a million wires vasche kapets. Lech probably need to call so I threw all not needed... well I have there's navigate aerial units and other equipment not needed japoniska loose.

M
MotorDan 31.07.19

welcome! :)

D
David-222 31.07.19

As palinese depend on demonstration ))

M
MotorDan 31.07.19

But something :)
Yet, no time :(

D
David-222 31.07.19

Dan hammer!
Bojana yourself not to drink more?

M
MotorDan 31.07.19

All have Stepan Pavlovich

d
dimondl333 31.07.19

Ehh the fuses, the fuses, indulged in his time with ATmega. Not bad firmware (not only compiled) and model boards to could each customize yourself.

Z
Zaq24 31.07.19

In the Hyundai Solaris will help to implement?

O
One-Moscow 31.07.19

well kapets...)

s
somebody 31.07.19

I was worn out the other day with the same adapter. Pierced too тини13. Is not an infection though you burst, it gives constantly error. Programmer USBASP, work. The connection rang a hundred times and convinced it is correct, but still error. While Tinka was stuck a soldering iron from both sides, as well as in programming firmly pressed to the Board.
So in the end, prochilus, the problem was just in a bad compression to a track adapter.

r
romanjeeee 31.07.19

Hi, can you tell me recorded in the flash hex file, fuses put ff where C was Pressed and put bodlevel1 bottom stdisble in sinaprog 2.1 seems to have recorded all, stopped to see MK in the scheme soldered doesn't work, maybe something wrong done?