0% found this document useful (0 votes)
25 views9 pages

Clejjyns Imrad Format (To Print)

Uploaded by

hugpongbolanon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views9 pages

Clejjyns Imrad Format (To Print)

Uploaded by

hugpongbolanon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

The Acceptability of CLEJJYNS Machine as a Community Compost Machine:

An Eco-Friendly Approach to Organic Waste Management


Peavey R. Cabrera Lyn Paul Margarette Z. Magno
STI College – Kalibo STI College – Kalibo

Domic Geralde Michael David Mamay


STI College – Kalibo STI College – Kalibo

MJ C. Lumio Tristhan James L. Mogul


STI College – Kalibo STI College – Kalibo

CJ R. Reyes
STI College – Kalibo

Composting offers a promising solution for sustainable waste management, but traditional
methods can be labor-intensive and require dedicated space. Electronic community compost
machines, like the CLEJJYNS Machine, address these challenges by offering continuous
operation and streamlined waste processing. However, the suitability of such machines for
community-level composting remains unclear. This study investigates the acceptability and
potential impact of the CLEJJYNS Machine in a community setting. We assess community
awareness and expectations regarding composting machines, perceived benefits of
community composting, and residents' perspectives on the CLEJJYNS Machine's efficiency,
ease of use, and potential for fostering community engagement. By analyzing survey data
and resident feedback, this study aims to determine whether the CLEJJYNS Machine aligns
with community needs and presents a viable solution for sustainable organic waste
management within communities.

Keywords: CLE JJYNS, Composting Machine, Or ganic Waste Management

output of typical communities [3]. Versatility and flexibility in waste


processing are key considerations for community composting
technologies. These composting machines offer versatility in
Composting is one of the environmentally friendly ways accepting a wide range of organic waste materials, including food
of reducing organic waste. It is economically viable since it cuts scraps, yard waste, and agricultural residues. This adaptability
costs associated with the hauling of waste and enables farmers to enhances its suitability for processing diverse organic waste streams
reduce the use of fertilizers. Composting operations are non-existent commonly found in communities [4]. Composting technologies play
in the solid municipal waste sector, as the market has molded itself a vital role in reducing greenhouse gas emissions and diverting
and grown into a standard “bury-or-burn” model. As humans are organic waste from landfills, contributing to environmental
trying to address global warming, composting proves to be a sustainability.
promising climate change mitigation option, benefiting societies in
terms of the environment, the economy, and overall health [1]. The composting machine's eco-friendly operation and
production of high-quality compost align with community
As concerns over sustainable living and reducing waste sustainability goals, making it a suitable choice for organic waste
grow, communities are exploring innovative solutions to tackle processing [5]. User-friendliness and community engagement are
organic waste management. Enter the electronic community critical factors in the adoption and success of composting
compost machine – a cutting-edge device that is revolutionizing the technologies within communities [6]. The composting machine's
way we approach composting on a collective scale. One of the key user-friendly design and potential for community involvement in
advantages of electronic community compost machines is their composting activities enhance its suitability for community organic
continuous operation. As new organic waste is added to one end, waste management initiatives. The composting machine demonstrates
finished compost is expelled from the other, providing a steady considerable suitability for processing organic waste generated by
supply of compost without the need for manual turning or batch typical communities. Its high capacity, processing efficiency,
processing. This streamlined approach encourages regular versatility, environmental benefits, and user-friendly design position
participation from community members, reducing the risk of it as a viable solution for sustainable organic waste management at
overwhelming the system with excessive organic waste. the community level.
Organic waste generated by communities varies in
Objectives of the Study
composition and quantity, including food scraps, yard trimmings,
and paper products. Understanding the characteristics of community This study aimed to promote sustainable waste
organic waste is essential for selecting appropriate waste processing management practices within communities by evaluating the
technologies [2]. The capacity and processing efficiency of CLEJJYNS Composting Machine as a potential solution. The specific
composting machines influence their suitability for community-scale goals were:
organic waste management. Some composting machines boast high- 1. Demonstrate the Capacity of the CLEJJYNS Machine:
capacity processing capabilities and efficient decomposition This goal focuses on establishing the CLEJJYNS
processes, making it well-suited for handling the organic waste machine's effectiveness in processing the organic waste
volume and types typically generated by a community. acceptability of CLEJJYNS Machine through Google Forms. The
2. Position the CLEJJYNS Machine as a Viable Option: survey questionnaire was divided into three parts. Part I covers the
This goal seeks to compare the CLEJJYNS machine to expectations and knowledge of the respondents regarding composting
existing community composting methods. machines. Part II covers the potential benefits that the respondents
3. Enhance Community Engagement with Composting: know about composting machines. For Part III, these questions gather
This goal focuses on evaluating the user-friendliness of numerical data from the questions comparing CLEJJYNS Machine
the CLEJJYNS machine for individuals with varying and alternative composting methods in terms of their efficiency, ease
technical skills. of use, and its community engagement. The data was analyzed by the
4. Foster Community Acceptance of the CLEJJYNS researchers with the help of Likert-scale to determine the
Machine: This goal aims to understand the community's respondent’s reaction and take to the study’s acceptability of
overall perception of the CLEJJYNS machine. CLEJJYNS Machine as community composting machine. Below is
the basis for analyzing the data gathered using Likert-scale:
These goals highlight the study's intention to move
beyond simply evaluating the machine. It aimed to demonstrate the Table 2
positive impact of the CLEJJYNS machine on a community level, Likert-Scale Description, Likert-Scale Value and Likert-Scale
promoting its potential as a viable and user-friendly solution for a Interval of the data to be used.
more sustainable waste management approach. Likert-Scale
Likert-Scale Likert-Scale Intevral
Description
Statement of the Problem Very Acceptable 5 4.21 – 5.00
Acceptable 4 3.41 – 4.20
This study aimed to provide a focus on evaluating the Neutral 3 2.61 – 3.40
acceptability, feasibility, and potential impact of the CLEJJYNS Less Acceptable 2 1.81 – 2.60
Composting Machine as a community compost machine. Unacceptable 1 0.00 – 1.80

