Artificial Intelligence often feels like "magic" happening inside a powerful computer. But at its core, a neural network is just a series of mathematical decisions. In my previous posts, we looked at how to simulate these decisions in Python. Today, we are taking that "brain" out of the computer and building it in the real world using three BBC micro:bits . In this project, each micro:bit acts as a single neuron . By wiring them together, we create a physical network capable of logic and decision-making. The Math: How a Neuron "Thinks" Every neuron in our network follows a simple linear formula to decide whether or not to "fire" (send a signal): Figure 1 - the maths If the result Net >=0 the neuron fires (Output = 1). If it’s less than 0, it stays at Output = 0. Step 1: The Logic Gate "Cheat Sheet" Before we flash the code, we need to decide what we want our neurons to do. By changing the weights and bias , we can turn a micro:bit...
Robots and Physical Computing
Robots and getting computers to work with the physical world is fun; this blog looks at my own personal experimenting and building in this area.