Hi,
After reworking the PCB as you suggested its works like a charm, both code provided and 0-5V range.
Thank you!
Search found 12 matches
- Sun Nov 28, 2021 8:37 am
- Forum: Drivers for External Components
- Topic: Micropython support LTC1864
- Replies: 14
- Views: 28193
- Thu Nov 25, 2021 6:59 am
- Forum: Drivers for External Components
- Topic: Micropython support LTC1864
- Replies: 14
- Views: 28193
Re: Micropython support LTC1864
I'm working with gained photodiode that outputs 0-5V, so clamping to 2.5V will be a problem for me.
Is this something achievable using the current ADC11 Click schematic? or should i look for another LTC1864 module?
Thank you for the support,
Is this something achievable using the current ADC11 Click schematic? or should i look for another LTC1864 module?
Thank you for the support,
- Wed Nov 24, 2021 2:04 pm
- Forum: Drivers for External Components
- Topic: Micropython support LTC1864
- Replies: 14
- Views: 28193
Re: Micropython support LTC1864
The click module sets Vref to Vcc = 5V, the board input - is tied to a 2.5V virtual level. The IN- input of the chip is tied to GND. Tjhe virtual GND at Vcc/2 is the reason for a ~32768 reading with low of no input voltage. The input divider has a ratio of 38/2038, which results in an effective ran...
- Wed Nov 24, 2021 1:17 pm
- Forum: Drivers for External Components
- Topic: Micropython support LTC1864
- Replies: 14
- Views: 28193
Re: Micropython support LTC1864
What happens if you swap the inputs? Do you then get negative values? When looking more carefully there is some feedback on the results, With very low voltage < 1V, values are averaged 32834.44 , at 4V the average jumps to 33747.27, and when applying 4V on the other direction/polarity the average i...
- Wed Nov 24, 2021 8:20 am
- Forum: Drivers for External Components
- Topic: Micropython support LTC1864
- Replies: 14
- Views: 28193
Re: Micropython support LTC1864
Hi, My wiring is as follows: -VREF and VCC tied together to 5V coming out of LTC6655 5V voltage reference. Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc6655-6655ln.pdf The LT1864 is the Mikroelectronica ADC11 click Schematic attached: https://download.mikroe.com/...
- Wed Nov 24, 2021 7:17 am
- Forum: Drivers for External Components
- Topic: Micropython support LTC1864
- Replies: 14
- Views: 28193
Re: Micropython support LTC1864
Hi, I think you are correct. I found that the setup of spi may be critical. I read the datasheed and would suggest to try something like this: from machine import Pin, SPI from time import sleep_us conv = Pin('B12', Pin.OUT_PP, value=0) # use any i/o pin spi = SPI(2, baudrate=1000000, polarity=1, p...
- Mon Nov 22, 2021 8:28 am
- Forum: Drivers for External Components
- Topic: Micropython support LTC1864
- Replies: 14
- Views: 28193
Micropython support LTC1864
Hi, I'm trying for few days already to read LTC1864 ADC to the Pyboard without any success. Here is the component's datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/18645fb.pdf The problem have to be related to my code as i'm using off the shelf modules and not any cust...
- Thu Aug 19, 2021 10:45 am
- Forum: ESP8266 boards
- Topic: ESP8266 UART TX/RX word length
- Replies: 1
- Views: 1528
ESP8266 UART TX/RX word length
Hi, I'm trying to write data from my PC to ESP8266 on WEMOS D1 Mini , and get the same data back to my PC using UART0, I can send long character strings, but only 16 characters are coming back. Is there any maximum characters? or i have any problem? Attached is the pc python code using pyserial as i...
- Thu Aug 12, 2021 4:53 am
- Forum: ESP32 boards
- Topic: using ESP32 UART0 as serial communication port
- Replies: 1
- Views: 2574
Re: using ESP32 UART0 as serial communication port
in case it is possible to reattach the repl to UART0 possible solution can be: from machine import UART import time uart = UART(1, baudrate=115200, tx=1, rx=3) while True: data = uart.any() if data: data = uart.read() if data == b'reset': uart = UART(0, baudrate=115200, tx=1, rx=3) else: uart.write(...
- Thu Aug 12, 2021 4:53 am
- Forum: ESP32 boards
- Topic: using ESP32 UART0 as serial communication port
- Replies: 1
- Views: 2574
using ESP32 UART0 as serial communication port
Hi, I'm trying to implement serial communication (tx & rx) through my PC USB using ESP32-WROOM32 board running build 'esp32-20210623-v1.16.bin'. I prefer to use UART0 as the board already have the USB/Serial bridge and i don't need to connect external one. I already searched the forum and found few ...