1. What are the expectations and knowledge of the Hypothesis


community towards composting machines?
The study investigated the acceptability of the
2. What are the potential benefits the community knows CLEJJYNS Composting Machine as a community composting
about composting machines? method. The research aimed to determine if the CLEJJYNS machine
offers a more favorable alternative to existing organic waste
3. What is the level of acceptability of the CLEJJYNS management practices.
Machine as community composting machine in terms of:
a. Efficiency H1: CLEJJYNS Composting Machine is a more acceptable
b. Ease of use method for community compost management compared to other
c. Community engagement available methods.

Methodology Ethical Considerations


The study prioritized the well-being and privacy of all
Research Design participants. Data collection was conducted with respect and
confidentiality. The researchers ensured informed consent by
The study employed a quantitative approach using the
providing participants with clear information about the study's
IMRaD format. IMRaD, which stands for Introduction, Methods,
purpose, procedures, and potential risks. Participation was voluntary,
Results, and Discussion, is a widely accepted structure for scientific
and participants can withdraw at any point. All data collected through
papers. This approach involved collecting and analyzing numerical
surveys was anonymized, meaning no personal identifiers were
data to quantify relationships and patterns to provide a
linked to responses. Data was stored securely and used solely for the
comprehensive analysis of the research topic.
benefit of this study. Finally, the survey instrument was designed to
minimize bias and ensure the collection of accurate and reliable data.
Scope and Sample of the Study
The study surveyed 36 respondents who were randomly Results and Dicussion
chosen from the communities or neighborhoods in Kalibo, who are
potential users of CLEJJYNS Machine. The study was conducted Demographic Profile
within the Municipality of Kalibo, situated in the province of Aklan,
Philippines. Kalibo, as the capital town of Aklan, presents a vibrant Table 2
and diverse community ideal for exploring community acceptance Summary of the age of the respondents
of the CLEJJYNS composting machine.
Age No. of Respondents Percentage
Sampling Method 18-22 years old 22 61.1%
The simple random sampling method was utilized in this 23-27 years old 8 22.2%
research to collect and assess data from randomly selected 28-32 years old 1 2.8%
respondents in the population. This was determined by providing
33 years old and above 5 13.9%
sequential values through close-ended survey form to each sample
within a population, then randomly selecting those values that help The table above shows the distribution of respondents by
the study. age. The majority of respondents, at 61.1% (22 out of 36), fall
within the 18-22 age group. The 23-27 year old age group is the
Instrumentation second largest, with 8 respondents representing 22.2%. The
remaining categories, 28-32 and 33 years old and above, have
The study employed a quantitative approach, utilizing
fewer respondents. There is only 1 respondent (2.8%) in the 28-32
consent forms, and a survey questionnaire, guiding to assess the
age group and 5 respondents (13.9%) in the 33 years old and
above category. sustainable and a cost-effective solution for the community's waste
Table 3 management system. About one-third of the respondents agreed that
the machine to be durable and reliable for long-term use (27.8%), and
Summary of the gender of the respondents nutrient-rich compost for gardens, and high-quality compost in a
Gender No. of Respondents Percentage timely manner (22.2%). This indicates an average understanding
Male 14 38.9% about the sturdiness and production of compost using the CLEJJYNS
Female 22 61.1%
machine.

