Tapuino, the $20 C64 Tape Emulator

  • Thread starter Thread starter sweetlilmre
  • Start date Start date
  • Replies Replies 1059
  • Views Views 299319
i 4 fili sono ok, collegati correttamente, per il piccolo integrato,non avendo scritte visibili (spalidite) e nessun segno, per non sapere ne leggere ne scrivere l'ho messo in entrambe le posizioni per provare ma non cambia niente!!
Il verso del 4N35 è con il puntino grigio in alto a destra, non saprei cosa altro dirti purtroppo a me mancano i 3 transistor per completare opera, aspetta che risponde qualche esperto.
 
The integrated are both in the right direction, I do not know if there is a way to control the arduino so many times that was the problem !!
Hope that spcbm know how to help me .. !!

@EDIT: I did another test by excluding the spcbm PCB and connecting the lcd directly to the arduino nano by connecting the 4 pins and i get the same result on the lcd so i guess i have a problem with arduino, someone i know to make some Try to test my dwarf ??

Linked as follows:

LCD --> Arduino nano
GND Pin GND
VCC Pin 5v
SDA Pin 27 (pc4) ADC4 SDA
SCL Pin 28 (pc5) ADC5 SCL
 
Last edited:
The integrated are both in the right direction, I do not know if there is a way to control the arduino so many times that was the problem !!
Hope that spcbm know how to help me .. !!

@EDIT: I did another test by excluding the spcbm PCB and connecting the lcd directly to the arduino nano by connecting the 4 pins and i get the same result on the lcd so i guess i have a problem with arduino, someone i know to make some Try to test my dwarf ??

Linked as follows:

LCD --> Arduino nano
GND Pin GND
VCC Pin 5v
SDA Pin 27 (pc4) ADC4 SDA
SCL Pin 28 (pc5) ADC5 SCL

The connections are OK, following this picture:
nano.png


Have you flashed the arduino? Does the PC and Arduino software recognize it?
 
I had followed this photo to connect the lcd to the nano directly!
I flash the arduino after commenting on the 2 lines of the lcd and the language, set arduino nano, atmega328 and the com port is 3, the arduino when i launch the flash starts blinking with red led but i did not get results!

EDIT: in the arduino nano i have 2 led switched on ever, the yellow PWR and the red -L is normal?

I try to load an example of arduino, sketch for blink red led and work...
 
Last edited:
I Solved the Issue looking on internet, The problem was simple as complicated:

In the config-user-h at the firt voice of LCD is

#define LCD_USE_1602_LCD_MODULE
#define LCD_I2C_ADDR 0x27 // I2C address for the LCD

The address 0x27 is not universal, I purchased the LCD already soldered on an i2c, and there is a chip on this power supply called PCF8574A which uses the address 0x3F
the address 0x27 is used to the chip called PCF8574 (without the 'A' suffix)


Blind to think
 
I Solved the Issue looking on internet, The problem was simple as complicated:

In the config-user-h at the firt voice of LCD is

#define LCD_USE_1602_LCD_MODULE
#define LCD_I2C_ADDR 0x27 // I2C address for the LCD

The address 0x27 is not universal, I purchased the LCD already soldered on an i2c, and there is a chip on this power supply called PCF8574A which uses the address 0x3F
the address 0x27 is used to the chip called PCF8574 (without the 'A' suffix)


Blind to think
Good news. :D
Ciao
 
I Solved the Issue looking on internet, The problem was simple as complicated:

In the config-user-h at the firt voice of LCD is

#define LCD_USE_1602_LCD_MODULE
#define LCD_I2C_ADDR 0x27 // I2C address for the LCD

The address 0x27 is not universal, I purchased the LCD already soldered on an i2c, and there is a chip on this power supply called PCF8574A which uses the address 0x3F
the address 0x27 is used to the chip called PCF8574 (without the 'A' suffix)


Blind to think

Good work, and well worth noting for anyone else that finds themselves with this I2C board on their LCD.

Have you got the device plugged into your C64 yet?
 
@Staple_nutz
I still have to connect to c64, I have purchased a broken datasette and I want to integrate everything inside so I use the keys of the original datasette!

@sweetlilmre
I still miss the explanation that not all I2c respond to the same address, the original your config only has 0x27 at lcd 1602 and not also the addres 0x3F in the guide or wrong?

this addres is already present

// #define LCD_I2C_ADDR 0x27 // I2C address for the LCD


If you add this line?

// #define LCD_I2C_ADDR 0x3F // I2C address for the LCD
 
Last edited:
I have already rotated the potentiometer behind the lcd power supply but I have disappeared all or just see the squares as in the photo, how I understand they have to appear for a while and then disappear when it loads the arduin software but it does not seem to load anything!
I have also re-checked the components several times but can not find any errors, in my opinion I have assembled everything right !!

(Ho già ruotato il potenziometro dietro all'alimentatore dell'lcd ma o sparisce tutto o vedo solo dei quadratini come in foto, a quanto ho capito devono apparire un istante e poi sparire quando carica il software arduino ma sembra non carichi niente!
Ho inoltre ricontrollato più volte i componenti ma non riesco a trovare errori, secondo me ho montato tutto giusto!!)



View attachment 122264

Nice you get it working :thumbsup::thumbsup:

You can solder the 2 cables for the buzzer in the 2 holes down, so you can attach it to PCB better.
attachment.php


- - - Updated - - -

I still have to connect to c64, I have purchased a broken datasette and I want to integrate everything inside so I use the keys of the original datasette!

Spanner did it, look at post #921 of this thread, page 93 of this looooong thread. Video from him:


 
Last edited:
@sweetlilmre
I still miss the explanation that not all I2c respond to the same address, the original your config only has 0x27 at lcd 1602 and not also the addres 0x3F in the guide or wrong?

this addres is already present

// #define LCD_I2C_ADDR 0x27 // I2C address for the LCD


If you add this line?

// #define LCD_I2C_ADDR 0x3F // I2C address for the LCD

There are 3 examples in the config-user.h.example file. I have also changed the wiki page to be a little bit more explicit.

From config-user.h.example:

Code:
// #define LCD_USE_1602_LCD_MODULE
// #define LCD_I2C_ADDR        0x27 // I2C address for the LCD

// #define LCD_USE_SSD1306_OLED_MODULE
// #define LCD_I2C_ADDR        0x3C // I2C address for the OLED

// #define LCD_USE_SSD131X_OLED_MODULE
// #define LCD_I2C_ADDR 0x3C // I2C address for the OLED

Thanks
-(e)
 
Last edited:
There are 3 examples in the config-user.h.example file. I have also changed the wiki page to be a little bit more explicit.

From config-user.h.example:

Code:
// #define LCD_USE_1602_LCD_MODULE
// #define LCD_I2C_ADDR        0x27 // I2C address for the LCD

// #define LCD_USE_SSD1306_OLED_MODULE
// #define LCD_I2C_ADDR        0x3C // I2C address for the OLED

// #define LCD_USE_SSD131X_OLED_MODULE
// #define LCD_I2C_ADDR 0x3C // I2C address for the OLED

Thanks
-(e)

Ok but for the LCD 1602 There are two possible addresses According to the power supply i2c on board, my i2c address is 0x3F and not 0x27

add this possibility on config-user.h.example??
 
I have 2 question:

How come my buzzer does not make any noise ?? Do you have to enable it in the scketch before sending it to arduino or is there anything else I can control?

When a TAP loads a level of a game and then eventually needs to load the second, is it not handled by the pause? I load the TAP file and it reaches 100% when it has to load the second level, not part of course because it has already Loaded and therefore does not start the second level, is there something that escapes me?
 
Last edited:
How come my buzzer does not make any noise ?? Do you have to enable it in the scketch before sending it to arduino or is there anything else I can control?

I haven't installed a buzzer into my own build. Thats a noise that would bring on a feeling of nostalgia for about 2 minutes before i'd get tired of hearing it. So I can't make much of a suggestion here.

But I will suggest that if you are using an Active buzzer you will need to ensure you have installed it with the correct polarity. If you are using a Passive buzzer, polarity should not be any issue.

When a TAP loads a level of a game and then eventually needs to load the second, is it not handled by the pause? I load the TAP file and it reaches 100% when it has to load the second level, not part of course because it has already Loaded and therefore does not start the second level, is there something that escapes me?

This is a wee bit of a draw back unfortunately when using the Tapuino for games or programs that depend on rewinding the tape back to a certain counter point. Sweetlilmre has made plenty of mention about this over the coarse of this thread. And from what I've last heard about it, I don't think we're going to see an elegant solution to this problem.

The way i'm overcoming this and i'm sure many others do the same.When the game or program needs to load data from the tape prior to the position that that the tapuino is in. Re-mount and play the TAP file from 0%. This will mean that the game or program will sit there as your TAP progresses to the point which the beginning of the required data is reached. It's not the most elegant solution, but it gets the job done.
 
So,with the buzzer I can not if it is passive but it is in the kit so i deduce be well welded with red on + but it does not work!
As for the method I described you, I just tried it but when I do Re-Play the file does not start walking and the LED does not turn green, maybe there's something strange in the TAP file? It looks like the commodore does not ask Nothing to the Recorder ...
 
Back
Top Bottom