Construction and animation of a Creole Case
This
file concerns the construction then the animation of a model of a colonial
house using 3 B4X applications
To summarize, it's
about controlling a small house via the Bluetooth system of your Android
Smartphone
Construction and electronic equipment of the Creole
house
Material
and components used
The list below is only a suggestion and of
course other choices can be made according to your needs and possibilities.
+
=
As this model of small servomotor cannot be
found, I recommend replacing it with the XICOOLEE SG92R model which is
perfectly suited for this use.
AND
OR
AND
- 1 Arduino MEGA2560 card or compatible
- 1 HC05 Bluetooth module installed on a quarter
connection plate (+ three 1 Kohm resistors to protect it)
- 2 MG 996 R servomotors with accessories (Arms
extended by a small metal bar + adjustable length links)
- 1 SM-S2309S or XICOOLEE
SG92R mini-servomotor and a bronze bell
- A buzzer, internal ringing device (replacing the
Mini-Servo + Bell set)
- Power supply 1 >>> One 9 Volt pressure
battery AND a cord with pressure connections for the 9 Volt battery
- Power supply 2 >>> Two rechargeable LI-ION
batteries (3.7 volts x 2 = 7.4 volts) AND a box to connect the 2 batteries
>>> preferable solution after experimenting with both systems
- A general switch to supply or cut off the system
with 9 Volt current
- A male Jack plug to connect into the appropriate
socket on the Arduino card (or connect to the VIN pin)
- Micro-switch (optional) to manually trigger the bell
ringing
- Bright white or colored LEDs depending on your lamp
projects
(If the LEDs are not already protected from overvoltages by resistors, plan to do so with a resistor of
220 ohms per LED)
- Mini-floor lamps (Please note, this product is not
protected by a resistor, so the internal white LEDs will not support 5 Volts,
protection by one or more 220 Ohm resistors must be provided.)
- Plastic straws intended to transform a mini-floor
lamp into a facade wall light...
- Mini hinges with small matching screws
- Rigid red, black, white, yellow, green, blue wires
to connect components with the Arduino card and/or solderless connection plates
- Mini-pins to fix the flexible wires in the holes of
the connection plates
- Half connection plate for multiple light connections
for example (Or quarter plates easier to hide, etc.)
- Mini terracotta pots 3cm x 3 cm (Purely decorative
accessories and therefore not essential)
Connection
diagram of the Creole house
Smartphone screenshots of
the B4A application
Video tour of the house - Old system video - New system video
Video
test of the small bell shaken by the new recommended small servomotor
Download
the small B4R program to test the ringing of the bell
Download the APK file Download the B4A files Download the B4R file