The survey results regarding respondent gender reveal a In summary, the survey shown that the users identified the
higher participation rate from females. Out of a total of 36
attainable potentials of the CLEJJYNS machines as a accessible,
respondents, 61.1% (22 respondents) identified as female, while
innovative, and adoptable in a community. Furthermore, the machine
only 38.9% (14 respondents) identified as male.
is recognized to serve an inspiration to the development of
sustainable waste management, easy and maintainable, cost-effective,
The expectations or knowledge of the respondents towards
durable and reliable, nutrient-rich and high-quality compost for the
composting machines.
community to use. These results provide insights into the current
understanding of the potential benefits of the CLEJJYNS machine.
The survey results indicated that the respondents have
various expectations and knowledge about composting machines.
The acceptability of CLEJJYNS Composting Machine in terms
The top three (3) expectations were that Composting machines can
of:
be sold to farmers and agriculturists for a cheaper and better option
a. Efficiency
in generating fertilizers (63.9% of respondents), Composting
The overall efficiency of the CLYJJENS Composting
machine helps in managing wastes (55.6% of respondents), They
Machine received a total mean score of 3.58, which falls within
convert organic waste into usable compost (55.6 of respondents).
the Acceptable range. This indicates that on average,
This suggests that a significant portion of the respondents have a
respondents found the CLEJJYNS machine to be acceptable in
basic understanding of the composting process and the primary
terms of its ability to handle the typical volume of organic waste
purpose of composting machines.
and reduce waste through composting.
Furthermore, 58.36% of people believe that composting
Table 4
machines can assist both urban and rural areas, indicating that users The computation for the result of Efficiency.
expect these machines to be a long-term solution for low-cost Question Fe P(%) M Mi
fertilizer production, meeting the needs of the farming community. 1. The CLEJJYNS Very Acceptable - 7 19.4%
machine seems Acceptable - 15 41.7%
It is interesting to see the degrees of interest in different types of capable of handling Neutral - 11 30.6%
composting machines for better organic waste management while the volume of Less Acceptable - 3 8.3% 3.7 Acceptable
organic waste our
adhering to the rules of the crafting economy. community typically Unacceptable - 0 0%
generates.

In conclusion, respondents acknowledged the machines' 2. I believe the Very Acceptable - 1 2.8%
composting process Acceptable - 16 44.4%
potential in reducing landfill waste, creating new products from the in the CLEJJYNS Neutral - 17 47.2%
3.4 Neutral
composted material, and offering a more efficient composting machine would be Less Acceptable - 2 5.6%
completed in a
method compared to traditional approaches. The survey findings reasonable timeframe.
Unacceptable - 0 0%

suggest a positive outlook and recognition of the multifaceted


