Today I want to introduce my new tool which can communicate Atari with many I2C equipped devices. It's very simply interface contains special IC made by Philips in 90' PCF8584 connected directly to Atari bus. No all features works as expected at this moment but simple communication with e.g. PCF8574A(I/O expander) is possible and we can send and receive data. I wrote short library in MASM to communicate with PCF8584 but it still need some tweaks. Project will be available on my page with a few examples 🙂
I hope, someone will use Atari like Arduino 🙂
If anyone is interested to use/test/develop library I may send PCB :-)
BR,
pancio
DIAGarI2C
Moderatoren: Sleeπ, andymanone
- pancio
- Beiträge: 278
- Registriert: 31.08.2021 07:31
- Has thanked: 227 times
- Been thanked: 228 times
- Kontaktdaten:
DIAGarI2C
- Dateianhänge
-
- signal-2024-09-21-082356_003.jpeg (1.15 MiB) 2403 mal betrachtet
-
- signal-2024-09-21-082356_002.jpeg (995.54 KiB) 2403 mal betrachtet
-
- signal-2024-09-21-082356_004.jpeg (923.5 KiB) 2403 mal betrachtet
-
- signal-2024-09-20-212438_002.jpeg (834.03 KiB) 2403 mal betrachtet
- tfhh
- Beiträge: 286
- Registriert: 17.06.2021 02:31
- Wohnort: Wistedt, Germany
- Has thanked: 327 times
- Been thanked: 323 times
- Kontaktdaten:
Re: DIAGarI2C
A very good idea! But, IMHO - it would be great to make V2 before this one really comes to marketpancio hat geschrieben: ↑21.09.2024 08:35Today I want to introduce my new tool which can communicate Atari with many I2C equipped devices. It's very simply interface contains special IC made by Philips in 90' PCF8584 connected directly to Atari bus. No all features works as expected at this moment but simple communication with e.g. PCF8574A(I/O expander) is possible and we can send and receive data. I wrote short library in MASM to communicate with PCF8584 but it still need some tweaks. Project will be available on my page with a few examples![]()

Why? Having I2C directly controlled from the Atari is cool, but due to the passive integration you can only use it with assembly language.
My suggestion: Think about a PBI device with PBI handler ("I:" for example) and make it usable using some simple commands for every language like Basic or Turbo-Basic or whatever. THIS would be a really great thing, when hobbyist programmers can easily connect one or more I2C devices (temperature sensors, pressure detection, hundreds of more cool sensors, actuators and more).
The main problem of such expansions (see USB cartridge...) is the needed skills in assembly language. Most users won´t marry the machine, they want to have fun with fast success.
Just my 2 cents....
Mein PN Eingang ist hier abgeschaltet. Kontaktaufnahme bitte per EMail (siehe Avatar
)

- pancio
- Beiträge: 278
- Registriert: 31.08.2021 07:31
- Has thanked: 227 times
- Been thanked: 228 times
- Kontaktdaten:
Re: DIAGarI2C
That's right! Assembler is not so hard to know but I can imagine the easier way like you mentioned :-)
The first thing I considered was checking if it was possible to connect anything containing I2C to an Atari without additional microcontrollers. Now I'm thinking about change idea...
It will be very helpfully if required code will be available from PBI ROM block. Of course it raising complex level, especially I've no experience with PBI/NewDevice features but I can also imagine device like ESP/ESP32 under Tasmota connected to Atari thru serial port which can communicate with any I2C device. I see good candidate which can be use: FujiNet :-)
What do you think?
BR,
The first thing I considered was checking if it was possible to connect anything containing I2C to an Atari without additional microcontrollers. Now I'm thinking about change idea...
It will be very helpfully if required code will be available from PBI ROM block. Of course it raising complex level, especially I've no experience with PBI/NewDevice features but I can also imagine device like ESP/ESP32 under Tasmota connected to Atari thru serial port which can communicate with any I2C device. I see good candidate which can be use: FujiNet :-)
What do you think?
BR,
Re: DIAGarI2C
PBI is - when once learned - pretty easy to solve.
There are some good Lessens on the CompyShop Magazin CSM and over the net documents too.
In this point the XL/XE OS is really future orientatetd to all kind of PBI Devices!
Even in 2024 (what noone of the developers would accepted those days!)
a good sample is the MSC Interface.
Just start playing around with the PBI,
first make 2 adress decoders (74x688 for D1XX and D8XX) and try to blend a 2K Rom into D8xx.
If you done that, the rest would be simple.
There are some good Lessens on the CompyShop Magazin CSM and over the net documents too.
In this point the XL/XE OS is really future orientatetd to all kind of PBI Devices!
Even in 2024 (what noone of the developers would accepted those days!)
a good sample is the MSC Interface.
Just start playing around with the PBI,
first make 2 adress decoders (74x688 for D1XX and D8XX) and try to blend a 2K Rom into D8xx.
If you done that, the rest would be simple.
keine PN's mehr! Bitte per email kontaktieren! atari1450xld©mega-hz.de
-
- Beiträge: 1009
- Registriert: 04.11.2021 15:52
- Has thanked: 121 times
- Been thanked: 306 times
- Kontaktdaten:
DIAGarI2C
Hi Pancio,
_IF_ you create a V2 device that includes PBI support then please add a controller to the board that supports communicating to one wire devices.
I once created a very simple Joystick port based interface that could do that and wrote the software in Action!
(I had 3 temperature sensors connected to the bus).
Unfortunately the required timing locks the computer. It cannot be done in vertical blanc because the "slow" one wire protol takes longer than one vertical blanc.
There is a "fast" one wire protocol but I didn't jump into that.
Erhard
_IF_ you create a V2 device that includes PBI support then please add a controller to the board that supports communicating to one wire devices.
I once created a very simple Joystick port based interface that could do that and wrote the software in Action!
(I had 3 temperature sensors connected to the bus).
Unfortunately the required timing locks the computer. It cannot be done in vertical blanc because the "slow" one wire protol takes longer than one vertical blanc.
There is a "fast" one wire protocol but I didn't jump into that.
Erhard
Wenn man sein Alter hexadezimal angibt kann man gleich wieder Bäume ausreißen 

Re: DIAGarI2C
i would suggest: PIpico!
extremly cheap and has much Power @133MHz with enough memory.
Esay to programm even with Arduino IDE.
extremly cheap and has much Power @133MHz with enough memory.
Esay to programm even with Arduino IDE.
keine PN's mehr! Bitte per email kontaktieren! atari1450xld©mega-hz.de
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast