Go to advanced search

by bensimmo
Sat Jul 24, 2021 8:01 pm
Forum: Other programming languages
Topic: Cobol in schools
Replies: 86
Views: 2149

Re: Cobol in schools

Using/ Intending to use rust for the good old linux kernel, if it's good enough for that then it may become more popular.
by bensimmo
Wed Jul 21, 2021 6:16 pm
Forum: Other programming languages
Topic: Cobol in schools
Replies: 86
Views: 2149

Re: Cobol in schools

Heater wrote:
Wed Jul 21, 2021 5:46 pm
Gavinmc42 wrote:
Mon Jul 19, 2021 8:08 am
Do schools need to teach old languages too?
Sure, why not? Could be part of the history curriculum.

:)
Latin is old and some still teach it.

Saying that even the up and coming Modern Foreign Languages like French, German and Spanish are going out a favour in many school.
by bensimmo
Tue Jul 20, 2021 7:55 am
Forum: Other programming languages
Topic: Cobol in schools
Replies: 86
Views: 2149

Re: Cobol in schools

At school they will usually pick up Scratch and Python for programming. Often they may also pick up Small Basic in readiness for Visual languages and as a halfway for text programming (I recently did a lesson using it) They can use whatever they like, there is no restriction. For example most school...
by bensimmo
Mon Jul 19, 2021 12:13 pm
Forum: Other RP2040 boards
Topic: RP2040 replacing future Pi components
Replies: 5
Views: 259

Re: RP2040 replacing future Pi components

There aren't that many "chips" on the raspberry pi and none of them would be adequately replaced by the RP2040. There are a lot of HATs out there that have microcontrollers on them, the SenseHAT for example, where they could theoretically be replaced by the RP2040. It's a bit larger in si...
by bensimmo
Mon Jul 19, 2021 7:28 am
Forum: General discussion
Topic: How to find Raspberry board type?
Replies: 14
Views: 410

Re: How to find Raspberry board type?

If I remember correctly, with recent PiOS, you can just type pinout At a terminal and it gives you the details, mem size, version and a nice picture. Or just to get the version, use raspi-config and it tells you at the top. Of course a picture helps to. :-) Though you seem to have what you need.
by bensimmo
Thu Jul 15, 2021 4:27 pm
Forum: Off topic discussion
Topic: I have a dream
Replies: 8
Views: 455

Re: I have a dream

Use the CM4, you have choice then


And then you'll find some people developing uATX and an ITX motherboard
by bensimmo
Wed Jul 14, 2021 5:40 pm
Forum: Troubleshooting
Topic: RPi 4b Overclock the SD Card?
Replies: 7
Views: 292

Re: RPi 4b Overclock the SD Card?

The over clocking as per Pi3 and before, doesn't work on the Pi4. There has been no mention of any SD card over clocking for the Pi4 The SD card speed is doubled for the Pi4 anyway. It is, but you get similar by doubling the 'speed' on a Pi3 to 100. Iirc the Pi4 still runs at 50, rather than 100. i...
by bensimmo
Wed Jul 14, 2021 4:44 pm
Forum: Gaming
Topic: Stardew Valley on Raspberry Pi!
Replies: 3
Views: 4481

Re: Stardew Valley on Raspberry Pi!

I got the same error to... and also isn't this piracy? Check it out on steam https://store.steampowered.com/app/413150/Stardew_Valley/ it costs $14.99, whereas this seems to be a free version... If the drive link contains the games then yes, If you are using you own GOG games (currently £10.99, but...
by bensimmo
Wed Jul 14, 2021 10:34 am
Forum: Troubleshooting
Topic: RPi 4b Overclock the SD Card?
Replies: 7
Views: 292

Re: RPi 4b Overclock the SD Card?

The over clocking as per Pi3 and before, doesn't work on the Pi4.
There has been no mention of any SD card over clocking for the Pi4
by bensimmo
Wed Jul 14, 2021 10:32 am
Forum: General
Topic: Pi Pico - the most user un-friendly MCU?
Replies: 242
Views: 6899

