Recent Posts

Pages: [1] 2 3 ... 10
1
Français / Re: Bateau V1
Last post by lesept - Today at 08:58 am
Cool ! Après on attaque la V2...
2
Français / Re: Mon arduino meur ?
Last post by lesept - Today at 08:55 am
Ah, l'Arduino peut aussi faire "grille pin" ?? :)
3
Storage / Re: accessing data in flash m...
Last post by amansurya - Today at 08:55 am
thanks for that!
Instead of all these I made use of a variable Id and while sending the message I sent the Id with the message.
while receiving the message from other arduino , I will parse the message and compare the Id with that of my Id.
If it matches then I can print it.
finally I ended up as u said.
Thanks again. :)
4
Arduino Zero / Re: Where can I find assembly/...
Last post by spachner - Today at 08:55 am
Great, many thanks. I just overlooked the big button on the web side.

regards

spachner
5
Français / Re: Communication entre 2 appa...
Last post by fdufnews - Today at 08:54 am
Si on regarde la datasheet du Schlage HandPunch 3000 voilà ce que l'on trouve:
Communications  RS-485 (4 wire)
                RS-232 serial printer support or PC communication

Donc tu ne peux pas l'interfacer directement avec l'Arduino.
Le RS232 fournit une tension qui peut être comprise entre +/-15V (même si généralement les niveaux sont inférieurs) donc cela tue les entrées/sorties de l'Arduino.
Il faut faire une adaptation de niveau pour rendre l'interface compatible des niveaux électriques acceptables par l'Arduino.

6
Programming Questions / Re: teletype ASR33
Last post by westfw - Today at 08:54 am
Quote
The specs I found says the data is 7-bit ASCII and uppercase letters only.
It PRINTS uppercase ASCII only.   The paper tape punch (the bit that separates an ASR from a KSR) will save/read 8 bits.


There was https://www.youtube.com/watch?v=reLJ5ivPQpc as a result of this thread: http://forum.arduino.cc/index.php?topic=539039.0

Note that many newer microcontrollers (including the Arduino) can not go as slow as 110bps without a custom version of something like SoftwareSerial.
7
Deutsch / Re: Höhere Auflösung als 480x3...
Last post by HotSystems - Today at 08:51 am
Dann sieh dir doch mal die Nextion-Displays an.
Einige machen 800 x 480.
8
Deutsch / Re: ARDUINO VS PIANO TILES 2, ...
Last post by MicroBahner - Today at 08:50 am
Mit

Code: [Select]
myservo.attach(9, 1000,2000);
sollte es auf jeden Fall funktionieren, denn das sind die nominellen Werte für die kleinste und größte Impulsbreite. Inwieweit dein digitales Servo auch noch kleinere bzw größere Pulsweiten mitmacht, musst Du ausprobieren.
9
Microcontrollers / Re: reliability of pin change ...
Last post by westfw - Today at 08:48 am
From the logic diagram in the datasheet, it looks pretty certain that the PCI hardware can detect changes that are about 4 or 5 clocks long (call it 3 MHz?  I couldn't find a detailed specification.)
Note that this is a lot different than any given interrupt service routine being able to EXECUTE 3MHz, or even 100kHz.  That depends on how short the ISR is.   100kHz interrupts while using typical Arduino code would be very unlikely, IMO.
If you have a signal coming in at 1MHz, you'd probably see continuous interrupts limited only by the speed of the ISR (with one non-ISR instruction executed between each interrupt.)
10
I am sure the OP has moved on to more interesting things but to help people like my self two days ago googling Arduino iSensor BLE here goes.

The documentation works but is a little confusing

the data  is is in the manufacturer data section of the BLE advertising package

In my case I ignore the first first 4 bytes  (they are good for you)

So start at byte 5

1   2  3  4   5   6   7   8
be ca 2c 02 46 02 58 56


So the first byte to care about is byte 5 (0x46) (0bx1000110)

bit7
单双向设备标记
Uni and Bi-direction device tagging
1,双向设备,0,单向设备
1, Bi-direction device; 0, Uni-direction device

so 0 in this case

bit6
是否发送状态报告
send status report
1,固定间隔时间发送报告,0,无状态报告
1, fixed time interval sending; 0, stateless repo

so 1 in this case as the door sensor reports every hour to say it is alive

bit5 device code. In this case 0 bit5=0 为报警类设备 for alarm units

bit 4 not used i think

bit 0 - 3 (I think although not documented is deviceType) in this case 0b0110 = 0x6 门磁(door contact)


So byte 6

 0x02 = 00000010

which is

anti tamper 0
alarm 1 (i think open)
battery report 0
status report 0 (this was real not a status)

which brings us to byte 7

A incremental counter (i guess so you know if you have missed messages)

and finally byte 8 a CRC which I have worked out but is assume is the sum of the previous 7 bytes

I hope tis helps someone


Pages: [1] 2 3 ... 10