hybridfree/eevblog-posts huggingface dataset:
taken gps data is strange ? - Page 1
Forum section: electronics / general

author: koray692
author_rank: Contributor
timestamp: February 12, 2016, 12:59:52 pm
content: at the picture right side you can see taken data in debug mode from neo 6m gps with uart protocol why the taken data is strange ? expected to take some words and numbers..

author: cowana
author_rank: Frequent Contributor
timestamp: February 12, 2016, 01:13:41 pm
content: Have you checked you have the right baud rate, parity, and number of bits?

author: DJohn
author_rank: Regular Contributor
timestamp: February 12, 2016, 01:45:53 pm
content: Initial baud rate is controlled by the CFG_COM0 and CFG_COM1 pins. If you've left them floating, it will default to 9600 baud, no parity, 8 data bits, 1 stop bit. You're asking for 4800 baud (I'll assume whatever library you're using is sane and defaults to N81). To get that, you need to pull CFG_COM1 low during reset. But why would you want 4800 baud?

author: Stupid Beard
author_rank: Regular Contributor
timestamp: February 12, 2016, 01:59:11 pm
content: Quote from: DJohn on February 12, 2016, 01:45:53 pmThe default baud rate for NMEA 0183 as commonly used by GPS receivers is 4800 baud, so that's probably why.

author: koray692
author_rank: Contributor
timestamp: February 12, 2016, 02:24:22 pm
content: I check now default settings are ; (and I changed as 9600 boud rate but resul is similar..)9600 Baud, 8 bits, no parity bit, 1 stop bitConfigured to transmit both NMEA and UBX protocols, but only following NMEA and noUBX messages have been activated at start-up:GGA, GLL, GSA, GSV, RMC, VTG, TXT(In addition to the 6 standard NMEA messages the NEO-6T includes ZDA).

author: DJohn
author_rank: Regular Contributor
timestamp: February 12, 2016, 03:32:38 pm
content: Do you have the GPS module connected directly to your processor? You might get garbage out of it if the signal is being inverted where it shouldn't. If that's not it, I'm out of ideas.

author: FreddyVictor
author_rank: Regular Contributor
timestamp: February 12, 2016, 04:29:05 pm
content: It has been known for uC clock to not be set correctlyalternatively, you could try connecting your GPS touCentrewhich can scan for correct baud rate/data type

author: koray692
author_rank: Contributor
timestamp: February 12, 2016, 08:36:56 pm
content: yes it is connected directly to proccessor

author: Divvi
author_rank: Contributor
timestamp: March 01, 2016, 06:59:40 pm
content: Try connecting it to a serial terminal using a Serial/USB converter to make sure that the GPS module is functioning. That would also help you confirm you have the correct Baud rate.
Bitcloud timers - Page 1
Forum section: electronics / general

author: DaurenD
author_rank: Newbie
timestamp: March 02, 2016, 11:07:24 am
content: Hello alex). I need to mesure small amount of time, but stack function doesn't provide any methods to do it. Cause HAL_GetSystemTime returns time in milliseconds. I'm doubt about using timer directly outside of the stack, cause it may harm some timings.So anyway, how to count microseconds(or less) using Bitcloud?

author: ataradov
author_rank: Super Contributor
timestamp: March 02, 2016, 06:34:35 pm
content: Just use hardware timers, it is fine to do so. Use any timer that is not used by the stack. You can lookup which ones are used in the HAL or  documentation.I know for sure that on megaRF TCNT4 and TCNT2 are used.
Laser Bees and Wonder Geckos - Page 1
Forum section: electronics / general

author: tszaboo
author_rank: Super Contributor
timestamp: February 26, 2016, 11:22:09 am
content: Seriously, how silly can Silicon labs go with their product naming? Is the marketing team living on mushrooms in Amsterdam?Mighty Gecko Wireless SoCs.EFM8 Universal Bee.They just introduced the EFR32FG Flex Gecko MCUsWhat would happen if others start naming their MCUs similarly?PIC32MX Lodgepole chipmunk?STM32F4 Attack Wombat?

author: Mechanical Menace
author_rank: Super Contributor
timestamp: February 26, 2016, 11:29:23 am
content: They sound like Ubuntu releases

author: igendel
author_rank: Frequent Contributor
timestamp: February 26, 2016, 12:05:26 pm
content: Quote from: NANDBlog on February 26, 2016, 11:22:09 amI'd totally buy an Attack WombatI can imagine it's hard to say these names in front of clients and keep a straight face, but it's certainly more refreshing than (e.g.) adding an "X" to a pile of other letters and numbers.

author: Brutte
author_rank: Frequent Contributor
timestamp: February 26, 2016, 12:49:26 pm
content: Quote from: NANDBlog on February 26, 2016, 11:22:09 amYou should have seen their Busy Bee in Nuremberg yesterday..

author: tszaboo
author_rank: Super Contributor
timestamp: February 26, 2016, 04:01:36 pm
content: Quote from: Brutte on February 26, 2016, 12:49:26 pmI know I should have. Just started new job, busy. Next year.Was it at least someone in a costume?

author: CM800
author_rank: Frequent Contributor
timestamp: February 26, 2016, 04:24:38 pm
content: Google's andorid versions:CupcakeDonutEclairFroyoGingerbreadHoneycombIce Cream SandwichJelly BeanKitKatLollipopMarshmallowIt does seem to be the new system.Next up... ABB's EtherCAT Kitten / Lion / Jaguar Drives.

author: autobot
author_rank: Regular Contributor
timestamp: February 26, 2016, 11:41:09 pm
content: Here's silicon labs bee at nurmeberg:https://youtu.be/f-el_7KGSR0?t=49

author: Muttley Snickers
author_rank: Unknown
timestamp: February 27, 2016, 01:16:01 am
content: I just finished watching two of Peter Oakes videos on the LeMaker Guitar, so much for getting the band back together.....Peter Oakes....https://www.youtube.com/user/TheBreadboardca/videosLeMaker Page....http://www.lemaker.org/product-guitar-resource.html

author: Brutte
author_rank: Frequent Contributor
timestamp: February 29, 2016, 12:48:33 pm
content: Quote from: NANDBlog on February 26, 2016, 04:01:36 pmTheir Busy Bee was busy buzzing around (out of focus on this YT unfortunately).
Are there a list of Open Source MCU simulators (AVR, PIC, PIC32, ARM,etc.)? GUI? - Page 1
Forum section: electronics / general

author: timofonic
author_rank: Frequent Contributor
timestamp: February 24, 2016, 09:40:04 pm
content: Hello.I would like to know what Open Source MCU simulators are out there.I just found these, but maybe there are lots more that are up to date. I had a giant list of MCU software, but it's somewhere and I'm moving my data because cleaning my laptop.AVRhttp://emulare.sourceforge.nethttp://www.nongnu.org/simulavr/https://github.com/buserror/simavrPIChttp://gpsim.sourceforge.net/https://sourceforge.net/projects/picsim/8051https://mcu8051ide.sourceforge.nethttps://sourceforge.net/p/gnusim8085/code/ci/master/tree/(dead? alive? maintenance? wtf?)ARMhttp://www.yagarto.org/https://sourceforge.net/projects/yagarto/(dead?)Generalhttps://github.com/ktechlab/ktechlab/wiki(dead?)http://www.edsim51.com(Please suggest new stuff to add and make me remember to update it if you're interested. I'll do proper formatting and add them if there's interest)

author: savril
author_rank: Regular Contributor
timestamp: February 28, 2016, 06:52:58 pm
content: I've done a quick search for an ARM M emulator and I found OVPSim :http://www.ovpworld.org/It seem that the emulator is not open source but the processor / platform models are.There is also a qemu modification for ARM emulation which is part of the Eclipse GNU ARM plugin project.

author: legacy
author_rank: Super Contributor
timestamp: February 28, 2016, 07:08:35 pm
content: Quote from: timofonic on February 24, 2016, 09:40:04 pmit looks like a toolchain
Segger Embedded Studio - Page 1
Forum section: electronics / general

author: dadler
author_rank: Unknown
timestamp: February 29, 2016, 07:24:50 am
content: Does anyone have any experience with this as an IDE?https://www.segger.com/embedded-studio.htmlI just came across it.It seems it has a perpetual evaluation mode with no code size limit (just nag screens). Also, they provide Windows, Mac, and Linux binaries.I haven't seen it mentioned anywhere, and Google doesn't yield many hits. Is this a new product, or an old abandoned product?

author: andersm
author_rank: Super Contributor
timestamp: February 29, 2016, 08:02:10 am
content: Looking at the copyrights in the documentation I guess it's a licensed version of Rowley's CrossWorks? If you like Segger's products then maybe it's worth looking into, but otherwise it's hard to get excited about yet another ARM IDE.

author: dadler
author_rank: Unknown
timestamp: February 29, 2016, 09:37:08 pm
content: Quote from: andersm on February 29, 2016, 08:02:10 amAh, that's unfortunate. The worst part of CrossWorks is the IDE.I develop primarily on MacOS, and am always interested in something "good" that runs on the Mac.For now, Eclipse and Sublime Text+make seem to be the only true options. An IDE doesn't provide a whole lot of value, but a visual debugger can be useful. And "go to declaration" etc is helpful when integrating unfamiliar libraries/headers.Oh well.

author: Sal Ammoniac
author_rank: Super Contributor
timestamp: February 29, 2016, 09:47:08 pm
content: It's definitely CrossWorks with support for all debuggers except for the Segger J-Link stripped out. Says so right on Segger's website:Quote
avrstudio7, fuses set in code, can't enter debug anymore? - Page 1
Forum section: electronics / general

author: cdwijs
author_rank: Regular Contributor
timestamp: February 26, 2016, 04:30:14 pm
content: Hi All,I'm working with an ATMega32. Everything works fine, until I add this to my code:#include <avr/io.h> //for fusesFUSES ={.high = 0x91,.low = 0xFF,};This triggers the error message: "error an unknown emulator error occureed debugger command leaveprogmode failed". When I remove the above lines, all is well again, and I can enter debug mode no problem, until I add the lines again.My setup:windows7 64bit, (microsoft windows NT6.1.7601 service pack 1 (platform win32NT))atmel studio 7.0.634JTAGICE mkII 0700000589BATmega32AI have added the lines, hoping atmel studio would program the fuses when I start debugging. Then I have one thing less to worry about :-)Kind regards,Cedric

author: cjuried
author_rank: Contributor
timestamp: February 27, 2016, 12:28:44 am
content: Quote from: cdwijs on February 26, 2016, 04:30:14 pmI let Atmel Studio set the fuses in the tool chain settings. That way I do not have to add that code manually.Sent from my SM-G900P using Tapatalk

author: cdwijs
author_rank: Regular Contributor
timestamp: February 27, 2016, 08:44:53 am
content: Thanks cjuried, I am looking at project->properties, but I can't find a clear place to enter the fuse values. How did you do it? Is it under toolchain->AVR/GNU linker->memory settings?Kind regards,Cedric

author: dannyf
author_rank: Super Contributor
timestamp: February 27, 2016, 12:22:40 pm
content: It is much easier to use those predefined macros for fuse setting - read the header files for sure.PICs are much better in this regard.

author: cdwijs
author_rank: Regular Contributor
timestamp: February 27, 2016, 09:57:41 pm
content: Quote from: dannyf on February 27, 2016, 12:22:40 pmHi Danny,Could you send me a small project that does this? My atmel studio fails to enter debug mode, so I am doing something wrong :-)Kind regards,Cedric
Flipping bits in memory without accessing them. Serious secutity implications.  - Page 1
Forum section: electronics / general

