I am planning to use VS1000/VS1000 Audio Module as the main engine for a RFID card reader product ("Product"). When a 125KHz RFID card is placed close to the Product, the Product will read aloud the name of the RFID card holder (imagine that the whole office will know when an employee checks in :-)
Cost is the #1 concern here, therefore no additional micro-controller will be used. Hopefully, all the work can be done be the VS1000/VS1000 Audio Module and keep the cost below USD 8.
After lots of Google Search, I have found the attached circuit from an Arduino website, http://arduino.cc/playground/Main/DIYRFIDReader. In order to use this circuit, I plan to :
1. produce a continuous 125 KHz square wave on one of the GPIO pins of VS1000/VS1000 Audio Module (say GPIO0) as the D9 pin in the Arduino circuit.
2. continuously monitoring if there is data coming in from another GPIO pin of VS1000/VS1000 Audio Module (say GPIO1) as the D7 pin in the Arduino circuit. (e.g. when someone places a RFID card close to the Product)
3. when the data coming in from D7, i.e. the stored RDIF card number (say a 64bit number), the VS1000/VS1000 Audio Module will play a corresponding file to speak aloud the RFID card holder's name.
4. if there is no data coming in from D7, VS1000/VS1000 Audio Module will continuously play some background music loaded from a uSD card.
My questions are:
a. Can VS1000/VS1000 Audio Module perform (1) and (2) while playing music (4). Does VS1000/VS1000 Audio Module have enough processing power for this? There must be no gap / jitter when playing the background music / reading aloud the name.
b. Does VS1000/VS1000 Audio Module have any API to product a continuous square wave (1)? If not, should I use a for-loop?
c. Should I use an interrupt for (2)? If not, should I use a for-loop?
d. Do I need to be concern about the program/memory size, especially when the employee list becomes very long? I will probably not able to put the whole employee list in the memory of VS1000/VS1000 Audio Module. But I hope I can scan the uSD card directory to find the corresponding file quick enough to play (3).
I apologize for this lengthy post. But just want to be 99% sure before investing in the development tools and hiring hands to kickstart this Product. Thanks a lot!
ฉันวางแผนที่จะใช้โมดูลเสียง vs1000 / vs1000 เป็นเครื่องมือหลักสำหรับผลิตภัณฑ์เครื่องอ่านบัตร RFID ( " ผลิตภัณฑ์ " ) เมื่อบัตร RFID 125KHz วางอยู่ใกล้กันกับผลิตภัณฑ์ ผลิตภัณฑ์จะอ่านออกเสียงชื่อของผู้ถือบัตร RFID ( จินตนาการว่าทั้งออฟฟิศ จะรู้ว่าเมื่อพนักงานตรวจสอบใน : - )
มีต้นทุน# 1 กังวลตรงนี้ จึงไม่เพิ่มไมโคร คอนโทรลเลอร์ จะใช้ หวังว่าทุกงานที่ทำได้เป็น vs1000 / vs1000 เสียงโมดูล และเก็บค่าใช้จ่ายด้านล่าง 8 USD .
หลังจากที่จำนวนมากของการค้นหาของ Google , ที่ฉันได้พบว่า วงจรที่แนบมากับ Arduino จากเว็บไซต์ http://arduino.cc/playground/main/diyrfidreader . เพื่อที่จะใช้วงจรนี้ผมวางแผนที่จะ :
1ผลิตต่อเนื่อง 125 kHz สแควร์คลื่นหนึ่งของ gpio หมุดของโมดูลเสียง vs1000 / vs1000 ( พูด gpio0 ) เป็น pin D9 ใน Arduino วงจร .
2 อย่างต่อเนื่องการตรวจสอบหากมีข้อมูลที่มาจากขาอื่น gpio ของโมดูลเสียง vs1000 / vs1000 ( พูด gpio1 ) เป็น pin แอร์เอเชียเอ็กซ์ใน Arduino วงจร ( เช่น เมื่อใครบางคนวางคีย์การ์ดใกล้ผลิตภัณฑ์ )
3 เมื่อข้อมูลที่มาจาก แอร์เอเชียเอ็กซ์ ,เช่น เก็บไว้ rdif หมายเลขบัตร ( บอกหมายเลข 64 ) , โมดูลเสียง vs1000 / vs1000 จะเล่นไฟล์เดียวกันพูดออกเสียงชื่อ RFID บัตร .
4 ถ้าไม่มีข้อมูลที่มาจาก แอร์เอเชียเอ็กซ์ , โมดูลเสียง vs1000 / vs1000 อย่างต่อเนื่องจะเล่นบางเพลงที่โหลดจากราคาบัตร
คำถามของฉันคือ :
A สามารถโมดูลเสียง vs1000 / vs1000 แสดง ( 1 ) และ ( 2 ) ในขณะที่เล่นเพลง ( 4 )มีโมดูลเสียง vs1000 / vs1000 มีพลังการประมวลผลพอ ต้องไม่มีช่องว่าง / กระวนกระวายใจเมื่อเล่นเพลงพื้นหลัง / อ่านออกเสียงชื่อ .
B ทำโมดูลเสียง vs1000 / vs1000 มี API เพื่อผลิตภัณฑ์อย่างต่อเนื่องตารางคลื่น ( 1 ) ถ้าไม่ , ฉันควรจะใช้สำหรับวง ?
C . ฉันควรใช้ขัดจังหวะ ( 2 ) ถ้าไม่ , ฉันควรจะใช้สำหรับวง ?
Dฉันจะต้องกังวลเกี่ยวกับโปรแกรม / หน่วยความจำขนาด โดยเฉพาะอย่างยิ่งเมื่อรายชื่อพนักงานจะนานมาก ฉันอาจจะไม่สามารถใส่รายชื่อพนักงานทั้งหมดในหน่วยความจำของโมดูลเสียง vs1000 / vs1000 . แต่ฉันหวังว่าฉันสามารถสแกนไดเรกทอรี USD บัตรเพื่อค้นหาไฟล์ที่รวดเร็วเพียงพอที่จะเล่น ( 3 ) .
ขอโทษที่โพสต์ยาวนี้แต่แค่อยากให้ 99% แน่นอนก่อนที่จะลงทุนในการพัฒนาเครื่องมือและการจ้างมือเพื่อกระตุ้นผลิตภัณฑ์นี้ ขอบคุณ มาก
การแปล กรุณารอสักครู่..
![](//thimg.ilovetranslation.com/pic/loading_3.gif?v=b9814dd30c1d7c59_8619)