tgy icon indicating copy to clipboard operation
tgy copied to clipboard

RED BRICK 50A with atmega 48

Open nikitz opened this issue 11 years ago • 4 comments

Hello to everyone,

HK has started to sell RBricks with Mega48 wich maybe is less expensive , but the only way to flash is to change the chip with Mega8. A little tricky job. That"s why I was wondering if it is possible to flash and this "new" Atmega48.

regards nikitz

nikitz avatar Apr 04 '14 15:04 nikitz

Hello!

Your firmeare does not fit for new HobbyKing RedBrick 50a BEC. It is based on mega48V.

Can you adopt your firmware for it?

Tehnical desription: === BOM === 1x ATmega48v 3x IR2102 12x P0603BD N-Channel MOSFET

=== Defenitions === H = IR2102 PIN 2 (!HIN) L = IR2102 PIN 3 (!LIN) S = from phase wire over 47k+(47k to fround)

=== RC transmitter PWM INPUT === PD2 over 4.7k

=== INTERRUPT === PD6 from a/b/c phase wire over 3x47k+(3x47k to ground)+3x47k

=== PHASE A === H - PD0 L - PD1 S - PC2

=== PHASE B === H - PD4 L - PD3 S - PC3

=== PHASE C === H - PD5 L - PD7 S - PC4 redprick_esc_50a-atmega48v

delfer avatar Jul 20 '14 11:07 delfer

=== INTERRUPT === PD6 from a/b/c phase wire over 3x47k+(3x47k to ground)+3x47k

It is not an 'interrupt', it is comparator common.

delfer avatar Jul 26 '14 11:07 delfer

I have ported firmware, but have a problem with watchdog reset when throttle > 0. Its starts, calebrate limits, pass hardware check, but make 'siren' when I try to throttle up. http://www.youtube.com/watch?v=nYeJDpF74J8&list=UU16DH0BnSvqKmZDr0sN6TLA

delfer avatar Jul 26 '14 15:07 delfer

Hi delfer, Did you ever get this working? If so can you post the .hex file so I can also use it?

Simon, is this something you have looked into i.e. the port to the new ATMEGA48?

Cheers Ross

roscoaus avatar Apr 15 '15 09:04 roscoaus