author: macboy
author_rank: Super Contributor
timestamp: February 24, 2016, 11:46:52 pm
content: Fortunately the workaround is simply to refresh the RAM at a higher rate. This is configurable in many higher end BIOS/EFI.Another countermeasure is ECC RAM which can correct any single bit flip (per 64 bits), detect any two bit flip, and detect most 3+ bit flips.
programming atsam3s2c - Page 1
Forum section: electronics / general

author: nour
author_rank: Frequent Contributor
timestamp: February 25, 2016, 08:54:28 am
content: I used to use USBasp to program avr microcontrollers from atmelnow I have ATSAM3S2C-AU from atmel and I want to program it what hardware should I useI hope if possible that there is something that I can made out of my boxlets just begin what programmer I need to use and after that see if I can build it my self or notthanks

author: 97hilfel
author_rank: Regular Contributor
timestamp: February 25, 2016, 01:47:56 pm
content: I'm currently working with a AtSAMD20J18 and need to use a Atmel ICE, maybe you can find a cheaper ARM debugger but as cheaper option you could use a Xplained Pro board It connects via SWD to yout controllerGesendet von iPhone mit Tapatalk

author: nour
author_rank: Frequent Contributor
timestamp: February 25, 2016, 01:58:41 pm
content: I forgot to mention that this microcontroller from the same family used in arduino dueI wonder if I can use the same way for programming my ATSAM3s like the have done in arduino duestill no experience
MPLAB X item vague - Page 1
Forum section: electronics / general

author: KJ
author_rank: Newbie
timestamp: February 19, 2016, 04:23:10 am
content: Hey Guys, i need some help. I am learning PIC microcontroller and i installed the MpLAB X IDE 3.20 and i found that the item of the IDE become vague every-time i select it~ So i sort of thought this is probably due to the the bug or something so uninstall and installed the old one~ Problem stay still. I already posted in Microchip forum~ so far there is no solution for my problem

author: ataradov
author_rank: Super Contributor
timestamp: February 19, 2016, 04:30:58 am
content: When stuff like this happens, first thing to check is how up to date your video drivers are.

author: KJ
author_rank: Newbie
timestamp: February 19, 2016, 04:57:37 am
content: All river updated. Problem stay still

author: MSO
author_rank: Contributor
timestamp: February 24, 2016, 02:23:03 am
content: MPLAB X by default uses the 'aero' theme with semi-transparent title bars, etc. This causes all sorts of display problems. I fixed it in mine, but I don't recall exactly what I did. Try going to the Tools->Options-Appearance and select Windows in the Preferred loo and feel drop down. I think you'll have to close and restart MPLAB X after changing the selection.
ESP8266 - Very useful video - Page 1
Forum section: electronics / general

author: Xenon Photon
author_rank: Unknown
timestamp: February 13, 2016, 01:50:28 pm
content: I just found this video from the State of Electronics very useful and wanted to share with you.

author: farsi
author_rank: Regular Contributor
timestamp: February 19, 2016, 12:35:11 pm
content: thanks, indeed it looks nice.still looking for some cheap programming breakout board for the ESP8266 01I saw some on OSHPark to help breakout the board for breadboards, but first one needs to flash the board. Surprisingly, there is no "plug and play" solution for this yet.

author: Xenon Photon
author_rank: Unknown
timestamp: February 19, 2016, 10:15:14 pm
content: I made breakout boards like this.To program them, I connect GPIO0 to GND to enter boot mode.

author: captbill
author_rank: Contributor
timestamp: February 20, 2016, 01:00:35 am
content: Quote from: farsi on February 19, 2016, 12:35:11 pmI found a really neat little board provider on Ebay. These are quite versatile boards and very reasonably priced too.Here is a complete kit for $5.99:http://www.ebay.com/itm/NodeMCU-Alternative-DIY-Prj-Brd-ESP8266-ESP-12E-USBTLL-Arr1-8BizDay-/271999102550Lot's of other ESP8266 goodies in his Ebay Store too:http://stores.ebay.com/tomyuen007

author: wblock
author_rank: Regular Contributor
timestamp: February 20, 2016, 02:47:26 am
content: There are a lot of accessories with that, but a NodeMCU has an integrated 1117 and USB UART and fits on a breadboard.

author: TJ232
author_rank: Frequent Contributor
timestamp: February 20, 2016, 06:32:20 am
content: A while ago I've done a verysimple breakout board with regulator and decent spacing that fits ESP07-12. Cut it in a half and voila, simple breakout board. It's designed for easy cut.PCB available for order directly at the DirtyPCB House:http://dirtypcbs.com/view.php?share=5615&accesskey=401e206b2272f21313417ca77c1616d4

author: farsi
author_rank: Regular Contributor
timestamp: February 22, 2016, 01:30:01 pm
content: nice, these simple breakout boards are my motivation to experiment more with PCB design too.but the ESP8266 breakout boards below looks to be of SMD type for soldering?I only have basic soldering equipment.

author: TJ232
author_rank: Frequent Contributor
timestamp: February 23, 2016, 05:29:19 am
content: Quote from: farsi on February 22, 2016, 01:30:01 pmSmallest used parts at above are 1206, especially to be also easy hand soldered if necessary.
mpu6050 interrupt help ? - Page 1
Forum section: electronics / general

author: koray692
author_rank: Contributor
timestamp: February 19, 2016, 02:39:47 pm
content: hello friend ..I want to take data in period 10 ms from the sensor I check the register map I didnt understand..Sensor has the pin "int" how can I use this pin...which register arrange I am some confused...

author: Skimask
author_rank: Super Contributor
timestamp: February 19, 2016, 03:03:53 pm
content: What?

author: koray692
author_rank: Contributor
timestamp: February 19, 2016, 03:09:12 pm
content: I arrange itit put "?" insted of "I"

author: Skimask
author_rank: Super Contributor
timestamp: February 19, 2016, 03:16:57 pm
content: Still doesn't make sense.

author: koray692
author_rank: Contributor
timestamp: February 19, 2016, 03:29:57 pm
content: how can I get sample from the mpu6050 sensor at every 10 ms ?(by using interrupt)

