hybridfree/eevblog-posts huggingface dataset:
ARDIN - Arduino in a DIN enclosure - Page 1
Forum section: electronics / projects

author: Dantheman
author_rank: Newbie
timestamp: December 27, 2019, 03:50:42 pm
content: We have made an Arduino in a DIN enclosure.Please let us know what you think about this project.This is the first version (T1) with the goal to make it affordable.T2 will have better specs like 24V in and outputs but this will increase the price a little.Ideas and suggestions are always welcome!https://www.kickstarter.com/projects/1372829250/ardin-industrial-arduino

author: thexeno
author_rank: Regular Contributor
timestamp: December 27, 2019, 09:04:17 pm
content: I see the concept of electrically/mechanically robust boards and the like on many products, while being "Arduino compatible".But I don't get the Arduino part here. As a a firmware engineer myself, I would never run my production facility on an Arduino based firmware, just by considering the limitations the Arduino environment puts on me on debugging, the IDE, the code organization and the architecture ofthe Arduino framework. Plus all the safety related on how writing firmware, is just not there.Sketching and running on not-safety relevant and hobby applications is ok for Arduino environment. Arduino is not an Atmega328 board.Since I would use such board only WITHOUT any Arduino code on it, as the purpose seems to be an industrial controller and not a tinker thing, why calling it Arduino if not just for marketing?

author: ogden
author_rank: Super Contributor
timestamp: December 27, 2019, 09:13:29 pm
content: Quote from: thexeno on December 27, 2019, 09:04:17 pmI completely agree that Arduino as such or DIN-mount module with "naked" PCB is far from "industrial grade", yet DIN rail/enclosure does not automagically mean "industrial". I think this product may find it's use in many "maker" or DIY builds.

author: langwadt
author_rank: Super Contributor
timestamp: December 27, 2019, 09:32:19 pm
content: flip the board so the components are inside the case

author: thexeno
author_rank: Regular Contributor
timestamp: December 27, 2019, 09:38:45 pm
content: Quote from: ogden on December 27, 2019, 09:13:29 pmThat perspective makes more sense. But the product is called "Industrial Arduino", not just "DIL mounted Arduino"

author: floobydust
author_rank: Super Contributor
timestamp: December 27, 2019, 11:02:36 pm
content: I would use the 328PB for the extra timers. 24VDC power and I/O is common in industrial applications. This is a 5V board? The 7805 would cook though so a buck converter will be needed eventually. I would rotate the board to stuck up instead of wasting space. I will break the cute USB connector, they are very fragile- too fragile.These guys just added a custom motherboard to a Mega with flipped connectorshttps://www.eevblog.com/forum/projects/what-do-you-think-of-this-npfa20-compliant-diesel-fire-pump-panel/edit: there are industrial Arduino's out there, you have to draw a line somewhere between PLC and MCU etc.https://industruino.com/page/homehttps://www.rugged-circuits.com/microcontroller-boards/rugged-mega
Arduino 3D Printer - Page 1
Forum section: electronics / projects

author: ChrisGreece52
author_rank: Frequent Contributor
timestamp: February 03, 2013, 05:37:15 pm
content: hey guys new arduino mega arriving and i would like to know if there is any easy and fun SMALL 3d printer project to create.

author: Ferroto
author_rank: Frequent Contributor
timestamp: February 03, 2013, 05:49:46 pm
content: I don't know about any arduino based 3d printers but I have seen arduino based CNC milling machines

author: Marco
author_rank: Super Contributor
timestamp: February 03, 2013, 05:55:19 pm
content: 3D printers are comparatively massive projects ... how about miniature CNC machine? There are lots of designs for those using simple tools and scrap stepper motors from printers.

author: paul23
author_rank: Regular Contributor
timestamp: February 03, 2013, 07:48:47 pm
content: I´m pretty sure that the REPRAP uses an Arduino mega.

author: ChrisGreece52
author_rank: Frequent Contributor
timestamp: February 03, 2013, 08:50:15 pm
content: First of all thank you. I know that a 3D printer would be a massive project for me because i am a beginner and i have nearly no equipment.Also a CNC machine would be nice i will make a little research on this thank you.And as for Paul23 it would be nice if you send a link to the creator of the REPRAP thank you.

author: XynxNet
author_rank: Regular Contributor
timestamp: February 03, 2013, 08:58:21 pm
content: http://reprap.org/wiki/WebHomeYou can build it with minimal tools. I suggest buying the plastic parts and your first extruder-hotend.I build my reprap prusa within 2 month in 2011. Cost was ~700€ (Hotend and plastic parts bought, everything else locally sourced). You can lower the price drastically by scavanging parts.

author: ChrisGreece52
author_rank: Frequent Contributor
timestamp: February 03, 2013, 09:03:42 pm
content: Thank you to be completely honest i had not idea this existed.

author: paul23
author_rank: Regular Contributor
timestamp: February 04, 2013, 07:15:09 pm
content: I bought a kit fromwww.reprappro.comit was easier than sourcing all the parts individually. Don´t buy one yet though. The new version will be available in a couple of weeks which allows printing with multiple colour/materials.

author: ChrisGreece52
author_rank: Frequent Contributor
timestamp: February 04, 2013, 08:06:29 pm
content: Thank you but this is way to expensive for me i did not know what to expect from this post 3D Printers are way expensive for a beggin er
Arduino 4 isolated I,O  - Page 1
Forum section: electronics / projects

