Example Code for Other projects-Morse Door Lock
This article offers a detailed guide on constructing a Morse code door lock, explaining hardware setup, wiring, and coding processes, complete with diagrams and sample code to aid in creating a functional and innovative security system.
Hardware Preparation
- button module
- servo
- servo controller module
- NeurOne module
- Mainboard-3IO
Wiring Diagram

Other Preparation Work
Connect digital or analog sensor (e.g., button module) to the left input pin of the NeurOne module.
Result
- Learning Phase: Release the two buttons at the same time, the servo will move lightly (indicating the study is finished).
- Adjustment Phase:
- If the servo doesn’t move after releasing the button: Accuracy is too high.
- If the servo moves when pressing the button randomly: Accuracy is too low.
Additional Information




1.the NeurOne module can only learn to record the data once. When users press the learning button to record data again, the last recorded data will be overlaid with new data.
2.The NeurOne module can learn muitlple data at one time. For example, press the push button for 10 times (must be within 10 seconds).
Was this article helpful?
