Go to advanced search

by bertlea
Thu Nov 28, 2019 5:27 am
Forum: Python
Topic: Difficulties with first python script (user input yes/no)
Replies: 19
Views: 406

Re: Difficulties with first python script (user input yes/no)

added comments to your code: #!/pi/bin/python <--- that looks not right, it is likely #!/usr/bin/python3 if you are using Python3. answer = input("Is the ili9341 attached?") if answer == "yes": sudo /home/pi/fbcp-ili9341/build/fbcp-ili9341 <--- you need to use os.system("...") to call your external ...
by bertlea
Thu Nov 21, 2019 2:50 am
Forum: General discussion
Topic: quality sound card and speaker for Pi 3/Pi Zero
Replies: 12
Views: 407

Re: quality sound card and speaker for Pi 3/Pi Zero

@miky94, Pimoroni got some new audio stuff you may be interested in (see the link below). One of them have a 3W (per channel) audio output but I am not sure if it can output 70dB as I am not familiar with audio stuff.

https://shop.pimoroni.com/collections/pirate-audio
by bertlea
Mon Nov 11, 2019 5:00 am
Forum: Advanced users
Topic: How safe is it to use Pins 5 and 6 as a poweroff/poweron system
Replies: 17
Views: 8447

Re: How safe is it to use Pins 5 and 6 as a poweroff/poweron system

...This overlay only handles shutdown. After shutdown, the system can be powered up again by driving GPIO3 low. The default configuration uses GPIO3 with a pullup, so if you connect a button between GPIO3 and GND (pin 5 and 6 on the 40-pin header), you get a shutdown and power-up button. Source: ht...
by bertlea
Fri Nov 08, 2019 7:45 am
Forum: General discussion
Topic: Charger vs PSU
Replies: 13
Views: 507

Re: Charger vs PSU

No, I think the "fix" is referring to the issue that a high-end USB-C charger such as the one from Apple, do not able to power the Pi-4 currently available on the market. It is not about how "smart" of the charger can charge quicker or not.
by bertlea
Mon Nov 04, 2019 7:17 am
Forum: Raspbian
Topic: Sending keystrokes to console process?
Replies: 7
Views: 1526

Re: Sending keystrokes to console process?

Thank you @HermannSW for your sample C code! It works great on my Debian with Raspberry Pi Desktop laptop too. I didn’t aware of this post. Now I have potentially better remote control of my Pi connecting the TV in living room remotely. :D
by bertlea
Sat Oct 12, 2019 2:46 pm
Forum: General discussion
Topic: Raspberry Pi 3B and 3B+ Headless
Replies: 6
Views: 532

Re: Raspberry Pi 3B and 3B+ Headless

Did you tried to put the SD card that was working on the 3B+ to the 3B to see if that solve the issue? If the same SD card works on the 3B+ but not on the 3B, it is likely your 3B board's wifi module is faulty.
by bertlea
Wed Oct 09, 2019 6:42 am
Forum: General discussion
Topic: Pi on SD card: about 9MB writes every 3 hours
Replies: 10
Views: 488

Re: Pi on SD card: about 9MB writes every 3 hours

... not sure if what I have installed is the lite version of Raspbian Buster or not. How would I go about finding out?
You can type the command:

Code: Select all

which startx
If you don't have this "startx" command, then you should installed the Lite version of the Raspbian.
by bertlea
Thu Oct 03, 2019 7:18 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Debian with RPI desktop/x386 live USB issues
Replies: 14
Views: 1641

Re: Debian with RPI desktop/x386 live USB issues

Just report on my testing of the newly available Buster live USB: The status about installing 64-bit packages is the same as before. At least for Node.js. i.e. We still cannot use the X64 version of the Node.js. We have to use the 32-bit version (X86). If you need to use version 12 of Node.js, you n...
by bertlea
Thu Oct 03, 2019 2:18 am
Forum: Raspbian
Topic: New Raspbian Buster image (Sep. 2019)
Replies: 21
Views: 3243

Re: New Raspbian Buster image (Sep. 2019)

Edit: I did not understand it correctly, please ignore my message earlier below. @HermannSW, I guess your observation is related to ShiftPlusOne's message: The kernel in that image has been removed from the repo for now. There's a new 64 bit kernel file and some people have partitions that it won't...
by bertlea
Wed Oct 02, 2019 9:45 am
Forum: Raspbian
Topic: New Raspbian Buster image (Sep. 2019)
Replies: 21
Views: 3243

Re: New Raspbian Buster image (Sep. 2019)

Thank you both for the feedbacks. I will install the new image and start from scratch then.
by bertlea
Wed Oct 02, 2019 8:52 am
Forum: Raspbian
Topic: New Raspbian Buster image (Sep. 2019)
Replies: 21
Views: 3243

New Raspbian Buster image (Sep. 2019)

I see a newer version of Raspbian Buster is available for download. Am I correct that, I can just do the "sudo apt-get update; sudo apt-get upgrade" on my existing Raspbian Buster and that can make system reach the same level of updateness, including the latest SPI EEPROM after a reboot? i.e. the ne...
by bertlea
Mon Sep 30, 2019 4:23 am
Forum: Python
Topic: Using UDP to start Streaming
Replies: 1
Views: 197

Re: Using UDP to start Streaming

UDP does not have the “connection” concept as the TCP. UDP server just listen to the port opened and it will accept whatever UDP packet sent to that port regardless the source. If you need to maintain the state of the socket between your server and a specific client, you need to code that yourself. ...
by bertlea
Mon Sep 30, 2019 3:44 am
Forum: General discussion
Topic: Does installing Raspbian with desktop and recommended software make my Pi slower?
Replies: 2
Views: 178

Re: Does installing Raspbian with desktop and recommended software make my Pi slower?