author: Mateeej
author_rank: Newbie
timestamp: June 20, 2020, 08:19:48 pm
content: I've been having issues with a lot of noise on the inputs of my arduino controller. It controls the switching of electric gate opener. It's my little project I've been working on for a while. The problem was that sometimes (most of the time) when the motor turned on it created some noise on the controller inputs which made it switch off the motor. The issue was that I only used pulldown resistor and a capacitor at the inputs as wanted to save I few euros on production cost. Anyway i decided to redesign the whole thing and also make it more universal this time.Originally it used 5V input connected right to Arduino. Now I used 12V input and 6N137 optocoupler. That gave me input voltage from 6,4V up to 20V. For the outputs I'm using just simple relays switched by npn transistor. Now it's working nicely as it should. I was worried it would be too expensive but it costs just about 20€ for one complete board.Schematic and board are in attachements. What do you think?Ideas for later improvement will be appreciated.Here are the EAGLE files if anybodys interested:https://mega.nz/folder/5RpFRD4A#gl7PvyP2cFege6wbkLXDXA
Arduino and logging over network with Node.js - Page 1
Forum section: electronics / projects

author: frenky
author_rank: Unknown
timestamp: October 06, 2012, 11:13:52 am
content: Hi guys.I've made a tutorial on how to use arduino with ethernet shield and Node.js server to make remote logging.On Arduino I have a sketch which reads from analog port and sends udp packets to desired ip and port.Code:#include <SPI.h>#include <Ethernet.h>#include <EthernetUdp.h>byte arduinoMac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };IPAddress arduinoIP(192, 168, 1, 177); // desired IP for Arduinounsigned int arduinoPort = 8888; // port of ArduinoIPAddress receiverIP(192, 168, 1, 135); // IP of udp packets receiverunsigned int receiverPort = 6000; // port to listen on my PCEthernetUDP Udp;int sensorPin = A0; //define sensor pinint sensorValue;void setup() {Ethernet.begin(arduinoMac,arduinoIP);Udp.begin(arduinoPort);}void loop() {sensorValue = analogRead(sensorPin);//read sensor value from 0 to 1023byte valueInBytes = {lowByte(sensorValue), highByte(sensorValue)}; //convert it to byte arrayUdp.beginPacket(receiverIP, receiverPort); //start udp packetUdp.write(valueInBytes, 2); //write sensor data to udp packetUdp.endPacket(); // end packetdelay(1000);}On the other side I have a computer with Node.js and udp server to listen to udp traffic.Code:var dgram = require("dgram");var server = dgram.createSocket("udp4");var fs = require('fs');var crlf = new Buffer(2);crlf = 0xD; //CR - Carriage return charactercrlf = 0xA; //LF - Line feed characterserver.on("message", function (msg, rinfo) { //every time new data arrives do this:console.log("server got: " + msg.readUInt16LE(0) + " from " + rinfo.address + ":" + rinfo.port); // you can comment this line outfs.appendFile('mydata.txt', msg.readUInt16LE(0) + crlf, encoding='utf8');//write the value to file and add CRLF for line break});server.on("listening", function () {var address = server.address();console.log("server listening " + address.address + ":" + address.port);});server.bind(6000); //listen to udp traffic on port 6000Node.js running:Detailed tutorial is here:http://frenki.net/2012/10/remote-logging-with-arduino-and-node-js/Have fun
Arduino Atari Synth  - Page 1
Forum section: electronics / projects

author: Arnov sharma
author_rank: Newbie
timestamp: April 02, 2020, 07:43:00 pm
content: Greetings!I just wanted to show off my Atmega328pu based Synth which I made recently. what are your thoughts on it, like what should I add or change in it?Video link -https://www.youtube.com/watch?v=lCYkxI67ln4&feature=youtu.becode and stuff can be downloaded from here if someone wants to replicate it-https://www.hackster.io/Oniichan_is_ded/arduino-atari-punk-synth-2934e8
Arduino based battery analyzer with datalogging - Page 1
Forum section: electronics / projects

author: Moragor
author_rank: Newbie
timestamp: March 27, 2020, 06:37:04 pm
content: I had some NiMh batteries which performed badly, so I built a battery analyzer to test their capacity and on the long run their self discharge.The prototype. Every good project starts with a breadboard and DuPont wires, right?The finished device. It is built on a proto shield for the Arduino Mega 2560. The AA battery holder is connected to an Ina219, the output goes to a replaceable 10W resistor, then through a MOSFET and back to the battery holder. The display shows the main menu where you select the battery type with the tactile buttons bellow the Wago clamp. The button in the top left corner resets the Arduino.The test display. All shown information is logged to the SD card in CSV format (time as milliseconds).Testing a AAA battery inside an adapter. The SD module was removed to do a test without logging. A warning is displayed on the OLED screen.Test setup for a LiPo pack. + goes to the Vin+ pin on the Ina219, - goes to a soldered in pin where the - of the AA battery holder is (MOSFET output).The OLED screen is removable to replace the resistor which is held by a screw terminal and a Wago clamp. My tests were made at 5 (AA) and 10 Ohm (AAA). I'm limited by the resistors I have, maybe I make a V2 with constant current regulation some day.The back of the proto shield with the finest botchery this side of the Mississippi.One day I will remember to clean the flux off my projects.>Here's the code for the Arduino<Current comparison to a multimeter. The average difference is 0.3%.All the batteries I've tested. The blue bars show the measured capacity in mAh, the red stacked bars the difference to the advertised value. The (tiny) green stacked bars show capacity above the advertised value (Eneloop AAA ooc).For the "normal" tests the batteries rested 12 hours after charging. The "ooc" tests were made right out of the charger. More tests are scheduled in three and six months to test self discharge. (Spoiler: Don't buy Conrad (German supplier) brand batteries, they suck.)The test in row 31 was made with an electronic load for comparison. The mWh are calculated and therefore in parentheses.Here's an album with all the discharge curves I recorded:https://imgur.com/a/Vng5Am2
Arduino based EV battery management & control - Page 1
Forum section: electronics / projects

author: Things
author_rank: Regular Contributor
timestamp: August 19, 2013, 02:57:27 pm
content: Hi all, thought I'd just put this out there in case someone was wanting to do something similar, or if anyone had any suggestions on ways I could make it better.A while back I decided to mod an electric scooter - and besides ramping the motor right up, the hunky SLA's had to go too. Of course, this then brings problems with monitoring and charging.Since I needed a microcontroller to generate PWM for the ESC anyway, I decided, why not go all the way and design a complete BMS system? Should be fun, right?I've designed it for a few things:1. Monitor cell voltages of 2 6S packs in parallel, and handle undervoltage and cell imbalance warnings2. Read current draw3. Handle throttle and braking, including throttle limiting4. Remove wire clutter from the handlebars by having a separate display unit which my throttle and brake connections will run into, then down to the main control board through some cat5 cable.5. Capable of measuring speed6. Can detect a charger and disable the ESC/motorAnd a bunch of other stuff I can't remember right now.It has been a fun project for me, and great for practicing my skills in Altium and PCB design in general.Anyway, on to some pics. A keen observer may notice a few bodge jobs around the place, as alwaysBoard was assembled entirely by hand using a $13 Jaycar non temp controlled soldering iron - just goes to show how good equipment isn't always needed. I do have a hot air station also, but my solder paste hasn't yet arrived, and I couldn't resist putting it togetherDan
Arduino Bluetooth Home Automation - Page 1
Forum section: electronics / projects

author: Isad
author_rank: Frequent Contributor
timestamp: December 15, 2014, 09:18:31 pm
content: Hi all.I dont know if anyone has done anything like this in this forum but i thought i would still post it.I have been watching some videos on youtube and thought of amking my owneArduino Bluetooth Home Automatio.Well the only one i could finde were only 2 channeland some that would give u the code and then say to you go make the program and theywouldn include as much info to make the program so u had to scratch ur head a lot.So i started making my owne and finished the 9 channel one and i am working on a 12channel and a 30 or more version.Here is the Arduino code:http://goo.gl/E7vXthand the Android App:http://www.mediafire.com/download/s624bbjgilso44f/ArduinoAutomation_9CH.apkI did a littl video about this project :I hope u guys enjoy this project.

author: centon1
author_rank: Unknown
timestamp: December 18, 2014, 08:19:56 pm
content: QuoteLink errors "http://goo.gl/JH7Ns0– this goo.gl shortlink has been disabled. It was found to be violating our Terms of Service."

author: Isad
author_rank: Frequent Contributor
timestamp: December 23, 2014, 09:03:50 pm
content: Quote from: centon1 on December 18, 2014, 08:19:56 pmWelp god dang it google thanks for showing me that.I will put the direct link.
Arduino BREAK POINT, stepping and variable examination - Page 1
Forum section: electronics / projects

author: Wilson__
author_rank: Frequent Contributor
timestamp: August 22, 2024, 03:34:58 am
content: Is there a way to have BREAK POINT, stepping and variable examination for Arduino? Similar to the functionality of MCU with SWD/JTAG debugger?Many thanks

author: zapta
author_rank: Super Contributor
timestamp: August 22, 2024, 05:28:21 am
content: Yes. Use platformio (free) with a board that supports a non expensive debugger with the arduino framework (e.g. STM32, ESP32, RPI Pico, etc).For me, debugger support is a key requirement in supporting boards and MPU families.

author: kripton2035
author_rank: Super Contributor
timestamp: August 22, 2024, 06:50:56 am
content: you can now use the arduino v2 IDE to debug, but only a few arduino boards support this.https://docs.arduino.cc/software/ide-v2/tutorials/ide-v2-debugger/

author: SteveThackery
author_rank: Super Contributor
timestamp: August 22, 2024, 12:26:42 pm
content: Also VisualMicro. I use it, it's great. Not as "pure" as a hardware debugger, butit works on all Arduinos.https://www.visualmicro.comIt is free to try for 45 days. They do hobbyist/student licenses at low cost ($19 for a year), and in my opinion it's worth every penny.

author: RoGeorge
author_rank: Super Contributor
timestamp: August 22, 2024, 12:48:30 pm
content: I've stitched once a few FOSS pieces of software, and together with a CH340G USB to serial adapter and a diode, made a hardware debugger. It uses the Debug Wire feature many AVR have. Can make use of breakpoints, stepping through the code, see memory and registers, etc.Should be possible to do the same using the Arduino IDE v2 (Arduino IDE v1 doesn't have any hardware debugging support), yet the IDE I was using was Eclipse.Printscreen fromhttps://www.eevblog.com/forum/microcontrollers/avr-(arduino)-linux-debug/msg3507980/#msg3507980
Arduino controlled over Android device - Page 1
Forum section: electronics / projects

author: Lubo
author_rank: Newbie
timestamp: November 22, 2015, 06:11:58 pm
content: Hi,I've just finished my project. It controls the Arduino over bluetoothfrom your Android device. The best thing is that the UI is storedin Arduino and you can create any UI you want. You can alsouse any hardware you want unless it is able to connect to the smartdevice through bluetooth.Here is the example on youtube:The full source code and setup is on my blog:http://visiduino.io/sk/blog/visiduino_app_c_interface/You can use it for your project too for free.Here is the app:https://play.google.com/store/apps/details?id=io.visiduino.bluetoothWish you nice dayLubo

author: zapta
author_rank: Super Contributor
timestamp: November 22, 2015, 06:26:22 pm
content: Looks very useful. You say that the UI is stored on the Arduino, in what format? Is it similar to a html server?

author: Lubo
author_rank: Newbie
timestamp: November 22, 2015, 06:31:25 pm
content: No, you are writing it in JSON format and then you have to encode it with theencode tool on my website. It will give you a string: $:layout=asdfkashdfkahsdf;If you send this string to android device it will generate a UI for it.Everything is described step by step in this post:http://visiduino.io/sk/blog/visiduino_app_c_interface/Lubo

