Go to advanced search

by obcd
Mon Oct 16, 2017 3:31 pm
Forum: Advanced users
Topic: pi serial console
Replies: 3
Views: 270

Re: pi serial console

I had tried it, but it's the same. The login prompt only appears when rc.local has finished it's script. I have logo.nologo consoleblank=0 loglevel=1 quiet in /boot/cmdline.txt to show a splash screen at bootup. I tested without those as well and don't think it makes a difference. (Will test again t...
by obcd
Mon Oct 16, 2017 1:55 pm
Forum: Advanced users
Topic: pi serial console
Replies: 3
Views: 270

pi serial console

I enabled the serial console on a pi3 by adding to /boot/config.txt enable_uart=1 dtoverlay=pi3-disable-bt further, in /boot/cmdline.txt I modified console=serial0,115200 to console=ttyAMA0,115200 This gives me a serial console on pin6 = GND pin8 = TXD pin10 = RXD The login prompt only appears when ...
by obcd
Mon Oct 16, 2017 1:34 pm
Forum: Advanced users
Topic: RPi 3 as Windows 10 HID?
Replies: 4
Views: 396

Re: RPi 3 as Windows 10 HID?

Using an arduino is indeed a good approach as you need an usb client device. If you use something like a leonardo, it can appear to the host as hid keyboard, mouse or gamepad. It can also appear as serial device. Some chinese clones are even cheaper than a ftdi serial cable. Just be carefull with th...
by obcd
Mon Oct 09, 2017 3:49 pm
Forum: Troubleshooting
Topic: Is it common for RPi images to slowly fail?
Replies: 9
Views: 387

Re: Is it common for RPi images to slowly fail?

SD cards are more frequently corrupting their contents than ordinary hard drives. They have an internal processor running background tasks like erasing unused flash pages for reuse. When there is a power fail, this can corrupt the contents of the sd card. There are basically 2 methods to avoid this....
by obcd
Wed Oct 04, 2017 3:50 pm
Forum: Troubleshooting
Topic: hello_video.bin
Replies: 6
Views: 289

Re: hello_video.bin

Yes, it helps.

It was indeed a misunderstanding of the numbers.
It was the first time I was seeing the free memory becoming so low due to the OS using it for file cache.
If my system remains stable, I am a happy camper again.

Thanks for the link.
by obcd
Wed Oct 04, 2017 1:50 pm
Forum: Troubleshooting
Topic: hello_video.bin
Replies: 6
Views: 289

Re: hello_video.bin