3. The machine appears Very Acceptable - 4 11.1%
benefits that composting machines can offer communities, paving to effectively break Acceptable - 12 33.3%
the way for their widespread adoption and effective utilization. down food scraps and Neutral – 16 44.4%
yard trimmings into Less Acceptable - 4 11.1% 3.4 Neutral
usable compost with
minimal waste Unacceptable - 0 0%
The potential benefits consumers know about CLEJJYNS remaining.
Composting machine.
4. Compared to Very Acceptable - 7 11.1%
traditional Acceptable - 17 33.3%
composting methods, Neutral – 8 44.4%
The survey results indicated that the respondents have the CLEJJYNS Less Acceptable - 4 11.1% 3.75 Acceptable
various understanding about the potential benefits of the CLEJJYNS machine seems to
offer a faster Unacceptable - 0 0%
Composting Machine. The top three potential benefits based on the composting cycle.
survey results were that the CLEJJYNS machine can readily be
5. The CLEJJYNS Very Acceptable - 5 13.9%
accessible to all the members of the community regardless of machine seems to Acceptable - 19 52.8%
physical limitations (63.9%), can inspire other communities to adopt require minimal Neutral – 11 30.6% 3.69 Acceptable
energy consumption Less Acceptable - 1 2.8%
similar solutions and contribute to a larger movement towards for its operation. Unacceptable - 0 0%
sustainable waste management (58.3%), and the machine would be Overall 3.58 Acceptable

easy to learn about and understand for the community, even for
those unfamiliar with composting (50%). b. Ease of Use
The overall ease of use for the CLEJJYNS Composting
Machine received a mean score of 3.67, which falls within the
Moreover, nearly half of the respondents (47.2%) assent
Acceptable range. This suggests that respondents found the
that the CLEJJYNS machine can inspire further innovation and
machine to be reasonably user-friendly and accessible.
development of sustainable waste management solutions in the
community. This implies that the machine is expected to serve an
ingenuity hereafter. Less than half (44.4%) of the respondents look Table 5
forward to the CLEJYNS machine as easy to use and maintain for The computation for the result of Ease of Use
Question Fe P(%) M Mi
the community. This suggests that the machine should be feasible 1. The design of the Very Acceptable - 10 27.8%
for users in the community. Below half (41.7%) of the respondents CLEJJYNS machine Acceptable - 15 41.7%
appears user-friendly Neutral - 11 30.6% 3.7 Acceptable
anticipated that the CLEJJYNS machine promotes a more and easy to navigate. Less Acceptable - 0 0%
Unacceptable - 0 0%
The overall acceptability of CLEJJYNS Composting Machine.

Table 7
2. The people with Very Acceptable - 5 13.9% Overall Acceptability of CLEJJYNS
varying levels of Acceptable – 15 41.7%
physical ability Neutral – 16 44.4% Category M Mi
3.7 Acceptable
could comfortably Less Acceptable - 0 0%
use the CLEJJYNS
machine.
Unacceptable - 0 0% 1. Efficiency 3.58 Acceptable

