Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Piso Wifi Code SD Card version

Status
Not open for further replies.
yes po...anong rates ng code na ito??

- - - Updated - - -

Nasa post na ung mga parts na kilangan, ang kulang lang jan is Mikrotik and CPE for wifi extender

diba need pa ng push button??
 
yes po...anong rates ng code na ito??

- - - Updated - - -



diba need pa ng push button??

Yup, pwede mo gawing ilang rates yan, kasi nga may source code na, anytime pwede mo e edit at gawin kung ilang rates gusto mo.
 
gusto ko sana simulan na to. kaso kulang sa information :(
 
Parts na kilangan mo nasa first post.
 
complete requirements na ba yung nasa 1st post para maka operate ng vendo wifi or code palang to ..
 
complete requirements na ba yung nasa 1st post para maka operate ng vendo wifi or code palang to ..

Post updated nanjan na lahat Source Code and Parts na kilangan niyo,

Important: Basic Knowledge of C#/C++
 
sir palagay din ng mga txt file or folder n nsa sd card.. thanks..
 
sir palagay din ng mga txt file or folder n nsa sd card.. thanks..



Serial.println(F("Getting Counter For 1hr"));
SdFile rdfile("counter1hr.txt", O_READ);
if (!rdfile.isOpen()) {
error("error reading counter1hr.txt");}
while ((n = rdfile.fgets(line, sizeof(line))) > 0) {
if (line[n - 1] == '\n') {
usedcounter=0;
inString = line;
usedcounter = (inString.toInt());
} }
counter = 0;
rdfile.close(); }
void r1hr_write_counter(){
Serial.println(F("Writing Counter For 1hr"));
myFile = SD.open("counter1hr.txt", FILE_WRITE);
if (myFile) {
wrtcounter = usedcounter+1;
myFile.println(wrtcounter);
myFile.close(); } }
void r3hr_get_code() {
char line[25];
int n;
SdFile rdfile("code3hr.txt", O_READ);
if (!rdfile.isOpen()) {
error("error reading code3hr.txt file");}
Serial.println(F("Selecting Specific Voucher For 3hr"));
while ((n = rdfile.fgets(line, sizeof(line))) > 0) {
if (line[n - 1] == '\n') {
counter++;
if (counter == usedcounter){
b=line; } }}
counter = 0;
Serial.println(b);
rdfile.close(); }
void r3hr_get_counter() {
char line[25];
int n;
Serial.println(F("Getting Counter For 3hr"));
SdFile rdfile("counter3hr.txt", O_READ);
if (!rdfile.isOpen()) {
error("error reading counter3hr.txt"); }
while ((n = rdfile.fgets(line, sizeof(line))) > 0) {
if (line[n - 1] == '\n') {
usedcounter=0;
inString = line;
usedcounter = (inString.toInt()); } }
counter = 0;
Serial.println(usedcounter);
rdfile.close(); }
void r3hr_write_counter(){
Serial.println(F("Writing Counter For 3hr"));
myFile = SD.open("counter3hr.txt", FILE_WRITE);
if (myFile) {
wrtcounter = usedcounter+1;
myFile.println(wrtcounter);
myFile.close();}
Serial.println(wrtcounter);}
void r12hr_get_code() {
char line[25];
int n;
SdFile rdfile("code12hr.txt", O_READ);
if (!rdfile.isOpen()) {
error("error reading code1hr.txt file"); }
Serial.println(F("Selecting Specific Voucher For 12hr"));
while ((n = rdfile.fgets(line, sizeof(line))) > 0) {
if (line[n - 1] == '\n') {
counter++;
if (counter == usedcounter){
b=line; } } }
counter = 0;
Serial.println(b);
rdfile.close(); }
void r12hr_get_counter() {
char line[25];
int n;
Serial.println(F("Getting Counter For 12hr"));
SdFile rdfile("counter12hr.txt", O_READ);
if (!rdfile.isOpen()) {
error("error reading counter12hr.txt"); }
while ((n = rdfile.fgets(line, sizeof(line))) > 0) {
if (line[n - 1] == '\n') {
usedcounter=0;
inString = line;
usedcounter = (inString.toInt()); } }
counter = 0;
Serial.println(usedcounter);
rdfile.close(); }
void r12hr_write_counter(){
Serial.println(F("Writing Counter For 12hr"));
myFile = SD.open("counter12hr.txt", FILE_WRITE);
if (myFile) {
wrtcounter = usedcounter+1;
myFile.println(wrtcounter);
myFile.close();}
Serial.println(wrtcounter);}
void r1day_get_code() {
char line[25];
int n;
SdFile rdfile("code1day.txt", O_READ);
if (!rdfile.isOpen()) {
error("error reading code1day.txt file");}
Serial.println(F("Selecting Specific Voucher For 1day"));
while ((n = rdfile.fgets(line, sizeof(line))) > 0) {
if (line[n - 1] == '\n') {
counter++;
if (counter == usedcounter){
b=line;} }}
counter = 0;
Serial.println(b);
rdfile.close(); }
void r1day_get_counter() {
char line[25];
int n;
Serial.println(F("Getting Counter For 1day"));
SdFile rdfile("counter1day.txt", O_READ);
if (!rdfile.isOpen()) {
error("error reading counter1day.txt"); }
while ((n = rdfile.fgets(line, sizeof(line))) > 0) {
if (line[n - 1] == '\n') {
usedcounter=0;
inString = line;
usedcounter = (inString.toInt()); } }
counter = 0;
Serial.println(usedcounter);
rdfile.close(); }
void r1day_write_counter(){
Serial.println(F("Writing Counter For 1day"));
myFile = SD.open("counter1day.txt", FILE_WRITE);
if (myFile) {
wrtcounter = usedcounter+1;
myFile.println(wrtcounter);
myFile.close();}
Serial.println(wrtcounter);}
void coin_get_counter() {
char line[25];
int n;
Serial.println(F("Getting Counter for insertedcoin.txt"));
SdFile rdfile("insertedcoin.txt", O_READ);
if (!rdfile.isOpen()) {
error("error reading insertedcoin.txt");}
while ((n = rdfile.fgets(line, sizeof(line))) > 0) {
if (line[n - 1] == '\n') {
coinusedcounter=0;
inString = line;
coinusedcounter = (inString.toInt()); } }
coincounter = 0;
Serial.println(usedcounter);
rdfile.close(); }
void coin_write_counter(){
Serial.println(F("Writing Counter For insertedcoin.txt"));
myFile = SD.open("insertedcoin.txt", FILE_WRITE);
if (myFile) {

Basahin mo lang ung .txt file at un gagawin mo at ilalagay mo sa luob ng sd card mo.
 
air baka pede attached mo n rin ung mga file sa loob ng sd card.. kung pede lang naman tia
 
Master bakit kya ayaw magpakita character khit done uploading nman n sya.. d kaya sa arduino uno...ano po ba ginamit uno
po ba o mega.. maraming salamat
 
Last edited:
di pa atah perfect tong code nato. may idadagdag kapa para maging swabe
 
maganda to makatipid tayo nito... kng sino yong marunong magsetup nyan. pa share nmn po....... salamat sa inyo
 
PM niyo nalang ako guys kung gusto niyo talaga bumuo ng vendo na sarili niyo talaga, na upgrade ko na itong code from arduino pro mini to orange pi board, just pm me for the info, e guide ko kayo pano makabuo ng Vendo na hindi aabot ng 10k. .
 
NAPAGANA kona tong code nato.. namodify kona din.. working wifi vendo na cia sakin ngaun.. check neo youtube channel ko.. "projectdimpreza" jan ung video.
 
yes working ang code na yan...

napost ko na dati yan dito.. compete code with wiring diagram..

or if need nyo yung original arduino code..kindly see attached here... code and wiring diagram.
kung anong pin ang ginamit sa coinslot
kung anong pin ang ginamit sa button

Parts:
1. Arduino board
2. 16x2 LCD with I2C board
3. SD Card module
4. Multi Coinslot with 12V supply
5. Button
6. Connecting wire

Big "Thanks" is much appreciated

Cheers
God Bless

- - - Updated - - -

Medyo sa Wiring di ko kabisado, pero kung may mag share dito about sa wiring nito, big thanks tayo hehe. .

pwede kita help sa wiring
 

Attachments

  • wifi vendo SD verdion.jpg
    wifi vendo SD verdion.jpg
    42.6 KB · Views: 146
  • reido_coin_operated_wifi_arduino-master.zip
    3.2 KB · Views: 172
Last edited:
Bali arduino po yung gamit pangbuild dito d po raspberry pi? Newbie po pero planning to make sana.
 
Status
Not open for further replies.
Back
Top Bottom