Re: Pi Pico - the most user un-friendly MCU?

Stick to microPython or swing to CircuitPython.

Let others do the hard work and you have a beginner and user friendly MCU.
by bensimmo
Tue Jul 13, 2021 6:56 am
Forum: General discussion
Topic: Pi's history of weird, niche hardware choices.
Replies: 55
Views: 1989

Re: Pi's history of weird, niche hardware choices.

I have never had a single micro-USB connector fail on any product I have owned. Unfortunately after almost 8 years of solid daily use, the micro-USB charge connector on my Nokia 1020 Windows phone failed. Now suffering the horrors of Android OS and crappy cameras :-( While it can be replaced, it's ...
by bensimmo
Fri Jul 09, 2021 8:57 am
Forum: Troubleshooting
Topic: Pi 4 and Uputronics GPS/PPS hat - problems with GPS data and GPSD
Replies: 3
Views: 122

Re: Pi 4 and Uputronics GPS/PPS hat - problems with GPS data and GPSD

Have you contacted Uptronics yet? If not do so. https://store.uputronics.com/index.php?route=product/product&product_id=81&search=Gps You've paid for product support and they should know their product inside out on the Pi. Also try 115200 baud as a look their site says they changed that to d...
by bensimmo
Thu Jul 08, 2021 7:04 am
Forum: General discussion
Topic: Pi's history of weird, niche hardware choices.
Replies: 55
Views: 1989

Re: Pi's history of weird, niche hardware choices.

I have never had a single micro-USB connector fail on any product I have owned. I had to replace several microusb cables that first work fine for months but later start to show low voltage warnings with Pi3b, Pi3b+. I guess it is some sort of oxidization inside the microusb connector (due to repeat...
by bensimmo
Fri Jul 02, 2021 1:28 pm
Forum: HATs and other add-ons
Topic: Can I Use pynmea2 to Directly Read Data from This GPS Breakout?
Replies: 13
Views: 608

Re: Can I Use pynmea2 to Directly Read Data from This GPS Breakout?

Added a few ther things and used my prefered f-string modern formatting import time import smbus import pynmea2 __version__ = '0.0.2' PA1010D_ADDR = 0x10 class PA1010D(): __slots__ = ( "timestamp", "latitude", "longitude", "altitude", "lat_dir", &quo...
by bensimmo
Fri Jul 02, 2021 12:48 pm
Forum: HATs and other add-ons
Topic: Can I Use pynmea2 to Directly Read Data from This GPS Breakout?
Replies: 13
Views: 608

Re: Can I Use pynmea2 to Directly Read Data from This GPS Breakout?

Your ..format at the end is missing a comma after the geo_sep option and in slots...

If I get time I'll run the example from my GNSS device (if I can work out how.)
by bensimmo
Fri Jul 02, 2021 9:55 am
Forum: Other
Topic: Before Anyone Asks...(Windows 11)
Replies: 40
Views: 2022

Re: Before Anyone Asks...(Windows 11)

@geev03: How does .exe files work on ARM/ARM64? There are two methods, this is the latest ARM64EC https://blogs.windows.com/windowsdeveloper/2021/06/28/announcing-arm64ec-building-native-and-interoperable-apps-for-windows-11-on-arm/ EDIT: sorry you mean running native x64 .exe files under arm64 emu...
by bensimmo
Thu Jul 01, 2021 8:11 am
Forum: Other
Topic: Before Anyone Asks...(Windows 11)
Replies: 40
Views: 2022

Re: Before Anyone Asks...

Win11 on the Pi cropped up on Twitter yesterday, half a day later all the sites put it up. The person provided a good guide, it'll be in my history if anyone cares*. 20mins boot time iirc though... With SSD, unless they've managed to speed it up. Insider Previews have no restrictions, Microsoft said...
by bensimmo
Wed Jun 30, 2021 9:09 am
Forum: General discussion
Topic: 3A+ Doesn't Like Channel 1 ?
Replies: 17
Views: 634

Re: 3A+ Doesn't Like Channel 1 ?

The old Pi must have been a 3B not a 3B+. The antenna wasn't very good in the 3B which is why you had lower signal strength. You are right! I stand corrected! The old Pi was a 3B, not a 3B+. My eyes are apparently going bad :shock: Though oddly once you'd knocked the ceramic rectangle off, the WiFi...
by bensimmo
Tue Jun 29, 2021 4:00 pm
Forum: Python
Topic: How Many Decimals Are Appropriate for Decimal Degrees? [SOLVED]
Replies: 8
Views: 339

Re: How Many Decimals Are Appropriate for Decimal Degrees?

Read the data sheet.
Page 17 give you how it is provided in by the nmea layout. Don't use more figures than supplied.

Then find the accuracy/number of Sat's hdop/pdop etc to determine some level aof accuracy?
by bensimmo
Tue Jun 29, 2021 10:37 am
Forum: HATs and other add-ons
Topic: Can I Use pynmea2 to Directly Read Data from This GPS Breakout?
Replies: 13
Views: 608

Re: Can I Use pynmea2 to Directly Read Data from This GPS Breakout? [SOLVED]

Sorry for the delay, yes that should work ;-) I can say knowingly :lol: You found out using the best method. aka just try it. You could also alter it t self.altitude = result.altitude self.geo_sep = result.geo_sep then later in your code when it comes to use it you can do the calculation. That keeps...
by bensimmo
Sun Jun 27, 2021 1:37 pm
Forum: General discussion
Topic: Can't get BME280 sensor dtoverlay driver to work?
Replies: 3
Views: 186

Re: Can't get BME280 sensor dtoverlay driver to work?

Though I can't find BME280 under humidity (first and formost it's a humidity sensor according to bosch. ) https://github.com/raspberrypi/linux/tree/rpi-5.10.y/drivers/iio/humidity Ah found it hidden under BMP280, It has the chip ID there waiting https://github.com/raspberrypi/linux/blob/rpi-5.10.y/d...
by bensimmo
Sun Jun 27, 2021 1:26 pm
Forum: General discussion
Topic: Can't get BME280 sensor dtoverlay driver to work?
Replies: 3
Views: 186

Re: Can't get BME280 sensor dtoverlay driver to work?

dtoverlay=i2c-sensor,bme280

Should be the one as 0x76 is default.
Full version being
dtoverlay=i2c-sensor,bme280,addr=0x76

This a new Pi setup with PiOS?

Defiantly 76 and not 77? (I'm assuming not a problem as you get an I'd)
by bensimmo
Sun Jun 27, 2021 1:02 pm
Forum: General
Topic: Weatherstation Using Pico
Replies: 10
Views: 311

Re: Weatherstation Using Pico

Post the code up, other may be able to help you tidy and fix bugs.
by bensimmo
Sun Jun 27, 2021 12:50 pm
Forum: HATs and other add-ons
Topic: Can I Use pynmea2 to Directly Read Data from This GPS Breakout?
Replies: 13
Views: 608

Re: Can I Use pynmea2 to Directly Read Data from This GPS Breakout?

A quick look and the pimoroni python3 code uses pynmea2 to do the splitting. Geoidal seems to be on GGA sentences, so you'll need to get you hands dirty and add it to the code where it's looking at each sentence. Look at the pynmea2 code to see what you need. I think that's msg.geo_sep and it's unit...
by bensimmo
Sun Jun 27, 2021 12:33 pm
Forum: HATs and other add-ons
Topic: Can I Use pynmea2 to Directly Read Data from This GPS Breakout?
Replies: 13
Views: 608

Re: Can I Use pynmea2 to Directly Read Data from This GPS Breakout?

I don't know as I don't have one, but it must be something in their code providing the stream of data.

You could just use serial as the pins are there.

Go to advanced search