Jump to content

mchelik

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by mchelik

  1. Still the same but when I connect CLK to TWI0_SDA i2cdetect prints 1 byte per second; thus i2cdetect takes almost 77 seconds to finish. But doesn't matter how I connect the wires, I get all bytes as "--". I think this is the end. Thank you for your help.
  2. Still nothing unfortunately. It's the same even without connecting the power (it has the battery). i2cdetect -l shows this: i2c-1 i2c DesignWare HDMI I2C adapter i2c-0 i2c mv64xxx_i2c adapter I2C adapter I don't connect RST/CE pin of DS1302 to OrangePi; though I don't know which port should I connect to. Can be because of it ? Thank you
  3. Hello Martin, I did as you suggested and still I get nothing unfortunately. I checked the DS1302 with Arduino Mega and the clock actually works fine. Isn't there any more configuration to make armbian use RTC? I found this command that some people suggest but my RTC is not DS3231. echo ds3231 0x68 > /sys/class/i2c-adapter/i2c-0/new_device Or I read on some forums that people add I2C overlay as "i2c0,ds1307". Should I do as such? Thank you for your reply, Regards
  4. I try to use DS1302 RT Clock for my Orange Pi One that uses armbian. I connected this way: DS3102 VCC -> OrangePi pin 2 ( 5V ) DS3102 GND -> OrangePi pin 9 ( GND ) DS3102 CLK -> OrangePi pin 3 ( TWI0_SDA ) DS3102 DAT -> OrangePi pin 5 ( TWI0_SCK ) I added i2c0 to overlays of /boot/armbianEnv.txt and rebooted. Now when I run "sudo i2cdetect -y 0", I get nothing: 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- Do you have any idea what should I do to make this work? Any help is appreciated. Thank you
  5. Thank you so much dear Martin for your reply. Turns out I have to connect Orange Pi's ground to Aruino's ground and now it works. Your comment made me solve it. Thanks. Hope this comment can help someone in the future. Best regards
  6. Hello, I want to read data from UART3 on OrangePi One. I want to use UART3 (pin 8 & 10), so I enabled uart3 overlay at /boot/armbianEnv.txt. Now I expect to read data via minicom -b 115200 -D /dev/ttyS3 but I read nothing unfortunately. What am I missing? Any help is appreciated. I'm using Linux orangepione 4.19.38-sunxi (sorry, armbianmonitor doesn't generate link) Thank you, Regards
  7. Hello, I want to read data from UART3 on OrangePi One. I want to use UART3 (pin 8 & 10), so I enabled uart3 overlay at /boot/armbianEnv.txt. Now I expect to read data via minicom -b 115200 -D /dev/ttyS3 but I read nothing unfortunately. What am I missing? Any help is appreciated. I'm using Linux orangepione 4.19.38-sunxi (sorry, armbianmonitor doesn't generate link) Thank you, Regards
  8. Never mind, I used WiringOP instead and it works fine
  9. Hello, I'm trying to read temperature from DHT22 on armbian using OrangePi's WiringPi library. The moment I call digitalWrite the whole system freezes. Previously I had raspbian and it used to work just fine. Am I missing something? Should I do some configuration maybe? Any help is appreciated. Thank you
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines