digitalstables
New member
Hello,
I want to migrate from an arduino mini pro to a tensy 3.2. My problem is that I think i need the reset function. Let me explain.
The arduino boards have a peculiarity that they reset themselves when they accept a serial connection. If you put a capacitor between reset and ground, it makes so it does not auto-reset. I take advantage of this to increase the security of my application, so this function is critical to move away from the arduino mini pro to the Teensy.
What i do is that i put a capacitor between the reset pin and a toggle switch. From the other side of the switch i go to ground. I measure the voltage of the point where the capacitor meets the a switch and i use that value to allow or deny functions sent via the serial port. I call the capacitor, the "Lock Capacitor", because it functions as a lock.
I am building an application where the arduino controls the power to the raspberry pi. The cool thing about the setup, is that if the switch is set so that the arduino autoresets, the pi would just keep rebooting itself. If it set the other way, then the pi will function normally but you will not be able to do certain functions. Essentially, even if a hacker was to take control of the pi, they could not, remotely,modify the firmware.
I really hope i can do something like this with the teensy, because from the specs, it is perfect for my app. The memory is killing me in the Arduino Mini Pro , and I could use a second serial port. Also, I apologise if this is the wrong forum for this question.
Thanks
I want to migrate from an arduino mini pro to a tensy 3.2. My problem is that I think i need the reset function. Let me explain.
The arduino boards have a peculiarity that they reset themselves when they accept a serial connection. If you put a capacitor between reset and ground, it makes so it does not auto-reset. I take advantage of this to increase the security of my application, so this function is critical to move away from the arduino mini pro to the Teensy.
What i do is that i put a capacitor between the reset pin and a toggle switch. From the other side of the switch i go to ground. I measure the voltage of the point where the capacitor meets the a switch and i use that value to allow or deny functions sent via the serial port. I call the capacitor, the "Lock Capacitor", because it functions as a lock.
I am building an application where the arduino controls the power to the raspberry pi. The cool thing about the setup, is that if the switch is set so that the arduino autoresets, the pi would just keep rebooting itself. If it set the other way, then the pi will function normally but you will not be able to do certain functions. Essentially, even if a hacker was to take control of the pi, they could not, remotely,modify the firmware.
I really hope i can do something like this with the teensy, because from the specs, it is perfect for my app. The memory is killing me in the Arduino Mini Pro , and I could use a second serial port. Also, I apologise if this is the wrong forum for this question.
Thanks