04/06/2018
This week we focused primarily on integrating RF into our existing system in order to utilize it to actuate the desired results in prompting the diagnostic and changing the stimulation amplitude.
Natalie created a function to parse the data sent back from the screw to the wand. Additionally, she began incorporating functionality in the screw side to characterize its response upon receiving unique commands from the wand or backpack. She created a program to be run on the Arduino in the backpack which sends a universal command that all screws will respond to, prompting an emergency shut-off. The program run on each screw will check to see if the first four digits of the received command match its programmed ID. If they do not, it will check to see if this code is the universal code prompting emergency shut-off and respond accordingly.
Nathan manipulated an Arduino Mega by soldering togethering the IPSP pins and … to make the Mega compatible with our TFT screen. He then figured out how to reconfigure the RF protocol to function with the Mega. Natalie will now begin incorporating RF functionality into the code of the GUI so that button pushes trigger the desired actuators.
Additionally, Nathan created a diagnostic Python program run from a PC. The user is prompted to enter the four screw IDs and then hits a button “Run Diagnostic.” This then pings the Arduino Mega in the wand to send out a diagnostic command to the screws. The screws then respond with their stimulation amplitude, charge, and impedance. Arduino then pings this back to the Python program, which then prints the data as a text file. Nathan intends to add additional functionality to this program in the case that the patient’s screw IDs have been misplaced. The user will hit a button that will ping the Arduino Mega in the wand to send a universal code, prompting the screws to send back their 4-digit screw IDs.
We have begun a test 3D print of the backpack in order to experiment with the straps over the weekend.
This week we focused primarily on integrating RF into our existing system in order to utilize it to actuate the desired results in prompting the diagnostic and changing the stimulation amplitude.
Natalie created a function to parse the data sent back from the screw to the wand. Additionally, she began incorporating functionality in the screw side to characterize its response upon receiving unique commands from the wand or backpack. She created a program to be run on the Arduino in the backpack which sends a universal command that all screws will respond to, prompting an emergency shut-off. The program run on each screw will check to see if the first four digits of the received command match its programmed ID. If they do not, it will check to see if this code is the universal code prompting emergency shut-off and respond accordingly.
Nathan manipulated an Arduino Mega by soldering togethering the IPSP pins and … to make the Mega compatible with our TFT screen. He then figured out how to reconfigure the RF protocol to function with the Mega. Natalie will now begin incorporating RF functionality into the code of the GUI so that button pushes trigger the desired actuators.
Additionally, Nathan created a diagnostic Python program run from a PC. The user is prompted to enter the four screw IDs and then hits a button “Run Diagnostic.” This then pings the Arduino Mega in the wand to send out a diagnostic command to the screws. The screws then respond with their stimulation amplitude, charge, and impedance. Arduino then pings this back to the Python program, which then prints the data as a text file. Nathan intends to add additional functionality to this program in the case that the patient’s screw IDs have been misplaced. The user will hit a button that will ping the Arduino Mega in the wand to send a universal code, prompting the screws to send back their 4-digit screw IDs.
We have begun a test 3D print of the backpack in order to experiment with the straps over the weekend.