author: ChristofferB
author_rank: Frequent Contributor
timestamp: February 20, 2016, 12:56:04 pm
content: That sounds kinda contradictory. Getting data every time interval sounds like polling, and getting data via interrupt is based on an event. Though I haven't worked with that part, so I could be wrong.--Christoffer

author: mikerj
author_rank: Super Contributor
timestamp: February 20, 2016, 06:20:11 pm
content: Quote from: ChristofferB on February 20, 2016, 12:56:04 pmIt's quite possible to poll a device using a timer interrupt.

author: Bruce Abbott
author_rank: Frequent Contributor
timestamp: February 20, 2016, 09:26:37 pm
content: The MPU6050 outputs data at 1kHz (when the digital low pass filter is enabled). To make it send data slower you write a division ratio to the SMPLRT_DIV register.Sample Rate = Gyroscope Output Rate / (1 + SMPLRT_DIV)To enable the Data Ready interrupt you must set bit 0 (DATA_RDY_EN) in the INT_ENABLE register. You may also need to modify other bits in this register, depending on what type of interrupt signal you want.
Winbond WPC8763LDG - Page 1
Forum section: electronics / general

author: canadaboy25
author_rank: Regular Contributor
timestamp: February 19, 2016, 12:38:13 am
content: Hey guys, I'm trying to repair my Toshiba laptop. I believe that the Winbond WPC8763LDG chip is partially fried. I have found a very cheap replacement here -->http://www.ebay.com/itm/Brand-New-WINBOND-WPC8763LDG-WPC8763-LDG-Chipset-graphic-IC-chip-/180815951085My question is, do these chips have a programmable ROM? If they do what kind of chip reader would I need to read it and how would I go about that?Any info and replies will be appreciated.

author: Bruce Abbott
author_rank: Frequent Contributor
timestamp: February 19, 2016, 10:31:04 pm
content: According the datasheet it only has 1K of on-boardROM. My guess is that this is a mask ROM containing a generic bootloader. Any machine-specific code would then be loaded from external Flash.
Bitcloud's Routing table - Page 1
Forum section: electronics / general

author: DaurenD
author_rank: Newbie
timestamp: February 15, 2016, 11:22:36 am
content: I have nodes which connected in that way:Router2 -> Router1 -> CoordI am able to send messages over the air to each of them using short address. But if I would connect more devices, I need to create routing table by myself? Or Bitcloud has internal one? I couldn't find information about it in documentation. Zigbee specification says that devices should have the routing table.And also how to indicate that routing happens? For example, ifR2andCoordcan't directly send messages to each other, butR1is located between them.

author: ataradov
author_rank: Super Contributor
timestamp: February 15, 2016, 07:37:06 pm
content: Everything happens automatically, you don't need to worry about routing. If route to the destination is unknown, BitCloud will perform route discovery.

author: DaurenD
author_rank: Newbie
timestamp: February 16, 2016, 07:08:06 am
content: How to define, if router has routed frame? Is there any event?

author: ataradov
author_rank: Super Contributor
timestamp: February 16, 2016, 07:16:58 am
content: Quote from: DaurenD on February 16, 2016, 07:08:06 amThere are no event foo the fact of routing, but you can detect if your frame was received directly on the receiving side. In the APS_DataInd_t structure there are members srcAddrMode, srcAddress and prevHopAddr.prevHopAddr is always a short address. srcAddress can be a long address or a short address depending on a srcAddrMode. If it is a long address, you can do a lookup and get the corresponding short address. It is guaranteed to get a result, since translation short->long would have been performed locally.Now compare that short address to prevHopAddr. If they are equal, then frame was received directly. If they are different, then prevHopAddr indicates the last device in the chain.

author: DaurenD
author_rank: Newbie
timestamp: February 18, 2016, 08:29:52 am
content: How interpret rssi field of APS_DataInd_t? It's value more than value from datasheet.Maybe, AND it with 28? 28 is maximum value of Rssi from datasheet

author: ataradov
author_rank: Super Contributor
timestamp: February 18, 2016, 08:33:28 am
content: Quote from: DaurenD on February 18, 2016, 08:29:52 amIt is a real signal level in dBm. So it is a negative value in most cases, hence the type int8_t.
Best ARM Microcontroller for FOA (Firmware Over The Air) - Page 1
Forum section: electronics / general

