Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

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

Interactive geodesic LED dome = extreme geometric fun!
Interactive geodesic LED dome = extreme geometric fun!
Guide to build your 3.3v power supply
Guide to build your 3.3v power supply
SDR radio breathes life into a 75 year old Marconi CR100
SDR radio breathes life into a 75 year old Marconi CR100
A Time for Ranting!
A Time for Ranting!
Emulate a Commodore 64 keyboard with a modern PC and an Arduino
Emulate a Commodore 64 keyboard with a modern PC and an Arduino
USB2005 and USB97C202 Sharing ATA/ATAPI Drive w/ Another Controller
USB2005 and USB97C202 Sharing ATA/ATAPI Drive w/ Another Controller
Robotic Cat Laser
Robotic Cat Laser
LED traffic light
LED traffic light
Estimating Power for ADSP-BF561 Blackfin® Processors
Estimating Power for ADSP-BF561 Blackfin® Processors
Teach Your Arduino to Switch Itself Off!
Teach Your Arduino to Switch Itself Off!

Top




Shares