Jump to content

FRANK333

Members
  • Posts

    65
  • Joined

  • Last visited

Everything posted by FRANK333

  1. Hi, umiddelb, I tried to clean up the nor spi and recharge an old U-boat but I didn't notice any difference. I noticed a strange thing U-boot when it starts and finds the USB disk looks for a file boot.env not finding it continues finding boot.cmd processes it with error and restarts (this probably because boot.cmd is the one written on the sd card. Even if I recompiled and modified it) . The matter becomes more and more complicated ...
  2. SPI -> SATA/USB boot is just what I'm trying to do. You can tell me (if it's not too complicated) how to do it or where to read a recent tutorial. Below is all I could do.
  3. Hello igor, I tried to modify ArmbianEnv.txt adding setenv rootdev "/dev/sda1 "to boot from hdd without SD , recompiled boot.cmd but it does not work yet. I ask you you can boot completely from hdd (if you like) or I have to settle for boot on sd? P.S. I opened a dedicated post for the problem https://forum.armbian.com/topic/11514-opzero-boot-from-external-usb20-drive-hdd-without-any-sd/
  4. Hello, lanefu. if I understand correctly boot.cmd is generated based on armbianEnv.txt ; but how do you make it generate? I ask you this because I'm trying to start armbian from hhd usb without using the SD
  5. I used armbian-config (https://docs.armbian.com/User-Guide_Getting-Started/#how-to-install-to-emmc-nand-sata-usb) option no. 3 I have the impression that without the sd the boot files that are on the HDD are read but that later on they are discarded because they are not appropriate. The problem is how to edit them correctly (I tried to edit the cmd with /dev/sda1 and recompile, but it does not work) Below in the spoiler there is the boot log when I delete the SD
  6. hello guidol, I'd already read your post (and Martinayotte's) and tried your solutions. I can only start with the sd connected, if I take it off it crashes and goes into a loop as you see in the spoiler above.
  7. I have an orangepizero (https://www.armbian.com/wp-content/uploads/2018/02/orangepizero.png) I installed Armbian_5.90_Orangepizero_Ubuntu_bionic_next_4.19.57.7z on 32GB sd. The pi0 is powered via pin with a 5V/5A power supply, norflash mx25l1606e. The HDD is a new working 80gb maxtor powered by an external USB 2.0 box. I have also connected the serial and read the boot information. I used armbian-config and transferred armbian to HDD and it works, but I have to keep the miniSD plugged in. I ask you can boot from HDD and not use any SD? PS I read almost all posts here on the forum and tried the old procedures but it does not work.
  8. I tried to add at the end of the script, these 4 lines : def signal_term_handler(signal, frame): print 'got SIGTERM' sys.exit(0) signal.signal(signal.SIGTERM, signal_term_handler) but the relays maintain the status, even after the kill command.
  9. ok I corrected and added the lines to make the script a daemon, I noticed however that if I kill the script (kill 1234) or if I block the OPI0 the relays card remains in the last state in which it is, how could you do to reset it to off?
  10. Okay Martin I solved was just a tabulation problem as I could tell from your example. Now the rudimentary thermostat works, I would like to make sure that it remains in operation as a daemon, insert different temperatures at different times of the day, and finally make a decent GUI. But the road is uphill....
  11. here is the error it returns, it seems that I can't find the variable maxTemp, and yet I defined it with maxTemp = 22 root@orangepizero:~# python test.py File "test.py", line 32 if temperature > maxTemp: ^ IndentationError: unindent does not match any outer indentation level root@orangepizero:~# python -m tabnanny test.py 'test.py': Indentation Error: unindent does not match any outer indentation level (<tokenize>, line 32) root@orangepizero:~#
  12. Martin, I installed the library and your test works. When I try to insert an if else line, the script doesn't work. What's wrong? I don't know anything about Python ,I'm sorry.
  13. I'm looking for a software that through a web page (or an android app) makes the Opi 0 work as a thermostat or at least a software sketch. As for the test program I'll try, but that library is for A20 I have an H2 will work ?
  14. All right, now I do a clean installation and I start again, then I let you know. but I had decommented a few lines but the software did not start.Do you have any simple project to start from?
  15. hello martin , let me explain myself better , using this tutorial ( thank you the author ) http://davetsao.com/blog/2015-07-11-raspberry-pi-thermostat.html there is this command import RPi.GPIO as GPIO , which I replaced with OPi.GPIO (of course I loaded the libraries Opi) it seems that the commands setmode setup mode are not recognized
  16. I'm going to use an orange Pi zero to make a thermostat adjustable via lan; do you know how to point me to some easy to apply project? I tried several projects, with ds1820b sensors and relais card for raspberry, but I have problems for example with the libraries RPi.GPIO because they do not match those OPi.GPIO. I can currently turn the relays on and off with an android app or via terminal command.
  17. thanks guidol, now I'm almost sure that it depends on some software problem. One odd thing is that I can not reactivate armbianmonitor -u .
  18. after the automatic update to: Linux 4.19.20-sunxi64 aarch64 #5.75 SMP I have these problems: armbianmonitor -u no longer creates the link. the cpu temperature corresponds to that of the external sensor the /etc/default/cpufrequtils file has changed and the cpu frequency has decreased to 120 mhz Is there anyone who has the pizeroplus (h5) and who can check if it has similar values?
  19. mantouboji, you can give this command: cat /sys/kernel/debug/pinctrl/1c20800.pinctrl/pinmux-pins, and cat /sys/kernel/debug/pinctrl/pinctrl-maps you should have the sensor connected to pin 37 and the PA20 in your armbianEnv.txt: instead there seems to be PA10. can you put a photo of your sensor and how it is connected? ps: the dupont connector in the photo at pin 37 does not appear to be securely attached
  20. someone, can report here the temperatures it detects from its orange pi and what kind of cooling it has (heatsink, fan, etc.). I still do not understand the problem of rpimonitor and armbianmonitor (I would like to understand what is the correct temperature of the CPU) root@server:~# cat /sys/class/thermal/thermal_zone0/temp 29750 root@server:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp 28798 root@server:~# cat /etc/armbianmonitor/datasources/soctemp 15937
  21. I also had problems working, I reloaded armbian with the new kernel, connected sensor and resistance (checking that the circuit is correct) and works continuously for months. Read my previous posts and connect everything as I did I must work! (from what you posted seems just the sensor that is mounted badly) I'm sorry if I insist.
  22. hi lukaszertel, To create the sensor graph you have to decomment include=/etc/rpimonitor/template/dht11.conf in the file /etc/rpimonitor/data.conf Then go with nano /etc/rpimonitor/template/dht11.conf and modify the temperature sensor code you can comment on the humidity parameters to not see them anymore. Below here, there is the modified dh11 file for your external sensor
  23. so the values I read here might be right: could be a bug in the rpimonitor program? now really, I do not know what temperature is the right temperature for the cpu, even knowing that the outside temperature is about 10 degrees.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines