Author |
Message |
Topic: pn532 with bascom |
krolikbest
Replies: 6
Views: 394
|
Forum: BASCOM-AVR Posted: Sun Sep 02, 2018 10:00 am Subject: pn532 with bascom |
Hi,
It shames me to say, but I do not want to think about it. The point is (from a pn532 manual):
- LEN 1 byte indicating the number of bytes in the data field
(TFI and PD0 to PDn),
- LCS 1 ... |
Topic: pn532 with bascom |
krolikbest
Replies: 6
Views: 394
|
Forum: BASCOM-AVR Posted: Sat Sep 01, 2018 7:22 pm Subject: pn532 with bascom |
I did today reading rf-cards in pn532, here the link
$regfile = "m328pdef.dat"
$crystal = 16000000
$baud = 115200 ' use baud rate
$hwstack = ... |
Topic: card reader |
krolikbest
Replies: 12
Views: 662
|
Forum: BASCOM-AVR Posted: Tue Aug 28, 2018 1:33 pm Subject: card reader |
Hello,
I think that you should send an array of bytes, instead of string. Look below:
printbin array_of_bytes(1), N
where you start from 1-st byte and N is cout of bytes. Array might look lik ... |
Topic: rfid pn532 |
krolikbest
Replies: 3
Views: 714
|
Forum: BASCOM-AVR Posted: Mon Aug 27, 2018 8:21 pm Subject: rfid pn532 |
So i attach working code for reading "version info" from pn532 in i2c mode. Maybe someone use it ..
$regfile = "m328pdef.dat"
$crystal = 16000000
$baud = 115200 ... |
Topic: uart and high baud |
krolikbest
Replies: 0
Views: 562
|
Forum: BASCOM-AVR Posted: Mon Aug 27, 2018 6:57 pm Subject: uart and high baud |
Hello
I do some communication between ardunio uno and pm532 (rfid) via UART. With uno is connected also lcd 4*40 i2c. I attach my code, maybe it will be useful for someone. So far i did only readin ... |
Topic: rfid pn532 |
krolikbest
Replies: 3
Views: 714
|
Forum: BASCOM-AVR Posted: Sat Aug 25, 2018 1:55 pm Subject: rfid pn532 |
Hello,
I know from datasheet that pn532 has an address &H48. I also have it proven by i2c scanner.
So I thought that simply frame may look like:
asking:
-i2c address
-function
respon ... |
Topic: rfid pn532 |
krolikbest
Replies: 3
Views: 714
|
Forum: BASCOM-AVR Posted: Tue Aug 21, 2018 9:23 am Subject: rfid pn532 |
Hello,
i\'m during bulding my project where need to use RFID/NFC PN532 13,56MHz I2C/SPI. I\'ve ordered one to test but meantime would like to learn about how to program it basing on i2c. I\'ve read ... |
Topic: graphic lcd with ili9341 |
krolikbest
Replies: 4
Views: 678
|
Forum: BASCOM-AVR Unsupported versions Posted: Sun Jun 10, 2018 8:31 pm Subject: graphic lcd with ili9341 |
Thank you, exactly it goes about it! |
Topic: graphic lcd with ili9341 |
krolikbest
Replies: 4
Views: 678
|
Forum: BASCOM-AVR Unsupported versions Posted: Sun Jun 10, 2018 12:25 pm Subject: graphic lcd with ili9341 |
I get driver from this thread:
Config Portd = Output
Data_disp_low Alias Portd \'DB0 --> DB7
but this lcd shield use also portb (0,1) and portd (2,3,4,5,6 ... |
Topic: graphic lcd with ili9341 |
krolikbest
Replies: 4
Views: 678
|
Forum: BASCOM-AVR Unsupported versions Posted: Sun Jun 10, 2018 11:11 am Subject: graphic lcd with ili9341 |
Ok, found it. |
Topic: graphic lcd with ili9341 |
krolikbest
Replies: 4
Views: 678
|
Forum: BASCOM-AVR Unsupported versions Posted: Sat Jun 09, 2018 8:25 pm Subject: graphic lcd with ili9341 |
Hello
recently i have bought LCD TFT 2.8 with interface GPIO 8 bit, resolution:320x240, sc card, driver ILI9341 V0.7
(BASCOM-AVR version : 2.0.7.6 , Latest : 2.0.8.1 ) |
Topic: Atmegas cooperate with RPi3 |
krolikbest
Replies: 0
Views: 336
|
Forum: BASCOM Project Blog Posted: Sun Apr 22, 2018 12:22 pm Subject: Atmegas cooperate with RPi3 |
Hi,
there is no question, only want to show you my latest project (not completed, long way ahead). In this project few (will be five) atmega8s are to controll servomotors reading encoders, generat ... |
Topic: voltage level right or not? |
krolikbest
Replies: 4
Views: 443
|
Forum: BASCOM-AVR Posted: Sun Mar 11, 2018 12:03 pm Subject: voltage level right or not? |
Ok, sorry. But you were right that problem WAS in hardware. Now it works, i've described in my previous post what was bad. Thank you and good luck too  |
Topic: voltage level right or not? |
krolikbest
Replies: 4
Views: 443
|
Forum: BASCOM-AVR Posted: Sun Mar 11, 2018 11:38 am Subject: voltage level right or not? |
You are right but this piece of code is not exactly what is in uC. This is only few lines copied/pasted (probably there i did mistake during pasteing) from the whole program to demonstarte the problem ... |
Topic: voltage level right or not? |
krolikbest
Replies: 4
Views: 443
|
Forum: BASCOM-AVR Posted: Sat Mar 10, 2018 7:53 pm Subject: voltage level right or not? |
Hello,
here i attach my simple code:
$regfile = "m8adef.dat"
$crystal = 8000000
Config Pinb.1 = Output 'step silnik2
silnik2 Alias Portb.1
config pinc.2=output
kier Alias Port ... |
|