author: Lubo
author_rank: Newbie
timestamp: December 29, 2015, 09:18:36 am
content: I have made an update. Joystick was added to widget list.And also some preddefined Layouts so you do not have to create them from scratch.You can see it here on youtube:Have a nice dayLubo
Arduino: DC Motor rotating shaft with 1deg resolution and 360deg rotation - Page 1
Forum section: electronics / projects

author: pratiken
author_rank: Contributor
timestamp: June 18, 2018, 09:56:41 pm
content: Hi Everyone,I need a little help figuring out how to approach this.I have a Main Shaft that I need to rotate 360 degrees once at 1 RPM, then rotate back 360 degrees at 1 RPM. I also need 1 degree resolution accuracy so that I can have the Arduino rotate it Main Shaft in 1 degree increments. Basically, I want to be able to say "rotate 15 degrees CW." or "Rotate 3 degrees CW".What do I need to attach to the main shaft to be able to read back 360 degree rotation at 1 degree increments? I don't believe Potentiometers have that kind of capability, but maybe I'm wrong. How would you do it?Thanks so much in advance!!

author: Ian.M
author_rank: Super Contributor
timestamp: June 18, 2018, 10:50:34 pm
content: If you can move the shaft at startup to seek to the zero position, then a high resolution quadrature encoder with an index pulse output would be suitable.

author: DaJMasta
author_rank: Super Contributor
timestamp: June 18, 2018, 10:56:48 pm
content: Yeah, i think your best bet for accuracy and repeatability is an encoder, not a potentiometer. Get an encoder (optical or magnetic) and put it on the worm gear's shaft, then determine how many rotations of the worm gear give you a rotation of the main shaft. The encoder on the worm gear shaft will probably only need a few pulses per rotation for you to get 1 degree of accuracy on your main shaft, and since you have a fixed number of pulses per rotation of your encoder and a fixed mechanical linkage, you get very little drift or accruing offset.

author: Ian.M
author_rank: Super Contributor
timestamp: June 18, 2018, 11:01:08 pm
content: That will only work well with an anti-backlash gear on the main shaft - or a brakeband for controllable friction + software to always approach the final position from the same direction.

author: pratiken
author_rank: Contributor
timestamp: June 18, 2018, 11:39:33 pm
content: This is really helpful, thank you!Would an application like this be better suited for a servo than DC motor?

author: MasterT
author_rank: Frequent Contributor
timestamp: June 19, 2018, 12:52:35 am
content: Perhaps, stepper motor?

author: Ian.M
author_rank: Super Contributor
timestamp: June 19, 2018, 01:12:57 am
content: Steppers are great if you don't need rapid acceleration and can over-size them enough that the load on them is only a small fraction of their torque at the desired speed. However they are 'open loop' so if anything impedes their motion, they will loose steps and the mechanical position will no longer match that commanded by the software.A real servomotor with a rear mounted encoder disk would work nicely, though you'd need an additional index sensor on the main shaft to detect the zero position. RC servos are less suitable - if modded for continuous rotation, you typically loose the servo feedback, so you'd need an external encoder to close the loop
Arduino Due wireless sketch uploading - Page 1
Forum section: electronics / projects

author: tomshirvo
author_rank: Regular Contributor
timestamp: May 07, 2013, 05:15:50 am
content: I'm trying to make it so the Arduino Due is able to get wireless sketch uploads, as the title says.There are lots of tutorials out there but only for the Arduino Uno, below is the link.http://www.ladyada.net/make/xbee/arduino.htmlAfter doing research on this I now know a few more things. I first would like to get my idea out there and see if anyone thinks if it will work.A little bit of help with the analog circuitry if possible too would be amazing.Off topic for once sec, I have been doing a lot of work with the Arduino Uno and now the Due, I have built and designed a BLDC motor controller(using the L6235) that works with the Arduino as a position controller.I know that the Arduino Due uses another µC the ATMEGA16U2-MU to control the ERASE and RESET pins of the ATSAM3X8EA-AU for when using the IDE to upload a sketch.My plan is to use an XBEE S2 with zigbee networking on it in API mode to control the boards and also do the wireless uploading of the sketch.The ATSAM3X8EA-AU needs to have the erase pin held high for over 220mS for it to do an erase of the flash. This next part is an assumption (Probably not a good one) that I need to then reset the device to let the sketch be uploaded.I have included a picture of what the erase and reset pins have to do.I was thinking that I could use a few capacitors, transistors and resistors to get this to work but I have found out how hard it really is to do things without a µC.Also Dave if you see this, found your YouTube videos about 6 months ago and can't get enough of them.

author: Harvs
author_rank: Super Contributor
timestamp: May 07, 2013, 09:06:16 am
content: If you haven't seen Mike's video then I'd suggest having a look...http://youtu.be/jbLy6kE-Szg

author: amyk
author_rank: Super Contributor
timestamp: May 07, 2013, 10:17:42 am
content: If you want to generate those signals then a dual Schmitt-trigger inverter with both connected in series and the first one with a capacitor+resistor would be enough. Look at the sn74lvc2g14.

author: jl-p
author_rank: Newbie
timestamp: April 30, 2015, 10:55:32 pm
content: Did you exceed your project.Because i want sort of the same but then with a YUN shield.Kind regardsJohan

author: tomshirvo
author_rank: Regular Contributor
timestamp: May 01, 2015, 07:05:23 am
content: Hi Johan, I ended up writing a custom bootloader for the Arduino Due to allow me to do the firmware upgrades.
Arduino FloppyDrive Music Array - Page 1
Forum section: electronics / projects

