Browse over 10,000 Electronics Projects using the Page Numbering provided at the bottom of each Page.

Machine learning using two PIC16F877

Machine learning using two PIC16F877

This observation is about a machine (pic) learning a sequence from another machine (pic), without any human intervention and with no more feedback than a percentage correct.
One pic takes a random sequence, and the other has to learn what this sequence is. In the run in the screen shot below the correct sequence (1-3-2-4) was learned after 44 tries. After that the student pic answered correct 100% of the time.

The sequence consists of four steps. All possible combinations of 1,2,3 and 4 are allowed. So 1-2-3-4 is permitted, but so is 2-2-2-2. Anything goes, as long as it consists of four steps. The sequence is represented by LEDs. For example sequence 1-1-1-4 would mean flash LED 1 three times and LED 4 one time. The students guesses using his four LEDs. The teacher has four LDR’s to detect the student’s sequence. Both pics are connected by usart serial so the teacher can relay to the student the score for his attempt (0 – 100% correct).

Visit Here for more.

 

More Articles to Read

Single-Sided USB Charger
Single-Sided USB Charger
A FPGA controlled RGB LED MATRIX for Incredible Effects – the Hardware
A FPGA controlled RGB LED MATRIX for Incredible Effects – the Hardware
Using Nanotimers to Reduce IoT System Power Consumption by an Order of Magnitude
Using Nanotimers to Reduce IoT System Power Consumption by an Order of Magnitude
Replace a microwave’s beeping with the Windows XP startup sound
Replace a microwave’s beeping with the Windows XP startup sound
A DIY Laser Scanning Microscope
A DIY Laser Scanning Microscope
Reverse-engineering the surprisingly advanced ALU of the 8008 microprocessor
Reverse-engineering the surprisingly advanced ALU of the 8008 microprocessor
ESP8266 LED lighting: QuinLED v2.6 PCB
ESP8266 LED lighting: QuinLED v2.6 PCB
Switching LVDS Graphics in a Laptop Computer
Switching LVDS Graphics in a Laptop Computer
Teleknitting: TV-based string art
Teleknitting: TV-based string art
DIY Bubble Machine
DIY Bubble Machine
Start your day with Nerf target practice!
Start your day with Nerf target practice!
Teardown of a Peaktech 6225A
Teardown of a Peaktech 6225A

Top




Shares