top of page
Search

Project 1b - A Simple Neural Network (Raspberry Pi Pico)

  • Writer: James Canova
    James Canova
  • Sep 23, 2021
  • 1 min read

Updated: Nov 14, 2024


Project started: 18 March 2024

Project finished: 30 March 2024


This project is a modification of Project 1a with the Pyboard replaced by a Rasperry Pi Pico.


I've created a PDF with the complete project desciption including project listing:



Please refer to this URL for setup of Micropython on the Pico and installation of the Thonny editor:


Use this Micropython UF2 file since it was complied with the ulab library which includes the require numpy library. https://github.com/v923z/micropython-builder/releases


Instructions for installing the UF2 files on the Pico are found here:




The schematic:

Figure 1 - Schematic

As with Project 1a, when the program start, the red LED illuminates to indicate that the neural netwowk is training which takes about 2.5 minutes. On completion of training, the red LED turns off and the green LED illuminates.


The blue LED indicates the output of the neural network is "1" and the yellow LED indicates the output is "0". The program polls the positions of the switches in an infinite loop.


Figure 2 - Assembly

The Micropython program:





 
 
 

Recent Posts

See All
Introduction

I became interested in artificial intelligence in mid 2021 after watching a documentary on this subject. In particular, I'm interested in...

 
 
 
References

1.Rashid, Tariq, Make Your Own Neural Network , Amazon , 2016 2.Portilla, Jose, "Python for Computer Vision with OpenCV and Deep...

 
 
 
Status of Projects

Last updated: 30 March 2024 Project 0: Read this to get a very basic understating on machine learning and neural networks. Project 1:...

 
 
 

Comments


Post: Blog posts

©2021 by My Machine Learning Blog. Proudly created with Wix.com

bottom of page