• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register

ATTiny45 Output Phase Randomly Inverted
Using latest pilight v7 + pilight_firmware + ATTiny45 + protocol rc101 with 'standard' configuration on Raspberry Pi B

The ATTiny output signal phase (measured at connection point to Pi heade pin# 12) is randomly inverted compared with output signal from ATTiny input (connected to receiver data out).

This seems to result in slower and less reliable reception (depending on protocol).

Please images below. The lower, blue trace (1.01khz) is measured at receiver output. The upper trace is measured at ATTiny output (Pi header pin# 12)

In case this provides a clue (maybe local RFI), there is also a hight pulse that re-appears on ATTiny output at random intervals - at 14.4 khz

Any hints on possible changes to code/timing that I could investigate for possible fix?

Example images when sending the same rc101 code:

Fig 1 - Phase OK:
[Image: attiny-phase-ok-output.jpg]

Fig 2 - Phase Inverted:
[Image: attiny-inverted-output.jpg]

The occurrence of OK versus inverted phase seems random.
This doesn't matter much because pilight uses both RISING and FALLING interrupts.
Thanks for reply - The explanation makes sense but from simple observation, it looked like received rc101 codes were always ignored whenever the ATtiny output phase was inverted. I will investigate in more detail tomorrow and look for some more evidence - either positive or negative.
Looking forward to it!
As you expected, tests showed inverted phase makes no difference. I was wrong Smile

Possibly Related Threads...
Thread Author Replies Views Last Post
  Voltage-Level Data-Output RXB6 heural 7 4,945 10-01-2019, 06:17 PM
Last Post: DrewRu
  ATTiny45 flashing problems markus 1 2,360 05-09-2016, 02:29 PM
Last Post: markus
  [Question]about attiny45 ebay temp 4 3,474 06-16-2015, 05:32 AM
Last Post: troccolo
  Flash new Attiny45 gets stuck on make all: No rule to make target dutchandre 8 6,481 03-07-2015, 12:27 PM
Last Post: dutchandre

Forum Jump:

Browsing: 1 Guest(s)