Paul Sutton

Paul Sutton – personal blog

Code Club 2/12/2023

The next Paignton Library code club will be on the usual first Saturday, 2/12/2023. We will carry on with what we were doing at the previous session on 25/11/2023. Plus also carrying out other projects that have been discussed recently.

I will also be helping with electronics, coding, scratch, python, html/css and hardware.

Hopefully a few new members and a few new members with the right level of expertise so we can help / support each other further.

Useful Links

Legacy Links

Next Code Club

The next code club is TBA Stem group is 9/12/2023 – 11am to 15:00

Tags

#CodeClub,#Python,#HourOfCode,#Scratch,#Minecraft,#Themes, #Java,#Programmng

Code Club Electronics 3

Now let's add a switch, so we can turn our LED on and off.

Depending on the type of switch you use, you may have to experiment with which in to connect. It should work as illustrated.

breadboard

If you have a reed switch, you can try one too, and use a magnet to activate the switch.

breadboard

An LED is like a bulb, but one way, the short lead goes towards the ground. As long as the resistor is in series, it can be before or after the LED.

Tags

#Electroniics,#CodeClub,#STEM

Code Club Electronics 2

So now we have a powered breadboard, disconnect the power (important) and connect up a LED (Light Emitting Diode) and a resistor in SERIES.

breadboard

An LED is like a bulb, but one way, the short lead goes towards the ground. As long as the resistor is in series, it can be before or after the LED.

NOTE ABOUT COMPONENTS

  • Resistor value should be fine at 220 ohms or even 330 ohms if supply is 3V.
  • The switch needs to be wired up properly, diagram is a guide, it depends on the switch you use.
  • Experimentation is key
  • If you require help, please ask an adult.

Tags

#Electroniics,#CodeClub,#STEM

Code Club Electronics 1

As we are undertaking varied projects at Code Club, I am going to put together a guide on creating some simple circuits.

I have a few breadboard power supplies that connect to a breadboard as illustrated below.

breadboard

The following video, illustrates how to create the diagram in Fritzing but if you follow the layout you can produce the same circuit with a breadboard and components.

I have embedded a video below.

The idea here is, that followers can both use software and real components to build up software, being able to plan where components are to go, can be really useful.

Note the orientation of the PSU so that the +v and gnd pins are also matching the rows for +v and gnd (red / blue)

Also note that the PSU as +v in and can produce either 3v or 5v, any circuits MUST be given the correct voltage as this will determine values of resistors used.

Tags

#Electroniics,#CodeClub,#STEM

What do we get from crude oil?

This is a repost with more information, links and a correction due to a 404 on a link.

The news that the UK is going to issue more licences for crude oil exploration, promoted a discussion on the Fediverse. From this, I asked what other products come from crude oil.

However, this link seems to give a 404, so I found an alternative here, along with a more detailed list of the chemical products here.

So in an attempt to research this further, I have so far found this infographic and article. I will embed the actual infographic below.

Crude oil, but please ensure credit goes to Oil Field Team.

So from this there are a huge number of products, that we need to either:-

  • Stop using
  • Find replacements for

If we are going to give up on oil completely.

So from this I will look at a few of these, and give my perspective

Lubricating oils these are needed to keep machines running, even electric cars have moving parts. These products can also be specialist so may not be easily replaceable.

Asphalt used for road surfaces, again even Hydrogen / Electric cars need a road surface for getting around on.

Nylon used in clothing, but also used for ropes etc, it is strong, and has many uses.

Teflon used for non-stick surfaces, IIRC this was developed as part of the space industry.

Kerosene used in some rocket fuels, while we are developing alternative power for rockets (e.g. nuclear) this may be some years away, and it may depend on where we are going, being a indication of what type of fuel we need.

Sunscreen, Essential to protect our skin.

Aspirin Common medication.

Thermoplastics, Again a common type of plastic with a specific uses where resistance to high temperatures are needed.

So it may not be THAT easy to completely stop our reliance. We will need to spend a lot of money on R&D to fully develop alternatives using other means. We can get some plastics from plants, but again it seems to depend on type and usage.

However, we can stop our reliance on oil for car fuels, however are electric cars suitable for emergency services, or military use? By military, we need to remember that we deploy soldiers to help in disaster recovery, not just wars or peacekeeping.

So this needs far more rational discussion.

Tags

#CrudeOil,#Oil,#Derived,#Products,#Use,#Discussions,#OilProducts

NFL 2023 week 13

NFL week 9 fixtures can be found here

Links

Tags

#Football,#NFL,#Week13

Emacs Conf 2023

EmacsConf 2023 December 2nd and 3rd 2020 | Online Conference

The conference is from ~9:00 AM - 5:00 PM EST (US/Eastern) / ~8:00 AM - 4:00 PM CST (US/Central) / ~7:00 AM - 3:00 PM MST (US/Mountain) / ~6:00 AM - 2:00 PM PST (US/Pacific) / ~2:00 PM - 10:00 PM UTC / ~3:00 PM - 11:00 PM CET (Europe/Paris) / ~4:00 PM - 12:00 AM EET (Europe/Athens) / ~7:30 PM - 3:30 AM IST (Asia/Kolkata) / ~10:00 PM - 6:00 AM +08 (Asia/Singapore) / ~11:00 PM - 7:00 AM JST (Asia/Tokyo).

Tags

#conference,#emacs,#2023,#editor,#software,#gnu,#fsf, #freesoftware

Code Club 25/11/2023 Write up

We had a busy session today. As you can see from the photo, we did more work on the netbooks.

code club november 2023

We were also doing more Scratch and some HTML / CSS.

I have added more links below to try and reflect our current set of activities.

I was also helping another attendee with electronics, even though I think what he wants to do is a little complex for the resources available and requires more engineering and or electronics knowledge.

As well as the above, Helen from the STEM group was working on getting the line following robot working and also getting the Lego WeDo working, so we now have a small Lego robot that can detect obstacles, as well as a basic Lego Windmill, which we can look at this during the next STEM group meeting on the 9th December.

Next Code Club

The next code club is on 2/12/2023

Tags

#CodeClub,#Python,#Web,#Hardware,#Software,#Electronics, #STEM

Tech Learning Collective

Just reposting this as it is a useful learning resource

Links

Tuxiversity forum thread for the above,

Tags

#TechLearningCollective,#Learning,#Education,#Workshops,#Courses