It should not make your Pi slower if you do not start the GUI (startx). I did what you described for the same reason, and I do not observer any slowdown compare to a pure Lite (no GUI) version. Actually, even running the GUI, it is not that much difference in terms of speed as long as memory usage i...
by bertlea
Thu Sep 26, 2019 4:00 am
Forum: Beginners
Topic: Wireless Stock Counter
Replies: 1
Views: 80

Re: Wireless Stock Counter

You can definitely build such "remote counter". I assume your computer that receiving the counter results is connected to your home or office network. Then you can use Raspberry Pi connected to a small screen and a USB keypad connected to the same network using wifi (hence, wireless) your computer c...
by bertlea
Tue Sep 24, 2019 6:40 am
Forum: Other projects
Topic: Website auto login
Replies: 2
Views: 398

Re: Website auto login

Have you tried Google Puppeteer (interactive mode) using the wrapper “puppeteer-extra” on the Chromium already installed? It is my understanding that Puppeteer can just control the Chromium as if actual user interactions and the cookie renewed should not be removed/invalidated. It is just my underst...
by bertlea
Fri Sep 20, 2019 5:37 am
Forum: Bare metal, Assembly language
Topic: mmap() fails
Replies: 9
Views: 1610

Re: mmap() fails

@TonySterrett, I believe Akane is trying to point out that the base address is passed incorrectly to the C program as 0XFE000000 is not 0X00000000 (number in Hex). As you mentioned that you are calling the C program from Node.js. I guess you may just passed the number as the parameter directly. Mayb...
by bertlea
Fri Sep 20, 2019 5:22 am
Forum: General discussion
Topic: Does the Pi 4 need heatsinks
Replies: 2
Views: 349

Re: Does the Pi 4 need heatsinks

It really depends on your usage and taste. You can simply try to use it without a head-sink first to see if that is fine with your use case. It will not destroy your Pi as the Pi will run slower to keep the temperature stable when it reaches some limit (85 degree Celsius?). In case you found you nee...
by bertlea
Wed Sep 18, 2019 3:29 pm
Forum: Advanced users
Topic: A compiled, working Node.js on 3B+
Replies: 6
Views: 265

Re: A compiled, working Node.js on 3B+

You can find the download from the official site: https://nodejs.org/en/download/current/ For Raspbian Stretch, you should use the Linux Binary ARM (ARMv7) version. However, you need to "unzip" it (using command "tar -xf") and put/link it to the right folder manually. Why not just use apt-get to ins...
by bertlea
Wed Sep 18, 2019 7:18 am
Forum: Advanced users
Topic: A compiled, working Node.js on 3B+
Replies: 6
Views: 265

Re: A compiled, working Node.js on 3B+

If you are running Raspbian (Buster or Stretch), the latest Node.js versions (v10.x.x and v12.x.x) should be supported. If you do not have it already installed, you can just install it using apt-get. sudo apt-get update sudo apt-get install nodejs Raspbian (or Debian) Jessie seems only support versi...
by bertlea
Mon Sep 02, 2019 8:03 am
Forum: Troubleshooting
Topic: Error with tensorflow and keras
Replies: 1
Views: 226

Re: Error with tensorflow and keras

Just guessing: How big is your model? I see the error message: "Could not allocate ndarray". I suspect it is related to memory (RAM) limits as the Pi 3 only got 1G RAM shared by CPU and GPU.
by bertlea
Thu Aug 29, 2019 3:38 am
Forum: General discussion
Topic: Raspberry Pi 4 overheat : why not underclocking a little ?
Replies: 24
Views: 4258

Re: Raspberry Pi 4 overheat : why not underclocking a little ?

My attempt to under-volt/under-clock did not success yet. See the post:

https://www.raspberrypi.org/forums/view ... 9#p1527629

If anyone got some effective under-clock/under-volt settings, it will be nice to share.
by bertlea
Thu Aug 29, 2019 3:34 am
Forum: General discussion
Topic: Underclocking Pi4 to Pi3B level
Replies: 6
Views: 1019

Re: Underclocking Pi4 to Pi3B level

Tried to under-clock the Pi4 last night by adding the settings below in config.txt file but it does not seem to be effective... maybe only 1 degree Celsius difference (keep running around 64 regardless the settings). This setting is actually more effective on my Pi3B+. On Pi3B+ that seems to lower t...
by bertlea
Tue Aug 27, 2019 6:59 am
Forum: General discussion
Topic: Underclocking Pi4 to Pi3B level
Replies: 6
Views: 1019

Re: Underclocking Pi4 to Pi3B level

Thank you @ProDigit. I guess I have to do some trail and error work based on your suggestions on this later. I am just not sure can I try out different values of these parameters freely or there are implied constraints such as the arm_freq or core_freq need to keep certain ratio to sdram_freq, etc. ...
by bertlea
Mon Aug 26, 2019 6:48 am
Forum: General discussion
Topic: RasPi 4 is on RDP slower than the RasPi 3
Replies: 25
Views: 3647

Re: RasPi 4 is on RDP slower than the RasPi 3

@insidERR, I think dom meant you use the command “sudo raspi-config” and go to “Advanced Options” --> “GL Driver” and select “Legacy” driver and then press “<Ok”>… Then reboot.
by bertlea
Thu Aug 22, 2019 1:23 am
Forum: General discussion
Topic: Underclocking Pi4 to Pi3B level
Replies: 6
Views: 1019

Underclocking Pi4 to Pi3B level

I would like to seek advices specifically on underclocking Pi4 (4G RAM) to have processing power close to Pi3B. The reason is simply that I do not need processing power more than the Pi3B, but I really want to run it cooler, especially in idle time. The main reason I bought a Pi4 is I want its 4G RA...

Go to advanced search