Mini Apple II-“Surprise” Machine for Halloween
by Jaychouu in Circuits > Electronics
1072 Views, 2 Favorites, 0 Comments
Mini Apple II-“Surprise” Machine for Halloween
I always get startled easily. I had tried to stop feeling scared by little things all the time. But, well, it’s so hard to change one’s nature, so at last, I decided to take it. One day, at the office, I was working in front of my computer with all my attention focused on the screen, a voice from nowhere suddenly drummed in my ears, and gave me a great fright. It turned out to be my colleague, he didn’t mean to spook me, but I don’t want this happening again. So I need a device to prompt me that somebody is coming to me when I am immersed in my work so I will not get frightened. Besides that, Halloween is coming, I am gonna make something fun. I have a rough idea in mind. Generally, it goes like this: first use some intriguing images to attract people to come closer, when the person is in a certain range, the device enters scary mode with frightening pictures appearing abruptly. If someone wants to give me some “surprises” on Halloween, then I will be using this device to treat him.
As for the appearance of the device, I want to make it like an Apple II. Some of you may have heard of this computer, it is launched in 1977, regarded as one of the most successful personal computers. The case of Apple II was designed to look more like a home appliance than a piece of electronic equipment. I fell in love with this computer the first time I met it in my History of Design class. And it is always on my dream product list. Now I think it is a great opportunity. So basically this is where the idea of my mini Apple II “surprise” machine comes from.
Supplies
- Hardware List
1. Firebeetle Board-M0 (V1.0) X1
2. 2.8” 320x240 IPS TFT LCD Touchscreen with MicroSD
3. Gravity: URM09 Analog Ultrasonic Sensor
4. Four Feet Button Switch
5. 220Ω Resistor
6. Dupont Wires
7. Gravity 3P Wire
9. Type-c Cable
- Software
1. Arduino IDE
2. Image2LCD
Connection Diagram
Solder Pin header to M0 board. Here we need an analog pin and a digital pin(P3 is digital, for connecting with the button; A3 is analog, for connecting to the ranging sensor ).
Add a 220Ω resistor when soldering GND wire to the button switch.
Process Images
Download 7 suitable images from internet, cut and rotate 4:3, and name them as 1 to7.
Download and install Img2Lcd. Open up and import images into it, set the size of images 1 and 7 to 120*160, set 2 to 6 to 60*80, then we will get 7 .c files.
Download GDL Screen Library File.
Download GDL screen library file. Unzip the file and copy it into Arduino Library.
Program Flowchart
The function of the program is as Shown Above.
Revise Code
Design and Assembly Enclosure
Apple II Model diagram:
Laser Cutting Diagram (Unit: mm)
Burn Code and Display Effect
Okay, that’s all for my Surprise Machine, the related files are attached here. Welcome to share your opinion about this project, or DIY your own APPLE II Machine.