After reading that omxplayer doesn't like files that are converted to .H264 for hello_video.bin, I retried with the original mp4 file and the gpu memory settings to 128 MB. It's playing the file normally like that. I used ffmpeg to combine the 5 mp4 files that need to be played in a loop. (As stoppi...
by obcd
Wed Oct 04, 2017 7:38 am
Forum: Troubleshooting
Topic: Serial connection to Arduino
Replies: 1
Views: 107

Re: Serial connection to Arduino

So, you are connecting the raspberry gpio RXD TXD and GND to the arduino TXD, RXD and GND? First thing that crosses my mind is that most arduino's use 5V levels and the Raspberry Pi gpio lines are 3V3. You might run a test with the arduino TXD connected to it's own RXD. You know TXD is working, so t...
by obcd
Mon Oct 02, 2017 6:29 pm
Forum: Troubleshooting
Topic: hello_video.bin
Replies: 6
Views: 289

Re: hello_video.bin

I tried setting it to 256MB it doesn't make a difference. It's one specific piece of video with a scrolling banner. hello_video.bin plays it fine and the banner scrolls smoothly over the screen. On omxplayer, it doesn't scroll smoothly. I tried the -y -z and -r settings, but nothing seems to fix tha...
by obcd
Mon Oct 02, 2017 5:09 pm
Forum: Troubleshooting
Topic: hello_video.bin
Replies: 6
Views: 289

hello_video.bin

If I run hello_video.bin with a rather large .h264 file on a pi3, it seems to consume almost all available memory. Is this expected behavour? I would like to avoid that the system starts using a swap file. If I stop the program and run top, the memory does not come back. I might not have the most re...
by obcd
Sat May 09, 2015 11:28 am
Forum: Troubleshooting
Topic: GPS get wrong time and no satellites
Replies: 18
Views: 2398

Re: GPS get wrong time and no satellites

I think his GPS is having an usb connection as it seems to use the prolific chipset and is accessed using ttyUSBx.
by obcd
Sat Apr 11, 2015 12:38 pm
Forum: Troubleshooting
Topic: RPiB locks up when connecting to GPIO
Replies: 13
Views: 1284

Re: RPiB locks up when connecting to GPIO

Besides all the other remarks, it looks like the relais board has some opto couplers that drive the relais. I read in the spec's that the input's are active low, so I assume a relais turns on when the input of the opto is pulled to GND. This probably means that the 2 VCC's you connect on the relais ...
by obcd
Sat Apr 11, 2015 12:17 pm
Forum: Troubleshooting
Topic: New USB hub not working
Replies: 16
Views: 770

Re: New USB hub not working

Does it work when the usb key is not connected to the Pi? (Maybe you need it for it's root fs?) Usb memory keys can be power hungry. The Pi usb can have problems when the supply voltage is below 4.85V. Some 7 port hubs are designed as a cascade of 2 four port hub chips. The second chip is connected ...
by obcd
Sat Apr 11, 2015 11:59 am
Forum: Troubleshooting
Topic: DS18B20 Temperature sensor and Relay activation
Replies: 16
Views: 1282

Re: DS18B20 Temperature sensor and Relay activation

Are you sure you have the correct sensors. Some of them are designed to be used as 2 wire devices and are powered trough their data line. Those normally require a special circuit that charges an internal capacitor which provides power during temperature conversion and readout. You need the type that...
by obcd
Sat Apr 11, 2015 11:49 am
Forum: Troubleshooting
Topic: Pi2 won't stay off
Replies: 18
Views: 1197

Re: Pi2 won't stay off

Try to pinpoint the cause of it's behavour. You can try another power supply to see if it still happens with that. Maybe your supply decides to switch off it's output voltage if it's load falls below a treshold, which might happen when the Pi is in standby. You can disconnect the HDMI cable and chec...
by obcd
Sat Mar 28, 2015 1:23 pm
Forum: Troubleshooting
Topic: Red light goes off when SD card inserted
Replies: 9
Views: 765

Re: Red light goes off when SD card inserted

You could try the SD card in your PC to see if it's broken before you buy a new one.
If the SD card is fine, it's time to check if your Pi is still under warranty in my humble opinion.
by obcd
Fri Mar 27, 2015 5:05 pm
Forum: Troubleshooting
Topic: Games not working
Replies: 14
Views: 937

Re: Games not working

What output do you see in LXTerminal when you run the command?
by obcd
Fri Mar 27, 2015 4:13 pm
Forum: Troubleshooting
Topic: Red light goes off when SD card inserted
Replies: 9
Views: 765

Re: Red light goes off when SD card inserted

Maybe your power adapter is dead. With the sd card inserted, it will consume more current. This might drop the power adapter output voltage so that the led goes out. Any chanche you have another adapter you could use to test? Another option is measuring the output voltage if you have the equipment f...
by obcd
Fri Mar 27, 2015 4:08 pm
Forum: Troubleshooting
Topic: Games not working
Replies: 14
Views: 937

Re: Games not working

"python games" icon launches the following command:

sh -c $HOME/python_games/launcher.sh

so you can open an LXTerminal session and type that line.

if you "for instance" don't have a python_games folder in your home folder, it should tell you.
by obcd
Fri Mar 27, 2015 3:50 pm
Forum: Troubleshooting
Topic: Games not working
Replies: 14
Views: 937

Re: Games not working

Try to launch the games from within a terminal window and see what output you get.
If it's not starting, I would expect an error message on the terminal screen.
You really aren't telling much about your setup, so it's hard to give more accurate help.
by obcd
Tue Mar 24, 2015 3:27 pm
Forum: Troubleshooting
Topic: Pi's ram slowly filling (lighter Raspbian alternative?)
Replies: 2
Views: 314

Re: Pi's ram slowly filling (lighter Raspbian alternative?)

Maybe one of the things you installed has a memory leak. If a program allocates memory for a resource and doesn't release it properly, it will gradually use more and more memory. You can run top from a command prompt to see what is running and how much memory it is consuming. You can quit top with t...
by obcd
Tue Mar 24, 2015 1:22 pm
Forum: Troubleshooting
Topic: automatically log into network
Replies: 1
Views: 261

Re: automatically log into network

I assume it will have the graphic shell running? You will need to add some lines to a startup script sudo nano /etc/xdg/lxsession/LXDE-pi/autostart # @xscreensaver -no-splash # activate a vnc server for the current session @x11vnc -bg -usepw -forever -rfbport 5900 -display :0 # disable screen savers...
by obcd
Tue Mar 24, 2015 12:53 pm
Forum: Troubleshooting
Topic: wifi-dongles don't work
Replies: 4
Views: 351

Re: wifi-dongles don't work

Maybe it's a speed issue. You could try to add a delay to the boot cmdline.txt (not sure about the syntax) bootdelay=xxx if I remember well. The pi 2 boots faster. Maybe the wifi adapters are not getting enough time to initialise and startup properly.
by obcd
Tue Mar 24, 2015 12:46 pm
Forum: Troubleshooting
Topic: cloning SD card
Replies: 2
Views: 534

Re: cloning SD card

If you copy the 8 gig image to a 16 gig card, that one will have the same partitions and 8 gig of unused space after the last partition. You can install gparted on the Pi to decrease the size of the last partition so that the system fits on a smaller 8 gig card. I can't remember if the program will ...
by obcd
Sat Mar 21, 2015 5:43 pm
Forum: Troubleshooting
Topic: DVI monitor
Replies: 1
Views: 270

Re: DVI monitor

Monitors have a way to tell the connected device what there optimal settings are. It's called the edid interface. Maybe the newer monitor is passing some resolutions to the Pi it can't handle properly. You can override those monitor edid settings (and even ignore them totally) by editing the config....
by obcd
Wed Feb 25, 2015 3:12 pm
Forum: Troubleshooting
Topic: Very high shock in raspberry PI 2 Model B
Replies: 7
Views: 1009

Re: Very high shock in raspberry PI 2 Model B

The Pi is powered with 5V. A voltage that low shouldn't bite you. The problem is usually the power adapter. Those are most of the time not having a ground connection. This means that the secundary ground can carry some mains voltage in reference to earth. If you touch that, it will cause a current f...

Go to advanced search