DIY Coin Sorting & Counting Machine without any Sensor from Cardboard and Arduino
ฝัง
- เผยแพร่เมื่อ 23 ม.ค. 2018
- This video is about Coin sorting and counting Machine from Cardboard and Arduino with out Any Sensor
Hardware
1. Arduino uno
2. LCD 16x2 i2c
3. Resistor 1M ohm x4
4. Male Pin Strip
5. Wires
Arduino Sketch : github.com/makertut/coinsorting
How it works : • How it works : DIY Coi...
::::::::::: SUPPORT CHANNEL ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Please Donate To Help Me Afford New Equipment And Software To Make My Videos More : goo.gl/1m8Dg2
Don't forget to subscribe! - วิทยาศาสตร์และเทคโนโลยี
why do we have to touch the copper tape when we insert the coin????Please reply
I'm sorry for the late reply. It works like th-cam.com/video/wOfTDxI1QUA/w-d-xo.html
I'll make a demo video
thanks for replying
How it works : th-cam.com/video/R6OPFV0uBOA/w-d-xo.html
@@MakerTutor101 is there any alternative?
Please contact number
Price kiti ahe
I would never thought of this method without using sensors, it turns out that you just need a switch circuit!
Thanks for the idea!
Hello Maker Tutor, your video is really inspiring me to make it happened. For the Adriano coding, I am wonder if that do we need import the library for CapacitiveSensor (as we normally did). If we have to would you able to share with me. Hope you can reach this comment. I really excited for this project. Stay safe!!!
Of course! Coins are great conductors.
congrats on the project
Will the resistance be affected by 1K?
This machine is sorting out the coins based on size of the coins but I am looking for a machine which should sort out based on number on the coin. Any possibility ????
Can we use nano instead of uno ???
What brand is your aluminium tape
Hello. It is really great. Can I copy the code that you used to it?
How to connect male pin with the yellow wire?
the lcd shows me the numbers, but it doesnt count... can anyone help me? i must be finished to tomorrow... PLEEEASEEEE
Hi.. hoping that you can do this with IR sensor please? i need code for that.. God Bless
the lcd numbers isn't showing..please answer..i really need to complete this project .thank u in advance!
hey you should check yourlcd
excuse me ... I'm still a beginner is this kind of things, sir/maam would you please show us the circuit connection using fritzing??
humbly asking :)
Thanks for watching : ----> goo.gl/YBer4q
How it works : th-cam.com/video/R6OPFV0uBOA/w-d-xo.html
ay hahaha thanks sir/maam :)
Programation?
I have copied the coding.. But it didn't work..
Why are you touching the white part
What you have used to count the coins
He made a switch circuit on his own. You know, coins are great conductors. So when a coin slides down and touches the aluminium part, the circuit is closed, otherwise the circuit is open. You can utilise this as 0/1 signals.
Hi, can you share the latest code, because the previous is not working
Yeah...It's not working for me too....
For me also
hi cant download the sketch, any other location i can download?
github.com/makertut/coinsorting
Now the counter need a separation between numbers.
Can you please tell me the arduino code?
Please write the materials used in this project
hi. thanks your videos. its nice and usefull. will u share codes for this.
hie did you get the code
HI..i made this machine..as same ad u provide details.. bt the 1st aluminum tap coin is not detect..rest of 3 are work properly..plz help me to solve this problem..
can we please get coding for this?
How does the value SHOWN without a sensor
Thank you so much it's very simple and good project
ahhhhhhhh thanks :D
ติดตามช่อง Maker tutor เยอะๆน้ะครับ
does somebody have the working sketch for this because it isn't working?
please reply quickly!!!!!
Did u get the code?
I used to have a working one I will check monday if I still have it
@@nathanbruggeman3161 found it? I really need to finish this project
@@Valentina-zm7gr I got one but I don't know if I still have it I will check it when I can
@@Valentina-zm7gr
#include
#include
#include
#include
#include
LiquidCrystal_I2C lcd(0x3F, 16, 2);
CapacitiveSensor capSensor = CapacitiveSensor(4, 2);
CapacitiveSensor capSensor2 = CapacitiveSensor(4, 5);
CapacitiveSensor capSensor5 = CapacitiveSensor(4, 6);
CapacitiveSensor capSensor10 = CapacitiveSensor(4, 7);
int ms_time = 800;
int threshold = 640;
const int ledPin = 13;
bool led_state = LOW;
bool pass = false;
int count_c1 = 0;
int count_c2 = 0;
int count_c5 = 0;
int count_c10 = 0;
int sum = 0;
unsigned long ms1 = 0;
unsigned long ms2 = 0;
unsigned long ms5 = 0;
unsigned long ms10 = 0;
void setup() {
lcd.init(); // initialize the lcd
// Print a message to the LCD.
lcd.backlight();
lcd.setCursor(0, 0);
lcd.print("1 2 5 10 sum");
Serial.begin(9600);
pinMode(ledPin, OUTPUT);
delay(50);
}
void loop() {
checkCoin1();
checkCoin2();
checkCoin5();
checkCoin10();
lcd.setCursor(0, 1);
lcd.print( count_c1);
lcd.setCursor(3, 1);
lcd.print( count_c2);
lcd.setCursor(6, 1);
lcd.print( count_c5);
lcd.setCursor(9, 1);
lcd.print( count_c10);
lcd.setCursor(13, 1);
lcd.print( sum);
}
void checkCoin1()
{
long sensorValue = capSensor.capacitiveSensor(30);
Serial.println(sensorValue);
if (sensorValue > threshold)
{
if ( ms1 == 0) {
ms1 = millis();
count_c1++;
sum = sum + 1;
}
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
if ( ms1 != 0) {
if ( (millis() - ms1) > ms_time) {
ms1 = 0;
}
}
}
void checkCoin2()
{
long sensorValue = capSensor2.capacitiveSensor(30);
Serial.println(sensorValue);
if (sensorValue > threshold)
{
if ( ms2 == 0) {
ms2 = millis();
count_c2++;
sum = sum + 2;
}
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
if ( ms2 != 0) {
if ( (millis() - ms2) > ms_time) {
ms2 = 0;
}
}
}
void checkCoin5()
{
long sensorValue = capSensor5.capacitiveSensor(30);
Serial.println(sensorValue);
if (sensorValue > threshold)
{
if ( ms5 == 0) {
ms5 = millis();
count_c5++;
sum = sum + 5;
}
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
if ( ms5 != 0) {
if ( (millis() - ms5) > ms_time) {
ms5 = 0;
}
}
}
void checkCoin10()
{
long sensorValue = capSensor10.capacitiveSensor(30);
Serial.println(sensorValue);
if (sensorValue > threshold)
{
if ( ms10 == 0) {
ms10 = millis();
count_c10++;
sum = sum + 10;
}
digitalWrite(ledPin, HIGH);
} else {
digitalWrite(ledPin, LOW);
}
if ( ms10 != 0) {
if ( (millis() - ms10) > ms_time) {
ms10 = 0;
}
}
}
Thats all I still found, I know for a fact that there is somewhere a fault in this sketch but I hope I helped you a little bit futher!
Where you live?Country
เทปที่เป็นเงินคืออะไรหรอครับ
เทปสำหรับปะหม้อที่มัน รั่วครับ
can i have the coding?
hv the coding ?
Please send a code writing
ขอขนาดกระดาษหน่อยค่า
Plz send code
code อะไรครับ
Please i need the codeee
The link doesnt work anymore
github.com/makertut/coinsorting
THANK YOUUUU YOU SAVED OUR SCHOOL PROJECT
@@johnjosephdejesus8524
How did u make it work?
คนไทยวะ
ถ้าผมต้องการให้ ir senser แทนต้องเปลี่ยนcode ยังไงครับ katsakorn-jo@hotmail.com รบกวนด้วยครับ