Design, simulate, and build a simple electronic device that performs two actions. The device may serve a need at your home, or just fun to build!
Railway game
The Railway game is one of the toys that I dreamed of owning when I was young, so it was fun to make it myself.
I tried to implement a similar idea with my design by using pepper to make the model of the train and connect the motor and RGB LED in the circuit which, when we were on the circuit, the light was turned on with a green light. when we switched the switch button, the light turned on a red light and the motor started to work and move the train.
Tinkercad to design the circuit
paper to make a prototype
on\off Switch
5V adaptor
Slide Switch
Jumper Wire
motor driver
RGB LED
resistor 220 ohm
STEP 1
I designed my circuit on Tinkercad.
I used Mottor and RGB LED as the output component.
I simulate the circuit on Tinkercad.
First I tried to connect the device without an on-off switch to test the circuit with a 5V source.
when we are pressing "on" the circuit, the light is turned on with a red light.
when we switched the switch button, the light turned on a red light and the motor started to work.
then I connect an on-off switch to open and close the circuit.
I connected the switch and the on and off switch in series together and I connected the motor and the LED in parallel.
STEP 1
in this step, I made this circuit with my kit component.
First, I tested all components which used.
then I connect them according to the simulation.
After testing the components, I connected the circuit individually to test it.
1- I prepare the component to be ready to connect with instruction and other components.
started to connect components on a small board.
I started connecting the power socket
and then the opening and closing switch, so that on the positive side of the power socket there is one of its wires, and the other end will connect to the rest of the components.
then I connected the switch so that the middle pin was connected to the second end of the open and close switch, and each of the other two ends was connected to a separate row on the board.
After that, I connected the RGB LED so that its negative is connected to the negative power socket the red pin and resistor on one of the two rows of the switch, and the green pin and resistor on the other.
Finally, I connected the motor so that the pin on the negative power socket and the other pin was on the same row of red.
STEP 2
Design and make the game.
First, I drew people for the train car on paper, then cut it out.
On a piece of paper attached to a cardboard, I installed the motor in the center of the paper, then attached a stick to it with a pen at the end and connected it to outline a circle that would help determine the path of the motor.
I made train track runs like paper rods on either side of the line.
I ensured that the bars' width matched the train car's width.
I made this axis so that it could hold the two carts and attach them to the motor blade by attaching two sticks to a piece of plastic that I cut from a straw.
I prepared the LED to look like a lamp post by twisting the wire onto a stick and placing it in a suitable place where all the wires are close together so that it is easy to connect them.
I prepared a control unit with slots for the on/off switch, power socket, and switch.
In the end, I connected all the components.
When I designed the circuit it didn't work as I wanted the RGB LED worked but the motor wasn't working.
It worked in Tinkercad but did not work with my components.
After research and investigation, I discovered that there was an error in how the components were connected to the electrical switch.
Tinkercad software
my new skill this week is knowing that it can simulate and test circuits without damaging my components.
With an awesome team "Lina&Hussien", we could make and control this fantastic car.
Our Fantastic Sumo Car