UNIHIKER Spirit Level Demo

userHead Matha.Goram 2025-06-01 23:15:17 452 Views7 Replies

Trying to run some demo programs on UNIHIKER M10. Some Python scripts work, some don't. In particular, the “Spirit Level” demo script displays the following message:

 

     This feature is only available for unihiker!!!

 

What is the rational interpretation of this message when it is displayed on the screen of the UNIHIKER M10?

 

Why isn't the script detecting my board as a legitimate unihiker? Do I need to install or upgrade anything on my board for it to be recognized as an unihiker board?

 

Thanks for any guidance.

 

Regards.

2025-06-03 11:30:34

This error typically indicates that the pinpong library incorrectly identified the Unihiker. You can try running the command shown in the screenshot to check the output:

 

userHeadPic LL
LL wrote:

It's possible that you modified the system's hostname.   
To check, run the command hostname in the terminal—the output should be unihiker. If not, please reset it to the default value (unihiker).  

2025-06-03 11:45:38
Igor.Polupan wrote:

It didn't help, but the behavior changed.

 

root@unihiker:~# python
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pinpong.board import Board, Pin
>>> Board().begin()
Please wait for pinpong to load !!!
Please wait for pinpong to load !!!
Please wait for pinpong to load !!! 

#  And so on endlessly

2025-06-22 06:43:55
Igor.Polupan wrote:

Downloaded and installed OS Image V0.4.0 for Unihiker.
Everything worked. 
But if I change the Hostname, I get the same errors again. It's very inconvenient(((

 

root@unihiker:~# python
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pinpong.board import Board, Pin
>>> from pinpong.extension.unihiker import *
pinpong has been loaded !!!
pinpong new version match
other moudle init success
>>> Board().begin()
pinpong has been loaded !!!
pinpong new version match

 ___________________________
|                           |
|      PinPong v0.6.1       |
|    Designed by DFRobot    |
|___________________________|

<pinpong.board.Board object at 0x7f86e12ba8>

root@unihiker:~# cat /proc/version
Linux version 4.4.143-67-rockchip-g01bbbc5d1312 (fary@unihiker) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #376 SMP PREEMPT Thu Feb 23 17:38:05 CST 2023

2025-06-24 05:55:34
Igor.Polupan wrote:

On the Unuhiker miniPC, which I ordered a year ago with OS Image V0.3.6 The PinPong library is working.
If you download and install OS Image V0.3.6 for Unihiker, which I received last week, Pingpong does not work.

2025-06-24 06:29:20
4 Replies
2025-06-03 11:15:41

Could you provide screenshots of the error messages? 

userHeadPic LL
Igor.Polupan wrote:

I have the same problem.

 

screenshots terminal:

root@unihiker-1-1:~# python
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pinpong.board import Board, Pin
>>> Board().begin()
Please connect the development board !!!
Please connect the development board !!!
Please connect the development board !!!

root@unihiker-1-1:~# python
Python 3.7.3 (default, Jan 22 2021, 20:04:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pinpong.extension.unihiker import *
This feature is only available for unihiker!!!

2025-06-22 06:33:09
1 Replies