mantouboji

Members
  • Content Count

    52
  • Joined

  • Last visited

About mantouboji

  • Rank
    Advanced Member

Recent Profile Visitors

1196 profile views
  1. After some hack, I use the SPI port on OPi One to connect with a MAX6675 board. The SPI port on One is SPI0, so armbianEnv.txt should include these: overlays=spi-spidev param_spidev_spi_bus=0 param_spidev_spi_cs=0 the MAX6675 connects to OPi One as: MAX6675 One GPIO ------------------------------------------ VCC PIN17 GND PIN20 SCK PIN23 CS PIN24 SO
  2. I use PA20, PIN37. overlays=w1-gpio usbhost0 param_w1_pin=PA20
  3. Now I use another OrangePi One board to do some testing. It runs an old version of Armbian ___ ____ _ ___ / _ \ _ __ __ _ _ __ __ _ ___ | _ \(_) / _ \ _ __ ___ | | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | | | | '_ \ / _ \ | |_| | | | (_| | | | | (_| | __/ | __/| | | |_| | | | | __/ \___/|_| \__,_|_| |_|\__, |\___| |_| |_| \___/|_| |_|\___| |___/ Welcome to ARMBIAN 5.65 user-built Ubuntu 18.04.1 LTS 4.14.81-sunxi System load: 0.86 0.21 0.07 Up time: 0 min Memory usage: 12 % of 493MB IP:
  4. I replace the ds18b20 detector head with a new one , and all works well . Thanks all.
  5. I chang to use PIN 4 to get 5V and PIN6 to get GND, it works. Thx . But only works for a short time, now : yaofei@opione2:~$ journalctl -fn | grep w1 3月 06 11:16:48 opione2 hass[808]: 2019-03-06 11:16:48 ERROR (SyncWorker_1) [homeassistant.components.sensor.onewire] No onewire sensor found. Check if dtoverlay=w1-gpio is in your /boot/config.txt. Check the mount_dir parameter if it's defined 3月 06 11:17:34 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c 3月 06 11:17:34 opione2 kernel: w1_master_driver w1_bus_master1:
  6. My OrangePi One and wires. Is it PA20 ?
  7. Yeah, It can't works at all. [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920 [ 2.876113] [TTM] Zone kernel: Available graphics memory: 252532 kiB [ 6.055402] random: fast init done [ 6.761472] systemd[1]: Set hostname to <opione2>. [ 8.603638] gpio-20 (onewire@0): enforced open drain please flag it properly in DT/ACPI DSDT/board file [ 8.825062] thermal the
  8. I use the same hardware configuration for a long time , running very well under kernel 3.x
  9. see: yaofei@opione2:~$ cat /etc/default/cpufrequtils # WARNING: this file will be replaced on board support package (linux-root-...) upgrade ENABLE=true MIN_SPEED=408000 MAX_SPEED=1200000 GOVERNOR=ondemand
  10. DS18B20 can't work for a long time <code> yaofei@opione2:~$ dmesg | grep w1 [ 8.227238] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 reached, will continue next search. [ 55.575200] w1_master_driver w1_bus_master1: Attaching one wire slave 00.800000000000 crc 8c [ 55.579572] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c is not registered. [ 114.185133] w1_master_driver w1_bus_master1: Attaching one wire slave 00.400000000000 crc 46 [ 114.189866] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46 is no
  11. yaofei@opione2:~$ uname -a Linux opione2 4.19.13-sunxi #5.70 SMP Sat Jan 12 15:43:21 CET 2019 armv7l armv7l armv7l GNU/Linux yaofei@opione2:~$ ls /sys/bus/w1/devices/ 00-2c00a1004810 00-cc00a1004810 w1_bus_master1
  12. whether commented or not, no any difference. I use a 5.1K pullup external. Welcome to ARMBIAN 5.61 user-built Ubuntu 18.04.1 LTS 4.14.72-sunxi
  13. I used its config for a long time. It works very well in 16.04 . overlays=pps-gpio uart1 usbhost0 w1-gpio param_w1_pin=PA10 #param_w1_pin_int_pullup=1 param_pps_pin=PA7 now: 11月 17 20:35:03 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 80.d2c000430010 crc fb 11月 17 20:35:03 opione2 kernel: w1_master_driver w1_bus_master1: Family 80 for 80.d2c000430010.fb is not registered. 11月 17 20:35:18 opione2 kernel: w1_master_driver w1_bus_master1: Attaching one wire slave 80.32c000430010 crc 12 11月 17 20:35:18 opione2 kernel: w1_master_driver w1
  14. After upgrade to Ubuntu 18.04,I can’t read my two DS18B20 devices for weeks. I use OrangePi One.