-
Thread
SDR-Dekoder für TFA KlimaLogg Pro/IT+ Temperatursensoren
> Grafana Can it be done with fewer applications (e.g. tfrec-mqtt-> Influxdb-> Grafana) or with others to make it better? I am a child of Windows and I am just getting to know the nooks and crannies of Linux, IoT, etc.
#6947538: > Can it be done with fewer applications (e.g. tfrec-mqtt-> Influxdb-> > Grafana) or with others to make it better? I'm sorry I can't help you with that because I don't use Grafana to plot the values.
-
Thread
Nextion Display
less than 32GB in size (32GB microSD cards generally are), that the power to Nextion device is off when inserting and removing the microSD card, and that you allow time for any firmware updates to occur after powering your Nextion device back on. Note: not all microSD cards are designed for embedded use
example, We have had good successes with Kingston 32GB class 10 HC microSD cards … there are many many others that work well."
-
Thread
SPI -> ATmega32
Deiner SPI_DDR-Anweisung an (sofern Du mit der SPI-Schnittstelle auch mal was empfangen willst). When configured as a Master, the SPI interface has no automatic control of the SS line. This must be handled by user software before communication can start. DATA_H und DATA_L hast Du vermutlich als
zwar steht im Datenblatt das: [c] void SPI_MasterInit(void) { /* Set MOSI and SCK output, all others input */ DDR_SPI = (1<<DD_MOSI)|(1<<DD_SCK); /* Enable SPI, Master, set clock rate fck/16 */ SPCR = (1<<SPE)|(1<<MSTR)|(1<<SPR0); } [/c] Das hatte dann bei mir nicht funktioniert, ich habe
-
Thread
NASA style guide
gesetzt gehören: > We encourage the use of braces to improve readability. Use your own > judgment when deciding whether or not to use braces, remembering that what > is clear to you may not be obvious to others who read your code. > [...] > If else statements that have only simple statements in both
-
Thread
Steigende Flanke erkennen
begin if (rst_l = '0') then -- asynchronous reset buffered_signal_s <= (others => '0'); elsif (rising_edge(clk80m)) then buffered_signal_s <= buffered_signal_s(0) & signal_i; end if; end process; edge_detected <= '1' when buffered_signal_s = "01" else
-
Thread
Kubuntu: Variable setzen geht nicht?!
weiteren Corkommen) auch, damit bekommt man auch zB. zum Thema bashrc alles gesagt. Ausschnitt: " When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files exist."
Ein wirlich guter Link weiss ich auch gerade nicht. Ev: http://stefaanlippens.net/bashrc_and_others Ist auch ein bisschen schwierig, da sich in diesem Bereich die einzelnen Unix-Derivate unterscheiden. Im Normalfall werden bei einem Login die folgenden Files ausgeführt: - /etc/profile - $
-
Thread
locally static expression
is unsigned(addr_t'range); constant EXT_TRIGGER_BASE : addr_base_t := (7|6 => '1', others => '0'); constant MSB_BASE : natural := addr_base_t'high; constant LSB_BASE : natural := 4; subtype addr_msb_t is unsigned(MSB_BASE-LSB_BASE downto 0); constant ADDR_EXT_TRIGGER_BASE
LSB_BASE); ... [/vhdl] und [vhdl] case address(MSB_BASE downto LSB_BASE) is when ADDR_EXT_TRIGGER_BASE => ... -- WARNING [/vhdl] Wie konstant bzw. variable kann denn eine Konstante denn sein, selbst in einer package?? Lt. google gibt's tolle Begründungen und auch Lösung wie:
-
Thread
Zähler Signale wollen nicht loslaufen/sich nicht zu 0 setzen lassen gar nichts.
ExpandKey_OutPut) begin FolgeZ <= Z; if CLK='1' and CLK'event then case Z is when : if Clocks = to_unsigned(10, Clocks'length) then : end if; if Clocks = to_unsigned(10, Clocks'length) and Cycles = to_unsigned(n, Clocks'length
auf 0 gesetzt und selbst das geht nicht sie waren beide weiterhin Undefined, also Cycles <= (others => '0'); z.B.
-
Thread
Vektorposition im Array auslesen
to 3 := 0; signal cnt2 : integer range 0 to 1 := 0; signal cnt : unsigned (5 downto 0) := (others=>'0'); begin cnt <= cnt+1 when rising_egde(clk); -- Schreibt sich kompakter... ;-) cnt0 <= to_integer(cnt(2 downto 0)); cnt1 <= to_integer(cnt(4 downto 3)); cnt2 <= to_integer(cnt
-
Thread
über Seriellen Monitor in switch-case springen
Used for polling during I/O operations ELSEWHERE This is where your program really is when you think it's here GOING GOING GONE For writing unstructured programs. Takes a random branch to another part of your program. Does the work of a hundred GOTOs Case Statements JUST
the CPU is "up", not executed if the CPU is "down" or if its feelings have been hurt DO UNTO OTHERS Used to write the main loop for operating systems to antagonize all programs in a uniform manner DO WAH Used to write loops for computer generated music (e.g. Rag Timing) [/code]
-
Thread
32Bit Zähler zählt nur bis 255.
ipins <= "111111111111" - pins; --addresse an der gezählt wird bzw. invertierte pins data <= sro when b = '0' else "ZZZZZZZZZZZZZZZZ"; sri <= data when b = '1'; output <= send; process --auslesebutton einsyncen begin wait until rising_edge(clock); if (doc<10000000) then doc
BTW: buff <= "00000000000000000000000000000000"; So gehts übersichtlicher: buff <= (others=>'0'); Oder statt dem: buff /= "11111111111111111111111111111111" wenigstens so: buf /= x"FFFFFFFF"
-
Thread
Entstehung von Latches
sowas natürlich, wenn du folgendes machst: [vhdl] if (en = '1') then a <= b; else a <= (others => '0'); end if; [/vhdl] In sequentieller Logik hast du diese Problem nicht, da die direkt ein FlipFlop erzeugt wird: [vhdl] if rising_edge(clk) then if (en = '1') then a <= b; end
also das hier abhängig von der vektorbreite ganz ohne Prozess auch ein oder viele Latches: A <= E when X='1'; Weltbester FPGA-Pongo schrieb im Beitrag #4817420: > VHDL ist AUCH eine Programmiersprache Und heißt natürlich deshalb ab heute auch VHPL... Aber zu der Diskussion möchte ich auf den
-
Thread
Suche einen taster mit sehr deutlich spürbarem "klick" für eine Taschenlampe.
or any of the other switches. They have a very positive click action, with a long travel distance when this happens. They have a higher delta force (how much the force must be reduced to cause the switch to spring up and turn off) than the others, the delta force percentage (100 minus the release force
-
Thread
PHILIPS VPx500 Kernel/System Development
pressing the "hang-up"-key? > I want to use the hardware not as phone. It does start automatically when placed in the charging craddle. So there seems to be some mechanism for that. Greetings, Chris
some of you figured out a reasonable workflow for module development, which again might also help others getting started.
-
Thread
GCC static lib; Konstruktoren gloabler Objekte werden nicht aufgerufen
generates relocatable output--i.e., an output file that can in turn serve as input to `ld'. When linking C++ programs, `-Ur' _does_ resolve references to constructors, unlike `-r'. It does not work to use `-Ur' on files that were themselves linked with `-Ur'; once the constructor
, it cannot be added to. Use `-Ur' only for the last partial link, and `-r' for the others. [/code]
-
Thread
Fehlermeldung Xst:638
wahrscheinlich tristate logic problem, XST ist ziemlich dumm, mach das mit EN signal: [c]IO <= tri_signals when tri_en = '1' else (others=>'Z');[/c]
-
Thread
Vmod TFT Touchscreen (von Digilent) Touch implementierung probleme
Oscillators/interne DCM/PLL's generiert. da ist einer deiner Fehler: [vhdl] --mitten im Case: when convx=> CS <= '0'; qdin <= 0; Data_out_tp <= '0'; diny <= (others => '0'); dclk_aktiv <= '1'; --DON'T if rising_edge
-
Thread
Wer billig kauft, kauft teuer
der Seite gibts ein paar humoristische Einlassungen, die ich euch nicht vorenthalten möchte: > When compared with analog counterparts, a multimeter is best because it > offers readings in digital forms. > Most of the multimeter come with user manuals from different manufacturers. > You should
keenly to gather info on how to > deal with accidents such as electrical shock, and fire among others. Aber sie ist wenigstens ehrlich: > digitalvoltmeter.net is a participant in the Amazon Services LLC > Associates Program, an afiliate advertising program designed to provide > a means for
-
Thread
STM32 F411 Bootoader aus Applikation starten
:0]) * For STM32F0xx, CFGR1 register in SYSCFG is used (bits[1:0]) * For others, check family reference manual */ __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH(); //Call HAL macro to do this for you /** * Step: Set jump memory location for system memory
DiscoveryF4 that uses STM32F407VGT that has same bootloader as STM32F405. WhatI can see is that, when jumping to bootloader from application, the clocks are not setup properly. The RCC is not actually using the HSE. As USB cannot work with HSI, the behaviour we see is normal. Unfortunately, as supporter
-
Thread
Datentypprobelm beim Compilieren
aus: [vhdl] ... type DIOARRAY is array (0 to 752) of integer; signal diffarray: DIOARRAY := (others =>0); signal IW1: integer range 0 to 2147483647 := 0; signal filter_zaehler: integer range 0 to 752 := 2; signal IW1_std: std_logic_vector(27 downto 0); ... when filter1 => clk_sel <= '1';
-
Thread
CPLD Clock Probleme XC9572 1Hz 3V3
vhdl_zaehler; architecture Behavioral of vhdl_zaehler is signal x : unsigned (3 downto 0) := (others=>'0'); begin process begin wait until rising_edge(clock); if(x>"1000") then x <= (others=>'0'); else x <= x+1; end if; end process; Sec <= std_logic_vector
default I/O Pin Termination „Keeper“ aktiv. (siehe Abbildung „keeper“). Damit sollte ich sicher sein. („When the pad is not driven either externally or by the CPLD macrocell, the weak keeper circuit maintains the last logic state present on the pad to prevent the pad from floating.“) Zu Duke: > Man kann
-
Thread
array in VHDL
downto 2))); -- RAM Daten ausgeben wenn Read-Zugriff INT_D(31 downto 0) <= DB(31 downto 0) when INT_CYCLE_access = '1' and INT_CYCLE_dir = '0' else (others => 'Z'); -- wait Signal auf die andere Seite weitergeben WAITA_sig <= CSB; WAITA <= WAITA_sig; WAITB_sig
-
Thread
Facebook Nutzungsbedingungen
content that you post on or _in connection with_ _Facebook_ (IP License). This IP License ends when you delete your IP content or your account unless your content has been shared with others, and they have not deleted it. Was bedeutet der unterstrichene Zusatz? Bedeutet der etwa,
-
Thread
CH32v003 PWM & Timer Probleme
Do not use the formal "Sie" to address others when posting on german-language internet forums. This is, though formally correct, in most cases considered rather rude and distanced. Did you contribute anything useful? The thread's creator
-
Thread
Bald fertig mit studium elektrotechnik.jetzt schon programmiersprache zusätzlich lernen??
curriculum." http://reports-archive.adm.cs.cmu.edu/anon/2010/CMU-CS-10-140.pdf "Note that, unlike others, we do not advocate eliminating or minimizing programming as a key aspect of introductory computer science. We continue to believe that writing programs is one of the core activities of a computer
majors and nonmajors — to have the writing of code as one of the sharpest tools in their toolboxes when confronting new tasks." und zu Java: "we do not believe Java is the right language for introductory programming courses. It takes a lot of work to do simple things... It hides too much about
-
Thread
Faktensammlung Buderus EMS
ems-collector-master/webpage/status.php But also w/o success. The "light blue" pages is titled "Heizung" and when I look to source in my browser it is Danny's status.php Best regards Maarten
day.php" the graph's are called, but what to do with the phyton file ?, how to execute it ? where and when ? Thanks a lot Maarten
-
Thread
MOSFET Class-A Endstufe, Ruhestrom Einstellung
bias as the output increases. James Bongiorno received a patent for this circuit, and of course others have now built similar sliding bias circuits. ... Direct coupled circuitry is used throughout. Phase shift is, as a result, virtually nonexistent. A complement of twenty output transistors and
thermal runaway line anywhere from 30-40%, depending on how much part to part variation we see. So when you are comparing our FETs’ datasheets to competitors’, be wary of the fact that they may not be as conservative. We have seen some vendors who are. We have seen others who publish the actual failure
-
Thread
Graukeil Bild im FPGA erzeugen
einen Zähler mit 22 Bit und du bist fertig: [vhdl] signal counter : unsigned (21 downto 0) := (others=>'0'); process (clk) begin if rising_edge(clk) then if enable='1' then -- nur zählen, wenn erlaubt von fifo-verwaltung counter <= counter+'1'; -- das wars.
downto 12)); pixel_data <= std_logic_vector(counter(20 downto 12)); interrupt <= '1' when counter(11 downto 0) = ((11 downto 0)=>'0') else '0'; [/vhdl]
-
Thread
uC für 0,20€ CH552 / CH554 von WCH Billig Micro mit USB Funktion, Chip vorstellung
some descrampling. For that i just changed the clock for this function and fall back to the default when finished. As for CH554.h or CH559.h I have them local in \inc which means i need to copy them always into the local project. Others prefer to have those files in SDCC\inc directory. Then you always
all my preferences. You also simply can use debug.c but dont forget to use -DFREQ_SYS=%dfreq_sys% when compiling debug.c
-
Thread
AVR + Spartan 3 als externes RAM
Sah in etwa so aus: [code] - Kombinatorische Logik -- Umschaltung f�r'n Datenbus LAD <= (others =>'Z') when RD='1' else i_dataout; -- Tristate ein/ausschalten i_datain <= LAD; process (clk) begin if clk'event and clk='1' then if wr='0' then if i_address=X"0000
-
Thread
Ist ein älterer Arbeitnehmer (35) teurer als ein jüngerer (25)?
but if you think you're old and cripple by the age of 35 then you better negotiate a good salary when you're 25... Looks like engineering is a very bad profession if you need to study 5 years, be 10 years productive/profitable and have to wait another 30 years until retirement... good luck :)
and is not necessarily linked with a university degree, but more likely with a very bad boss or others circumstances in your hands. Best regards,
-
Thread
MAX6675 am ATmega128
durch die Hardwareports ersetzt. [c] void SPI_MasterInit(void) { /* Set MOSI and SCK output, all others input */ DDR_SPI = (1<<DD_MOSI)|(1<<DD_SCK); /* Enable SPI, Master, set clock rate fck/16 */ SPCR = (1<<SPE)|(1<<MSTR)|(1<<SPR0); } void SPI_MasterTransmit(char cData) { /* Start transmission
bedeuten würde, dass du KEIN Thermoelement angeschlossen hast. >>Bit D2 is normally low and goes high when the thermocouple input is open Was soll der Sensor denn dann für eine Temperatur liefern? > mit temp_to_string(4069, temp_str) bekomme ich 406.9 , mit > temp_to_string(317, temp_str) 31.7 und Schön
-
Thread
VHDL: 4-Bit Register aus D-FFs und Multiplexern
[vhdl]elsif(rising_edge(CLK)) and EN = '1' then Y <= E1 when (S = '1') else E2;[/vhdl] Da kannst du jedes Mal ein Klammernpaar weglassen. [vhdl]ffd: DFF port map (D => D_TEMP(i), CLK => CLK_TEMP, EN => EN_TEMP, RESET => RESET_TEMP, Q => Q_TEMP(i),
Eingängen der DFFs verbunden werden können. [vhdl]signal MUX_Y : std_logic_vector(... downto ...):=(others => '0'); begin gen_logic: for I in ... to ... generate inst_MUX2X1: entity work.MUX2X1 port map( S => ..., E1 => ..., E2 => ...,
-
Thread
Wittig(welec) DSO W20xxA Open Source Firmware (Teil2) Gesperrt
some communication verification both from PC and firmware (ie screenshot saying, "Scope connected" when started and scope saying "Transferring" when softbuttons have been pushed. Now I had some trouble with comms an never new if it was dead or alive.)
when it is receiving a screenshot. Hayo
-
Thread
Zuweisungen überschreiben in VHDL
andere befehle abfangen...) end if; end if; case (state) is when waiting => if init_request='1' then state <=init_start; busy<='0'; init_request<='0'; elsif (... weitere Fälle)
Bits mit '0' beschrieben. Jetzt schreibe ich einmal vor der Case-Verzweigung [vhdl] Datenwort<=(Others=>'0'); [/vhdl] Danach werden innerhalb der einzelnen Fälle die genutzten Bits überschrieben. Erhöht die Lesbarkeit enorm, reduziert die Anzahl von Zeilen, die geschrieben werden müssen. Hat bisher
-
Thread
Display Arduino
the two readings are not equal +/-k value after debounce delay, it tries again. // my buttons when read are centered at these valies: 0, 144, 329, 504, 741 // we add approx 50 to those values and check to see if we are close if (adc_key_in > 1000) return btnNONE; // We make this the 1st option
adc_key_in < 555) return btnLEFT; if (adc_key_in < 790) return btnSELECT; return btnNONE; // when all others fail, return this... } [/c]
-
Thread
Open Source ERP Systeme
solutions are offered by vendors looking to eventually sell you on their enterprise product, and others are maintained and operated by a community of developers looking to democratize ERP. The main reason larger companies use open source Enterprise Resource Planning (ERP) systems is because they are cheaper and easier to customize. ... Further, it saves your business costs in the long run. When an open source ERP is used there are typically no license or software maintenance costs. I see Techimply have lots of free and best ERP Software. If you interested ? , then visit : https://www.techimply.com
-
Thread
UART - Signal in Schleife ausgeben
'1'; end if; end if; end if; end process; tx_busy <= '1' when (txbitcnt<10) else '0'; TXD <= txsr(txsr'left); end Behavioral; [/vhdl] BTW: [vhdl] signal tx_testvariable : std_logic := '0'; -- Variable für Automaischen Startprozess [/vhdl] Das
RS232; architecture Behavioral of RS232 is signal tastesr : std_logic_vector (15 downto 0) := (others=>'0'); -- für die Flankenauswertung signal tx_start : std_logic := '0'; signal tx_busy : std_logic := '0'; signal tx_data : std_logic_vector (7 downto 0) := "11110000"; signal txsr : std_logic_vector
-
Thread
Mit weniger Energie mehr Beschleunigung?
talking proof that you don't have to be sentient to survive, and that Barnum was thinking of you when he uttered his immortal phrase regarding the birth of a sucker. You are, at varying times, tedious, boring, and even occasionally earth shatteringly hilarious in your idiocy, routinely childish, moronic
bulb. You will forever live in shame. You have nothing to say, and Godwin's Law does not apply when writing about you. You are the anti-Midas, for all that you touch becomes valueless and unusable. Mothers gather their children close when you appear. You are an aberration, a corruption, and a boil
-
Thread
Ist die Bezeichnung VCC noch aktuell?
5V." "What voltage is VCC? 5 V. The name VCC is used for the memory device supply voltage pin when the supply voltage is nominally 5 V. (2) The ground reference power supply voltage for ECL interface devices." Meine Einschätzung und Googles stimmen überein, nähmlich dass weltweit am ehesten 5V
junction transistors (BJTs). In BJT technology, the collector is one of the main terminals (the others being the base and emitter). Over time, however, VCC has become a more general term used to denote the positive power supply voltage in circuits, regardless of whether they use BJTs or not. VDD:
-
Thread
FCC-Labore auf Gegenseitigkeit, neuer Raspberry Pi-Imager, RISC/V und mehr
durchaus etablierte Angriffsmethode auf alle Herren Systeme etabliert. Im Paper “Screaming Channels: When Electromagnetic Side Channels Meet Radio Transceivers” findet sich eine neue Spielart, die - wie in der Abbildung gezeigt - die „gemeinsame Versorgungsspannung“ zum Ziel hat. , you have to send it with the two bytes in the opposite order, like so: byte data[] = {0x30, 0x00}; Hope this helps someone as I was banging
probiert, aber leider geht es wirklich nicht. In 6.4.4. steht dann: "Description of EEP_OFF: 1. When the EEP_OFF, the bit 10 of the high byte of SYSTEM_CONFIG is 0 ( default) : These seven commands 0xB0 to B3, 0xB9, 0x20, and 0x30 are written into EEPROM in real time. 2. When the EEP_OFF, the bit
-
Thread
Rasberry Webradio von Michael Schwarz
form https://code.google.com/p/raspberry-webradio/source/browse/?r=57. I install all complete but when run ./firmware it error. It show "segmentation fualt". What happen? Thank you.
is). Please understand that this forum is not a place where you put your purchase and wait for others cook the meal. No. We can only give you a tasty recipe and hope you like it... nevertheless, have fun with your webradio :)
-
Thread
Anstuerung eines Grafik LCDs. Fragen zu Display und Controller
SET command is used to configure the S1D13700F01 for the display used and to exit power save mode when indirect addressing is used. The values from REG[00h] through REG[07h] are passed as parameters when the SYSTEM SET command is issued." 5. Ich würde Kapitel 5 (Electrical Characteristics) beachten
// Set for data glcd_sendByte(0x09); // Area 1 text, others graphics // Text XOR Graphics } void glcd_power(int1 mode) { if(mode == ON) { glcd_sendCMD(GLCD_CMD_DISP_ON); // Turn
-
Thread
SucheAltera DE2-115 VHDL Code und Pinbelegung für einen Sinustongenerator
cnt <= 0; end if; end process; -- Vergleicher pwmout <= '0' when (cnt>=to_integer(unsigned(pwmvalue))) else '1'; end Behavioral; und DDFS: library IEEE; use IEEE.std_logic_1164.all; use IEEE.numeric_std.all; Entity DDFS is Port ( CLK :
signal Result : std_logic_vector (7 downto 0); signal Accum : unsigned (20 downto 0) := (others=>'0'); alias Address : unsigned (6 downto 0) is Accum(Accum'high-1 downto Accum'high-7); alias Sign : std_logic is Accum(Accum'high); -- MSB begin process begin wait until rising_edge
-
Thread
SRAM - IS61LV25616AL Ansteuerung
Einen Tristate-Bus kann man kompakter generisch beschreiben: [vhdl] sram_io <= data_write when read_write='0' else (others=>'Z'); data_read <= sram_io; [/vhdl]
-
Thread
RP2040 reziproker Frequenzzähler mit TDC
send me your IBAN. Many thanks, Paul ------------------------------------------ For the others reading this, I have built two versions of Michael's counter and have designed a simple GPSDO-based external clock that gives me great results with the Fmeter-G431. Have a look here for my Blog:
Hallo Markus, Yes, eventually I will publish them on my Github when I have the time to put all the information together. The Gerbers are no secret and I can share them if needed although a few of them need some corrections or explanations. During this project
-
Thread
ModelSim, Error: (vish-4008) Object 'clk' not found.
input'high loop result(i) := input(i) xor carry; carry := input(i) and carry; exit when carry = '0'; end loop; return result; end increment; begin ctr: process(clk, reset) begin if (reset = '1') then if reset'event then count <= (others =>
-
Thread
Bauen oder nicht bauen ?
man vllt so nicht vorhersieht (Zähler zB). Beim 244er darf man auch etwas Tricksen und mit einem when für Tristate arbeiten. Die bekannte 181 ALU sollt man dann schon auf Gatterebene nachbauen (Anhang) Fürn 244er kann ich nix zeigen, aber fürn 245er: [vhdl] entity IC74245 is generic ( width
end IC74245; architecture Behavioral of IC74245 is begin --tristate A to B B <= A when (DIR = '1' and nOE = '0') else (others => 'Z'); --tristate B to A A <= B when (DIR = '0' and nOE = '0') else (others => 'Z'); end Behavioral; [/vhdl]