author: diyaudio
author_rank: Frequent Contributor
timestamp: February 22, 2016, 01:37:30 pm
content: HiI`m busy working on a prototype that requires Firmware Over The Air support with "minimal design effort overhead" lets say support out the box?, what microcontroller is best suited for this?

author: zapta
author_rank: Super Contributor
timestamp: February 22, 2016, 02:19:26 pm
content: Ack.me modules contain ARM and support OTA updates. They have schemes that allow you to run your own code and the can provide the OTA servers. May or may not be applicable for your requirements. You can ask them, they are very responsive.

author: diyaudio
author_rank: Frequent Contributor
timestamp: February 24, 2016, 10:34:24 am
content: Quote from: zapta on February 22, 2016, 02:19:26 pmthanks will check it out, doest look like anyone else has experience in this area given the speciality of the topic.

author: Jeroen3
author_rank: Super Contributor
timestamp: February 24, 2016, 10:38:55 am
content: It's a very open question.ARM can be a cortex M0, where OTA upgrades are not really needed.To Cortex M4 where it can be a convenience.Up to an ARM A6, where it is often the only used method.The memory available will be the key factor in the feasibility of this.

author: zapta
author_rank: Super Contributor
timestamp: February 24, 2016, 12:52:00 pm
content: Quote from: Jeroen3 on February 24, 2016, 10:38:55 amOTA allows to push security updates. After all you have a node that is connected to the internet, uses security protocols and certificates and is subject to volenerabilities.

author: Jeroen3
author_rank: Super Contributor
timestamp: February 24, 2016, 02:50:02 pm
content: It doesn't say internet anywhere in the original question.But it is true, that when you use security, they will eventually expire or contain known exploits.
Another problem with c code for pic  - Page 1
Forum section: electronics / general

author: little_carlos
author_rank: Regular Contributor
timestamp: February 17, 2016, 01:35:24 am
content: hello guys, so last time i asked how to make a counter, i solved the bouncing problem, but now i cant make it to decrease the count on the output, how can i do it? here's the code i wroteint i;bit o1;bit o2;void main() {//////////////////////////////////////////////////////////////////////////////trisa = 1;porta = 0;trisb = 0;portb = 0;o1 = 0;o2 = 0;i = 0;//////////////////////////////////////////////////////////////////////////////while(1){if (Button(&PORTA,0,1,1)){o1 = 1;}if(o1 && Button(&PORTA,0,1,0)){i ++;o1 = 0;}if(Button(&PORTA,1,1,1)){o2 = 1;}if(o2 && Button(&PORTA,1,1,0)){i --;o2 = 0;}switch(i++){case 1 : rb0_bit = 1; break;case 2 : rb1_bit = 1; break;case 3 : rb2_bit = 1; break;}switch(i--){case 1 : rb0_bit = 1; break;case 2 : rb1_bit = 1; break;case 3 : rb2_bit = 1; break;}}}

author: Howardlong
author_rank: Super Contributor
timestamp: February 17, 2016, 12:03:44 pm
content: Two things...What is the implementation if the Button() function?Try using code tags to maintain indentation and readability!Code:#include <stdio.h>int main(void){printf("Hello World!\n");return 0;}
arduino board with debug header - Page 1
Forum section: electronics / general

author: cdwijs
author_rank: Regular Contributor
timestamp: February 13, 2016, 09:08:55 am
content: Hi All,I like the idea to be able to buy a ready-made board, and then run my own software on it. I've looked at the arduino boards, but as far as i can tell, they all lack a debugging header. I'm not a good enough programmer to write my programs first time right, so I need a debugger.Are there any ATmega based board out there I can buy with a debugging header?Kind regards,Cedric

author: westfw
author_rank: Super Contributor
timestamp: February 13, 2016, 09:21:26 am
content: Jtag adaptor for arduino mega.https://oshpark.com/shared_projects/HtnXf6wb

author: ivaylo
author_rank: Frequent Contributor
timestamp: February 14, 2016, 08:14:06 am
content: If you'll be debugging just stick a DIP AtMega in a decent breadboard and you get all the headers you want...

author: obiwanjacobi
author_rank: Super Contributor
timestamp: February 14, 2016, 05:46:35 pm
content: Jtag or DebugWire?

author: Dirk_
author_rank: Newbie
timestamp: February 15, 2016, 04:36:03 pm
content: I always use the serial port when I am debugging an Arduino. I think this is the easiest way for Arduino debugging.

author: pelule
author_rank: Frequent Contributor
timestamp: February 15, 2016, 09:29:27 pm
content: Arduino web page describes debugging methods based on free Visual Studio 2015 with Visual Micro extension.QuoteI did net yet try, but sounds a good way?PeLuLe

author: NivagSwerdna
author_rank: Super Contributor
timestamp: February 15, 2016, 09:54:22 pm
content: I have a clutch of Arduino UNO clones and they all have the six pins you need to debug.Here's a random example...http://gloimg.gearbest.com/gb/2014/201412/goods-img/1451973204208569545.jpgThe 3x2 grid of the pins on the end will work for DebugWire(Not that I've ever tried it)

author: westfw
author_rank: Super Contributor
timestamp: February 16, 2016, 11:45:41 pm
content: Quotethe Arduino "auto-reset" circuitry interferes with DebugWire, so you can't use the ISP connector for debugging unless you modify the board to remove the auto-reset circuitry.

author: HwAoRrDk
author_rank: Super Contributor
timestamp: February 17, 2016, 12:25:22 am
content: That, and I think the cap on the reset line needs to be disconnected. If I remember correctly, the old Duemilanova model actually had jumper pads (or whatever you call them) where you could cut the trace or re-solder as desired.
RA3/MCLR pin always reads as 0. - Page 1
Forum section: electronics / general

author: step_s
author_rank: Regular Contributor
timestamp: February 15, 2016, 01:06:49 am
content: Hi there EEVblogers.I'm messing around with the PIC12F1571, and can't seem to get the RA3 pin to work.http://ww1.microchip.com/downloads/en/DeviceDoc/40001723D.pdfThis pin can only be used as digital input and has an automatic pull-up when the MCLR function is set to OFF.So even if the pin is being set as input, and the internal pull-up has the pin high, reading the pin value of the port register always returns 0.The code is quite simple, just to prove the point, but i feel like I'm missing a register or something, somewhere.Code:#pragma config FOSC = INTOSC // (INTOSC oscillator; I/O function on CLKIN pin)#pragma config WDTE = OFF // Watchdog Timer Enable (WDT disabled)#pragma config PWRTE = OFF // Power-up Timer Enable (PWRT disabled)#pragma config MCLRE = OFF // MCLR Pin Function Select (MCLR/VPP pin function is digital input)#pragma config CP = OFF // Flash Program Memory Code Protection (Program memory code protection is disabled)#pragma config BOREN = ON // Brown-out Reset Enable (Brown-out Reset enabled)#pragma config CLKOUTEN = OFF // Clock Out Enable (CLKOUT function is disabled. I/O or oscillator function on the CLKOUT pin)// CONFIG2#pragma config WRT = OFF // Flash Memory Self-Write Protection (Write protection off)#pragma config PLLEN = ON // PLL Enable (4x PLL enabled)#pragma config STVREN = OFF // Stack Overflow/Underflow Reset Enable (Stack Overflow or Underflow will not cause a Reset)#pragma config BORV = LO // Brown-out Reset Voltage Selection (Brown-out Reset Voltage (Vbor), low trip point selected.)#pragma config LPBOREN = OFF // Low Power Brown-out Reset enable bit (LPBOR is disabled)#pragma config LVP = ON // Low-Voltage Programming Enable (Low-voltage programming enabled)5#include <xc.h>void main(void) {TRISA = 0b00011000;ANSELA = 0b0000000;while (1){if (RA3 == 0){RA5 = 0;}It should be said, that changing the RA3 to RA4 (since RA4 is also set to input), the system works like intended.Hope you can help.

author: Ian.M
author_rank: Super Contributor
timestamp: February 15, 2016, 01:25:36 am
content: The /MCLR pin cannot be use as an ordinary input pin if LVP is enabled. However, you can only disable LVP if you are using a high voltage programmer (e.g. PICkit 3). Some programmers don't have a Vpp boost circuit so cant disable LVP and cant reprogram chips that have LVP disabled (e.g.Microchip's Curiosity board's onboard programmer).

author: step_s
author_rank: Regular Contributor
timestamp: February 15, 2016, 01:37:06 am
content: One line in a 334 page datasheet. . .Thanks as always Ian
PIC ESUART to zigbee Xbee Pro - Page 1
Forum section: electronics / general

author: KEØBKM
author_rank: Newbie
timestamp: February 13, 2016, 06:56:45 pm
content: I am converting a program from a Arduino uno and xbee to a PIC and xbee. The program works and it transmits to the xbee. but I can't seem to control the information. I need to send either a decimal number (preferred) or a binary number.am using MPLAB X with the XC8 compliler.the pic I am using is PIC16LF1827
PIC DAC register not working in XC8 - Page 1
Forum section: electronics / general

author: step_s
author_rank: Regular Contributor
timestamp: February 07, 2016, 05:32:04 pm
content: Fixed it, and can't remove my post. Sorry.For the sake of others I have edited the post to include the simple solution.Most smaller PICs have only 1 digital to analog converter, and even though the datasheet will say "DACxCON0" and "DACxCON1" as the DAC registers, the X is misleading.In the case of the PIC only having 1 DAC, the registers will be "DACCON0" and "DACCON1", and NOT "DAC1CON0" etc.Hope this helps

author: miguelvp
author_rank: Super Contributor
timestamp: February 07, 2016, 07:14:02 pm
content: Quote from: step_s on February 07, 2016, 05:32:04 pmIt might be helpful to have left the problem you encountered and what was the mistake for others having the same problem in the future.Even if it was a simple oversight, it might trap others as well.

author: Daving
author_rank: Contributor
timestamp: February 12, 2016, 04:34:28 pm
content: Thanks for putting the solution back in.

author: Bruce Abbott
author_rank: Frequent Contributor
timestamp: February 14, 2016, 01:37:51 am
content: Quote from: step_s on February 07, 2016, 05:32:04 pmIt's not quite that simple. The 16F1704, 1782/3/4/5/6/7 and 1788 all have a single 8 bit DAC with control register 0 at sfr address 118h. In some PICs it is named DACCON0, and in others DAC1CON0. However some PIC have different DACs on other addresses.Therefore it is vitally important to tell the compilerexactlywhich MCU you have. If you have a PIC16F1782 (for example) then referring to DAC1CON0 should fail because it is not defined in pic16f1782.h. However if you selected 16F1764 itwouldcompile, but to the wrong address!Code:MCU DAC name address16F753 1 x 9 bit DAC1CON0 91h16F1704 1 x 8 bit DAC1CON0 118h16F1764 1 x 10 bit DAC1CON0 591h1 x 5 bit DAC3CON0 597h16F1782-7 1 x 8 bit DACCON0 118h16F1788 1 x 8 bit DAC1CON0 118h3 x 5 bit DAC2CON0 591hDAC3CON0 593hDAC4CON0 595h
CortexM Micro Controller to Linear CCD Sensor ILX526A - Page 1
Forum section: electronics / general

author: chakradhar
author_rank: Newbie
timestamp: February 08, 2016, 07:41:03 am
content: Can someone suggest me a Linear CCD sensor that can easily interface with CortexM micro-controller with minimum electronic components. Anyone tried interfacing Sony ILX526A or ILX532A Linear CCD sensor to a CortexM processor?.

author: mjs
author_rank: Regular Contributor
timestamp: February 08, 2016, 09:12:54 am
content: Also other requirements would be useful. I'd go with CMOS. TSL1401 to TSL1412 can be directly connected to a microcontroller. Pixel pitch is much higher than the 7um of the Sony, though. There are also other CMOS devices, I've just needed long sensor lines in my last applications.I think Sony has discontinued the ILX/ICX series of linear CCDs. I've used TCD1304 previously, don't know the current lifecycle status.

author: ehughes
author_rank: Frequent Contributor
timestamp: February 08, 2016, 03:55:25 pm
content: The Freescale Cup Kit uses a TSL14xx based sensor.This shield for the FRDM-KL25Z has an easy interface:http://circuitmaker.com/Projects/CA0790BB-3F6E-4BE4-B3CA-AFBAB1F7B551The circuit maker project page has a link to the code. There is also an example on mbed.org:https://developer.mbed.org/users/emh203/code/FRDM-TFC/This code captures the image completely in the background using some timer interrupts. It is pretty easy to adjust exposure time, etc in the code.The camera design is here:https://community.freescale.com/docs/DOC-1058There is one op-amp in the interface but you could probably get away with not using it.I will have the files on CircuitMaker soon. There are .pdfs of the schematics and layout for reference.

author: chakradhar
author_rank: Newbie
timestamp: February 08, 2016, 08:01:03 pm
content: Quote from: mjs on February 08, 2016, 09:12:54 amI need less than 10um pixel pitch ... How difficult was TCD 1304? Have you tried TCD1304DG?. Can you suggest any equivalent newer model. This is to display the light intensity waveform of a laser spot on the sensor.

author: mjs
author_rank: Regular Contributor
timestamp: February 11, 2016, 01:08:31 pm
content: The CCD used was the -DG version. The -AP has plastic package, but I've never seen them anywhere. The control is quite simple, the datasheet has good timing graphs. When using CortexM3, use a model that has fast GPIO pins (not through AHB) and run the CCD readout code from RAM for better control on timing.

author: VIGNESH BALAJI
author_rank: Newbie
timestamp: February 12, 2016, 06:07:22 am
content: Hi,What IDE are you using for your Cortex-M microcontroller?

author: chakradhar
author_rank: Newbie
timestamp: February 12, 2016, 07:14:08 am
content: Quote from: mjs on February 11, 2016, 01:08:31 pmOK. I will buy a couple of TCD1304-DG sensors for the testing purpose. Is a Cortex M4 (with floating point DSP) enough for driving this CCD?.Thanks a lot mjs.(Vignesh - I am using Code Composer Studio IDE from TI for the development)
Tutorial: Make an iOS App to Control a Bluetooth LE Robot - Page 1
Forum section: electronics / general

author: CypressPSoC
author_rank: Contributor
timestamp: February 10, 2016, 07:06:23 pm
content: We've got more training video posted on our site, complete with sample projects, code, dev instructions etc!In this video training series you will learn how to connect and control an embedded system using an iPhone App with Bluetooth Smart. The videos provide step-by-step instructions on how to create ARM® Cortex®-M0 PSoC 4 BLE-based embedded system design projects and the iOS App project using Xcode and Swift.This video series is designed for iOS App developers who want to learn how to control hardware devices using Bluetooth Smart and embedded systems developers who want to learn how to make their first iOS App to control their hardware or IoT device. The completed iOS App and Bluetooth Low Energy projects are available for download.Watch them @www.cypress.com/bleiosapp
Any experts with ATSHA204 here? - Page 1
Forum section: electronics / general

author: richardman
author_rank: Frequent Contributor
timestamp: February 10, 2016, 12:16:28 am
content: If you are an expert of cryptography, especially with the ATSHA204 chip, please send me a PM or email richard@imagecraft.comThanks

author: richardman
author_rank: Frequent Contributor
timestamp: February 10, 2016, 05:16:14 am
content: Got the info I need. Thanks.
EcoPlug Wifi Switch Teardown and SW Hacking - Page 1
Forum section: electronics / general

author: scootermcgoober
author_rank: Newbie
timestamp: February 05, 2016, 06:08:45 pm
content: I bought some cheap wifi power sitches from HomeDepot and was dissapointed to find out that they only worked with the manufacturers (terrible) app. I looked at dissecting the protocol to control them (Just a UDP packet with special formatting) then I decided to open it up. Inside there was what looked like an esp8266. I managed to figure out the pinout of the non-standard module and attach a USB to Serial device. In the end I wrote some basic firmware and reflashed it. Good thing too; packet captures show this thing sends your SSID and PW to an external server in plaintext!Apparently these switches are manufactured by KAB Enterprises and resold under a variety of brands (including Woods WION series). There are some other examples here:http://www.kab-cable.com/product.php?CNo=27My teardown and how-to is here:The pinout and link to the software are available here:http://thegreatgeekery.blogspot.ca/2016/02/ecoplug-wifi-switch-hacking.htmlScott

author: Dielectric
author_rank: Regular Contributor
timestamp: February 06, 2016, 10:59:54 pm
content: This is really good stuff. I was in Lowes today, didn't see anything that looked similar though.Are you serious that it sends your SSID and password to an external server in plaintext? That is so far beyond stupid as to be malicious.

author: johnkenyon
author_rank: Regular Contributor
timestamp: February 07, 2016, 09:33:34 am
content: Quote from: Dielectric on February 06, 2016, 10:59:54 pmThe linked article says that the PCB has provision for measuring power consumption.My money is on the ESP software sending the data back to the "mothership" where it needs some kind of unique identifier to distinguish between one user and another, and which can be linked back to a specific customer. So the database on the external server uses MAC+SSID+PASSWORD as a unique identifier which correlates to Ecobox+customer.The problem started when they decided to flog the remainder of their stock with no power monitoring to Home Depot, but couldn't be arsed fixing the software...

author: HAL-42b
author_rank: Frequent Contributor
timestamp: February 07, 2016, 09:44:27 am
content: Quote from: Dielectric on February 06, 2016, 10:59:54 pmThat's The Internet Of Things for ya.

author: eas
author_rank: Frequent Contributor
timestamp: February 09, 2016, 09:27:56 pm
content: Quote from: johnkenyon on February 07, 2016, 09:33:34 amPerhaps, though the MAC should be good enough for that purpose. If it weren't, the MAC + SSID and/or the MAC of the default gateway.So, like so many things, it is probably the result of a combination of stupidity and evil, in unknown proportions.
usb blaster works once only, needs a reinstall every time! - Page 1
Forum section: electronics / general

author: diyaudio
author_rank: Frequent Contributor
timestamp: February 07, 2016, 04:42:00 pm
content: I got my usb blaster and Altera CycloneII EP2C5T144 FPGA Mini Development Board, had some time today to set it up...problem. After following the install procedure for windows 8 (disabling driver signature check) it works with Quartus II 10.1sp1 Web Edition (it detects the device),however when I unplug the device or accidentally unplug it , it doesn't work! I have to reinstall the the driver every-time, a restart doesn't even fix the problem.This is the driver error I get.Windows cannot load the device driver for this hardware because a previous instance of the device driver is still in memory. (Code 38)The driver could not be loaded because a previous version of the driver is still in memory.Its the infamous usb blaster.http://www.ebay.com/itm/altera-Mini-Usb-Blaster-Cable-For-CPLD-FPGA-NIOS-JTAG-Altera-Programmer-GM-/262136733505?hash=item3d08911f41:g:4W0AAOSwIwhWS~ah

author: alsetalokin4017
author_rank: Super Contributor
timestamp: February 07, 2016, 06:44:21 pm
content: Windows is the problem and Linux is the answer.

author: Mechatrommer
author_rank: Super Contributor
timestamp: February 07, 2016, 06:52:11 pm
content: Quote from: alsetalokin4017 on February 07, 2016, 06:44:21 pm

author: diyaudio
author_rank: Frequent Contributor
timestamp: February 07, 2016, 07:23:59 pm
content: Quote from: alsetalokin4017 on February 07, 2016, 06:44:21 pmbloody hell thank you for that fantastic answer, now can you actually provide a solution.

author: Jope
author_rank: Regular Contributor
timestamp: February 07, 2016, 07:28:07 pm
content: Read this:http://www.alteraforum.com/forum/showthread.php?t=14211

author: Mechatrommer
author_rank: Super Contributor
timestamp: February 07, 2016, 07:33:41 pm
content: i suspect your driver is not compatible with Windows 8. the answer is probably Windows XP or Windows 10try go to device manager, disable and re-enable the driver. or get the latest driver...

author: diyaudio
author_rank: Frequent Contributor
timestamp: February 07, 2016, 07:56:23 pm
content: Quote from: Mechatrommer on February 07, 2016, 07:33:41 pmI tried this. nothing same problemhttp://altera-guide.blogspot.co.za/
Carambola2 WLAN module alternatives - Page 1
Forum section: electronics / general

author: davorin
author_rank: Unknown
timestamp: February 07, 2016, 11:33:22 am
content: We are using for our products to hook them up to Internet those Carambola2 WLAN modules from 8devices...But as the built-in resources are gonna be soon limited (flash/RAM) are there other alternatives modules which can run Linux and offer similar or better performance?I'm evaluating those LinkIt Smart 7688 modules at the moment (580MHz, 32MB flash, 128MB RAM).Performance-wise the MT7688AN CPU is a big step from the Atheros chip...but from the software supportit is far away for being used in production (Ethernet and WLAN issues).Also the hardware support is poor as there is no real datasheet besides a pin description and pad layout...so the development comes down to guessing ;-)
Free Microsemi FPGAs for beginners workshop, Redditch UK Feb 25th - Page 1
Forum section: electronics / general

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: February 01, 2016, 04:25:30 pm
content: http://www.sssltd.com/seminars/fpgas-for-beginners-seminar-25-02-2016.html

author: Moondeck
author_rank: Regular Contributor
timestamp: February 01, 2016, 04:36:15 pm
content: Nice, not from UK thou

author: uncle_bob
author_rank: Unknown
timestamp: February 06, 2016, 09:42:21 pm
content: HiThere are a lot of distributors around the world that do this sort of thing. Often you have to "know somebody" or haunt their web site to find out about them. Sometimes it can be as easy as making a phone call and politely asking to be put on the mailing list.Bob

author: blackbird
author_rank: Regular Contributor
timestamp: February 06, 2016, 09:53:55 pm
content: To bad it is in the UK and not in The Netherlands. I could use a beginners workshop as I'm starting to learn FPGA.
DSP Development Board Suggestions - Page 1
Forum section: electronics / general

author: dreaquil
author_rank: Regular Contributor
timestamp: January 26, 2016, 04:52:34 pm
content: Hi, I wanted to try some stuff on a DSP development board but there don't be too many boards with a decent amount of external circuitry for 50 to a 100 euro. Any recommendations please? I'd like it to have a jack input.

author: rsjsouza
author_rank: Super Contributor
timestamp: January 26, 2016, 05:14:06 pm
content: What are you going to use the DSP for? If you are using for automation and control, I know that TI has theC2000 Launchpads, which are DSPs masked as MCUs. I have the TI F28027 and it works very well. If you are looking for more powerful DSP processing, theC5505,C5515andC5535will give you extra power. All these kits can be used with Code Composer Studio for free.

author: dreaquil
author_rank: Regular Contributor
timestamp: January 27, 2016, 08:48:57 am
content: Those look like exactly what I was looking for! I'm mainly going to be doing some stuff with audio so they work perfectly thanks!

author: mark03
author_rank: Frequent Contributor
timestamp: January 27, 2016, 07:09:37 pm
content: For less than $50, an STM32F7 discovery board includes a fancy codec with 1/8" stereo in/out jacks, and packs a lot more DSP power than the platforms I learned on in school. You'll have more development tool options, too, and if you've done ARM development before they also have the advantage of familiarity.Of course, ARM Cortex M is not a real DSP. If you'd like to program in assembly, I would strongly suggest a more traditional DSP architecture. But if you're in C, although it pains me to say it, it doesn't matter so much. I'm currently finishing a project where we needed to prototype some serious adaptive filters on a tight schedule. Going with the Cortex M7 board was a no-brainer due to familiarity with the tools.If you do go the ARM route, they provide a so-so DSP library as part of the CMSIS standard. It is not particularly well optimized, nor does it include everything you might need, but it's there.

author: rsjsouza
author_rank: Super Contributor
timestamp: January 27, 2016, 07:46:39 pm
content: Quote from: dreaquil on January 27, 2016, 08:48:57 amFor audio you may also take a look at the following wiki:http://processors.wiki.ti.com/index.php/C5000_Connected_Audio_FrameworkFrom the options I mentioned above, the ezDSP 5535 and the ezDSP 5515 seem to be supported.

author: marcopolo
author_rank: Regular Contributor
timestamp: January 27, 2016, 08:39:04 pm
content: Analog Devices: Dual-core 600Mhz Blackfin DSP evaluation board for €60http://www.ebay.fr/itm/ANALOG-DEVICES-ADDS-BF561-EZ-KIT-LITE-EVALUATION-BOARD-ADI-VISUALDSP-rev-1-3-/221985130620I'm not the seller but i bought one from him and I'm happy

author: dreaquil
author_rank: Regular Contributor
timestamp: February 03, 2016, 09:47:06 pm
content: Hmm that looks like a beast of a board for a very good price.. any idea how well the software is supported in windows 10?