3. The people with Very Acceptable - 7 19.4% 2. Ease of use 3.76 Acceptable
varying levels of Acceptable – 16 36.1%
physical ability could Neutral – 13 44.4% 3.83 Acceptable 3. Community Engagement 3.85 Acceptable
comfortably use the Less Acceptable - 0 0%
CLEJJYNS machine. Unacceptable - 0 0% Total 3.73 ACCEPTABLE
4. CLEJJYNS machine Very Acceptable - 7 19.4% The CLEJJYNS Composting Machine shows promise as a
would be easy to Acceptable - 14 38.9% potential solution for community waste management, receiving an
integrate into our Neutral – 12 33.3%
3.7 Acceptable
community's existing Less Acceptable - 3 8.3% overall mean acceptability rating of 3.73, which falls within the
waste management
system.
Unacceptable - 0 0% "Acceptable" range. While not exceeding expectations in any single
category, the machine appears to meet the community's baseline
Very Acceptable - 5 13.9%
5. The design of the Acceptable - 21 58.5%
needs in terms of efficiency, ease of use, and community
CLEJJYNS machine
Neutral – 10 27.8%
engagement.
seems to promote 3.9 Acceptable
ease of use for all Less Acceptable - 0 0%
community members.
Unacceptable - 0 0% Efficiency, measured by factors like waste handling
Overall 3.76 Acceptable capacity and processing speed, received a score of 3.58, bordering on
the neutral range. This suggests the community sees the machine as
c. Community Engagement capable of handling the typical waste volume but might have some
The community engagement aspect of the reservations regarding processing speed compared to traditional
CLEJJYNS Composting Machine received a mean score methods. It's possible that further information or clarification on
of 3.85, which falls within the Acceptable range. This composting timelines could improve perceptions in this area.
suggests that respondents see the machine as a potential
tool to foster a sense of community around waste Ease of use, assessed through aspects like user-friendliness
reduction and composting. and accessibility, received a slightly higher score of 3.76. This
indicates a generally positive perception of the machine's design and
Table 6 inclusivity. The community seems confident that people with varying
The computation for the reulst of Community Engagement physical abilities could comfortably use the CLEJJYNS machine.
Question Fe P(%) M Mi
1. The machine Very Acceptable - 5 13.9%
appears to be a Acceptable - 15 41.7% Community engagement, evaluated through the machine's
system that could Neutral - 16 44.4%
foster a sense of Less Acceptable - 0 0%
3.7 Acceptable
potential to foster collaboration and participation, received the
shared
responsibility for
highest score of 3.85. This suggests the community sees the
Unacceptable - 0 0%
waste reduction in CLEJJYNS machine as a tool that could encourage shared
our community.
responsibility for waste reduction, connect environmentally
2. The CLEJJYNS Very Acceptable - 9 25% conscious individuals, and spark conversations about composting.
machine appears to Acceptable – 17 47.2%
offer a way to Neutral – 10 27.8% This positive perception suggests the machine has the potential to
connect community Less Acceptable - 0 0% become a central hub for community composting efforts.
4 Acceptable
members with a
shared interest in
Unacceptable - 0 0%
environmental
responsibility. In conclusion, the CLEJJYNS Composting Machine
presented itself as an "Acceptable" solution for the community.
3. The design of the Very Acceptable - 7 19.4%
CLEJJYNS Acceptable – 15 41.7% While there's room for improvement in efficiency, particularly
machine seems to Neutral – 12 33.3% processing speed, the machine's user-friendly design, accessibility,
encourage Less Acceptable - 2 5.6%
interaction and 3.75 Acceptable and potential to foster community engagement around composting
communication are all viewed favorably. Further information on specific
among community Unacceptable - 0 0%
members about functionalities and how the machine integrated with the existing
composting.
waste management system could strengthen the overall acceptability.
4. Using the Very Acceptable - 7 19.4% Ultimately, the CLEJJYNS machine appeared to be a viable option
CLEJJYNS Acceptable - 14 38.9%
machine could Neutral – 14 38.9% for the community to explore further, with the potential to contribute
encourage more Less Acceptable - 1 2.8%
3.75 Acceptable positively to local waste management efforts.
people to
participate in
Unacceptable - 0 0%
composting within
the community.
Summary, Conclusion, and Recommendation

5. The CLEJJYNS Very Acceptable -


machine appears to 11
30.6% Summary
be a tool that can Acceptable – 16 44.4% The main objective of this study was to investigate the
promote Neutral – 19 25% 4.05 Acceptable
community Less Acceptable - 0 0% users' knowledge, insights, and acceptability of the CLEJJYNS
engagement in
Unacceptable - 0 0% composting machine. The research focused on the understanding of
composting efforts.
Overall 3.85 Acceptable the users about the machine's sustainability in waste management and
innovative solutions for the community. The study assessed related
literature on agriculture, composting machines, and the economy and
environment.
The study utilized a quantitative approach using IMRaD 3. Explore Automation for Increased Efficiency: The
format, implementing a close-ended survey as the research design survey suggests some concerns about processing speed. To address
and instrument. The study surveyed 36 respondents from the this and further reduce the human workload, explore opportunities to
communities and neighborhoods of Kalibo, Aklan, who are potential incorporate additional automation features into the CLEJJYNS
users of CLEJJYNS Machine. The data were gathered through machine. This could involve automatic temperature regulation,
questionnaires assessing the respondents' demographics, knowledge, optimized mixing mechanisms, or even sensor-based systems for
and acceptability through the Likert scale. The numerical data waste intake and processing. By automating these tasks, the machine
patterns were determined in accordance with the study objectives can operate more efficiently, reducing processing time and human
examined by statistical analysis. effort.

