#avr | Logs for 2016-02-26

Back
[01:56:38] <Jartza> Shavik: the second cable from the left works as 6-pin isp cable
[01:57:20] <Jartza> just connect it to "AVR" plug of atmel ice
[01:57:41] <Shavik> Oh don't worry. everyone in the other channel has converted me to ST Arm now
[01:57:43] <Shavik> lmao
[02:01:08] <Jartza> there's still place for AVR :)
[03:28:12] <phinxy> I have a hall sensor tachometer there are some interference issues, i get false triggers when stuff on the +12v rail happens, like when i turn a solenoid on i get a false trigger. and when i turn a HID ballast bulb on i get false trigger and sometimes the MCU reboots/freezes.
[03:28:45] <phinxy> the +12v rail is separated from the MCU trough a voltage regulator and a diode for "back-current"
[03:29:08] <phinxy> plus a big cap so the MCU can run without battery connected for a couple seconds
[03:32:37] <phinxy> could "bouncing" happen even if you have a capacitor? maybe i need a quicker capacitor?
[03:36:41] <LeoNerd> Add an inductor?
[03:37:13] <phinxy> Does that work like a very quick capacitor?
[03:37:32] <phinxy> or does it make a magnetic field that repels bad magnetic forces? =)
[03:37:49] <phinxy> i suck at electronics
[03:44:14] <phinxy> im not doing any analog measurements, the hall sensor is digital.. maybe it still helps
[04:15:16] <phinxy> Atmel studio 7 update hype
[04:46:22] <NarwhalX> phinxy: Inductor could work to lessen the current ripple, but I don't know if that is causing your problems
[04:51:01] <cehteh> morning
[04:51:37] <cehteh> phinxy: hall sensor is analog internally as well, only its bus is digital
[04:52:11] <cehteh> and when you want good measurements you add a linear own vreg only for sensors
[08:56:09] <phinxy> my tachometer Kilometres per hour fluctuated +-10 at speeds over 20. I decided to average it out to 4 triggers / 4 and its now amazingly good
[09:38:54] <LeoNerd> So I might rethink my opinion on the Pololu AVR programmer, now I discover it doesn't power the target device