Implantable Identification Project

Hi I am currently been working on a Biohacking project after watching a documentary on the subject. I did electrical engineering and electronics in school and collegel. So Hardwear side I'm okay, Software however Its not my expertise.

There are two parts to the project. The scanner and the implantable device. (IPD) The implantable device is going to be powered by two coils acting as a loosely coupled air core transformer. The Scanner acting as the primary windings and the IPD acting as the secondary. This will power the IPD, Currently Its early days and I have a simple proof of concept where music and power is sent by the primary coil and powering and playing music from a speaker on the secondary.

On the IPD there will be a IR transmitter. Instead of the Scanner sending music, There will be different frequencies sent by the scanner, which correspond with different messages that will be sent by the IR transmitter to the IR Recievier on the scanner. Such as First 10000hz , Middle 10333hz, last name 10666hz, DOB ect.

The prototype is going to use a Arduino nano V3 as I feel it could be made smaller and is already relatively small. It also has a built in regulator.

I have been using chatgpt to help out with the IPD code, however I thought I'd see what the actual professionals here have to say. Also I am interested in anyone's ideas what other features could be incorporated and possible ways of implementing such ideas. Also what are people's feelings on such a concept.

Kind regards,
Rick


#include <IRremote.h>

// Define the IR LED pin
int irLedPin = 9;

// Define the frequency/message pairs
const int freqs[] = {10000, 10333, 10666, 11000, 11333, 11666, 12000, 12333, 12666, 13000, 13333, 13666, 14000, 14333, 14666, 15000};
const char* messages[] = {"hello***************", "world***************", "this is a test*******", "of the emergency*****", "broadcast************", "system***************", "this is only a test**", "*********************", "*********************", "testing 123**********", "abc123**************", "testing testing*****", "12345***************", "67890***************", "testing one two three", "*********************"};
const int numFreqs = sizeof(freqs) / sizeof(int);

// Define the IR transmitter object
IRsend irsend;

void setup() {
  // Initialize the serial port
  Serial.begin(9600);

  // Initialize the IR LED pin
  pinMode(irLedPin, OUTPUT);
}

void loop() {
  // Read the input signal on pin 2
  int frequency = pulseIn(2, HIGH);

  // Check if the frequency matches one of the defined frequencies
  for (int i = 0; i < numFreqs; i++) {
    if (frequency >= (freqs[i] - 25) && frequency <= (freqs[i] + 25)) { // allow for a ±25 Hz tolerance in the frequency detection
      // Send the corresponding message over IR
      char message[33];
      strncpy(message, messages[i], 32);
      message[32] = '\0';
      irsend.sendNEC((uint32_t)message, strlen(message)); 
      Serial.println(message);
      break; // exit the loop once a frequency is detected
    }
  }
}

You forgot to mention whether the code runs, and does what you want, but thank you for being up front about it!

If the code does not do what you want, and your software skills are not good enough to recognize and correct the errors that chatGPT typically makes, it is probably not worth the effort to ask it for advice.

Someone recently posted a chatGPT program here that could not possibly have accomplished the requested task, because the algorithm chosen by the bot was completely inappropriate! The bot did not "understand" the physics behind the request, of course.

That said, downloading code from Instructables or Youtube sites is equally problematic, since a surprisingly large fraction of the people who post on those sites have little to no idea what they are doing.

Hi j, No not yet, I did have to walk the AI through what I was trying to do, Which didn't fill me with confidence, so I hope it isn't a load of rubbish. I did however ask it to imagine one 6 sided dice and one 8 sided dice and the probability of rolling higher that a 10. Something I did know and it made afew mistakes and you ask it to fix it and it will randomly change a number and call it fixed.

There's no time limit on the project , I just want to see if it could be done. So any recommendations would be appreciated :+1:.

Rest assured, it is. Get yourself some programming tutorials.

Hint: check what sort of arguments and data the function sendNEC() expects, since chatGPT did not.

Okay will do , Thankyou :+1: what other functions would you like to see which you think would be feasible.

Feasibility wise what do you reckon could also be incorporated.

There are numerous professional RF-powered medical projects on the Internet, but without digging deeply into each, I do not know if "tones" as part of the scenario.

RF-powered human implant multiple data retrival at DuckDuckGo

Tones have been used extensively to convey information, probably the most well known is
Dual-tone multi-frequency signaling - Wikipedia

So, I would not view such a solution weird. You should investigate the patents around some common medical devices for insight, Ex:
Dexcom Continuous Glucose Monitoring | Dexcom

Also, look into the wide use of RFID devices for power profiles, frequencies, and other ideas: implantable RFID is widely utilized.

RFID Glass Capsule (125kHz) - SEN-09416 - SparkFun Electronics

Hi, @rik3y
Welcome to the forum.

Can I suggest if this is your first Arduino code that you consult some tutorials on how to basically code your Nano.
Can you please post links to your hardware.
Can you please post a block diagram of your system.

I'm confused about what you are using IR for?

The IPD is basically and RF ID unit.

Please post a link to the IPD and its scanner.

Thanks.. Tom.. :smiley: :+1: :coffee: :australia:

I hope you aren’t going to actually stick this in your arm or anyone else’s . I’m sure there are laws against that .

Well it will be my first Arduino project, in college many moons ago the only sort of coding was machine code and assembly. I'm alot more hardware focused. I will try to do a basic circuit diagram for you, basically the device is continuously powered, The coil provides the power. It's frequently dictates what pre programmed information on the user is sent back via the IR transmitter.

Be sure to shield the active electronic devices from the EMF from your transformer.

Hi,

I look forward to your diagram.
What will you use as the IPD?
How will you program it?
Have you experimented with IR data transmissions through the skin?

Have you experimented with RFID units and IPD units?

Tom.. :smiley: :+1: :coffee: :australia:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.