![]() ![]() ![]() To upload the sketch I have to disconnect the connection between the RFID Tx and Arduino Rx or I get an error, which is normal, and if I run the sketch with that wire disconnected GET works fine. I then use the GET function of PLX-DAQ to read a cell from the Arduino sketch. The cell J4 toggles 0 or 1 according to whether disconnected / connected. So I thought to set a particular cell on Excel with the PLX-DAQ form macro in VBA to 1 (when connected) or 0 (disconnected) then read that in the Arduino code to determine whether to pass data via serial to excel or pull stored data off SD card. ![]() I need a way of working out when the Uno is connected via PLX-DAQ to USB/serial, or when the Uno is just on battery. Have a 125Khz RFID module on an Arduino Uno, with SD card module and and RTC, all working nicely and passing data via PLX-DAQ to Excel and storing data to SD card. You can edit the visual basic code behind your form in Excel by clicking the button View code below Design mode on the control toolbox. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |