Go to advanced search

by Andyroo
Thu Dec 13, 2018 11:41 pm
Forum: Troubleshooting
Topic: HDMI Audio Output to Monitor w/ Speakers
Replies: 3
Views: 78

Re: HDMI Audio Output to Monitor w/ Speakers

What I meant to say is sound volume.

Some monitors (my LG for example) will not take control from the PC but only it’s own buttons.
by Andyroo
Thu Dec 13, 2018 10:09 pm
Forum: Other programming languages
Topic: Chromium and Raspbian lite, programmatic control
Replies: 4
Views: 79

Re: Chromium and Raspbian lite, programmatic control

Just make sure you get the semi-skimmed version of Raspbian - the one with the GUI :D Simplest way to send keystrokes is to send them to the x11 terminal session with the xdotool (as this allows mouse control) or you could drive it from uinput and Python or C. A quick intro can be found https://thee...
by Andyroo
Thu Dec 13, 2018 8:51 pm
Forum: Troubleshooting
Topic: HDMI Audio Output to Monitor w/ Speakers
Replies: 3
Views: 78

Re: HDMI Audio Output to Monitor w/ Speakers

Is this a typing error in your post?
amixer cset numid3 2
It should read

Code: Select all

amixer cset numid=3 2
You could also add hdmi_drive=2 to the end of /boot/config.txt and do a reboot.

I know it sounds daft but does your HDMI cable carry sound and do you have a volume control on the monitor?
by Andyroo
Thu Dec 13, 2018 8:31 pm
Forum: Troubleshooting
Topic: mariadb installation unsuccessfull
Replies: 10
Views: 131

Re: mariadb installation unsuccessfull

It may be quicker to start from scratch (not noobs) as dragging files over can cause issues if you forget a config file or version difference...
by Andyroo
Thu Dec 13, 2018 7:43 pm
Forum: Code Club
Topic: Code Club Book
Replies: 3
Views: 90

Re: Code Club Book

It looks like it will be awhile before a stand alone version will be removed - could you use that?


It will be awhile before a new stand alone for you:
Will Scratch 3.0 work on Chromebooks?
Yes. In the second half of 2019 we’ll also release an offline version of Scratch for Chromebooks.
by Andyroo
Thu Dec 13, 2018 7:37 pm
Forum: Python
Topic: How to Program DS18B20 Temperature sensor with Python
Replies: 12
Views: 217

Re: How to Program DS18B20 Temperature sensor with Python

Have you got it connected correctly?

You can tell by running

Code: Select all

cd /sys/bus/w1/devices/
ls
by Andyroo
Thu Dec 13, 2018 5:27 pm
Forum: Other projects
Topic: Counting button presses from multiple unique buttons
Replies: 2
Views: 46

Re: Counting button presses from multiple unique buttons

Just thought that you could use a small dip switch instead of the encoder and set the station address in binary - lots cheaper but uses 5 pins + the button one :lol: :oops: :lol:
by Andyroo
Thu Dec 13, 2018 5:25 pm
Forum: Other projects
Topic: Counting button presses from multiple unique buttons
Replies: 2
Views: 46

Re: Counting button presses from multiple unique buttons

I would put a Gray code encoder at each station and just a single button. The gray encoder tell the Pi what station it’s at (see https://hackaday.io/project/19463-high-resolution-absolute-encoder-arduino-pi for details on a 128 bit one) without having lots of GPIO pins tied up. Note that you need to...
by Andyroo
Thu Dec 13, 2018 5:19 pm
Forum: Troubleshooting
Topic: mariadb installation unsuccessfull
Replies: 10
Views: 131

Re: mariadb installation unsuccessfull

Forgot to add you may need to delete the /var/lib/mysql Directory.

Note above will delete all sql databases :oops:
by Andyroo
Thu Dec 13, 2018 5:18 pm
Forum: Troubleshooting
Topic: mariadb installation unsuccessfull
Replies: 10
Views: 131

Re: mariadb installation unsuccessfull

Try:

Code: Select all

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get remove --purge mysql-client-5.5 mysql-client-core-5.5 mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5
sudo apt-get install mysql-server
by Andyroo
Thu Dec 13, 2018 5:14 pm
Forum: Gaming
Topic: Switch power between 2 rasp pi's
Replies: 1
Views: 35

Re: Switch power between 2 rasp pi's

You could take one micro usb socket designed to fasten to a case, then run its leads to a break before make switch and connect the output to the Pi boards inside the case. Make sure if a couple of things though: a) Use good quality switch and cables as you do not want power drop giving little lightn...
by Andyroo
Thu Dec 13, 2018 4:58 pm
Forum: Advanced users
Topic: Huawei E173 3G Dongle GSM calls
Replies: 1
Views: 66

Re: Huawei E173 3G Dongle GSM calls

To be honest I think you would do better on a mobile site as it’s not an issue with the Pi and this is a Raspberry Pi forum :)

Saying that, you may need to unlock the unit for voice https://miapple.me/unlocking-huawei-e17 ... functions/
by Andyroo
Thu Dec 13, 2018 4:52 pm
Forum: Python
Topic: How to send Text messages
Replies: 4
Views: 89

