
Psoc5power
profdc9/DRSSTC-PCB-Pack
A pack of PCBs for a dual resonant solid state tesla coil setup. Pretty much everything you need.

Arduino and PointGrey camera based behaviour setup.
AnimalBehaviour is an open-source printed circuit board by BhallaLab, from the BhallaLab/MouseBehaviour repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 106.5 × 83.5 mm with 25 parts on 26 nets, routed with 259 tracks and 0 vias.
It is built around the IRF540N. Its parts include 14 connectors, 4 resistors, 1 IC, 1 diode and 1 transistor. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Documents https://bhallalab.github.io/MouseBehaviour
A cmake based C++/Python pipeline to run behavioural experiment.
A protocols must be listed in ./Protocols/BehaviourProtocols.csv. You must specify the right
protocol code duging configuration. See section How to run the pipeline below.
Both the arduino and the camera should be connected to the computer before starting the session.
This code will only work on Ubuntu-16.04. Install arduino, c++ compiler (gcc), cmake, and boost libraries.
Script bootstrap.sh will try to install all dependencies. Required
libraries for PointGrey camera is in the source.
$ git clone https://github.com/BhallaLab/MouseBehaviour.git
$ cd MouseBehaviour
$ sudo -E ./bootstrap.sh # on first time post login. If it fails, manual configuration is needed.The script bootstap.sh will try to configure your system. You must have sudo
permissions because we need to add to various groups (pgrimaging and dialout)
before you can access camera and serial port. In case, something odd happens,
raise an issue on github.
Once bootstrap is successful, logout and login. Changes made to your groups comes
into effect only after a fresh login. To verify that you are in appropriate groups, type groups
command in terminal. Make sure that pgrimaging and dialout appears in the
group list. If not, things have not gone properly.
To build and upload to arduino:
$ mkdir _build
$ cd _build
$ cmake -DANIMAL_NAME=k2 -DSESSION_NUM=1 -DPROTO_CODE=All1 ..
$ make run # to run the whole setup, (arduino and camera both must be connected)or
$ make miniterm # Just to test arduino board. (camera need to be connected)On make run, a windows will appear with camera feed and couple of plots at the bottom.
To send commands to arduino, make sure that you focus on the window first (click on it).
Press CTRL+C in terminal to close the session. To see the arduino output in the console,
run make miniterm; and press CTRL+] to come out of miniterm.
If you need to change the arduino port, pass -DPORT=/path/to/port option to cmake. On a linux system, e.g.
$ cmake -DPORT=/dev/ttyACM1 -DANIMAL_NAME=k2 -DSESSION_NUM=1 -DPROTO_CODE=A11 ..Analysis scripts are written in python and requires common numerical computational
framework e.g., numpy, scipy, pandas and additionally tifflib.
See function write_data_line in file src/main.ino for updated values.
Go to directory ./analysis and read the README.md file there.
Each tiff file contains one trial. The first row of each frame contains arduino
data. You can extract that using the script
./analysis/get_data_line_from_tiff.py file.
To extract data run,
$ python ./analysis/get_data_line_from_tiff.py /path/to/session/trial01.tiffIt will print the csv files onto the terminal and also save it to a dat file in the same folder. A plot file is also generated.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 470E | Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P5.08mm_Vertical | R2, R4 |
| 1 | 10K | Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P5.08mm_Vertical | R3 |
| 1 | 10M | Resistor_THT:R_Axial_DIN0309_L9.0mm_D3.2mm_P5.08mm_Vertical | R1 |
| 1 | 4N35 | Package_DIP:DIP-6_W7.62mm_Socket | U1 |
| 1 | Arduino_Uno_Shield | Arduino:Arduino_Uno_Shield | XA1 |
| 1 | CAM | Connector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_Vertical | J7 |
| 1 | Cam | MD-60SM:CUI_MD-60SM | J12 |
| 1 | DIODE | Diode_THT:D_DO-15_P12.70mm_Horizontal | D1 |
| 1 | Ext Supp | Connector_Molex:Molex_KK-254_AE-6410-03A_1x03_P2.54mm_Vertical | J14 |
| 1 | IRF540N | Package_TO_SOT_THT:TO-220-3_Horizontal_TabDown | Q1 |
| 1 | Imaging | MD-60SM:CUI_MD-60SM | J13 |
| 1 | Imaging | Connector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_Vertical | J6 |
| 1 | JSolenoid | Connector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_Vertical | J10 |
| 1 | LED | Connector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_Vertical | J11 |
| 1 | Orange Optical RotaryEncoder | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | RotaryEncoder1 |
| 1 | PCB_SSR_4Ch_LLT | SSR4Channel:4ChannelSSR | Assr4ch1 |
| 1 | SSR OUT | Connector_Molex:Molex_KK-254_AE-6410-08A_1x08_P2.54mm_Vertical | J2 |
| 1 | SSR_INPUT | Connector_Molex:Molex_KK-254_AE-6410-04A_1x04_P2.54mm_Vertical | J1 |
| 1 | ShockPad | TerminalBlock_Altech:Altech_AK300_1x02_P5.00mm_45-Degree | ShockPad1 |
| 1 | StimCurrentInject | Connector_BarrelJack:BarrelJack_CUI_PJ-063AH_Horizontal_CircularHoles | J3 |
| 1 | StimIsoIN | Connector_Coaxial:BNC_TEConnectivity_1478204_Vertical | J5 |
| 1 | StimIsoIN | Connector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_Vertical | J4 |
| 1 | TONE | Connector_Audio:Jack_3.5mm_CUI_SJ1-3533NG_Horizontal_CircularHoles | J9 |
| 1 | TONE | Connector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_Vertical | J8 |
It measures 106.5 × 83.5 mm and has 2 copper layers, 1.6 mm thick.
25 parts, built around the IRF540N. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the BhallaLab/MouseBehaviour repository on GitHub, at the commit this page was made from: the board is CAD/EDA/AnimalBehaviour.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

profdc9/DRSSTC-PCB-Pack
A pack of PCBs for a dual resonant solid state tesla coil setup. Pretty much everything you need.





AmericanRework/Pico-2x-BLDC
One RP2040 Pico drives two brushless motors! SimpleFOC + Halls + 2304 drivers + TO-220 mosfets or IGBTs. Plugs directly into 450x automower motors.

chgopireddy/Full-Bridge-Class-D-Audio-Amplifier
LTspice Model for Full Bridge Class D, Voltage Mode Control, Peak Current Mode Control

cnobile2012/Li-IonBatteryProtection
Circuit to protect Li-Ion and Li-Po batteries at the cell level.