check in
Ongoing

Rpi 40 pins hat

STDRpi 40 pins hat

tag

849
0
0
0
Mode:Full

License

Public Domain

Creation time:2020-12-20 12:25:46Update time:2021-06-12 19:36:37

Description

Prototype of raspi hat 40pins.

Programmed in python, exactly python+QT5:

Digital outputs working fine

 

Digital inputs (buttons) are working fine

 

Added a 4pins header to connect the  i2c Raspberry LCD touchscreen 7"

 

As I had some issue to drive the ADC ads1115 4 channels 16bits through i2c and I couldn't find the solution on internet, my software skills are my weakpoint , I have moved to the ADC MCP3208 8Channels 12bits.

 

The hardware (hat for raspberry pi) seems working fine.(see picture in attachement.

Where the program written in python + using GUI Qt is reading the channel AI0 set at around 4V, using a setpdown DC-DC converter.

 

In attachement the 3 py files (main+timer+gui) need to be together to run the program. (open main using Thonny python for example)

 

The board is touching a little bit the ethernet connector on the right side, but it is ok, it can be plugged on the 40pins connector, no problem.

(see picture in attachements)

 

I have written a pyqt5 program where you can display the analog inputs every 500ms.

 

If you press the button record, by default it will display and record every second or you can adjust the sample time up to 1 record every 3600s.

 

The data is recorded into the file datalogger.csv file in the rasperry pi into home/pi

 

If you press the button "stop record" then it will display the value of analog input every 500ms.

 

If you press the button exit, you will exit the program.

 

To do next: to improve the program to get a better csv file with all the channels recorded and the title of the columns.

Design Drawing

The preview image was not generated, please save it again in the editor.

BOM

Bom empty

Attachments

OrderFile nameDownload times
1
Screenshot (1).png
2
2
20210416_194822.jpg
2
3
20210416_194832.jpg
2
4
gui.py
2
5
main.py
2
6
timer.py
2
Clone
Add to Album
0
0
Share
Report

Project Members

Comment

All Comments(1)
Sort by time|Sort by popularity
Followers0|Likes0
Related projects
Empty

Bottom Navigation