Ethical considerations and informed consents, privacy, 4. Maintain Focus on User-Friendliness and Accessibility:
beneficence, and justice were addressed appropriately to the The positive perception of user-friendliness and accessibility should
participants' rights and welfare in the study. remain a priority. Continue to refine the user interface and
instructional materials to ensure clarity and ease of use for all
Conclusion potential users, regardless of technical expertise. Additionally,
explore options for multilingual support materials and consider
The CLEJJYNS Composting Machine shows promise as a incorporating features that cater to individuals with varying physical
potential solution for the community's waste management needs. abilities. Upholding a commitment to user-friendliness will ensure
While the CLEJJYNS machine received an "Acceptable" overall the machine is widely embraced by the community.
rating across the categories of efficiency, ease of use, and
community engagement, there's room for improvement. Efficiency, By prioritizing these recommendations, the CLEJJYNS
particularly processing speed compared to traditional methods, Composting Machine can become a cornerstone of the community's
seems to be an area of concern. Providing clearer information on sustainable waste management efforts. Investing in performance, user
composting timelines could address this. experience, and fostering a sense of community ownership will
contribute to the success of this innovative solution.
On the positive side, the machine's design was perceived
as user-friendly and accessible, fostering a sense of inclusivity
within the community. Furthermore, the CLEJJYNS machine was
seen as a potential tool to spark collaboration and participation in
community composting efforts. This ability to promote community
engagement around waste reduction was a significant strength.

Overall, the CLEJJYNS Composting Machine presents


itself as a viable option for the community to explore further. While
there's room for improvement in specific areas, the machine's
potential to contribute to waste reduction, user-friendliness, and
community engagement make it a promising solution. Further
information on functionalities and integration with existing systems
could solidify its overall acceptability. The CLEJJYNS machine has
the potential to be a valuable tool in the community's journey
towards sustainable waste management.

Recommendation

The survey results providee valuable insights to guide the


development and implementation of the CLEJJYNS Composting
Machine within the community. Here are key recommendations to
optimize performance, user experience, and overall community
impact:

1. Invest in High-Quality, Durable Components: While the


user experience seems generally positive, consider investing in even
higher-quality components for the CLEJJYNS machine. This could
include using materials with extended lifespans, components known
for reliability, and readily available replacement parts. This focus on
robust construction will minimize downtime, maintenance needs,
and ultimately, user frustration.

2. Expand Research and Data Collection: The current


survey provided valuable insights, but consider conducting a
broader study to gain deeper understanding of the machine's
performance in larger communities or with a wider range of organic
waste materials. Analyzing data from a larger and more diverse
sample size can provide a more comprehensive picture of the
machine's effectiveness and identify potential areas for further
optimization.
References

1. Farhidi, Madani, & Crichton. (2022, October 15). How the


US Economy and Environment can Both Benefit from Composting
Management. Environ Health Insights, 16(11786302221128454).
https://doi.org/10.1177/11786302221128454

2. Mahmoudkhani, R., et al. (2018). Composition and


characteristics of municipal solid waste in the City of Qom, Iran.
Environmental Health Engineering and Management Journal, 5(1),
27-32.

3. Chen, L., & Wang, Y. (2019). Enhancing technology


usability through user training: A case study of composting machine
adoption in rural communities. Journal of Environmental
Management, 245, 109-118.

4. Ogunwande, G. A., et al. (2017). Comparative assessment


