Difference between revisions of "User:Djmaster"
m |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
==Person== | ==Person== | ||
− | |||
Nick im IRC: djmaster oder djmaster2<br> | Nick im IRC: djmaster oder djmaster2<br> | ||
Web: http://wiki.senseye.org/ | Web: http://wiki.senseye.org/ | ||
+ | |||
+ | == Wiki/Hoster Problem == | ||
+ | Fehler im Browser | ||
+ | Forbidden | ||
+ | You don't have permission to access /index.php on this server. | ||
+ | Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. | ||
+ | -->Support--> We have whitelisted the ModSecurity rule triggered for ethersex.de. | ||
==Bauteile== | ==Bauteile== | ||
Line 149: | Line 155: | ||
</gallery><br> | </gallery><br> | ||
− | Source: http://wiki.senseye.org/ | + | Source: http://wiki.senseye.org/adir/levelshifter/levelshifter.sch |
Latest revision as of 18:35, 10 May 2018
Contents
Person
Nick im IRC: djmaster oder djmaster2
Web: http://wiki.senseye.org/
Wiki/Hoster Problem
Fehler im Browser
Forbidden You don't have permission to access /index.php on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. -->Support--> We have whitelisted the ModSecurity rule triggered for ethersex.de.
Bauteile
Für Etherrape Module
Die SoftwareTFTP-Bootloader & FusesMenuconfig: │ │ Load a Default Configuration ---> │ │ [*] Ethernet Bootloader │ │ Network ---> │ │ [*] Ethernet (ENC28J60) support ---> │ │ Etherrape IP address: "192.168.12.220" │ │ Netmask: "255.255.255.0" │ │ [*] UDP support │ │ [*] UDP broadcast support │ │ Applications ---> │ │ [*] TFTP support ---> │ │ Bootloader configuration ---> │ │ [*] TFTP-o-matic │ │ --- TFTP-o-matic configuration │ │ TFTP IP address: "192.168.12.120" │ │ TFTP image to load: "ethersex.bin" make clean && make --> ethersex.hex =======The ethersex project======== Compiled for: atmega644 at 20000000Hz Imagesize: 6064/65536 bytes (9.25%) [==----------------------------] Program (.text + .data) : 6064 bytes Data (.data + .bss) : 826 bytes =================================== sudo avrdude -cusbasp -pm644 -U lfuse:w:0xff:m -U hfuse:w:0xd8:m -U efuse:w:0xfc:m sudo avrdude -cusbasp -pm644 -U flash:w:ethersex.hex sudo avrdude -cusbasp -pm644 -U lock:w:0x0F:m Achtung bei den SMD Typen vom mega644, ich habe mega644P bekommen, wobei ich jetzt nicht weiß ob die SMD immer P Typen sind. Egal das Problem ist man sollte avrdude genau lesen und auch "-p m644p" anhängen da der P Type eine andere Signatur aufweist. Hat mich ne Stunde gekostet. ;)
BilderTestsystemProbleme25.1.2011 - ethersex mit m644 und 32khz uhrenquarz. <obiflix> du könntest https://github.com/ethersex/ethersex/commit/da511f074940423e8e8ef7ee67ca20e6d91f608c rückgängig machen <obiflix> möglicherweise bekommst du dann probleme mit dcf77, falls du das nutzen möchtest, aber einen versuch ist es wert ;) Notiz: Hat funktioniert für den MEGA644 Update#1 master Erik Kunze * ae3ef98 (2 files in 1 dirs): use timer makros for prescaler 64 (32768Hz/256/64=2Hz) - http://bit.ly/eG2d4c --- DCF muss noch getestet werden Notizzettelschnell mal notiert ein script zum email versenden wenn zb..PIN_LOW...
C6_HEADER(`/* This will be in control6.h */')
#include <util/delay.h>
CONTROL_START
CLOCK_USED()
ECMD_GLOBAL(t1, 0, uint16_t);
ECMD_GLOBAL(var1, 0);
ECMD_GLOBAL(var2, 0);
ECMD_GLOBAL(aqua_mail_sent, 0, uint8_t)
THREAD(start)
if (!PIN_HIGH(WTR)) t1++;
else t1=0;
if (t1 > 10) var1=1;
else var1 = 0;
if (t1 > 400) var2=1;
else var2 = 0;
if (var1 == 1) PIN_CLEAR(LED1);
else PIN_SET(LED1);
if (var2 == 1){
if (aqua_mail_sent == 0){
PIN_CLEAR(LED2);
mail_send();
aqua_mail_sent = 1;
}
var2 = 0;
}else{
PIN_SET(LED2);
}
THREAD_END(start)
ON STARTUP DO
THREAD_START(start)
END
CONTROL_END Levelshifter 3.3V 5VSource: http://wiki.senseye.org/adir/levelshifter/levelshifter.sch |