Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 02:25 13 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Webmite and ADC

Author Message
Gerad
Regular Member

Joined: 10/01/2024
Location: Germany
Posts: 49
Posted: 05:51pm 07 Dec 2024
Copy link to clipboard 
Print this post

Hello everyone
Does anyone have experience with Webmite and ADS 1115 (ADC) I need a 16bit I2C controller for EC measurements. Who can help.

Thank you
Gerard
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 338
Posted: 07:16pm 07 Dec 2024
Copy link to clipboard 
Print this post

Hi Gerard

I wrote a 4 channel reader for the ADS 1115, BUT it is in FreeBASIC and runs on a Rpi Zero W 2.
It is used as a LiPO4 Battery management system in my camper.

Don't know if it will help you.
Can post snippets if you are interested.

Regards
Regards
Hervey Bay Qld.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3359
Posted: 09:37pm 07 Dec 2024
Copy link to clipboard 
Print this post

  Dinosaur said  Can post snippets


Please do.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1096
Posted: 10:40pm 07 Dec 2024
Copy link to clipboard 
Print this post

ADS1115 12V 4 cell meter.zip
Hi

SiliconChip Mag had an aricle on using the 1115 chip in Nov '23, but you may have to pay to see it Here

On page 27 of this months SC there is an actual article using the 1115's with a Micromite packpack here. You should be able to download the software for free from there shop.

This may help

I've been looking at them myself as they can measure over 5V I/P which would be good for the LM335 temperature sensors which I have a number of.

Edit File added

Brian
Edited 2024-12-08 08:52 by Chopperp
ChopperP
 
Gerad
Regular Member

Joined: 10/01/2024
Location: Germany
Posts: 49
Posted: 10:55pm 07 Dec 2024
Copy link to clipboard 
Print this post

it would be great if you could send me some snippets

regards
gerard
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 338
Posted: 12:15am 08 Dec 2024
Copy link to clipboard 
Print this post

Hi All

zip file with critical routines and plenty of comments.

ads1115.zip

Regards
Regards
Hervey Bay Qld.
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 237
Posted: 07:26pm 09 Dec 2024
Copy link to clipboard 
Print this post

Gerad

I copied some notes about I2C from my own manual from a number of years ago of the version PicoMite V5.07.07
Unfortunately, they are in Dutch and without source citation, but are intended to help you progress with your project using the examples.
The WebMite and I2C and ADC are different things and not tested with the WebMite firmware and the latest versions.

Greetings,
Jan.

I2C examples.pdf
 
Gerad
Regular Member

Joined: 10/01/2024
Location: Germany
Posts: 49
Posted: 07:45pm 09 Dec 2024
Copy link to clipboard 
Print this post

Hello Jan
your I2C examples are exactly what I was looking for. It is a great help.

Thank you very much

Best Regards
Gerard
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 338
Posted: 05:04am 10 Dec 2024
Copy link to clipboard 
Print this post

Hi All

No, problem.

Just a word of warning on the reliability of the signals that you measure.
The noise level of the signal is affected by you using the keyboard, or plugging
a monitor in on a headless system.
Put a few pF on the signal line next to the ADS1115 and use a power supply capable of 3 to 5A.
I spent a lot of time tracking them down and in the end opted to filter out rogue readings.
You may find it in the Core Electronics Forum.

If you load the .csv into excel or libre-calc you can show the readings as graphs.
Regards
Hervey Bay Qld.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5058
Posted: 08:24am 10 Dec 2024
Copy link to clipboard 
Print this post

Dinosaur,

Thanks for the code.

JanVolk,

Prachtig document. Heb hem toegevoegd aan mijn 'bibliotheek'. Schrijf je voor een blad ?

Volhout
PicomiteVGA PETSCII ROBOTS
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10246
Posted: 08:49am 10 Dec 2024
Copy link to clipboard 
Print this post

FWIW my favourite ADC is the MCP3424. Full code MMBasic available on TBS if you search for "MCP3424". 12, 14, 16,or 18-bit 4-channel capability with programmable gain amplifier and internal reference. With 18-bit conversions it is possible to directly read thermocouples with no external circuitry
 
Dinosaur

Guru

Joined: 12/08/2011
Location: Australia
Posts: 338
Posted: 08:22pm 10 Dec 2024
Copy link to clipboard 
Print this post

Hi all

@Volhout
Although I can read and understand Hollands perfectly (if spoken slowly), I haven't uttered a word in 50 years. So I won't embarrass myself by attempting that here.

Thank you for your kind comments, writing service manuals for my machines has been good practice. But as I tell my English wife, she learned her English on the street, I was taught from the ground up. (and of-course watching the Untouchables   )

@matherp
It has been a few years since building the battery controller and I don't recall why I chose
the ADS1115, but it's PS sensitivity was a disappointment. I have written ASM interfaces to a few A2D converters starting at a segment driver 7135 to AD7701 and AD7702.
None of them exhibited that intolerance, although I admit to using linear PS for those.
Regards
Hervey Bay Qld.
 
JanVolk
Senior Member

Joined: 28/01/2023
Location: Netherlands
Posts: 237
Posted: 11:26pm 11 Dec 2024
Copy link to clipboard 
Print this post

Harm,

I don't write for a magazine but as a reference work to understand it all better. My English is not very good so Google translate is my friend.
It started with translating parts from a PDF and adding things later.
I do this with OpenOffice and Calibri font for the text and Consolas for the programs and play with the colors and table formatting.
Coloring can be done with simple search and replace for the entire text.
When translating, the program is sometimes also translated, which makes it instructive to put the commands and functions correctly again.
That is also the reason why I have already made several comments about list commands and list functions and I have also included and colored these lists in my own manual.
For example, the PicoMite V5.07.07 manual has 363 pages for me.


Greetings,
Jan.
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025