Re: How to send Text messages

Text messages do not use data plans - they normally come as part of your voice contract.

Do you have any GPRS module on your Pi?

If not you will have to pay for a system like https://www.textanywhere.net/default.aspx
by Andyroo
Thu Dec 13, 2018 4:44 pm
Forum: Beginners
Topic: Using eth0 and wlan0 simultaneously
Replies: 1
Views: 67

Re: Using eth0 and wlan0 simultaneously

If the Ethernet link is only talking to the GPS then I would put them onto a different sub-net from the WiFi using static IP addresses as that takes out any issues.

Is this possible?
by Andyroo
Thu Dec 13, 2018 4:41 pm
Forum: Troubleshooting
Topic: mariadb installation unsuccessfull
Replies: 10
Views: 131

Re: mariadb installation unsuccessfull

Did you run:

Code: Select all

sudo apt-get update
sudo apt-get upgrade
first?

Had you tried to install MySQL first?
by Andyroo
Thu Dec 13, 2018 4:31 pm
Forum: Networking and servers
Topic: Pi as offline Wireless Access Point
Replies: 3
Views: 124

Re: Pi as offline Wireless Access Point

Have a look at this and the original it was forked from http://librarybox.us

Works fine for media etc but can be a bit lacking in web page handling.
by Andyroo
Thu Dec 13, 2018 11:34 am
Forum: Beginners
Topic: Raspberry Pi 3 B - uart & ssh connection problems
Replies: 4
Views: 54

Re: Raspberry Pi 3 B - uart & ssh connection problems

From a new Raspian image you can put an empty file called ssh or ssh.txt in the /boot partion that will allow ssh in when the Pi boots from it the first time. No need to use the serial port if it is network connected. https://www.raspberrypi.org/documentation/remote-access/ssh/ WiFi is now handled v...
by Andyroo
Thu Dec 13, 2018 11:29 am
Forum: General discussion
Topic: how to stop the screen from going blank on a lite system running x
Replies: 5
Views: 114

Re: how to stop the screen from going blank on a lite system running x

What desktop are you running?

From the apt-get you have the xwindow startup program but no window manager.

You could try the

Code: Select all

startx
command to see if that makes a difference.
by Andyroo
Wed Dec 12, 2018 10:45 pm
Forum: Python
Topic: Rotate display on waveshare 2.7 e ink
Replies: 1
Views: 40

Re: Rotate display on waveshare 2.7 e ink

Once you have set your image up you could try

Code: Select all

draw=draw.transpose(Image.ROTATE_180)
You may need to import the pillow module in your code

From https://pillow.readthedocs.io/en/5.1.x/ ... ght=Rotate
by Andyroo
Wed Dec 12, 2018 10:33 pm
Forum: AIY Projects
Topic: AIY Vision with TTF display?
Replies: 2
Views: 64

Re: AIY Vision with TTF display?

These pages may help you work out if they can be connected: https://pinout.xyz/pinout/aiy_vision_bonnet https://www.adafruit.com/product/1601 as a guess as there are lots of TFT displays with similar names... Looking at the last page GPIO #24 and #25 are used by the screen but the first shows these ...
by Andyroo
Wed Dec 12, 2018 10:13 pm
Forum: Code Club
Topic: Code Club Book
Replies: 3
Views: 90

Re: Code Club Book

Have you seen the differences between the two? It seems from https://scratch.mit.edu/3faq that all the old blocks will be continuing just some have shuffled about their location. I do not think it’s policy for timelines to be announced here by the foundation or sales side :lol: Personally I would qu...
by Andyroo
Wed Dec 12, 2018 10:04 pm
Forum: Python
Topic: Keyboard Controlled Car Problems
Replies: 1
Views: 30

Re: Keyboard Controlled Car Problems

Have a look at the curses module.

A sample example can be found https://stackoverflow.com/questions/240 ... -in-python

Could I also ask in future you post your programs in the code tags as that will keep the Python indents - something you will find is vital to get right :D
by Andyroo
Wed Dec 12, 2018 1:20 pm
Forum: Gaming
Topic: Dungeons and dragons campaign management
Replies: 1
Views: 73

Re: Dungeons and dragons campaign management

Windows XP - possibly the last great OS from M/S :lol: You can obviously read the PDF rules on a Pi along with most character sheets. Dice rolling programs would be simple to create (though I like the sound of plastic hitting the floor myself) in Python Maps could be drawn in GIMP or Inkscape but I’...
by Andyroo
Wed Dec 12, 2018 12:52 pm
Forum: Beginners
Topic: Setup display by making changes in /boot
Replies: 2
Views: 86

Re: Setup display by making changes in /boot

Do not think so as the ones I’ve seen used are all drives post boot... Do you have a TV with HDMI, composite or scart connectors? Do you have WiFi? If any of those are in your home we stand a chance walking you through a blind set up. You will need a PC / Mac though to change the config files. Folk ...

Go to advanced search