of window and pile composting methods for municipal solid waste
management. Waste Management, 63, 424-431.

5. Bernal, M. P., et al. (2019). Greenhouse gas emissions and


carbon sequestration by agricultural and forestry crops in Spain.
Journal of Environmental Quality, 48(1), 15-20.

6. Smith, A., et al. (2018). Designing for community: A


framework for building user-friendly technologies. Journal of
Sustainable Development, 12(3), 145-162.
Appendices

Schematic Diagram
Coding

#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define SCREEN_WIDTH 128 // OLED display width, in pixels


#define SCREEN_HEIGHT 64 // OLED display height, in pixels

// Declaration for an SSD1306 display connected to I2C (SDA, SCL pins)


Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);

#define TEMP_SENSOR_PIN A0
#define HEATING_INDUCTOR_PIN 10
#define BUTTON_PIN 2
#define MOTOR_PIN_1 8
#define MOTOR_PIN_2 9
#define MOTOR_PIN_3 11
#define MOTOR_PIN_4 12
#define MOTOR_ENABLE_PIN_1 5
#define MOTOR_ENABLE_PIN_2 6

Void setup() {
// Initialize the OLED display
Display.begin(SSD1306_SWITCHCAPVCC, 0x3C); // Address 0x3C for 128x64

// Initialize the temperature sensor


pinMode(TEMP_SENSOR_PIN, INPUT);

// Initialize the heating inductor


pinMode(HEATING_INDUCTOR_PIN, OUTPUT);
digitalWrite(HEATING_INDUCTOR_PIN, LOW);

// Initialize the button


pinMode(BUTTON_PIN, INPUT_PULLUP);

// Initialize the motor driver


pinMode(MOTOR_PIN_1, OUTPUT);
pinMode(MOTOR_PIN_2, OUTPUT);
pinMode(MOTOR_PIN_3, OUTPUT);
pinMode(MOTOR_PIN_4, OUTPUT);
pinMode(MOTOR_ENABLE_PIN_1, OUTPUT);
pinMode(MOTOR_ENABLE_PIN_2, OUTPUT);
digitalWrite(MOTOR_PIN_1, LOW);
digitalWrite(MOTOR_PIN_2, LOW);
digitalWrite(MOTOR_PIN_3, LOW);
digitalWrite(MOTOR_PIN_4, LOW);
digitalWrite(MOTOR_ENABLE_PIN_1, LOW);
digitalWrite(MOTOR_ENABLE_PIN_2, LOW);
}

Void loop() {
// Read the temperature from the sensor
Int temperature = analogRead(TEMP_SENSOR_PIN);
Temperature = temperature * 0.48828125; // Convert the analog reading to temperature in degrees
Celsius

// Display the temperature on the OLED display


Display.clearDisplay();
Display.setCursor(0, 0);
Display.print(“Temperature: “);
Display.print(temperature);
Display.print(“°C”);
Display.display();

// If the temperature is below a certain threshold, turn on the heating inductor


If (temperature < 20) {
digitalWrite(HEATING_INDUCTOR_PIN, HIGH);
} else {
digitalWrite(HEATING_INDUCTOR_PIN, LOW);
}

// If the button is pressed, turn on the motor


If (digitalRead(BUTTON_PIN) == LOW) {
digitalWrite(MOTOR_PIN_1, HIGH);
digitalWrite(MOTOR_PIN_2, LOW);
digitalWrite(MOTOR_PIN_3, HIGH);
digitalWrite(MOTOR_PIN_4, LOW);
digitalWrite(MOTOR_ENABLE_PIN_1, HIGH);
digitalWrite(MOTOR_ENABLE_PIN_2, HIGH);
} else {
digitalWrite(MOTOR_PIN_1, LOW);
digitalWrite(MOTOR_PIN_2, LOW);
digitalWrite(MOTOR_PIN_3, LOW);
digitalWrite(MOTOR_PIN_4, LOW);
digitalWrite(MOTOR_ENABLE_PIN_1, LOW);
digitalWrite(MOTOR_ENABLE_PIN_2, LOW);
}
}

You might also like