Skip to content

Instantly share code, notes, and snippets.

View Jimbles's full-sized avatar
🍜

James Avery Jimbles

🍜
View GitHub Profile
@Jimbles
Jimbles / gist:c5214089e0a023d96e93915e018b9069
Last active July 2, 2026 17:04
Girls into Electronics 2026 Install

Girls into Electronics 2026 Arduino IDE install

All links can be found following this QR code:

https://gist.github.com/Jimbles/c5214089e0a023d96e93915e018b9069

  1. Install the Arduino IDE software https://www.arduino.cc/en/software/ version 2.0 or above (current version 2.3). There is an install guide here: https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing/
  2. Information about the Arduino kit can be found in more detail here https://wiki.seeedstudio.com/Grove-Beginner-Kit-For-Arduino/ which describes the sensors and electronics in each kit. As well as in the “Girls into Electronics 2026 Student Guide” print out https://www.ukesf.org/wp-content/uploads/Girls-into-Electronics-Student-Guide-Full-version-for-website.pdf
  3. Before being able to program your kit you may need to install some USB drivers so that your PC recognises the kit. There is a handy guide for this https://www.yorku.ca/professor/drsmith/2024/03/06/driver-for-the-grove-beginner-kit-fo
@Jimbles
Jimbles / SOFAbuild.md
Last active July 12, 2019 14:12
SOFA Ubtuntu 18.04 build steps

SOFA Soft Robots build on Ubuntu 18.04

Steps to install and build SOFA with soft robots from scratch on a fresh Ubuntu 18.04 virtual machine (windows host)

Naturally we start with update and installing git

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
Nodes = rand(15,3);
Tetra = delaunay(Nodes);
DataName='Testdata';
Data=ones(size(Tetra,1),1);
%% ASCII - working
fname='TetraAscii.vtk';
[np,dim]=size(Nodes);
[nt]=size(Tetra,1);
@Jimbles
Jimbles / mesh2d_from_image_example.m
Created July 11, 2018 08:45
example code creating a 2d mesh from a binary image
%% read png and find countours
% img=imread('ex_blob.png');
%% make pretend bitmap image
img_size=512;
img=zeros(img_size,img_size);
% make two squares of different values
@Jimbles
Jimbles / PEITS_CX1_bash_commands.md
Last active June 5, 2018 16:00
PEITS install on CX1

Configure command tweaks

load modules

load module mpi/intel-2018

make wrapper functions for mpi libs

???

run new configure

@Jimbles
Jimbles / auto_measure.py
Created December 13, 2016 18:04 — forked from theterg/auto_measure.py
AFE4300 EVM automation tool
import sys
import time
import math
sys.path.append("./Scripts")
GUI_Module=__import__('Device_GUI')
def FWR_read(input_mask, frequency=32, delay=0.5):
set_frequency(frequency)
GUI.write_register("AFE4300", "IQ_MODE_ENABLE", 0x00) #Select FWR Mode
GUI.write_register("AFE4300", "ADC_CONTROL_REGISTER2", 0x63) #ADCREF to VREF / ADC connected to BCM
@Jimbles
Jimbles / UCL_Eduroam.md
Created June 28, 2016 16:20
UCL Eduroam on Raspberry Pi

UCL Eduroam on Raspberry Pi

add this to /etc/wpa_supplicant/wpa_supplicant.conf

network = {
ssid="eduroam"
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="#####@ucl.ac.uk"
anonymous_identity="anonymous@ucl.ac.uk"
@Jimbles
Jimbles / PiSyncSetup.md
Last active October 29, 2023 21:11
Raspberry Pi Sync Setup

1. Hostname, Password, Static IP and SSH port Fail2ban

Could install headless, but I wanted to use gui at first instance to ensure everything working!

Connect to wifi through GUI. Change hostname and ensure SSH enabled in raspberrypi config GUI change password with passwd .

Static IP.

Taken from here, add the following to the bottom of sudo nano /etc/dhcpcd.conf, changing ip addresses where appropriate