Installation Issues

Post here for queries regarding setup problems.

We recommend you try using the troubleshooting instructions here first if you have not already.

Please try to list as much about the problem as you can (OS distribution, versions, motor setup et cetera), the more we know the easier it is to help :)

Hi,
I downloaded all the files from tutorial and two files for python 3 and tried to run it however it gives me this error. I have the one without camera so I am not sure if I still need this "cv2" or not.
Could you please help me? Thank you in advance!
Joe

Images: 
piborg's picture

If you are not using a camera then you do not need the cv2 module. There is a fair amount of code in the script for getting camera images that will also need to be removed for it to work without that module though.

I have removed the camera related code from the script and attached it below :)

Hi~
The code you send me is working! Thank you very much! However when I try to connect to the web page from my phone(or other laptop), it shows "this site can't be reached". I had checked the ip address on my raspberrypi, and all my devices are using the same wifi, I even tried to close all my firewall, also tried using my phone hotspot, it still have no connection, do you know which part I did wrong, please help me ((crying
Thank you again!
Joe

Images: 
piborg's picture

My mistake, the script has the wrong port number :)

Towards the top of the script is a settings section:

# Settings for the web-page
webPort = 8000                          # Port number for the web-page, 80 is what web-pages normally use
displayRate = 10                        # Status requests per second, needed to keep the watchdog happy

Changing the value of webPort to 80 should get it working.

# Settings for the web-page
webPort = 80                            # Port number for the web-page, 80 is what web-pages normally use
displayRate = 10                        # Status requests per second, needed to keep the watchdog happy

Thank you sooo much!! I am so happy this is the first success in 2023:))))
Happy new year! Love you!!

Hi, I have recently bought a monsterborg, and after building it I went to test it with 10 AA batteries. I flip the small yellow switch on but there are no LED's lighting and no indication that it is receiving any power. I am not using rechargeable batteries like the guide recommended (it's all I had on hand). I have not yet connected a pi in the equation yet because there doesn't seem to be a reason if the thunderborg isn't getting powered. Any suggestions you have will help!

Thanks

piborg's picture

This is actually expected behaviour, without a Raspberry Pi attached the ThunderBorg does not turn on :)

Put simply the ThunderBorg needs both 5V (generated from the batteries) and 3V3 (generated by the Pi from the 5V) before the logic turns on and sets the LEDs. Without a Pi attached the 3V3 is never provided and the on board logic remains off, so it does not set a colour for the LEDs, causing them to also remain off.

Non-rechargable batteries should be fine to power things up. You may experience unexpected restarts when changing the motor output quickly though, if so either replace them with rechargables or gently change the motor output to stop it happening.

Pages

Subscribe to Comments for "Installation Issues"