Forum breadcrumbs - You are here:ForumMain forum: PiEEGProgrammable signal gain
Please or Register to create posts and topics.

Programmable signal gain

Hello,

How is the signal gain set?

 

Thanks,

MJ

Hi, thank you for the message, just let me confirm,  do you want to increase gain via internal register for some ch in PiEEG devices? and do you use Python SDK file

Generally, you can choose gain via bits 6:4  for the channel register
000 : 1
001 : 2
010 : 4
011 : 6
100 : 8
101 : 12
110 : 24

as example if you want make gain 2 for 1 ch

you need for address = 05h write the value 10h

 

 

Yes, thank you!

As ecample for pieeg script 

ch1set=0x05

write_byte (ch1set, 0x10)