author: R-M-I
author_rank: Contributor
timestamp: May 30, 2012, 11:11:50 am
content: Hi there..I'm new on these forums, but figured I'd post a few of my projects aswell.. (even though these aren't the most complex of projects compared to what I see a lot of others do in here)..This is my Arduino UNO R3 playing "I am a Viking" by Yngwie Malmsteen.In simple terms this is just a program uploaded to the arduino that converts midi-sounds into stepper-motor-frequencies. A software on the computer-side playing the midi-files . And some wiering..I used 8x floppy-drives in this project.. Started out with two, but found that I was missing a lot of channels when only having those..http://youtu.be/dnCiJrnM_fg?hd=1
Arduino function gen  - Page 1
Forum section: electronics / projects

author: House91320
author_rank: Regular Contributor
timestamp: April 04, 2011, 04:50:11 am
content: I am working on a arduino function gen and I am hitting a wall. The ardduino isn't fast enough to generate the desired hrz is anyone aware of a frequency multiplier.

author: PeterG
author_rank: Frequent Contributor
timestamp: April 04, 2011, 05:13:55 am
content: An Arduino by itself wont be able to do it, however you can use an Arduino to control a Waveform Generator IC such as a MAX038 or a ICL8038.Regards

author: bilko
author_rank: Frequent Contributor
timestamp: April 04, 2011, 10:33:53 am
content: You could add a DDS module likehttp://cgi.ebay.co.uk/AD9850-DDS-signal-generator-module-circuit-diagram-/170572409806?pt=BI_Signal_Sources&hash=item27b6e86bce

author: scrat
author_rank: Frequent Contributor
timestamp: April 04, 2011, 02:20:45 pm
content: It depends on the frequency range you need and the waveform (square, sine, ...).In the case you need an accurate frequency into a limited and enough high range, you can use a PLL (e.g. 74HCT4096 / 9046) together with the PWM peripheral of the Arduino and a divider, in order to "multiply" the output frequency.

author: buffalo960
author_rank: Contributor
timestamp: April 05, 2011, 09:52:00 pm
content: Quote from: House91320 on April 04, 2011, 04:50:11 amYou should mention that you are using a digital Pot to do it.

author: House91320
author_rank: Regular Contributor
timestamp: April 05, 2011, 11:45:03 pm
content: My mistake.

author: Unknown
author_rank: Unknown
timestamp: April 06, 2011, 12:25:22 am
content: Pfff...there is a plug-n-play board for anything these days.As mentioned, with the power of the arduino the best thing you can do is to use an external DDS chip (even for low frequencies) so you can use the arduino to implement a user interface to the DDS chip.
Arduino GPIB Controller - Page 1
Forum section: electronics / projects

author: Cyberdragon
author_rank: Super Contributor
timestamp: October 30, 2014, 09:08:18 pm
content: I've been trying to repair an HP6622A power supply (see other thread in Repairs) but I can't find any hardware issues so I needed a GPIB interface to check the firmware. I found a simple arduino program on the internet that can send simple commands.http://egirland.blogspot.com/2014/03/arduino-uno-as-usb-to-gpib-controller.htmlAnd the 6622 manual:http://literature.cdn.keysight.com/litweb/pdf/5957-6377.pdfIt does send commands to the machine, but it doesn't recognize any of them. I keep getting "Invalid Str" and "Syntax Error" even though I'm typing them as in the instructions. I think this is because it's meant to interface with a command line computer with BASIC. So is there maybe a certain way I have to type them that's not in the manual? Are there any (ascii) codes sent along with the data that aren't being sent without BASIC? (I could add these into the program as hex codes)

author: andrija
author_rank: Regular Contributor
timestamp: October 30, 2014, 09:46:03 pm
content: Did you try setting the CR/LF option or otherwise making sure the settings are correct? Do you have any other GPIB capable equipment around? If you can't get it to work, I can suggest an adapter I recently bought off Ebay. The project link is herehttps://github.com/Galvant. The adapter is CDN$70 on Ebay but since it's open hardware you can probably build it cheaper if you need to. It works well for me and looks like the cheapest option.

author: Cyberdragon
author_rank: Super Contributor
timestamp: October 30, 2014, 10:43:18 pm
content: It has only Carriage Return (CR) and New Line (NL). I'm not sure if it sends a line feed. I could try adding it in the code.EDIT: It does, it's the same thing as NL. I can run the program in "Deep Debug" and see if I can find anything.

author: Cyberdragon
author_rank: Super Contributor
timestamp: November 01, 2014, 06:11:46 pm
content: Running it in "deep debug" reveals that it's sending a random E then a quote mark. I have no idea where this is coming from.EDIT: It's trying to send GPIB addresses to it in a strange format (the E" thing) which A) it doesn't understand because it'd too old to have automatic addressing (it's a manual setting) B)if I disable it the program breaksCan anyone look at the program and find a way to disable it sending garbage address characters? (all the way at the bottom) I need it to just send raw commands with the end of command characters.
arduino gpsdo - Page 1
Forum section: electronics / projects

author: tekportland
author_rank: Newbie
timestamp: July 02, 2025, 03:22:14 pm
content: Hi to all guys. Any of you has a Arduino sketch for a GPSDO, using a 64 x 256 lcd screen? TIA.

author: PCB.Wiz
author_rank: Super Contributor
timestamp: July 03, 2025, 08:42:23 am
content: Quote from: tekportland on July 02, 2025, 03:22:14 pmIt is rare to find a graphics screen on a GPSDO, so that part you may need to add yourself.There are multiple examples on here,https://www.eevblog.com/forum/projects/lars-diy-gpsdo-with-arduino-and-1ns-resolution-ticand some more herehttps://www.paulvdiyblogs.net/2020/07/a-high-precision-10mhz-gps-disciplined.htmland github has many too...and a useful note of what jitter modules have is herehttps://portal.u-blox.com/s/question/0D52p0000Dvnnd6CQA/time-pulse-output-specs-at-high-frequencyThe system clock is also used for NCO corrections, so typically 1pps is not exact, butaveragescorrectly.Analog locking within the GPS is now less common, as NCO correction is good enough for GPS and cheaper.There are designs that are MCU free (logic only), and ones that use a MCU to command the GPS change the 1pps to something faster & more useful, and ones that work to zoom time.The short term stability is set by your reference and the long term average stability is set by the GPS.You do not want too fast a response time, or the 1pps jitter will give less performance than your reference is capable of.Another platform for GPSDO would be Pi PICO and PICO2Addit : eg like thishttps://events.gnuradio.org/event/23/contributions/612/attachments/167/415/PicoGPSDO.pdfor this PICO design has a Graphic screen and also a Si5351https://www.rx-888.com/diy/gpsdo.htmlA RP2350 has faster clks and better PIO, so can manage more. It could probably manage GPSDO + Reciprocal Counter

author: Solder_Junkie
author_rank: Frequent Contributor
timestamp: July 04, 2025, 09:14:26 am
content: The Lars GPSDO can have a basic screen, this is one example by a NZ amateur (uses an Arduino)https://www.qsl.net/g4aon/gpsdo/SJ
Arduino MEGA XY oscilloscope logo vector plotter dual 8 bit DAC - Page 1
Forum section: electronics / projects

author: oz2cpu
author_rank: Frequent Contributor
timestamp: March 03, 2023, 09:23:45 am
content: here we go again, yet anotherArduino MEGA XY oscilloscope logo vector plotter dual 8 bit DAChttp://webx.dk/oz2cpu/ArduinoStuff/xy-scope-plotter.htmbut this time you also get graphics to CSV converter,all you need to make fast, flicker free, high detailed logos

author: mikerj
author_rank: Super Contributor
timestamp: March 03, 2023, 09:39:39 am
content: That's a nice little project. Any particular reason you didn't go for e.g. an STM32 with built in DACs, since the AD558 is a very expensive part?

author: oz2cpu
author_rank: Frequent Contributor
timestamp: March 03, 2023, 09:55:14 am
content: that is a good question, I had a whole box full of the DAC chips, and a lot of arduino mega,I also got a few of the stm32 boards, but gave up finding them,this code require very little modifications to run on the stm32 or esp32 boards..hope you like the graphics to CSV converter, that is very portableno matter what platform / hardware you choose,the only thing that remain unsolved is the way corel draw make hpgl filesit is VERY much not uptimized for shortest moves !!I found a few methodes to use external uptimizers for this, but it is a hazzle.my DAC and bandwidth run so fast it is almost not possible to see the moves,blanking can also be added.

author: TomKatt
author_rank: Frequent Contributor
timestamp: March 03, 2023, 03:03:16 pm
content: Not sure if these have come up in conversation before, but I've played around with Osci Render and it's pretty cool.https://github.com/jameshball/osci-renderOsciStudio (and OscilloscopeMusic in general) likewise seems to be a good resource (edit - just realized this is paid software, not free).https://oscilloscopemusic.com/software/

author: hanakp
author_rank: Regular Contributor
timestamp: March 04, 2023, 01:22:28 pm
content: Nicely done, reminds me of a project from my high school years. All it needs now is a third channel for the scope's brightness modulation input (if it has one), so you can hide the beam return paths.

author: oz2cpu
author_rank: Frequent Contributor
timestamp: March 05, 2023, 08:25:28 am
content: correct hanakp with brightness control it will be perfect,the hpgl format supports this using pen up / down commandsand the converter we shared can also very easy be changed to deliver a code for thisby the way, i also released a video todaysome people like web pages, while others like videoshttps://youtu.be/VOx0yyxI-PY
Arduino MKRZERO in Altium? - Page 1
Forum section: electronics / projects

author: Jester
author_rank: Frequent Contributor
timestamp: January 04, 2019, 06:24:53 pm
content: Hi,I'm doing a quick project using an Arduino MKRZERO, does anyone have this circuit already implemented in Altium, or no where I can find it?The files are available in Eagle, however Eagle to Altium from what I recall is not working yet.Looks like the latest Altium has the ability to import Eagle files. If anyone can do this I would appreciate it. I have attached the eagle files (schematic and PCB)

author: free_electron
author_rank: Super Contributor
timestamp: January 04, 2019, 07:13:44 pm
content: eagle to altium works perfectly.

author: Jester
author_rank: Frequent Contributor
timestamp: January 04, 2019, 07:27:23 pm
content: Quote from: free_electron on January 04, 2019, 07:13:44 pmI'm using version 13.3, that does not have Eagle import.

author: ebclr
author_rank: Super Contributor
timestamp: January 05, 2019, 01:42:15 pm
content: Is this what you want?

author: Jester
author_rank: Frequent Contributor
timestamp: January 06, 2019, 12:05:29 pm
content: Quote from: ebclr on January 05, 2019, 01:42:15 pmebclr,Yes, thanks for taking the time, much appreciated.
Arduino Multiprocessor SAMD board in a 4D hypercube arrangement.. - Page 1
Forum section: electronics / projects

author: sponaugle
author_rank: Newbie
timestamp: January 09, 2021, 04:45:38 am
content: I decided I wanted to do an interesting project over the holiday break, and I figured building a small 16 CPU 'board' that interfaces with the Arduino development environment would be kinda fun. Arduino now supports the 32 bit ARM based SAMD processors, and they are super cheap. I ordered up some SAMD21G18s, which are 48 pin devices that support 6 serial ports. I did a quick board design in Diptrace, sent the boards off to JLCPCB, and was happily surprised that they worked!4 serial ports are used per main CPU to do interconnects, plus a 5th serial port going to a supervisor CPU that also handles the USB interface, flashing, reseting, and some other interface work. The interconnect on each board is a matrix with connectors on the outer edge. Using a stack of 4 boards you get 16 CPUs with 4 interconnects each in a 4D hypercube arrangement. That is a great interconnect arrangement because each CPU is connected to all other nodes that have a single bit change difference in CPUID (0-15). If you add more boards you can convert to a 2D Torus arrangement. There is also a ring bus for the supervisor nodes.I put together a simple message passes library as well as a simple barrier synchronization capability.This isn't a high powered supercomputer, given that it is just 8 or 16 ARM cores at 48MHz, but it is a fun platform for experimenting with processor interconnects. Since the board to board interconnects are on connectors you can do other arrangements.I also made a very short quick video about it -https://www.youtube.com/watch?v=YOk8v4Uu1nk&feature=youtu.beIt's not the most sophisticated project, but still something fun to build. Happy to share sourcecode/schematics/etc on github if anyone is interested.Jeff

author: DC1MC
author_rank: Super Contributor
timestamp: January 09, 2021, 04:57:44 am
content: Weeee, Arduino transputer, brings back memories.

author: sponaugle
author_rank: Newbie
timestamp: January 09, 2021, 05:09:12 am
content: Ha! Yea those transputers seemed so cool at the time.
Arduino Nano serial control of parallel AD9854 Ebay module - Page 1
Forum section: electronics / projects

author: moffy
author_rank: Super Contributor
timestamp: March 12, 2017, 10:59:06 pm
content: I purchased a AD9854 Ebay module expecting to control it by its serial interface. However the module designers had seen fit to enable only the parallel interface. It's a difference of about 16 pins vs 4-5 pins for the serial. There is also the issue of the 5v to 3.3v conversion from the Nano to the AD9854 module. So I designed a serial to parallel interface using a couple of 74AHC595 serial to parallel shift registers. The 74AHC version is 5v tolerant when run from 3.3v, and is also available in a 16 pin DIP package which meant I could use some vero board. By playing with the pin connections I was able to minimise the number of jumpers on the vero board.I wrote some code for the Nano and it works quite nicely. I must say that the module seems to perform very well.Connections between Arduino Nano and AD9854 Serial to Parallel Interface Board.NANO AD9854 Interface Board(AD9854_sp_sch.pdf)A0 RST_5A1 CLKA2 /OEA3 DATAA4 /WD_5GND GND

author: hongselectronics
author_rank: Newbie
timestamp: April 19, 2019, 01:31:11 pm
content: Did you get the quadrature signals working on this module? I am very interested in seeing the code for this. I just got an AD9854 module, and I am pretty shocked by the lack of Arduino support for this amazing module. Especially given the fact that it is directly mentioned in Art of Electronics 3rd Edition.

author: moffy
author_rank: Super Contributor
timestamp: April 19, 2019, 11:31:49 pm
content: Yes I did get it working. I was able to set frequency etc. I'll see if I can look up the old code and post it here. I'll have to search for it a little.The project is an Atmel Studio v 7.0
Arduino / OLED keeps crashing - Page 1
Forum section: electronics / projects

author: Spemo
author_rank: Regular Contributor
timestamp: August 31, 2025, 02:10:13 pm
content: Hello everybody,I have a slight problem with my project.I have built a Cargo Bicycle, and I wanted to have pedal assist, electric brakes and a display.I've designed a PCB and used the following components:2x Arduino Nano (one for Motor control, one for Speedometer and Display)2x H-Bridge (BTS7960)1x Brushed 12V 250W Motor for pedal assist1x linear actuator for the electric brakes (brushed motor)2x Reed sensors for speed and pedal assist (so it knows when I'm actually putting in the Work to go)1x linear potentiometer for the prosition of the linear actuator1x OLED I2C Display, 2.4" I think (SSD1309)2x thumb throttle thingies, one for go, one for stopsome switchesRelays for Power on/off and brake lightsboth Arduinos are powered by one DC-DC step-down converter set to 5v.The following problem occurs:whenever I use electric brakes, the Display randomly crashes/freezes. The Arduino seems to recover or not crash at all, since it's still doing what it supposed to do (provide a signal for the other Arduino).But the display just freezes. Only a reset brings it back. The other arduino (motor control) seems fine.It does not happen every time.My suspicion: The motor for the brakes creates some kind of interference, which crashes the display controller or the I2C bus.The pedal assist motor does not create this kind of problem.I've tried locating the Display Arduino directly next to the Display ( they are originally about 1,5 meters away from each other), but that didn't change anything.I've also tried a different OLED Display.I've tried Capacitors on the 5V line.I've tried to see the interference on the Battery Wires and the 5V line, but my old analog Oszilloscope didn't show anything (or couldn't)The problem is, since the arduino is reading the voltage of the batteries to display their state, the grounds have to stay connected. It also provides a "Battery_good" signal to the other arduino(this one could be easily done by the motor arduino).Is there any way to reduce the interference?Please let me know if you need more Information (or which specifically)Spemo

author: linux-works
author_rank: Super Contributor
timestamp: August 31, 2025, 03:25:25 pm
content: try an i2c isolator. I just bought one for a ground/power loop noise issue and it solved it. you need to have isolated power supplies for that to work.https://www.amazon.com/dp/B0F63PWH9Lmore than likely the power supply is not stable.but if you want to try to isolate the display, that does work. I had high freq noise kicked back into a preamp I was making and the iso isolator helped entirely.
ARDUINO or Raspberry-PI and Tektronix 2465 (mine is DMS version) - Page 1
Forum section: electronics / projects

author: czecht
author_rank: Newbie
timestamp: August 06, 2019, 11:19:31 pm
content: ARDUINO or Raspberry-PI communicates with Tektronix 2465 (mine is DMS version) ?Does anyone else knows how to capture the screenshots from 2465 without using a camera?

author: czecht
author_rank: Newbie
timestamp: August 06, 2019, 11:21:42 pm
content: Does anyone knows where to find Arduino and TX 2465 (DMS?) ?I made this to see if anyone would like to do a project with Arduino and 2465?T%hanks guys!
Arduino Oscilloscope input - Page 1
Forum section: electronics / projects

author: tyguy2
author_rank: Unknown
timestamp: June 26, 2015, 03:48:57 am
content: So I recently started a oscilloscope project using an atmega328p (yes, I know, it's slow, but I wanted to start simple, and it has a tiny smd package.) I've got the code, screen, etc. working and now all I need is to decide on how to input the signal to the analog pins of the arduino. I feel that just using a voltage divider is too crude, and I want control over the Y-axis of the wave on-screen if possible (without software manipulation). I've decided I want to use an op-amp, but my search across the internet hasn't yielded many credible results. Any ideas? Circuit diagrams would be a amazing, but general advice would be greatly appreciated.Edit: I forgot to mention, I also want to view negative voltages.

author: ludzinc
author_rank: Unknown
timestamp: June 26, 2015, 05:01:52 am
content: How I did it:http://ludzinc.blogspot.com.au/2014/07/multi-channel-meter.html

author: tyguy2
author_rank: Unknown
timestamp: June 26, 2015, 01:59:57 pm
content: This circuit?

author: ludzinc
author_rank: Unknown
timestamp: June 27, 2015, 02:53:11 am
content: You've got to read all the entries for the full explanation.One entry talks about how to control the gain of your amp via microcontroller, another points out that to measure positive and negative voltages you need split rails, or use a virtual ground.Good luck!
Arduino perf shields based on Ben Wang's perf+2 - Page 1
Forum section: electronics / projects

author: fyberlabs
author_rank: Newbie
timestamp: May 18, 2017, 06:15:09 am
content: I designed an Arduino shield based on the perf+2 perf footprint. I may be making additional shields, capes, etc. if they are popular. The project is up on hackadayhttps://hackaday.io/project/22000-perf-shieldsKiCAD source files are athttps://github.com/FyberLabs/perfplusplusI put most of the first batch up athttps://www.tindie.com/products/Fyberlabs/arduino-perf-shields/. I am not sure if there is enough interest, but hopefully they sell. If there are is any request for a specific platform or improvements let me know. I will be adjusting the design a little for the next batch. The 1.1mm through-hole seems a bit large, I plan to shrink it by a mil or two and increase the solder bridge distance. I will remove the perfs near the connectors so that they are easier to solder with connectors attached. It will give some space to add silkscreen info on how they attach to the connectors better too.
Arduino reading double-din radio volume rotary dial knob - Page 1
Forum section: electronics / projects

author: Stealthrt
author_rank: Regular Contributor
timestamp: May 19, 2018, 03:33:50 pm
content: Hey all I bought a Chinese double din radio in order to modify it to my liking. The main reason why i went with this one is that it had a few buttons and turn knobs on the front and i wanted to use an Arduino in order to "read" this inputs in order to do stuff within my software program.However, I am not quite sure what I need to check in order to find out how to go about hooking up the rotary dial knob buttons to the arduino so that i can read each "click" that it makes. They also have a push button mode when you press on the front of the rotary dial.As a side note I will be supplying the power to these so nothing on the board will be used except the physical rotary dial - aside from a few resisters it seems as well.Here are a few images of the pcb layout:And knowledge would be great as to how to go about hooking this up to read by the arduino

author: chris_leyson
author_rank: Super Contributor
timestamp: May 19, 2018, 04:26:43 pm
content: This works really well, uses a state table and doesn't need any debounce hardwarehttps://www.circuitsathome.com/mcu/reading-rotary-encoder-on-arduino/. Using interrupt on pin change works even betterhttps://www.circuitsathome.com/mcu/rotary-encoder-interrupt-service-routine-for-avr-micros/

author: Stealthrt
author_rank: Regular Contributor
timestamp: May 19, 2018, 07:15:02 pm
content: Alright another question - since this is an infinite turn in either direction how would i determine, say for music volume, if its back at 0 or if its all the way up?

author: Bratster
author_rank: Frequent Contributor
timestamp: May 19, 2018, 07:30:32 pm
content: You can't, you have to keep track of that in software.Basically all* rotary encoders are relative meaning that they don't know their position, only which direction and how many steps.*There are of course special rotary encoders that are absolute and know where they are. But those are for very high-end applications and not what you see all over the place.Sent from my Moto x4 using Tapatalk
Arduino Sensing High Voltage and Current Switch - Page 1
Forum section: electronics / projects

author: dave_robinson_022
author_rank: Contributor
timestamp: February 18, 2022, 08:43:27 pm
content: I want to detect when a physical switch for a high voltage supply is on or off. I realise that a DPDT switch would solve this but I don't have one.I have a feeling that connecting a digital pin to arduino ground through the same switch legs would be a bad idea even though the circuits would otherwise be isolated.Am I right or could it be done?

author: ledtester
author_rank: Super Contributor
timestamp: February 18, 2022, 09:02:59 pm
content: Consider if the output is connected to a simple resistor. With the switch open D3 would be at -50V with respect to GND. Also note that there are protection diodes on the port pins, so imagine a diode going from GND to D3 - that would cause a lot of current to flow even with the switch open.An opto-isolater would be a lot safer. You can get some ideas from this Opto22 datasheet:https://documents.opto22.com/0451_Std_Dig_DC_Inputs_data_sheet.pdf